/* ===================================
   RESPONSIVE STYLES
   =================================== */

/* Tablet & Smaller Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px 0;
    }

    .container {
        padding: 0 30px;
    }

    /* Hero Game */
    .hero-game-section {
        padding: 40px 20px;
    }

    .game-title {
        font-size: 3.5rem;
    }

    .game-tagline {
        font-size: 1.3rem;
    }

    #game-iframe {
        height: 500px;
    }

    .hero-stats {
        gap: 40px;
    }

    /* Controls Section */
    .controls-section {
        padding: 40px 0;
    }

    .controls-row {
        grid-template-columns: 1fr;
    }

    .tips-row {
        grid-template-columns: 1fr;
    }

    /* Download Buttons */
    .download-buttons {
        max-width: 100%;
    }

    /* About */
    .about-grid {
        gap: 40px;
    }

    /* Sections */
    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }
}

/* Tablet Portrait (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }

    /* Navigation */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(8, 9, 12, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
    }

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

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

    /* Hero Game */
    .hero-game-section {
        padding: 30px 15px;
        min-height: auto;
    }

    .game-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
    }

    .game-title {
        font-size: 2.5rem;
    }

    .game-tagline {
        font-size: 1.1rem;
    }

    #game-iframe {
        height: 400px;
    }

    .game-control-btn span {
        display: none;
    }

    .game-control-btn {
        padding: 10px 15px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-value {
        font-size: 2rem;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content {
        order: 2;
    }

    .about-image {
        order: 1;
    }

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

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

    /* Comment Form */
    .form-row {
        grid-template-columns: 1fr;
    }

    .rating-selector {
        justify-content: space-between;
    }

    /* Download */
    .download-content h2 {
        font-size: 2.2rem;
    }

    .download-content p {
        font-size: 1rem;
    }

    .download-buttons {
        grid-template-columns: 1fr;
        max-width: 400px;
        padding: 0 20px;
    }

    .download-features {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

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

    /* Navigation */
    .nav-logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    /* Hero Game */
    .hero-game-section {
        padding: 20px 10px;
    }

    .game-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .game-tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    #game-iframe {
        height: 350px;
    }

    .game-controls-bar {
        padding: 10px 15px;
    }

    .game-control-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .game-controls-bar {
        flex-wrap: wrap;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .download-btn .download-store {
        font-size: 1rem;
    }

    .download-features .feature-item {
        font-size: 0.85rem;
    }
    
    /* Language Selection Mobile */
    .language-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .language-selection-section {
        padding: 60px 15px;
    }
    
    .language-selection-section .section-title {
        font-size: 1.6rem;
    }
    
    .language-selection-section .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .language-card {
        padding: 15px 20px;
    }
    
    .language-card .lang-flag {
        font-size: 1.5rem;
    }
    
    .language-card .lang-text {
        font-size: 0.9rem;
    }

    /* Sections */
    .section-tag {
        font-size: 0.7rem;
        padding: 5px 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Game Section */
    .game-info {
        padding: 20px;
    }

    .game-info h3 {
        font-size: 1.3rem;
    }

    .game-tips h4 {
        font-size: 1rem;
    }

    /* Feature Cards */
    .feature-card {
        padding: 25px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Review Cards */
    .review-card {
        padding: 20px;
    }

    .reviewer-avatar {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .reviewer-name {
        font-size: 1rem;
    }

    .review-text {
        font-size: 0.9rem;
    }

    /* Comment Form */
    .comment-form {
        padding: 25px;
    }

    .comment-section h3 {
        font-size: 1.6rem;
    }

    .rating-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .stars-input .star {
        font-size: 1.3rem;
    }

    /* Download */
    .download-content h2 {
        font-size: 1.8rem;
    }

    .download-icon {
        width: 35px;
        height: 35px;
    }

    .download-store {
        font-size: 1.1rem;
    }

    /* Back to Top */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.3rem;
    }
}

/* Small Mobile (max-width: 375px) */
@media (max-width: 375px) {
    .title-line-1 {
        font-size: 2rem;
    }

    .title-line-2 {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .download-content h2 {
        font-size: 1.6rem;
    }
}

/* Landscape Mobile Devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 20px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* High Resolution Displays */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .title-line-1 {
        font-size: 6rem;
    }

    .section-title {
        font-size: 3.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-cta,
    .back-to-top,
    .mobile-toggle {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero-overlay {
        display: none;
    }
}

