/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A90E2;
    --primary-light: #5BA3F5;
    --primary-dark: #357ABD;
    --secondary-color: #9D4EDD;
    --accent-purple: #8B5CF6;
    --accent-blue: #3B82F6;
    --dark-bg: #0F172A;
    --light-bg: #1E293B;
    --darker-bg: #020617;
    --card-bg: #1E293B;
    --card-hover: #334155;
    --text-light: #F8FAFC;
    --text-gray: #94A3B8;
    --border-color: #334155;
    --success: #10B981;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--darker-bg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-overlay {
    display: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo h1 {
    font-size: 22px;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-light);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 80px;
}

.hero-title {
    font-size: 68px;
    margin-bottom: 24px;
    color: var(--text-light);
    animation: fadeInUp 1s ease;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 48px;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.btn span {
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-blue) 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(74, 144, 226, 0.1);
    border-color: var(--primary-light);
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    position: relative;
    animation: float 2s ease-in-out infinite;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}


.section-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}


.gameplay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gameplay-card {
    background: var(--card-bg);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.gameplay-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 64px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.gameplay-card:hover .card-icon {
    transform: scale(1.1);
}

.gameplay-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.gameplay-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 15px;
}


.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-text h2 {
    font-size: 42px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.check-icon {
    font-size: 20px;
    color: white;
    background: var(--success);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    font-weight: 700;
}

.features-list strong {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--text-light);
}

.features-list p {
    color: var(--text-gray);
}

.features-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 450px;
    height: 450px;
    background: var(--card-bg);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    font-size: 140px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.image-placeholder p {
    font-size: 18px;
    color: var(--text-gray);
    margin-top: 20px;
    font-weight: 500;
}


.download-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 60px;
}

.download-cards-single {
    max-width: 450px;
}

.download-card {
    background: var(--card-bg);
    padding: 48px 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.os-icon {
    font-size: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.download-card:hover .os-icon {
    transform: scale(1.1);
}

.download-card h3 {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.os-info {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 15px;
}

.btn-download {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-blue) 100%);
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(74, 144, 226, 0.4);
}

.file-info {
    font-size: 14px;
    color: var(--text-gray);
}


/* Footer */
.footer {
    text-align: center;
    background: linear-gradient(to bottom, var(--dark-bg) 0%, var(--darker-bg) 100%);
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.5;
}

.footer p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer a:hover {
    color: var(--primary-light);
}

.footer a:hover::after {
    width: 100%;
}

/* Trailer Section */
.trailer-section {
    padding: 120px 0;
    background: var(--dark-bg);
}

/* Gameplay Section */
.gameplay-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--light-bg) 100%);
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background: var(--light-bg);
}

/* Download Section */
.download-section {
    padding: 120px 0;
    background: var(--dark-bg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 16px 24px;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: -0.02em;
    }

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

    .section-title {
        font-size: 36px;
    }
    
    .features-text h2 {
        font-size: 32px;
    }

    .navbar {
        padding: 15px 20px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .features-content {
        grid-template-columns: 1fr;
    }

    .image-placeholder {
        width: 100%;
        max-width: 350px;
        height: 350px;
    }

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

    .download-cards {
        grid-template-columns: 1fr;
    }

}


/* Smooth Animations */
.gameplay-card,
.download-card,
.features-list li {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.gameplay-card:nth-child(1) { animation-delay: 0.1s; }
.gameplay-card:nth-child(2) { animation-delay: 0.2s; }
.gameplay-card:nth-child(3) { animation-delay: 0.3s; }
.gameplay-card:nth-child(4) { animation-delay: 0.4s; }

.features-list li:nth-child(1) { animation-delay: 0.1s; }
.features-list li:nth-child(2) { animation-delay: 0.2s; }
.features-list li:nth-child(3) { animation-delay: 0.3s; }
.features-list li:nth-child(4) { animation-delay: 0.4s; }

