/* Responsive Design */

/* Tablets and below */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .casino-rank {
        font-size: 36px;
        min-width: 60px;
    }

    .casino-info h3 {
        font-size: 20px;
    }

    .expert-profiles {
        grid-template-columns: 1fr;
    }

    .bonus-comparison h2,
    .other-comparatives h2,
    .experts h2 {
        font-size: 30px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.active {
        max-height: 600px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .main-nav > ul > li > a {
        display: block;
        padding: 15px;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.05);
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-submenu.active .submenu {
        max-height: 500px;
    }

    .submenu a {
        color: rgba(255, 255, 255, 0.8);
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-bonus-hint p {
        font-size: 14px;
    }

    .top-casinos {
        padding: 50px 0;
    }

    .casino-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .casino-rank {
        font-size: 48px;
        min-width: auto;
    }

    .casino-info h3 {
        font-size: 18px;
    }

    .casino-rating {
        justify-content: center;
    }

    .bonus-comparison,
    .other-comparatives,
    .experts {
        padding: 50px 0;
    }

    .bonus-comparison h2,
    .other-comparatives h2,
    .experts h2 {
        font-size: 24px;
    }

    .bonus-section h3,
    .comparative-section h3 {
        font-size: 20px;
    }

    .criteria-list {
        padding: 20px;
    }

    .bonus-table {
        display: block;
        overflow-x: auto;
    }

    .bonus-table thead {
        display: none;
    }

    .bonus-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        overflow: hidden;
    }

    .bonus-table td {
        display: block;
        text-align: left;
        padding: 12px 15px;
        position: relative;
        padding-left: 50%;
    }

    .bonus-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        font-weight: 600;
        color: var(--secondary-color);
    }

    .expert-profiles {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .expert-card {
        padding: 25px;
    }

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

    .hidden-bonus-content p {
        font-size: 16px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .casino-info h3 {
        font-size: 16px;
    }

    .bonus-label {
        display: block;
        margin-bottom: 10px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .expert-card h3 {
        font-size: 22px;
    }

    .expert-card p {
        font-size: 14px;
    }
}

/* Landscape mode on mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 30px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-bonus-hint {
        margin-top: 15px;
        padding: 15px;
    }
}

/* Print styles */
@media print {
    .header,
    .menu-toggle,
    .cta-button,
    .footer {
        display: none;
    }

    .hero {
        background: white;
        color: black;
    }

    .casino-card {
        page-break-inside: avoid;
    }
}

