/*
 * LuckysCloud – Global Design Foundation
 * Design Tokens, Typography, Buttons, and Glassmorphism
 */

:root {
    /* Color Palette - Rebranded: Elite Orange, Navy, and Teal */
    --bg-dark: #0d2b3e; /* Brand Navy */
    --bg-card: rgba(13, 43, 62, 0.7); /* Deep Navy Translucent */
    --primary: #e66e33; /* Brand Orange */
    --secondary: #3e8eab; /* Brand Teal */
    --accent: #ffa500; /* Amber Glow */
    --text-primary: #ffffff;
    --text-secondary: #cbd5e0;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-grad: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    --neon-glow: 0 0 25px rgba(230, 110, 51, 0.3);
    
    /* Layout */
    --container-width: 1200px;
}

/* Role-specific Themes - Harmonized */
body.admin-theme { --primary: #e66e33; --neon-glow: 0 0 25px rgba(230, 110, 51, 0.3); }
body.staff-theme { --primary: #7000ff; --neon-glow: 0 0 25px rgba(112, 0, 255, 0.3); }
body.client-theme { --primary: #3e8eab; --neon-glow: 0 0 25px rgba(62, 142, 171, 0.3); }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Background Atmosphere - Sunset Navy Amber Aurora */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 30% 30%, rgba(230, 110, 51, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(62, 142, 171, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-grad);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Typography */
h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; letter-spacing: -2px; }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--primary); }
p { color: var(--text-secondary); font-size: 1.1rem; }

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ffa500);
    color: #fff;
    box-shadow: var(--neon-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(230, 110, 51, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(230, 110, 51, 0.2));
}

.logo span { color: var(--primary); }

.gradient-text {
    background: linear-gradient(135deg, #fff 50%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
