/* --- Variables & Reset --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #121212;
    --bg-card-hover: #1a1a1a;
    --accent: #967f00; /* Gold */
    --accent-glow: rgba(255, 215, 0, 0.5); /* Gold Glow */
    
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --danger: #ef4444;
    --warning: #f59e0b;
    --border: #262626;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
    font-size: 1.2rem;
    font-family: 'Rajdhani', sans-serif;
}

.nav-logo { 
    height: 45px; 
    border-radius: 7.5px; 
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover { color: var(--accent); }

.btn-nav {
    background: var(--accent);
    color: black !important; /* Changed to black text for better contrast on Gold */
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 700 !important;
    box-shadow: 0 0 10px var(--accent-glow);
}

.btn-nav:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    box-shadow: 0 0 20px var(--accent-glow);
}

.hamburger { display: none; cursor: pointer; }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: url('background.png') center/cover no-repeat;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.35) 0%, 
        rgba(0, 0, 0, 0.35) 70%, 
        var(--bg-dark) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    margin-top: -50px;
}

/* Main Hero Logo */
.hero-logo {
    width: 150px;
    margin-bottom: 25px;
    /* --- UPDATED: Fixed hardcoded blue shadow to Gold --- */
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
    border-radius: 20px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.accent-text {
    color: white;
    text-shadow: 
        0 0 10px var(--accent),
        0 0 20px var(--accent);
}

.hero-sub {
    font-size: 1.3rem;
    color: #e5e5e5;
    margin-bottom: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 24px;
    border-radius: 4px;
    border-left: 3px solid var(--accent);
    backdrop-filter: blur(5px);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    background: var(--accent);
    color: black; /* Black text looks better on Gold */
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    box-shadow: 0 0 20px var(--accent-glow);
    border: 1px solid var(--accent);
    transition: 0.3s;
}

.btn-primary:hover { 
    transform: translateY(-3px);
    background: #ffe033;
    color: black; 
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover { 
    border-color: var(--accent); 
    /* --- UPDATED: Fixed hardcoded blue background --- */
    background: rgba(255, 215, 0, 0.1);
    color: white; 
}

/* --- General Sections --- */
section { padding: 6rem 5%; }
.section-dark { background: var(--bg-dark); }
.section-light { background: #0f0f0f; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.section-header p { color: var(--text-muted); }
.divider {
    height: 4px;
    width: 60px;
    background: var(--accent);
    margin: 1rem auto;
    border-radius: 2px;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.feature-card h3 { margin: 1rem 0; font-size: 1.5rem; }
.feature-card p { color: var(--text-muted); line-height: 1.6; }
.icon-lg { width: 40px; height: 40px; color: var(--accent); }

/* --- Timeline (Devlog) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-left: 2px solid var(--border);
    padding-left: 30px;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.timeline-date {
    font-family: 'Rajdhani', sans-serif;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.timeline-content h3 { margin-bottom: 1rem; }

.timeline-content ul li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.timeline-content ul li i {
    min-width: 18px;
    width: 18px;
    color: var(--text-main);
    margin-top: 3px;
}

/* --- Rules --- */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rules-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.card-header {
    padding: 1rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); border-bottom: 1px solid var(--danger); }
.warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); border-bottom: 1px solid var(--warning); }
/* --- UPDATED: Fixed hardcoded blue background in 'info' class --- */
.info { background: rgba(255, 215, 0, 0.1); color: var(--accent); border-bottom: 1px solid var(--accent); }

.card-body { padding: 1.5rem; }
.card-body li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.card-body li:last-child { border-bottom: none; }
.card-body strong { color: var(--text-main); display: block; margin-bottom: 4px; }
.perma { color: var(--danger); font-weight: 800; }

/* --- Footer --- */
footer {
    background: black;
    padding: 3rem 5%;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 30px;
    border-radius: 15px;
}

.socials a {
    color: var(--text-muted);
    transition: 0.3s;
}
.socials a:hover { color: #5865F2; } /* Discord Color stays Discord Blue */

/* --- Animations --- */
.floating { animation: float 6s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; color: white; }
    .hero h1 { font-size: 2.5rem; }
    .timeline { border-left: none; padding-left: 0; }
    .timeline-item::before { display: none; }
    .hero-stats { gap: 1rem; }
    .stat-box { font-size: 0.8rem; padding: 8px 16px; }
}