/* =========================================
   TUJUANE GLOBAL DESIGN SYSTEM v1.0
   "Rich Aesthetics" - Neon, Dark, Glass
   ========================================= */

:root {
    /* --- COLOR PALETTE --- */
    --bg-dark: #050505;
    --bg-card: #111111;
    --bg-glass: rgba(20, 20, 20, 0.7);
    --bg-glass-heavy: rgba(10, 10, 10, 0.95);

    --neon-cyan: #00f3ff;
    --neon-cyan-dim: rgba(0, 243, 255, 0.2);
    --neon-gold: #d4af37;
    --neon-gold-dim: rgba(212, 175, 55, 0.2);
    --neon-pink: #ff0055;
    --neon-green: #00ff00;

    --text-white: #ffffff;
    --text-gray: #888888;
    --text-muted: #555555;

    --border-color: rgba(255, 255, 255, 0.1);
    --border-focus: rgba(255, 255, 255, 0.3);

    /* --- TYPOGRAPHY --- */
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Courier New', monospace;

    /* --- SPACING & LAYOUT --- */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-neon: 0 0 10px var(--neon-cyan-dim);
    --shadow-glow: 0 0 20px rgba(0, 243, 255, 0.15);
}

/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}

a {
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--neon-cyan);
}

/* --- UTILITIES: GLASSMORPHISM --- */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.glass-card {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-card:hover {
    transform: translateY(-2px);
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-neon);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--neon-cyan-dim);
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 25px var(--neon-cyan-dim);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

.btn-secondary:hover {
    background: var(--neon-cyan-dim);
    color: #fff;
}

.btn-gold {
    background: var(--neon-gold);
    color: #000;
}

.btn-gold:hover {
    background: #f0c040;
    box-shadow: 0 0 15px var(--neon-gold-dim);
}

/* --- FORMS --- */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 14px;
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-cyan);
    outline: none;
    box-shadow: 0 0 0 2px var(--neon-cyan-dim);
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px var(--neon-cyan-dim);
    }

    50% {
        box-shadow: 0 0 20px var(--neon-cyan-dim);
    }

    100% {
        box-shadow: 0 0 5px var(--neon-cyan-dim);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-pulse {
    animation: pulseGlow 2s infinite;
}

/* --- TEXT UTILITIES --- */
.text-neon {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan-dim);
}

.text-gold {
    color: var(--neon-gold);
}

.text-dim {
    color: var(--text-gray);
}

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

/* --- LAYOUT UTILITIES --- */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.w-full {
    width: 100%;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.gap-2 {
    gap: 0.5rem;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}