@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #0a0d14;
    --bg-surface: #111726;
    --bg-surface-elevated: #182033;
    --bg-card: rgba(18, 24, 38, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.16);

    --primary-red: #E62129;
    --primary-red-hover: #CC1820;
    --primary-red-glow: rgba(230, 33, 41, 0.35);
    
    --accent-blue: #2563EB;
    --accent-blue-hover: #1D4ED8;
    --accent-blue-glow: rgba(37, 99, 235, 0.35);

    --accent-gold: #F59E0B;
    --accent-gold-glow: rgba(245, 158, 11, 0.4);
    --accent-green: #10B981;
    --accent-green-glow: rgba(16, 185, 129, 0.35);

    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-subtle: #64748B;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-card: 0 12px 32px -4px rgba(0, 0, 0, 0.45);
    --shadow-glow-red: 0 0 25px rgba(230, 33, 41, 0.3);
    --shadow-glow-blue: 0 0 25px rgba(37, 99, 235, 0.3);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

[data-theme="light"] {
    --bg-main: #F1F5F9;
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: #F8FAFC;
    --bg-card: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-highlight: rgba(0, 0, 0, 0.14);
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-subtle: #94A3B8;
    --shadow-card: 0 10px 25px -3px rgba(0, 0, 0, 0.08);
}

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

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

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Common Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-highlight);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #E62129 0%, #C4141C 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(230, 33, 41, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF3344 0%, #E62129 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 33, 41, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--border-highlight);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-highlight);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--text-main);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

/* Form Controls */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(15, 20, 32, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(230, 33, 41, 0.2);
}

.form-control::placeholder {
    color: var(--text-subtle);
}

.form-error {
    color: #F87171;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-red {
    background: rgba(230, 33, 41, 0.15);
    color: #FF5A60;
    border: 1px solid rgba(230, 33, 41, 0.3);
}

.badge-green {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-yellow {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-blue {
    background: rgba(37, 99, 235, 0.15);
    color: #60A5FA;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

/* Animations */
@keyframes pulseGlow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes flagWave {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(4deg) skewX(2deg); }
    100% { transform: rotate(0deg); }
}

.animate-pulse {
    animation: pulseGlow 2s infinite ease-in-out;
}

.animate-float {
    animation: floatAnim 3s infinite ease-in-out;
}

/* Header & Nav */
.main-header {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 13, 20, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.01em;
}

.brand-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle, #E62129 0%, #990B11 100%);
    border: 2px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(230, 33, 41, 0.5);
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: #FFFFFF;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-red);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
    color: var(--text-main);
    border-color: var(--border-highlight);
}
