/* Адаптивные стили для лендинга Gates of Olympus */

/* Большие мониторы */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
}

/* Ноутбуки и небольшие мониторы */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 62px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mechanics-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Планшеты (ландшафт) */
@media (max-width: 991px) {
    .hero {
        padding: 150px 0 80px;
        min-height: auto;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.5s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .nav-menu a::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-actions {
        gap: 10px;
    }

    .game-symbols {
        width: 350px;
        height: 250px;
        gap: 10px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-links {
        justify-content: space-between;
        width: 100%;
    }

    .footer-column {
        min-width: 150px;
    }
}

/* Планшеты (портрет) и большие телефоны */
@media (max-width: 767px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-description {
        font-size: 16px;
        padding: 0 15px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat {
        min-width: 120px;
    }

    .stat-value {
        font-size: 36px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .btn-play, .btn-demo {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .diagram-container {
        flex-direction: column;
        height: auto;
        align-items: center;
        gap: 30px;
    }

    .diagram-item {
        width: 100%;
        max-width: 300px;
    }

    .diagram-bar {
        width: 100%;
        max-width: 200px;
        height: 200px;
        border-radius: 10px;
        align-items: center;
        padding-bottom: 0;
    }

    .diagram-label {
        margin-top: 10px;
    }

    .summary-points {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-payment {
        justify-content: center;
    }

    .payment-icons {
        justify-content: center;
    }
}

/* Мобильные телефоны */
@media (max-width: 575px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }

    .stat {
        min-width: 100%;
    }

    .section-title {
        font-size: 28px;
    }

    .block-title {
        font-size: 24px;
    }

    .game-symbols {
        width: 280px;
        height: 200px;
        gap: 8px;
    }

    .symbol {
        font-size: 22px;
    }

    .visual-card, .multiplier-chart, .bonus-feature, .feature-card, .review-card {
        padding: 20px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 20px;
    }

    .comparison-summary {
        padding: 25px;
    }

    .features-cta {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 26px;
    }

    .btn-cta {
        padding: 16px 30px;
        font-size: 16px;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-column {
        min-width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-column a:hover {
        padding-left: 0;
    }
}

/* Очень маленькие телефоны */
@media (max-width: 375px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .logo-main {
        font-size: 20px;
    }

    .logo-sub {
        font-size: 10px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn-play, .btn-demo {
        padding: 14px 20px;
    }

    .section-title {
        font-size: 26px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-symbols {
        width: 250px;
        height: 180px;
    }
}

/* Игра: адаптация под планшеты/мобилки */
@media (max-width: 991px) {
    .game-frame {
        padding: 10px;
        border-radius: 16px;
    }

    .game-frame .game-iframe,
    .game-frame #iframe {
        height: clamp(420px, 58vh, 620px);
        border-radius: 12px;
    }
}

@media (max-width: 575px) {
    .hero-game-image {
        margin-top: 20px;
    }

    .game-frame {
        padding: 6px;
        border-radius: 12px;
    }

    .game-frame .game-iframe,
    .game-frame #iframe {
        height: 70vh;        /* на телефоне — почти “в экран” */
        min-height: 420px;   /* чтобы не стало слишком мелко */
        border-radius: 10px;
    }
}

@media (max-width: 375px) {
    .game-frame .game-iframe,
    .game-frame #iframe {
        height: 66vh;
        min-height: 380px;
    }
}
