/* Общие стили и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background-color: #0a0e17;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Анимированный задний фон с падающими элементами */
.falling-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.falling-element {
    position: absolute;
    top: -50px;
    color: rgba(46, 204, 113, 0.7);
    font-size: 20px;
    font-weight: bold;
    user-select: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Основной контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Секции */
.section {
    margin: 60px 0;
    padding: 25px;
    background: rgba(19, 28, 46, 0.85);
    border-radius: 16px;
    border: 1px solid rgba(64, 224, 208, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.5);
}

/* Стили для героя (заголовок и кнопки) */
.hero-section {
    text-align: center;
    padding: 80px 20px;
    margin: 40px 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9), rgba(30, 60, 114, 0.8));
    border: 1px solid rgba(64, 224, 208, 0.3);
}

.main-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
    color: #ffffff;
}

.highlight {
    color: #40e0d0;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #b0b0b0;
}

/* Стили для кнопок */
.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn i {
    font-size: 1.4rem;
}

.btn-primary {
    background: linear-gradient(90deg, #40e0d0, #20b2aa);
    color: #0a0e17;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(64, 224, 208, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #40e0d0;
    border: 2px solid #40e0d0;
}

.btn-secondary:hover {
    background: rgba(64, 224, 208, 0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.3rem;
    margin-top: 20px;
}

/* Карточки */
.content-card {
    background: rgba(30, 40, 62, 0.7);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #40e0d0;
    margin: 20px 0;
}

.text-center {
    text-align: center;
}

/* Сетка "Как играть" */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.step-card {
    background: rgba(30, 40, 62, 0.9);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: #40e0d0;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #40e0d0;
    color: #0a0e17;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-card h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

/* Стили для промокода */
.highlight-section {
    background: linear-gradient(135deg, rgba(25, 55, 100, 0.9), rgba(10, 25, 47, 0.9));
    border-color: rgba(46, 204, 113, 0.3);
}

.promo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px auto;
    max-width: 600px;
    flex-wrap: wrap;
}

#promoCode {
    flex-grow: 1;
    padding: 18px 25px;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed #40e0d0;
    border-radius: 10px;
    color: #ffffff;
    min-width: 250px;
}

.btn-copy {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 2px solid #2ecc71;
    padding: 18px 25px;
}

.btn-copy:hover {
    background: rgba(46, 204, 113, 0.3);
}

.small-text {
    font-size: 0.95rem;
    color: #aaa;
    margin-top: 15px;
}

/* Стили для ссылок */
.inline-link {
    color: #40e0d0;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted #40e0d0;
    transition: color 0.2s;
}

.inline-link:hover {
    color: #2ecc71;
    border-bottom-style: solid;
}

/* Стили для FAQ */
.faq-container {
    max-width: 900px;
    margin: 30px auto 0;
}

.faq-item {
    background: rgba(30, 40, 62, 0.8);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 22px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
    position: relative;
    background: rgba(40, 55, 85, 0.6);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 22px;
    font-size: 1.8rem;
    color: #40e0d0;
    transition: transform 0.3s;
}

.faq-item[open] .faq-question:after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 22px 22px;
    color: #cccccc;
    border-top: 1px solid rgba(64, 224, 208, 0.2);
    padding-top: 20px;
}

/* Подвал */
.footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    background: rgba(10, 15, 25, 0.95);
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid rgba(64, 224, 208, 0.2);
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #40e0d0;
    margin: 0 10px;
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero-section {
        padding: 50px 15px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .promo-box {
        flex-direction: column;
    }
    #promoCode {
        min-width: unset;
        width: 100%;
        font-size: 1.5rem;
    }
}