/* ==============================================
   WDHC Athlete Portal - Main Stylesheet (DARK MODE)
   ============================================== */

:root {
    /* Color Palette - Premium Dark */
    --primary: #D4AF37; /* Gold */
    --primary-dark: #8a702a;
    --primary-light: #f4e4a6;
    --secondary: #050505; /* Deep Black */
    --secondary-light: #0f0f0f;
    --accent: #2a8cff; /* Blue */
    --accent-red: #cc0000;
    
    /* Neutrals for Dark Mode */
    --white: #ffffff;
    --gray-50: #f9f9f9;
    --gray-100: #e5e5e5;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3.5rem;
    --spacing-3xl: 5rem;
}

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

body {
    background-color: var(--secondary);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-gradient {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a1a1a;
    padding: 1rem 0;
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text { color: var(--white); font-size: 1.5rem; }
.logo-subtext { color: var(--primary); font-size: 0.9rem; margin-left: 5px; }

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    display: block;
    color: var(--primary);
    font-size: 1.8rem;
    margin-top: 0.5rem;
}

.hero-description {
    color: var(--gray-400);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Sign In Form */
.signin-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.signin-input {
    background: #111;
    border: 1px solid #222;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    color: #fff;
    flex: 1;
    font-family: var(--font-body);
}

.signin-input:focus {
    border-color: var(--primary);
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.signin-note { color: var(--gray-500); font-size: 0.9rem; }

/* Championship Card */
.championship-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-logo-wrap { margin-bottom: 1.5rem; }
.card-heading { font-size: 2rem; margin-bottom: 0.5rem; }
.card-sub { color: var(--primary); letter-spacing: 2px; }

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: #070707;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title { font-size: 3rem; margin-bottom: 1rem; }
.section-subtitle { color: var(--gray-500); font-size: 1.2rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: #0f0f0f;
    border: 1px solid #1a1a1a;
    padding: 2.5rem;
    border-radius: 8px;
    transition: 0.3s;
}

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

.feature-icon-box {
    width: 60px; height: 60px;
    background: #1a1a1a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-title { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-text { color: var(--gray-500); line-height: 1.6; }

/* GripAge™ Section */
.grippage-section {
    padding: 8rem 0;
    text-align: center;
    background: var(--secondary);
    position: relative;
}

.grippage-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grippage-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.grippage-text {
    font-size: 1.3rem;
    color: var(--gray-400);
    margin-bottom: 3rem;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid #1a1a1a;
    text-align: center;
    color: var(--gray-600);
}

/* Auth Page specific */
.auth-container {
    padding: 10rem 2rem 6rem;
    display: flex;
    justify-content: center;
}

.auth-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 3rem;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
}

.auth-title { margin-bottom: 0.5rem; text-align: center; }
.auth-subtitle { color: var(--gray-500); text-align: center; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--gray-400); font-size: 0.9rem; }
.form-input {
    width: 100%;
    background: #111;
    border: 1px solid #222;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
}

.btn-block { width: 100%; }

/* Responsive */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 3rem; }
    .hero-description { margin: 0 auto 2.5rem; }
    .signin-form { flex-direction: column; }
    .hero-image { order: -1; }
}