/* Font Imports */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/fonts/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/fonts/static/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/fonts/static/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/fonts/static/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    font-size: 16px;
}

/* Mobile-first approach - optimize for touch */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading optimization */
img {
    -webkit-user-select: none;
    user-select: none;
    max-width: 100%;
    height: auto;
}

/* Improved button focus states */
button:focus-visible, a:focus-visible {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-menu a:hover {
    color: #ff0000;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
    width: calc(100% - 1rem);
    height: 2px;
    background: #ff0000;
    transition: width 0.3s ease;
    width: 0;
}

.nav-menu a:hover::after {
    width: calc(100% - 1rem);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    margin-top: 60px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 600px;
    padding: 1rem;
}

.slide-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.slide-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.4;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    min-height: 50px;
    min-width: 140px;
    touch-action: manipulation;
}

.cta-button:active {
    transform: scale(0.95);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
}

.slider-btn:active {
    background: rgba(255, 255, 255, 0.5);
}

.slider-btn.prev {
    left: 0.5rem;
}

.slider-btn.next {
    right: 0.5rem;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.dot::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.dot.active::before {
    background: #ff0000;
    width: 30px;
    border-radius: 10px;
}

/* Featured Section */
.featured-section {
    padding: 3rem 1rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-showcase {
    max-width: 100%;
    margin: 0 auto;
}

.game-hero {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.game-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.game-hero-info {
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.95);
    text-align: center;
}

.game-hero-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ff0000;
}

.game-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.game-hero-info p {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 3rem 1rem;
    background: #0a0a0a;
}

.about-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.cta-button-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    color: #ff0000;
    border: 2px solid #ff0000;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
    min-width: 140px;
    touch-action: manipulation;
}

.cta-button-secondary:active {
    transform: scale(0.95);
}

.cta-button-secondary:hover {
    background: #ff0000;
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* Call to Action Section */
.cta-section {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #ff0000 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* Footer */
.footer {
    background: #000000;
    padding: 2rem 1rem 1rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #ff0000;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
    padding: 0.25rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.footer-section a:hover {
    color: #ff0000;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Desktop enhancements */
@media (min-width: 769px) {
    .nav-container {
        max-width: 1400px;
        padding: 0 2rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    .nav-menu {
        gap: 2.5rem;
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
    
    .hero-slider {
        height: 100vh;
        margin-top: 70px;
    }
    
    .slide-title {
        font-size: 3.5rem;
    }
    
    .slide-description {
        font-size: 1.3rem;
    }
    
    .cta-button {
        padding: 1rem 3rem;
        font-size: 1.1rem;
    }
    
    .slider-btn {
        padding: 1rem 1.5rem;
        font-size: 1.5rem;
    }
    
    .slider-btn.prev {
        left: 2rem;
    }
    
    .slider-btn.next {
        right: 2rem;
    }
    
    .featured-section {
        padding: 5rem 2rem;
    }
    
    .container {
        max-width: 1400px;
        padding: 0 2rem;
    }
    
    .section-title {
        font-size: 3rem;
        margin-bottom: 3rem;
    }
    
    .game-showcase {
        max-width: 900px;
    }
    
    .game-hero {
        border-radius: 20px;
    }
    
    .game-hero-info {
        padding: 2rem;
    }
    
    .game-hero-info h3 {
        font-size: 2rem;
    }
    
    .game-hero-info p {
        font-size: 1.2rem;
    }
    
    .about-section {
        padding: 5rem 2rem;
    }
    
    .about-content {
        max-width: 900px;
    }
    
    .about-content p {
        font-size: 1.3rem;
        line-height: 1.8;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-content p {
        font-size: 1.2rem;
    }
    
    .footer {
        padding: 3rem 2rem 1rem;
    }
    
    .footer-content {
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu a {
        font-size: 0.75rem;
        padding: 0.4rem;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-description {
        font-size: 0.9rem;
    }
}
