/* ==========================================================================
   ATHENA NETWORK - OFFICIAL CMS & COLOSSAL HERO LOGO SYSTEM
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #060814;
    --bg-card: rgba(18, 22, 42, 0.75);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-glow: rgba(255, 119, 0, 0.25);
    
    /* Accents */
    --accent-orange: #ff7700;
    --accent-orange-glow: #ff9900;
    --accent-gold: #fbbf24;
    --accent-purple: #9333ea;
    --accent-blue: #38bdf8;
    
    /* Text Colors */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    /* Functional */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    /* Radius & Transitions */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.glass-card:hover {
    border-color: rgba(255, 119, 0, 0.4);
    box-shadow: 0 15px 40px rgba(255, 119, 0, 0.15);
    transform: translateY(-4px);
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #e64a00 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 119, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 119, 0, 0.5);
}

.btn-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #000000;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.35);
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ATHENA ICONIC HERO BRAND HEADER BANNER (COLOSSAL LOGO) */
.athena-header-banner {
    position: relative;
    width: 100%;
    min-height: 480px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.athena-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 8, 20, 0.4) 0%, rgba(6, 8, 20, 0.85) 75%, var(--bg-dark) 100%);
    z-index: 1;
}

.athena-header-content {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-side-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 240px;
}

.side-box-title {
    font-size: 1rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.btn-copy-ip {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 119, 0, 0.6);
    color: var(--accent-orange-glow);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.btn-copy-ip:hover {
    background: var(--accent-orange);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 119, 0, 0.6);
}

.btn-join-discord {
    background: #5865F2;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    transition: var(--transition-smooth);
}

.btn-join-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.side-box-badge {
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.95;
}

.online-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    display: inline-block;
}

/* Colossal Centered Logo */
.header-logo-box {
    text-align: center;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.athena-hero-logo {
    height: 310px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 35px rgba(255, 119, 0, 0.65));
    transition: transform 0.4s ease;
    margin-top: -30px;
    margin-bottom: -50px;
}

.athena-hero-logo:hover {
    transform: scale(1.05);
}

/* FLOATING WHITE NAVBAR OVERLAPPING THE BOTTOM WAVE */
.athena-floating-nav-wrapper {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    transform: translateY(24px);
}

.athena-floating-nav {
    background: #ffffff;
    border-radius: 9999px;
    padding: 8px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.floating-nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.floating-nav-link {
    color: #1e293b;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 8px 12px;
    transition: var(--transition-smooth);
}

.floating-nav-link:hover,
.floating-nav-link.active {
    color: var(--accent-orange);
}

.floating-nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-floating-login {
    color: #1e293b;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 8px 16px;
}

.btn-floating-register {
    background: var(--accent-orange);
    color: #ffffff;
    font-weight: 900;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(255, 119, 0, 0.35);
}

.btn-floating-register:hover {
    background: #e64a00;
    transform: translateY(-1px);
}

/* User Pill Link in Navbar */
.user-pill-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 4px 14px 4px 6px;
    border-radius: 9999px;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.nav-user-head {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

/* ATHENA POPUP DROPDOWN PANEL */
.user-dropdown-container {
    position: relative;
}

.athena-user-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: #111528;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 100;
}

.athena-user-panel.show {
    display: block;
    animation: fadeInDown 0.25s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-panel-header {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 16px;
}

.user-panel-avatar {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    border: 2px solid var(--accent-orange);
    margin-bottom: 8px;
}

.user-panel-username {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
}

/* 6-Grid Popup Menu */
.user-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.panel-grid-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    transition: var(--transition-smooth);
}

.panel-grid-item:hover {
    background: rgba(255, 119, 0, 0.15);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

.grid-item-icon {
    font-size: 1.2rem;
}

.panel-pink .grid-item-icon { color: #ec4899; }
.panel-green .grid-item-icon { color: #10b981; }
.panel-purple .grid-item-icon { color: #a855f7; }
.panel-cyan .grid-item-icon { color: #06b6d4; }
.panel-blue .grid-item-icon { color: #3b82f6; }
.panel-red .grid-item-icon { color: #ef4444; }

/* Bottom Wave Divider */
.header-bottom-wave {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: -5px;
    line-height: 0;
}

.header-bottom-wave svg {
    width: 100%;
    height: 70px;
}

/* Split-Screen Auth Pages (login.php / register.php) */
.auth-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
}

.auth-split-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px;
}

.auth-split-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 8, 20, 0.7) 0%, rgba(147, 51, 234, 0.4) 50%, rgba(6, 8, 20, 0.9) 100%);
}

.auth-split-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
    margin: auto 0;
}

.auth-split-form-wrapper {
    background: #090b16;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.auth-form-card {
    width: 100%;
    max-width: 420px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 119, 0, 0.3);
}

/* ATHENA WAVE FOOTER STYLES */
.site-footer-athena {
    background: #04050d;
    border-top: 1px solid var(--glass-border);
    padding-top: 60px;
    position: relative;
}

.footer-athena-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.athena-heading {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.athena-bio {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-top: 12px;
}

.athena-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.athena-links li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.athena-links li a:hover {
    color: var(--accent-orange);
    padding-left: 4px;
}

.athena-bottom-credits {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .auth-split-container { grid-template-columns: 1fr; }
    .auth-split-banner { display: none; }
    .floating-nav-list { display: none; }
    .footer-athena-grid { grid-template-columns: 1fr 1fr; }
    .athena-header-content { flex-direction: column; gap: 20px; text-align: center; }
    .header-side-box { align-items: center; }
    .athena-hero-logo { height: 220px !important; margin: 0 !important; }
}

@media (max-width: 576px) {
    .footer-athena-grid { grid-template-columns: 1fr; }
    .athena-hero-logo { height: 170px !important; margin: 0 !important; }
}
