/* Responsive Design */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .hero-section .container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Tablet */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 2rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .login-steps,
    .register-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 100px 0 60px;
        margin-top: 70px; /* Smaller margin for mobile header */
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        animation: slideInLeft 0.8s ease-out, textShine 3s ease-in-out infinite;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .feature-card,
    .step,
    .benefit-item,
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Mobile navigation improvements */
    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .nav-link {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Mobile button improvements */
    .btn {
        min-height: 48px;
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* Mobile image optimizations */
    .hero-image img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }
    
    .login-image img,
    .register-images img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-buttons {
        padding: 0 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.1;
        animation: slideInLeft 0.6s ease-out, textShine 3s ease-in-out infinite;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-section .container {
        gap: 1.5rem;
    }
    
    .hero-image img {
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }
    
    .feature-card,
    .step,
    .benefit-item,
    .testimonial-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card img {
        height: 180px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .nav-logo img {
        height: 35px;
    }
    
    .nav-toggle {
        padding: 3px;
    }
    
    .nav-toggle span {
        width: 22px;
        height: 2px;
    }
    
    /* Small mobile spacing */
    .container {
        padding: 0 12px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero-section {
        padding: 80px 0 50px;
        margin-top: 65px; /* Even smaller margin for small mobile */
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .hero-section {
        margin-top: 60px; /* Smallest margin for extra small mobile */
    }
    
    .feature-card,
    .step,
    .benefit-item,
    .testimonial-card {
        padding: 0.75rem;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 80px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 80px 0 40px;
        margin-top: 60px; /* Smaller margin for landscape mobile */
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="grain-hd" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="100" cy="100" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="200" height="200" fill="url(%23grain-hd)"/></svg>');
    }
}

/* Print Styles */
@media print {
    .header,
    .nav-toggle,
    .nav-buttons,
    .footer {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        padding: 20px 0 !important;
    }
    
    .hero-title {
        color: black !important;
    }
    
    .btn {
        border: 1px solid black !important;
        background: white !important;
        color: black !important;
    }
    
    section {
        padding: 20px 0 !important;
        page-break-inside: avoid;
    }
    
    .game-card,
    .feature-card,
    .testimonial-card {
        page-break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .btn:hover,
    .feature-card:hover,
    .game-card:hover {
        transform: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #000000;
        --accent-color: #000000;
        --dark-color: #000000;
        --white: #ffffff;
        --light-gray: #ffffff;
        --gray: #000000;
    }
    
    .btn {
        border: 2px solid var(--dark-color);
    }
    
    .nav-link {
        border: 1px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link.active {
        border-color: var(--dark-color);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --light-gray: #2d2d2d;
        --gray: #cccccc;
        --dark-color: #ffffff;
    }
    
    body {
        background-color: var(--white);
        color: var(--dark-color);
    }
    
    .header {
        background: var(--light-gray);
    }
    
    .feature-card,
    .step,
    .benefit-item,
    .testimonial-card,
    .game-card {
        background: var(--light-gray);
        color: var(--dark-color);
    }
}

/* Focus Visible for Keyboard Navigation */
@media (any-hover: none) {
    .btn:hover,
    .nav-link:hover,
    .feature-card:hover,
    .game-card:hover {
        transform: none;
        box-shadow: var(--shadow);
    }
}

/* Games Page Responsive */
@media (max-width: 991px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .category-card {
        padding: 2rem;
    }
    
    .category-card h3 {
        font-size: 1.3rem;
    }
    
    .page-header h1 {
        font-size: 3rem !important;
    }
    
    .page-header p {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 767px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .game-card {
        border-radius: 15px;
    }
    
    .game-card-content {
        padding: 1.2rem;
    }
    
    .game-card h3 {
        font-size: 1.3rem;
    }
    
    .category-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .category-card h3 {
        font-size: 1.2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem !important;
    }
    
    .page-header p {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 575px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .game-card {
        border-radius: 12px;
    }
    
    .game-card-content {
        padding: 1rem;
    }
    
    .game-card h3 {
        font-size: 1.2rem;
    }
    
    .game-card p {
        font-size: 0.95rem;
    }
    
    .category-card {
        padding: 1.2rem;
        border-radius: 12px;
    }
    
    .category-card h3 {
        font-size: 1.1rem;
    }
    
    .category-card p {
        font-size: 0.95rem;
    }
    
    .page-header h1 {
        font-size: 2rem !important;
    }
    
    .page-header p {
        font-size: 1rem !important;
    }
}

/* 404 Error Page Responsive */
@media (max-width: 991px) {
    .error-section {
        padding: 3rem;
        margin: 0 1rem;
    }
    
    .error-section h1 {
        font-size: 6rem;
    }
    
    .error-section h2 {
        font-size: 2rem;
    }
    
    .error-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .error-section {
        padding: 2.5rem;
        margin: 0 0.5rem;
        border-radius: 20px;
    }
    
    .error-section h1 {
        font-size: 4rem;
    }
    
    .error-section h2 {
        font-size: 1.8rem;
    }
    
    .error-section p {
        font-size: 1rem;
    }
    
    .error-section .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-section .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 575px) {
    .error-section {
        padding: 2rem;
        border-radius: 15px;
    }
    
    .error-section h1 {
        font-size: 3rem;
    }
    
    .error-section h2 {
        font-size: 1.5rem;
    }
    
    .error-section p {
        font-size: 0.95rem;
    }
    
    .error-section .error-description {
        padding: 1.2rem;
    }
    
    .error-section .error-description p {
        font-size: 1rem;
    }
}

/* FAQ Page Responsive */
@media (max-width: 991px) {
    .faq-section {
        padding: 2.5rem;
        margin: 0 1rem 1.5rem;
    }
    
    .faq-section h2 {
        font-size: 2rem;
    }
    
    .faq-section h3 {
        font-size: 1.3rem;
    }
    
    .faq-section p {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding: 2rem;
        margin: 0 0.5rem 1rem;
        border-radius: 15px;
    }
    
    .faq-section h2 {
        font-size: 1.8rem;
    }
    
    .faq-section h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem;
    }
    
    .faq-section p {
        font-size: 0.95rem;
        padding-left: 12px;
    }
    
    .faq-section li {
        font-size: 0.95rem;
    }
    
    .faq-section .highlight-box,
    .faq-section .question-box,
    .faq-section .answer-box,
    .faq-section .tip-box {
        padding: 1.2rem;
    }
}

@media (max-width: 575px) {
    .faq-section {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .faq-section h2 {
        font-size: 1.6rem;
    }
    
    .faq-section h3 {
        font-size: 1.1rem;
    }
    
    .faq-section p {
        font-size: 0.9rem;
        padding-left: 10px;
    }
    
    .faq-section li {
        font-size: 0.9rem;
    }
    
    .faq-section .highlight-box,
    .faq-section .question-box,
    .faq-section .answer-box,
    .faq-section .tip-box {
        padding: 1rem;
    }
}

/* Contact Page Responsive */
@media (max-width: 991px) {
    .contact-section {
        padding: 2.5rem;
        margin: 0 1rem 1.5rem;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .contact-section h3 {
        font-size: 1.3rem;
    }
    
    .contact-section p {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 2rem;
        margin: 0 0.5rem 1rem;
        border-radius: 15px;
    }
    
    .contact-section h2 {
        font-size: 1.8rem;
    }
    
    .contact-section h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem;
    }
    
    .contact-section p {
        font-size: 0.95rem;
        padding-left: 12px;
    }
    
    .contact-section li {
        font-size: 0.95rem;
    }
    
    .contact-section .highlight-box,
    .contact-section .info-box,
    .contact-section .support-box {
        padding: 1.2rem;
    }
}

@media (max-width: 575px) {
    .contact-section {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .contact-section h2 {
        font-size: 1.6rem;
    }
    
    .contact-section h3 {
        font-size: 1.1rem;
    }
    
    .contact-section p {
        font-size: 0.9rem;
        padding-left: 10px;
    }
    
    .contact-section li {
        font-size: 0.9rem;
    }
    
    .contact-section .highlight-box,
    .contact-section .info-box,
    .contact-section .support-box {
        padding: 1rem;
    }
}

/* Disclaimer Page Responsive */
@media (max-width: 991px) {
    .disclaimer-section {
        padding: 2.5rem;
        margin: 0 1rem 1.5rem;
    }
    
    .disclaimer-section h2 {
        font-size: 2rem;
    }
    
    .disclaimer-section h3 {
        font-size: 1.3rem;
    }
    
    .disclaimer-section p {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .disclaimer-section {
        padding: 2rem;
        margin: 0 0.5rem 1rem;
        border-radius: 15px;
    }
    
    .disclaimer-section h2 {
        font-size: 1.8rem;
    }
    
    .disclaimer-section h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem;
    }
    
    .disclaimer-section p {
        font-size: 0.95rem;
        padding-left: 12px;
    }
    
    .disclaimer-section li {
        font-size: 0.95rem;
    }
    
    .disclaimer-section .highlight-box,
    .disclaimer-section .warning-box,
    .disclaimer-section .important-box {
        padding: 1.2rem;
    }
}

@media (max-width: 575px) {
    .disclaimer-section {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .disclaimer-section h2 {
        font-size: 1.6rem;
    }
    
    .disclaimer-section h3 {
        font-size: 1.1rem;
    }
    
    .disclaimer-section p {
        font-size: 0.9rem;
        padding-left: 10px;
    }
    
    .disclaimer-section li {
        font-size: 0.9rem;
    }
    
    .disclaimer-section .highlight-box,
    .disclaimer-section .warning-box,
    .disclaimer-section .important-box {
        padding: 1rem;
    }
}

/* Terms & Conditions Page Responsive */
@media (max-width: 991px) {
    .terms-section {
        padding: 2.5rem;
        margin: 0 1rem 1.5rem;
    }
    
    .terms-section h2 {
        font-size: 2rem;
    }
    
    .terms-section h3 {
        font-size: 1.3rem;
    }
    
    .terms-section p {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .terms-section {
        padding: 2rem;
        margin: 0 0.5rem 1rem;
        border-radius: 15px;
    }
    
    .terms-section h2 {
        font-size: 1.8rem;
    }
    
    .terms-section h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem;
    }
    
    .terms-section p {
        font-size: 0.95rem;
        padding-left: 12px;
    }
    
    .terms-section li {
        font-size: 0.95rem;
    }
    
    .terms-section .highlight-box,
    .terms-section .warning-box {
        padding: 1.2rem;
    }
}

@media (max-width: 575px) {
    .terms-section {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .terms-section h2 {
        font-size: 1.6rem;
    }
    
    .terms-section h3 {
        font-size: 1.1rem;
    }
    
    .terms-section p {
        font-size: 0.9rem;
        padding-left: 10px;
    }
    
    .terms-section li {
        font-size: 0.9rem;
    }
    
    .terms-section .highlight-box,
    .terms-section .warning-box {
        padding: 1rem;
    }
}

/* Privacy Policy Page Responsive */
@media (max-width: 991px) {
    .privacy-section {
        padding: 2.5rem;
        margin: 0 1rem 1.5rem;
    }
    
    .privacy-section h2 {
        font-size: 2rem;
    }
    
    .privacy-section h3 {
        font-size: 1.3rem;
    }
    
    .privacy-section p {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .privacy-section {
        padding: 2rem;
        margin: 0 0.5rem 1rem;
        border-radius: 15px;
    }
    
    .privacy-section h2 {
        font-size: 1.8rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem;
    }
    
    .privacy-section p {
        font-size: 0.95rem;
        padding-left: 12px;
    }
    
    .privacy-section li {
        font-size: 0.95rem;
    }
    
    .privacy-section .highlight-box {
        padding: 1.2rem;
    }
}

@media (max-width: 575px) {
    .privacy-section {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .privacy-section h2 {
        font-size: 1.6rem;
    }
    
    .privacy-section h3 {
        font-size: 1.1rem;
    }
    
    .privacy-section p {
        font-size: 0.9rem;
        padding-left: 10px;
    }
    
    .privacy-section li {
        font-size: 0.9rem;
    }
    
    .privacy-section .highlight-box {
        padding: 1rem;
    }
}

/* About Page Responsive */
@media (max-width: 991px) {
    .about-content h2 {
        font-size: 2.5rem;
    }
    
    .story-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .story-content h2 {
        font-size: 2.2rem;
    }
    
    .story-content p {
        font-size: 1.05rem;
    }
}

@media (max-width: 767px) {
    .about-content h2 {
        font-size: 2rem;
    }
    
    .story-content {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .story-content h2 {
        font-size: 1.8rem;
    }
    
    .story-content p {
        font-size: 1rem;
        padding-left: 15px;
    }
    
    .story-content p::before {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .story-content {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .story-content h2 {
        font-size: 1.6rem;
    }
    
    .story-content p {
        font-size: 0.95rem;
        padding-left: 12px;
    }
}

/* Page Main Content Responsive */
@media (max-width: 767px) {
    .page-main-content {
        margin-top: 70px; /* Smaller margin for mobile header */
    }
}

@media (max-width: 575px) {
    .page-main-content {
        margin-top: 65px; /* Even smaller margin for small mobile */
    }
}

@media (max-width: 375px) {
    .page-main-content {
        margin-top: 60px; /* Smallest margin for extra small mobile */
    }
}

/* Login & Register Sections Responsive */
@media (max-width: 991px) {
    .login-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .login-left,
    .login-right {
        width: 100%;
    }
    
    .register-content {
        text-align: center;
    }
    
    .login-steps,
    .register-steps {
        margin: 2rem 0;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .step-content {
        text-align: center;
    }
    
    .register-images {
        gap: 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .login-content,
    .register-content {
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .register-images {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .register-images img {
        width: 280px;
        height: 224px;
    }
}

/* Touch Device Optimizations */
@media (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1rem;
        font-weight: 600;
    }
    
    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        font-size: 1.1rem;
    }
    
    .nav-toggle {
        min-height: 48px;
        min-width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feature-card,
    .step,
    .benefit-item,
    .testimonial-card {
        min-height: 44px;
        cursor: pointer;
    }
    
    .game-card {
        min-height: 44px;
        cursor: pointer;
    }
    
    .thumbnail-item {
        min-height: 44px;
        cursor: pointer;
    }
}

/* Games Slider Responsive Styles */
@media (max-width: 1199px) {
    .mobile-slider {
        height: 550px;
        perspective: 800px;
    }
    
    .mobile-slide:nth-child(1) {
        transform: scale(0.6) rotateY(-20deg) translateX(-150px) translateZ(-150px);
    }
    
    .mobile-slide:nth-child(2) {
        transform: scale(0.7) rotateY(-12deg) translateX(-75px) translateZ(-75px);
    }
    
    .mobile-slide:nth-child(3) {
        transform: scale(0.8) rotateY(-4deg) translateX(-35px) translateZ(-35px);
    }
    
    .mobile-slide:nth-child(4) {
        transform: scale(0.9) rotateY(0deg) translateX(0px) translateZ(0px);
    }
    
    .mobile-slide:nth-child(5) {
        transform: scale(0.8) rotateY(4deg) translateX(35px) translateZ(-35px);
    }
    
    .mobile-slide:nth-child(6) {
        transform: scale(0.7) rotateY(12deg) translateX(75px) translateZ(-75px);
    }
    
    .mobile-slide:nth-child(7) {
        transform: scale(0.6) rotateY(20deg) translateX(150px) translateZ(-150px);
    }
    
    .mobile-screen {
        width: 260px;
        height: 460px;
    }
    
    .mobile-slide.active .mobile-screen {
        width: 300px;
        height: 530px;
    }
}

@media (max-width: 991px) {
    .games-slider-section {
        padding: 60px 0;
    }
    
    .slider-header .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mobile-slider {
        height: 500px;
        perspective: 600px;
    }
    
    .mobile-slide:nth-child(1) {
        transform: scale(0.5) rotateY(-15deg) translateX(-100px) translateZ(-100px);
    }
    
    .mobile-slide:nth-child(2) {
        transform: scale(0.6) rotateY(-8deg) translateX(-50px) translateZ(-50px);
    }
    
    .mobile-slide:nth-child(3) {
        transform: scale(0.7) rotateY(-3deg) translateX(-25px) translateZ(-25px);
    }
    
    .mobile-slide:nth-child(4) {
        transform: scale(0.8) rotateY(0deg) translateX(0px) translateZ(0px);
    }
    
    .mobile-slide:nth-child(5) {
        transform: scale(0.7) rotateY(3deg) translateX(25px) translateZ(-25px);
    }
    
    .mobile-slide:nth-child(6) {
        transform: scale(0.6) rotateY(8deg) translateX(50px) translateZ(-50px);
    }
    
    .mobile-slide:nth-child(7) {
        transform: scale(0.5) rotateY(15deg) translateX(100px) translateZ(-100px);
    }
    
    .mobile-screen {
        width: 240px;
        height: 420px;
    }
    
    .mobile-slide.active .mobile-screen {
        width: 280px;
        height: 490px;
    }
    
    .slider-nav {
        width: 45px;
        height: 45px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .game-thumbnails {
        gap: 0.75rem;
        margin-top: 2rem;
    }
    
    .thumbnail-item {
        min-width: 80px;
        padding: 0.75rem;
    }
    
    .thumbnail-icon {
        width: 35px;
        height: 35px;
    }
    
    .thumbnail-name {
        font-size: 0.65rem;
    }
}

@media (max-width: 767px) {
    .games-slider-section {
        padding: 40px 0;
    }
    
    .slider-header .section-title {
        font-size: 1.75rem;
    }
    
    .mobile-slider {
        height: 450px;
        perspective: 400px;
    }
    
    .mobile-slide:nth-child(1) {
        transform: scale(0.4) rotateY(-10deg) translateX(-60px) translateZ(-60px);
    }
    
    .mobile-slide:nth-child(2) {
        transform: scale(0.5) rotateY(-5deg) translateX(-30px) translateZ(-30px);
    }
    
    .mobile-slide:nth-child(3) {
        transform: scale(0.6) rotateY(-2deg) translateX(-15px) translateZ(-15px);
    }
    
    .mobile-slide:nth-child(4) {
        transform: scale(0.7) rotateY(0deg) translateX(0px) translateZ(0px);
    }
    
    .mobile-slide:nth-child(5) {
        transform: scale(0.6) rotateY(2deg) translateX(15px) translateZ(-15px);
    }
    
    .mobile-slide:nth-child(6) {
        transform: scale(0.5) rotateY(5deg) translateX(30px) translateZ(-30px);
    }
    
    .mobile-slide:nth-child(7) {
        transform: scale(0.4) rotateY(10deg) translateX(60px) translateZ(-60px);
    }
    
    .mobile-screen {
        width: 200px;
        height: 350px;
        border-radius: 20px;
        border: 6px solid var(--dark-color);
    }
    
    .mobile-slide.active .mobile-screen {
        width: 240px;
        height: 420px;
        border-radius: 25px;
        border: 8px solid var(--dark-color);
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .game-badge {
        padding: 0.5rem 1rem;
        min-width: 100px;
        bottom: -15px;
    }
    
    .game-icon {
        width: 20px;
        height: 20px;
    }
    
    .game-name {
        font-size: 0.7rem;
    }
    
    .game-thumbnails {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .thumbnail-item {
        min-width: 70px;
        padding: 0.5rem;
    }
    
    .thumbnail-icon {
        width: 30px;
        height: 30px;
    }
    
    .thumbnail-name {
        font-size: 0.6rem;
    }
    
    .slider-slogan p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 575px) {
    .slider-header .section-title {
        font-size: 1.5rem;
    }
    
    .emoji {
        font-size: 1.5rem;
    }
    
    .language-badge {
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .mobile-slide {
        flex: 0 0 180px;
    }
    
    .mobile-slide.active {
        flex: 0 0 220px;
    }
    
    .mobile-screen {
        width: 180px;
        height: 320px;
        border-radius: 18px;
        border: none;
    }
    
    .mobile-slide.active .mobile-screen {
        width: 220px;
        height: 380px;
        border-radius: 22px;
        border: none;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
    }
    
    .slider-nav.prev {
        left: 5px;
    }
    
    .slider-nav.next {
        right: 5px;
    }
    
    .game-thumbnails {
        gap: 0.4rem;
        margin-top: 1rem;
    }
    
    .thumbnail-item {
        min-width: 60px;
        padding: 0.4rem;
    }
    
    .thumbnail-icon {
        width: 25px;
        height: 25px;
    }
    
    .thumbnail-name {
        font-size: 0.55rem;
    }
    
    .slider-slogan p {
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .mobile-slide {
        flex: 0 0 160px;
    }
    
    .mobile-slide.active {
        flex: 0 0 200px;
    }
    
    .mobile-screen {
        width: 160px;
        height: 280px;
        border: none;
    }
    
    .mobile-slide.active .mobile-screen {
        width: 200px;
        height: 350px;
        border: none;
    }
    
    .game-thumbnails {
        gap: 0.3rem;
    }
    
    .thumbnail-item {
        min-width: 50px;
        padding: 0.3rem;
    }
    
    .thumbnail-icon {
        width: 20px;
        height: 20px;
    }
    
    .thumbnail-name {
        font-size: 0.5rem;
    }
} 

/* Back to Top Button Responsive */
@media (max-width: 767px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top::before {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top::before {
        font-size: 18px;
    }
}