:root {
    /* Luxury Dark Theme Colors */
    --bg-primary: #050505;
    /* Ultra dark, almost black */
    --bg-secondary: #0A0A0A;
    --bg-card: #111111;
    --bg-hover: #1A1A1A;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #A3A3A3;
    --text-muted: #525252;

    /* Luxury Accents - Neon & Metallic */
    --accent-primary: #06B6D4;
    /* Cyan */
    --accent-secondary: #EC4899;
    /* Pink */
    --accent-tertiary: #10B981;
    /* Emerald */
    --accent-gold: #D4AF37;
    /* Gold for premium elements */

    /* Borders */
    --border-color: #262626;
    --border-hover: #404040;

    /* Glassmorphism */
    --glass-bg: rgba(17, 17, 17, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.8);
    --shadow-glow-cyan: 0 0 15px rgba(6, 182, 212, 0.15);
    --shadow-glow-pink: 0 0 15px rgba(236, 72, 153, 0.15);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Luxury Card */
.dark-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.dark-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-cyan);
}

/* Premium Card (Glassmorphism) */
.premium-card {
    background: linear-gradient(145deg, rgba(17, 17, 17, 0.95), rgba(10, 10, 10, 0.98));
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(6, 182, 212, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(6, 182, 212, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-card:hover::before {
    opacity: 1;
}

/* Glass Table */
.glass-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.glass-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.glass-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    transition: background-color 0.2s;
}

.glass-table tr:last-child td {
    border-bottom: none;
}

.glass-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Premium Buttons */
.neon-button {
    background: linear-gradient(135deg, #0891B2, #06B6D4);
    color: white;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 0 15px rgba(6, 182, 212, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.025em;
}


.neon-button-pink {
    background: linear-gradient(135deg, #BE185D, #EC4899);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 0 15px rgba(236, 72, 153, 0.3);
}

.neon-button-pink:hover {
    background: linear-gradient(135deg, #EC4899, #F472B6);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 0 25px rgba(236, 72, 153, 0.5);
}

/* Glass Navbar */
.dark-nav {
    background-color: rgba(5, 5, 5, 0.8);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Improved Input Styling - GLOBAL FIX */
input,
select,
textarea,
.dark-input {
    background-color: #1f1f1f !important;
    background: linear-gradient(145deg, #1f1f1f, #1a1a1a) !important;
    border: 1px solid var(--border-color) !important;
    color: #ffffff !important;
    padding: 14px 18px;
    border-radius: 12px;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

input:hover,
select:hover,
textarea:hover,
.dark-input:hover {
    background: linear-gradient(145deg, #242424, #1f1f1f) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(6, 182, 212, 0.1);
}

input:focus,
select:focus,
textarea:focus,
.dark-input:focus {
    border-color: var(--accent-primary) !important;
    background: linear-gradient(145deg, #252525, #202020) !important;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.2);
    outline: none;
}

.dark-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

/* Textarea specific */
textarea.dark-input {
    resize: vertical;
    min-height: 120px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.025em;
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #A3A3A3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #22D3EE 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Avatar */
.avatar-initials {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    color: var(--text-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Logo Placeholder until image is ready */
.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #FFFFFF, #94A3B8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}