:root {
    /* Color Palette - Modern Dark Gaming (Trendy) */
    --bg-dark: #0a0e17;
    /* Deep Blue-Black */
    --bg-card: #161b2c;
    /* Lighter Card Bg */
    --primary: #ff4757;
    /* Vibrant Red (Alfa Modern) */
    --accent: #ffa502;
    /* Gold (Premium) */
    --text-main: #ffffff;
    --text-muted: #a4b0be;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;

    /* Nav Heights */
    --util-nav-height: 40px;
    --main-nav-height: 60px;
    --bottom-nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: var(--bottom-nav-height);
    /* Prevent content hidden behind bottom nav */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* --- Utility Nav (Top Bar) --- */
.utility-nav {
    background: rgba(22, 27, 44, 0.95);
    height: var(--util-nav-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.utility-menu {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: flex-end;
}

.utility-menu a {
    color: var(--text-muted);
}

.utility-menu a:hover {
    color: var(--primary);
}

/* --- Main Navigation (Sticky) --- */
.main-nav {
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    /* Glassmorphism */
    height: var(--main-nav-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.main-menu {
    display: flex;
    gap: var(--spacing-lg);
}

.main-menu a {
    font-weight: 500;
    position: relative;
}

.main-menu a.active,
.main-menu a:hover {
    color: var(--primary);
}

/* --- Hero Banner --- */
.hero-banner {
    height: 400px;
    background: linear-gradient(rgba(10, 14, 23, 0.7), var(--bg-dark)), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid var(--primary);
    box-shadow: 0 4px 30px rgba(255, 71, 87, 0.2);
    /* Red Glow */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
}

.cta-button {
    background: linear-gradient(45deg, var(--primary), #e84118);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 71, 87, 0.4);
}

/* --- Content Area --- */
#main-content {
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.features>p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.dummy-content {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    text-align: center;
    color: var(--text-muted);
}

/* --- Bottom Navigation (ALWAYS VISIBLE) --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(22, 27, 44, 0.95);
    backdrop-filter: blur(10px);
    height: var(--bottom-nav-height);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    gap: 4px;
}

.nav-item .icon {
    font-size: 1.4rem;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item:hover {
    color: var(--text-main);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .utility-nav {
        display: none;
        /* Hide Utility Nav on Mobile to save space */
    }

    .main-nav {
        /* On mobile, main nav might just show logo or be hamburger. 
            For now, let's keep it simple or hide specific links */
        justify-content: center;
    }

    .main-menu {
        display: none;
        /* Hide Main Desktop Menu on Mobile, rely on Bottom Nav */
    }

    .logo {
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}