/* ============================================================================
   AETHVION GAMES - PREMIUM NEON DESIGN SYSTEM
   Dark Atmospheric Aesthetic with Glassmorphism and Neon Accents
   ============================================================================ */

:root {
    /* Color Palette - Neon Atmospheric */
    --bg-base: hsl(240, 20%, 5%);
    --bg-surface: hsla(240, 30%, 15%, 0.6);
    --bg-surface-elevated: hsla(240, 30%, 20%, 0.8);
    --bg-surface-hover: hsla(240, 35%, 25%, 0.9);
    
    --border-subtle: hsla(180, 100%, 50%, 0.2);
    --border-strong: hsla(180, 100%, 50%, 0.6);
    
    --text-primary: #EDEDED;
    --text-secondary: hsl(200, 50%, 80%);
    --text-tertiary: hsl(200, 30%, 65%);
    
    --accent-primary: hsl(180, 100%, 50%); /* Neon Cyan */
    --accent-hover: hsl(180, 100%, 70%);
    --accent-muted: hsla(180, 100%, 50%, 0.15);
    
    --shadow-glow: 0 0 20px hsla(180, 100%, 50%, 0.4);

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Orbitron', 'Inter', sans-serif;
    
    /* Radii */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
}

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    
    /* Deep space background with slight gradient */
    background-image: radial-gradient(circle at top right, hsla(240, 40%, 15%, 1) 0%, var(--bg-base) 50%),
                      radial-gradient(circle at bottom left, hsla(180, 100%, 10%, 1) 0%, var(--bg-base) 50%);
    background-attachment: fixed;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4 {
    color: #FFFFFF;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px hsla(180, 100%, 50%, 0.3);
}

p {
    color: var(--text-secondary);
}

/* LAYOUT UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    width: 100%;
}

.section {
    padding: var(--space-3xl) 0;
}

.grid {
    display: grid;
    gap: var(--space-xl);
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* NAVIGATION */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-md) 0;
}

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

.logo {
    font-weight: 700;
    font-size: 1.125rem;
    font-family: var(--font-display);
    letter-spacing: 0.1em;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-shadow: 0 0 8px var(--accent-primary);
}

.logo-accent {
    color: var(--accent-primary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link:hover, .nav-link.active {
    color: #FFFFFF;
    text-shadow: 0 0 8px var(--accent-hover);
}

/* HERO SECTION */
.hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-lg);
    text-shadow: 0 0 20px hsla(180, 100%, 50%, 0.5);
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* CARDS / FEATURE PANELS */
.feature-card {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    border-color: var(--border-strong);
    background: var(--bg-surface-elevated);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: var(--space-md);
}

.feature-card h2, .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    text-shadow: 0 0 10px hsla(180, 100%, 50%, 0.2);
}

.feature-card p {
    margin-bottom: var(--space-xl);
    flex-grow: 1;
}

/* BUTTONS & CTA */
.btn-group {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent-primary);
    color: #000000;
    box-shadow: 0 0 15px hsla(180, 100%, 50%, 0.5);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 25px hsla(180, 100%, 70%, 0.8);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    border-color: var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-glow);
}

.btn-itch {
    background: linear-gradient(135deg, #fa5c5c, #f0325d);
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(250, 92, 92, 0.4);
}

.btn-itch:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 25px rgba(250, 92, 92, 0.6);
    transform: translateY(-1px);
    color: #FFFFFF;
}

.feature-cta {
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.feature-cta:hover {
    color: var(--accent-hover);
    text-shadow: 0 0 8px var(--accent-hover);
}

/* WIDGET & MEDIA CONTAINERS */
.widget-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
}

.widget-container iframe {
    width: 100%;
    max-width: 100%;
    display: block;
    border: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    margin-bottom: var(--space-xl);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-3xl) 0 var(--space-lg);
    margin-top: auto;
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    margin-top: var(--space-sm);
    max-width: 300px;
    font-size: 0.875rem;
}

.footer-column h3 {
    font-size: 0.875rem;
    color: #FFFFFF;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-column a, .footer-column li {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-column a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 5px var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* HORIZONTAL COMPONENTS */
.horizontal-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.horizontal-card-media img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    margin-bottom: var(--space-md);
}

.horizontal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-sm);
}

.horizontal-card-category {
    font-size: 0.75rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

@media (min-width: 768px) {
    .feature-card[data-href] {
        flex-direction: row;
        gap: var(--space-xl);
        align-items: center;
    }
    .horizontal-card-media {
        flex: 0 0 40%;
    }
    .horizontal-card-media img {
        margin-bottom: 0;
    }
}

/* SPECIFIC UTILS */
.text-center { text-align: center; }
.mt-xl { margin-top: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }
/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
    .nav-link {
        white-space: nowrap;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p {
        margin: var(--space-sm) auto 0;
    }
    .footer-column {
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
}
