/* =========================================
   GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    /* Color Palette: Deep Ocean / Neon Brainrot Theme */
    --bg-body: #0f172a;       /* Dark Blue/Slate Background */
    --bg-card: #1e293b;       /* Lighter Card Background */
    --bg-header: rgba(15, 23, 42, 0.95); /* Semi-transparent Header */
    
    /* Typography */
    --text-main: #f8fafc;     /* White Text */
    --text-muted: #94a3b8;    /* Muted Blue-Grey Text */
    --text-highlight: #38bdf8;/* Cyan Highlight Link */

    /* Buttons & Accents */
    --accent-primary: #3b82f6;   /* Bright Blue */
    --accent-secondary: #ec4899; /* Neon Pink */
    --accent-success: #22c55e;   /* Green */
    
    /* Rarity Colors (Roblox Standard) */
    --rare-common: #a3a3a3;
    --rare-uncommon: #4ade80;
    --rare-rare: #3b82f6;
    --rare-epic: #a855f7;
    --rare-legendary: #eab308;
    --rare-mythic: #ef4444;
    --rare-celestial: #06b6d4;
    
    /* Spacing & Borders */
    --spacing: 20px;
    --radius: 12px;
    --border-color: #334155;
}

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

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
}

a { text-decoration: none; color: var(--text-highlight); transition: 0.2s; }
a:hover { color: var(--accent-secondary); }

/* =========================================
   LAYOUT COMPONENTS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* Header & Navigation */
header {
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo span { color: var(--accent-secondary); }

.nav-links { display: flex; gap: 25px; }
.nav-links a { font-weight: 600; color: var(--text-muted); font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); border-bottom: 2px solid var(--accent-primary); }

/* Footer */
footer {
    background-color: #020617;
    padding: 50px 0;
    margin-top: 80px;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

/* =========================================
   UI SECTIONS
   ========================================= */
/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 70%);
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 30px; }

/* Content Sections */
section { margin: 60px 0; }
h2 { font-size: 2rem; margin-bottom: 25px; border-left: 5px solid var(--accent-secondary); padding-left: 15px; color: var(--text-main); }
h3 { font-size: 1.5rem; margin: 30px 0 15px; color: var(--text-highlight); }
p { margin-bottom: 15px; }

/* Buttons */
.btn-group { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    color: white;
    background-color: var(--accent-primary);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6); color: white; }
.btn-outline { background: transparent; border: 2px solid var(--accent-secondary); color: var(--accent-secondary); box-shadow: none; }
.btn-outline:hover { background: var(--accent-secondary); color: white; }

/* Cards Grid */
.grid-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: transform 0.2s, border-color 0.2s;
}
.card:hover { border-color: var(--accent-primary); transform: translateY(-5px); }
.card h4 { color: var(--accent-secondary); margin-bottom: 10px; font-size: 1.3rem; }

/* Data Tables (Value List) */
.table-container { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border-color); margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; background: var(--bg-card); min-width: 500px; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid var(--border-color); }
th { background-color: #334155; color: var(--text-main); font-weight: bold; text-transform: uppercase; font-size: 0.9rem; }
tr:last-child td { border-bottom: none; }
tr:hover { background-color: rgba(255,255,255,0.05); }
.stat-value { font-family: monospace; font-size: 1.1em; color: var(--accent-success); font-weight: bold; }

/* Rarity Tags */
.tag { padding: 4px 10px; border-radius: 4px; font-size: 0.85rem; font-weight: bold; background: rgba(0,0,0,0.3); display: inline-block; }
.tag.common { color: var(--rare-common); border: 1px solid var(--rare-common); }
.tag.uncommon { color: var(--rare-uncommon); border: 1px solid var(--rare-uncommon); }
.tag.rare { color: var(--rare-rare); border: 1px solid var(--rare-rare); }
.tag.epic { color: var(--rare-epic); border: 1px solid var(--rare-epic); }
.tag.legendary { color: var(--rare-legendary); border: 1px solid var(--rare-legendary); }
.tag.mythic { color: var(--rare-mythic); border: 1px solid var(--rare-mythic); }
.tag.celestial { color: var(--rare-celestial); border: 1px solid var(--rare-celestial); }

/* Video Embeds */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* FAQ Section (Static / Unfolded) */
.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 15px;
    padding: 25px; /* Increased padding for better readability */
    transition: transform 0.2s, border-color 0.2s;
}

.faq-card:hover {
    border-color: var(--accent-primary); /* Subtle highlight on hover */
}

.faq-question {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-highlight); /* Highlight color for questions */
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-answer ol { 
    margin-left: 20px; 
    margin-top: 10px; 
}

.faq-answer li { 
    margin-bottom: 8px; 
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .nav-links { display: none; } /* Hide nav links on mobile */
    .grid-box, .video-grid { grid-template-columns: 1fr; }
    .logo { margin: 0 auto; }
}