:root {
    --primary: #FFCC00; /* Yellow */
    --primary-dark: #E6B800;
    --secondary: #00A3FF; /* Blue */
    --accent: #FF3366; /* Pink/Red */
    --bg: #121212;
    --bg-alt: #1E1E1E;
    --text: #FFFFFF;
    --text-muted: #B0B0B0;
    --white: #FFFFFF;
    --black: #000000;
    --container: 1200px;
    --header-height: 80px;
    --font-heading: 'Bungee', cursive;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.2;
}

.text-center { text-align: center; }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--primary);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.site-nav {
    display: flex;
    gap: 30px;
}

.site-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.site-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    background: #333;
    border: none;
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 800;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.lang-btn:hover {
    background: #444;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #222;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lang-dropdown.show {
    display: flex;
}

.lang-dropdown button {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 12px 20px;
    text-align: left;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
}

.lang-dropdown button:hover {
    background: var(--primary);
    color: var(--black);
}

.social-icon {
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
    color: var(--white);
    transform: scale(1.1);
}

.btn-play-header {
    background: var(--primary);
    color: var(--black);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 900;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    box-shadow: 0 4px 0 var(--primary-dark);
    transition: transform 0.1s;
}

.btn-play-header:active {
    transform: translateY(4px);
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    color: var(--primary);
    text-shadow: 5px 5px 0px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-main {
    display: inline-block;
    padding: 20px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.btn-yellow {
    background: var(--primary);
    color: var(--black);
    box-shadow: 0 8px 0 var(--primary-dark);
}

.btn-yellow:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 var(--primary-dark);
}

.btn-yellow:active {
    transform: translateY(4px);
    box-shadow: 0 4px 0 var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 4px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
}

.hero-visual {
    position: relative;
}

.hero-gif {
    width: 100%;
    border-radius: 30px;
    border: 8px solid #333;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

/* Sections */
.section {
    padding: 100px 0;
}

.about-section {
    background: var(--bg-alt);
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary);
}

.section-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.feature-img {
    width: 100%;
    border-radius: 20px;
}

.floating {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: #222;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    border: 4px solid #333;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-name {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-desc {
    color: var(--text-muted);
}

/* Gameplay */
.gameplay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.gameplay-item {
    text-align: center;
}

.img-wrapper {
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 5px solid #333;
}

.img-wrapper img {
    width: 100%;
    transition: transform 0.5s;
}

.gameplay-item:hover img {
    transform: scale(1.1);
}

.gameplay-item h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--accent);
}

.gameplay-item p {
    color: var(--text-muted);
}

/* Roadmap */
.roadmap-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.roadmap-item {
    background: #111;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    border-top: 5px solid var(--primary);
}

.phase-badge {
    position: absolute;
    top: -20px;
    left: 20px;
    background: var(--primary);
    color: var(--black);
    padding: 5px 15px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
}

.roadmap-item h3 {
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

.roadmap-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    padding: 80px;
    border-radius: 50px;
    text-align: center;
    color: var(--black);
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 40px;
}

/* Footer */
.site-footer {
    background: #000;
    padding: 80px 0 60px;
    border-top: 5px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-icons-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    background: #111;
    border-radius: 20px;
    padding: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.footer-icon-box img, 
.footer-icon-box svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-icon-box.studio-box img {
    transform: scale(1.5); /* Significantly enlarge studio logo */
}

.footer-icon-box:hover {
    transform: scale(1.1);
    background: #222;
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.footer-icon-box.x-box svg {
    padding: 10px;
    color: var(--white);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-column h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Animations */
.card-pop {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-pop:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.shadow-pop {
    box-shadow: 15px 15px 0px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .grid-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-btns { justify-content: center; }
    .hero-gif { max-width: 500px; margin: 0 auto; }
    .gameplay-grid, .roadmap-items { grid-template-columns: 1fr; }
    .site-nav { display: none; }
    .menu-toggle { display: block; }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-brand, .footer-logo, .footer-socials {
        align-items: center;
        justify-content: center;
    }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 30px;
    height: 4px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 2px;
}
