:root {
    --bg-darkest: #0D0D1A;
    --bg-card: #1A1A2E;
    --gold: #FFD700;
    --gold-dark: #B8860B;
    --toxic-red: #FF4444;
    --text-main: #EEEEEE;
    --text-dim: #888899;
}

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

body {
    background-color: var(--bg-darkest);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

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

.text-center { text-align: center; }

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(13, 13, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

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

.lang-selector select {
    background: var(--bg-card);
    color: var(--gold);
    border: 1px solid var(--gold-dark);
    padding: 5px 10px;
    border-radius: 6px;
    font-family: 'Outfit';
    font-weight: bold;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-darkest) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 900 !important;
    text-transform: uppercase;
}
.btn-primary:hover {
    background: #FFED4A;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(13, 13, 26, 0.4) 0%, rgba(13, 13, 26, 0.9) 100%),
                url('/img/hero-banner.webp') center/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    padding: 20px;
}

.glitch-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 900;
    color: var(--gold);
    text-shadow: 2px 2px 0px var(--toxic-red), -2px -2px 0px #00FFFF;
    margin-bottom: 20px;
    letter-spacing: 5px;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 40px;
    font-weight: 400;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.store-btn img {
    height: 50px;
    transition: transform 0.3s;
}
.store-btn:hover img {
    transform: scale(1.05);
}

/* SECTION GLOBAL */
section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 60px;
    font-size: 1.2rem;
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dark-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dark-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
}

.f-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.dark-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

/* CHARACTER GRID */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.char-card {
    background: var(--bg-card);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.char-card:hover {
    transform: scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.char-img-box {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}

.char-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.char-card:hover .char-img {
    transform: scale(1.1);
}

.char-info {
    padding: 15px;
    text-align: center;
}

.char-name {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.char-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.play-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.char-card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
    box-shadow: 0 0 15px var(--gold);
}

/* Playing state */
.char-card.playing {
    border-color: var(--toxic-red);
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.6);
}
.char-card.playing .play-btn {
    background: var(--toxic-red);
    box-shadow: 0 0 20px var(--toxic-red);
}

/* CTA */
.cta-section {
    background: linear-gradient(0deg, var(--bg-card) 0%, var(--bg-darkest) 100%);
    padding: 120px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

footer {
    text-align: center;
    padding: 30px;
    background: #000;
    color: var(--text-dim);
}

/* Responsive */
@media (max-width: 768px) {
    .glitch-title { font-size: 3rem; }
    .nav-links { display: none; } /* Simplified mobile nav */
    .hero-subtitle { font-size: 1.1rem; }
}
