body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #e0f7fa, #e1bee7);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    background: #ffe6e6; /* Лёгкий красный фон, перекликающийся с #e1bee7 */
    max-width: 1200px;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.6s ease;
    margin: 20px;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero {
    text-align: center;
    padding: 40px 20px;
    background: #ffe6e6; /* Соответствует контейнеру */
    border-radius: 8px;
}

.hero h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.hero p {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.filters input, .filters select {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.2s;
}

.filters input:focus, .filters select:focus {
    border-color: #ff6b00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.promo-card {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.6s ease;
}

.promo-card img {
    max-width: 100px;
    margin-bottom: 10px;
}

.tag {
    background: #ff6b00;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.code {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.code button {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.code button:hover {
    background: #218838;
    transform: translateY(-1px);
}

.expiry {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

a.register-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

a.register-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.ad {
    font-size: 10px;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
    opacity: 0.8;
}

.faq {
    margin: 40px 0;
}

.faq h2 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
}

.faq details {
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
}

.faq summary {
    font-size: 16px;
    color: #444;
    cursor: pointer;
}

.bonus {
    background: #ffe6e6; /* Соответствует контейнеру */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bonus h2 {
    font-size: 24px;
    color: #333;
}

.bonus form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.bonus input {
    padding: 12px;
    flex: 1;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.bonus button {
    padding: 12px 20px;
    background: linear-gradient(90deg, #ff6b00, #ff5252);
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.bonus button:hover {
    background: linear-gradient(90deg, #e55e00, #e53935);
    transform: translateY(-1px);
}

.message {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    transition: opacity 0.3s ease;
}

.no-results {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin: 20px 0;
}

.submit-btn {
    padding: 15px 30px;
    background: linear-gradient(90deg, #ff6b00, #ff5252);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
    animation: pulse 2s infinite;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #e55e00, #e53935);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(255, 107, 0, 0.2);
}

.copy-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 90%;
        padding: 20px;
    }
    .filters {
        flex-direction: column;
    }
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .submit-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
    align-items: stretch;
}

.promo-card {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.6s ease;
    display: flex;
    flex-direction: column;
    height: 93%;
}

.promo-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promo-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.promo-card img {
    max-width: 100px;
    margin-bottom: 10px;
}

.tag {
    background: #ff6b00;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.code {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.code button {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.code button:hover {
    background: #218838;
    transform: translateY(-1px);
}

.expiry {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

a.register-link {
    display: block;
    margin-bottom: 10px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

a.register-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.ad {
    font-size: 10px;
    color: #666;
    line-height: 1.4;
    opacity: 0.8;
}

.top-offer {
    border: 2px solid #ffd700; /* Золотой бордер для подсветки */
    background: #fffde7; /* Легкий желтый фон */
    position: relative;
}

.top-offer::before {
    content: "🔝 Топ";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffd700;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}