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

:root {
    --cyan: #28D4EB;
    --gold: #FFD700;
    --gold-light: #FFE55C;
    --dark-bg: #0a0a0f;
    --glass-bg: rgba(10, 15, 30, 0.35);
    --glass-border: rgba(40, 212, 235, 0.25);
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background System - Enhanced Visibility */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    will-change: transform;
}

.bg-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.3) 0%, rgba(10, 15, 30, 0.2) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Gold Accents - Subtle and Transparent */
.gold-accent-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
    filter: blur(40px);
    animation: subtlePulse 8s ease-in-out infinite;
    will-change: opacity, transform;
    pointer-events: none;
}

.gold-accent-2 {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(40, 212, 235, 0.15) 0%, transparent 70%);
    filter: blur(30px);
    animation: subtlePulse 10s ease-in-out infinite reverse;
    will-change: opacity, transform;
    pointer-events: none;
}

.gold-dust {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 3%),
        radial-gradient(circle at 80% 70%, rgba(40, 212, 235, 0.15) 0%, transparent 3%);
    background-size: 150px 150px;
    animation: sparkleMove 20s linear infinite;
    pointer-events: none;
    will-change: transform;
    opacity: 0.6;
}

.shimmer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 215, 0, 0.03) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shimmerMove 3s infinite;
    pointer-events: none;
    will-change: background-position;
}

/* Keyframes */
@keyframes subtlePulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes sparkleMove {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
    100% { transform: translate(0, 0); }
}

@keyframes shimmerMove {
    0% { background-position: 200% 200%; }
    100% { background-position: -200% -200%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 20px 10px rgba(255, 215, 0, 0); }
}

@keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

/* Navigation - Light Transparency */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--cyan);
    font-weight: 800;
    font-size: 1.5rem;
    font-family: var(--font-display);
    text-shadow: 0 0 20px rgba(40, 212, 235, 0.6);
    letter-spacing: -0.5px;
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cyan);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Layout */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

/* Glass Card - Enhanced Transparency */
.glass-card {
    background: rgba(10, 15, 30, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    opacity: 0.6;
}

/* Typography */
.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.gold-accent-text {
    background: linear-gradient(135deg, var(--gold) 0%, #fff 50%, var(--gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 3s linear infinite;
}

.page-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.page-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
    min-height: 48px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    background-size: 200% auto;
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    animation: shimmerMove 3s linear infinite;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

.btn-cyan {
    background: rgba(40, 212, 235, 0.25);
    color: #fff;
    border: 1px solid rgba(40, 212, 235, 0.5);
    box-shadow: 0 0 20px rgba(40, 212, 235, 0.3);
    text-shadow: 0 0 10px rgba(40, 212, 235, 0.5);
}

.btn-cyan:hover {
    background: rgba(40, 212, 235, 0.4);
    box-shadow: 0 0 30px rgba(40, 212, 235, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.2);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

.btn-glow {
    box-shadow: 0 0 30px rgba(40, 212, 235, 0.6);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Utilities */
.highlight {
    color: var(--gold);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.processing-glow {
    animation: pulse 1s infinite;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Alert Modal - Light Transparency */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    will-change: opacity;
}

.alert-overlay.show {
    opacity: 1;
    visibility: visible;
}

.alert-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    will-change: transform, opacity;
}

.alert-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--cyan);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}