:root {
    --bg-dark: #050510;
    --bg-panel: #0a0a1f;
    --primary: #00f0ff;
    --secondary: #7000ff;
    --text: #e0e0e0;
    --common: #a0a0a0;
    --rare: #00f0ff;
    --epic: #d000ff;
    --legendary: #ffd700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
}

/* SCANLINES EFFECT */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.3;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: rgba(10, 10, 31, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container h1 {
    font-family: 'Share Tech Mono', monospace;
    font-size: 2.5rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.7;
}

nav {
    display: flex;
    gap: 2rem;
}

.nav-btn {
    color: var(--text);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-btn:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary);
}

.nav-btn.cta {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.nav-btn.cta:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 10%;
    min-height: 80vh;
    background: radial-gradient(circle at top right, #1a1a3a 0%, var(--bg-dark) 60%);
}

.hero-content h2 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, var(--common));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.highlight {
    color: var(--primary);
    font-weight: bold;
}

.stats-grid {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-box .number {
    font-family: 'Share Tech Mono', monospace;
    font-size: 2.5rem;
    color: var(--secondary);
}

.stat-box .label {
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

.device-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border: 4px solid #333;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-family: 'Share Tech Mono';
}

/* XENO DEX */
.xenodex {
    padding: 5rem 10%;
    background: var(--bg-panel);
}

.section-title h3 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.section-title .line {
    width: 100px;
    height: 4px;
    background: var(--secondary);
    margin-bottom: 3rem;
}

.specimen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    transition: 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-family: 'Share Tech Mono';
    font-size: 0.9rem;
    opacity: 0.7;
}

.card-image-container {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.pixel-art {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    /* CRITICAL FOR PIXEL ART */
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
}

.card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
    text-align: left;
}

.card p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.8;
    text-align: left;
}


.card.rare {
    border-color: var(--rare);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.card.epic {
    border-color: var(--epic);
    box-shadow: 0 0 10px rgba(208, 0, 255, 0.1);
}

.card.legendary {
    border-color: var(--legendary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.card.rare h4 {
    color: var(--rare);
}

.card.epic h4 {
    color: var(--epic);
}

.card.legendary h4 {
    color: var(--legendary);
}

/* DOWNLOAD */
.download {
    padding: 5rem 10%;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-dark) 100%);
}

.google-play-btn {
    background: #000;
    color: #fff;
    border: 1px solid #444;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    margin-top: 2rem;
    transition: 0.3s;
}

.google-play-btn:hover {
    border-color: #fff;
    transform: scale(1.05);
}

.google-play-btn .icon {
    font-size: 1.5rem;
    color: var(--primary);
}

/* FOOTER */
footer {
    padding: 2rem;
    text-align: center;
    background: #000;
    border-top: 1px solid #333;
}

.tiny {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-top: 0.5rem;
    font-family: 'Share Tech Mono';
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding-top: 8rem;
    }

    .device-mockup {
        margin-top: 3rem;
        height: 400px;
    }

    header {
        flex-direction: column;
        gap: 1rem;
    }
}