/* Responsive Styles */

@media (max-width: 992px) {
    .header-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--color-header);
        padding: 30px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    }

    .header-nav.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 20px;
    }

    .burger-menu {
        display: flex;
    }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .footer-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .online-counter {
        display: none;
    }

    .header-buttons-desktop {
        display: none;
    }

    .header-buttons-mobile {
        display: flex;
        gap: 8px;
    }

    .btn-header-mobile {
        padding: 8px 15px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        font-size: 12px;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .btn-header-mobile.btn-login {
        background: transparent;
        color: var(--color-btn-white);
        border: 2px solid var(--color-btn-white);
    }

    .btn-header-mobile.btn-register {
        background: var(--color-btn-yellow);
        color: #000;
        border: 2px solid var(--color-btn-yellow);
    }

    .hero-section {
        padding: 60px 20px;
    }

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

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

    .btn-hero {
        padding: 14px 35px;
        font-size: 16px;
    }

    .main-heading {
        font-size: 28px;
    }

    .block-styled {
        padding: 20px;
    }

    .block-title {
        font-size: 22px;
    }

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

    .app-download-buttons {
        flex-direction: column;
    }

    .btn-app {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .bonus-widget-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .bonus-widget-text {
        font-size: 16px;
    }

    .bonus-widget-btn {
        width: 100%;
        text-align: center;
    }

    .table-responsive {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .mirrors-table,
    .winners-table {
        min-width: 500px;
    }

    #wheel-canvas {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .site-logo img {
        max-width: 140px;
    }

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

    .hero-subtitle {
        font-size: 14px;
    }

    .btn-hero {
        padding: 12px 25px;
        font-size: 14px;
    }

    .main-heading {
        font-size: 24px;
    }

    .block-styled {
        padding: 15px;
        margin-bottom: 30px;
    }

    .block-title {
        font-size: 20px;
    }

    .btn-header-mobile {
        padding: 6px 12px;
        font-size: 11px;
    }

    .footer-wrapper {
        grid-template-columns: 1fr;
    }

    .content-text {
        padding: 20px;
    }

    .content-text h2 {
        font-size: 22px;
    }

    .content-text h3 {
        font-size: 18px;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 20px;
    }

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

    .hero-subtitle {
        font-size: 14px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .site-logo img,
    .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print styles */
@media print {
    .site-header,
    .hero-section,
    .bonus-widget,
    .burger-menu {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .content-text {
        background: white;
    }
}
