:root {
    --primary-color: #7b58ff;
    --bg-dark: #0f0f0f;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --accent-color: #ff00ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
}

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

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.logo-small img {
    height: 40px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/home-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-logo img {
    max-width: 400px;
    margin-bottom: 20px;
}

.hero-status {
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 30px;
}

.explore-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    gap: 10px;
}

.explore-btn img {
    width: 40px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Games Section */
.section {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.game-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #333;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-info {
    padding: 20px;
}

.game-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.game-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.download-link img {
    width: 20px;
}

/* Achievements */
.achievements {
    background: #151515;
    display: flex;
    justify-content: space-around;
    padding: 50px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-item p {
    color: var(--text-gray);
}

/* Partners */
.partners {
    text-align: center;
    padding: 50px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.partner-logos img {
    height: 50px;
    filter: grayscale(100%) brightness(200%);
    transition: filter 0.3s;
}

.partner-logos img:hover {
    filter: grayscale(0%);
}

/* Footer */
footer {
    padding: 50px;
    background: #050505;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links img {
    width: 24px;
    transition: opacity 0.3s;
}

.social-links img:hover {
    opacity: 0.7;
}

.store-buttons {
    display: flex;
    gap: 15px;
}

.store-buttons img {
    height: 40px;
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }
    .nav-links {
        display: none;
    }
    .hero-logo img {
        max-width: 80%;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Additional Styles for Story and Jobs */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.story-section {
    background: #121212;
}

.story-content {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.story-content p {
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.team-member h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-member p {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: bold;
}

.jobs-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.jobs-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 30px;
    transition: background 0.3s, transform 0.3s;
}

.cta-button:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

.rocket-img {
    margin-top: 50px;
}

.rocket-img img {
    width: 150px;
    animation: rocket-float 3s ease-in-out infinite;
}

@keyframes rocket-float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Navigation Active State */
.nav-links a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}
