

@media (max-width: 1024px) {
    :root {
        --max-width: 960px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 960px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    body {
        font-size: 0.95rem;
    }

    h1 {
        font-size: 2.1rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.75rem;
    }

    section {
        padding: 50px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .history-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .history-img-wrap {
        order: -1;
    }

    .explainer-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ai-chat-panel {
        width: calc(100vw - 48px);
        height: 400px;
    }

    
    .table-responsive {
        overflow-x: visible;
        border: none;
        border-radius: 0;
    }

    .comparison-table, 
    .comparison-table tbody, 
    .comparison-table tr, 
    .comparison-table td {
        display: block;
        width: 100%;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table tr {
        background-color: rgba(23, 28, 46, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: var(--border-radius);
        padding: 15px;
        margin-bottom: 20px;
    }

    .comparison-table tr:last-child {
        margin-bottom: 0;
    }

    .comparison-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        font-size: 0.9rem;
        gap: 15px;
        text-align: right;
    }

    .comparison-table td:last-child {
        border-bottom: none;
    }

    .comparison-table td:first-child {
        font-size: 1rem;
        font-weight: 700;
        color: var(--accent-gold);
        border-bottom: 2px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 10px;
        margin-bottom: 10px;
        justify-content: center;
        text-align: center;
    }

    .comparison-table td:first-child strong {
        color: var(--accent-gold);
    }

    .comparison-table td:nth-child(2)::before {
        content: "Social Play:";
        font-weight: 600;
        color: #ffffff;
        text-align: left;
        flex-shrink: 0;
    }

    .comparison-table td:nth-child(3)::before {
        content: "Classic Casinos:";
        font-weight: 600;
        color: #ffffff;
        text-align: left;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-payments-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .age-gate-btns {
        flex-direction: column;
        gap: 12px;
    }

    .age-gate-btns .btn {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-policy-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-bottom .social-links {
        justify-content: center;
    }
}

@media (max-width: 320px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    h1 {
        font-size: 1.7rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
}
