/* Responsive Design */

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        gap: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .games-grid,
    .promotions-grid,
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header .container {
        padding: 10px 15px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav.mobile-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #eee;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav.mobile-menu .nav-list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero {
        height: 90vh;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        justify-content: center;
        gap: 15px;
    }

    .hero-buttons {
        justify-content: center;
        gap: 15px;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-section,
    .games-section,
    .promotions-section,
    .news-section {
        padding: 60px 0;
    }

    .about-content {
        gap: 25px;
    }

    .games-grid,
    .promotions-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .promotion-card {
        padding: 25px;
    }

    .promotion-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .promotion-card {
        padding: 20px;
    }

    .footer-section {
        margin-bottom: 30px;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Extra Small Screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .about-list li {
        font-size: 0.9rem;
    }

    .game-info,
    .news-content {
        padding: 15px;
    }
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .games-grid,
    .promotions-grid,
    .news-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* High resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-attachment: fixed;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero,
    .footer {
        display: none;
    }

    .btn {
        display: none;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .section-header h2 {
        color: black;
        border-bottom: 2px solid #333;
        padding-bottom: 10px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }

    .header {
        background: rgba(26, 26, 26, 0.95);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .nav-list a {
        color: #e0e0e0;
    }

    .about-section,
    .promotions-section {
        background: #2a2a2a;
    }

    .games-section,
    .news-section {
        background: #1a1a1a;
    }

    .game-card,
    .promotion-card,
    .news-card {
        background: #2a2a2a;
        color: #e0e0e0;
    }

    .game-info h3,
    .news-content h3 {
        color: #e0e0e0;
    }

    .game-info p,
    .news-content p {
        color: #b0b0b0;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-list a:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }

    .btn-secondary,
    .btn-outline {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
}
