/* * ZEXION ROLEPLAY NEW UI 
 */

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

:root {
    --bg-main: #0a0a1a;              /* Deep Midnight */
    --bg-card: rgba(20, 20, 50, 0.7); /* Glass Card */
    --bg-card-solid: #141432;
    --bg-input: #0d0d24;
    --accent: #a855f7;                /* Vivid Purple */
    --accent-blue: #6366f1;           /* Indigo Blue */
    --accent-cyan: #22d3ee;           /* Cyan highlight */
    --gradient-main: linear-gradient(135deg, #a855f7, #6366f1, #3b82f6);
    --gradient-subtle: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(99, 102, 241, 0.08));
    --text-primary: #f1f5f9;
    --text-secondary: #8b8fa3;
    --border: rgba(168, 85, 247, 0.15);
    --border-hover: rgba(168, 85, 247, 0.4);
    --success: #10b981;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ───── Card - Glassmorphism ───── */
.card {
    background: var(--bg-card) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border) !important;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.03);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    border-color: var(--border-hover) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.12), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ───── Typography ───── */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
}

.text-muted {
    color: var(--text-secondary) !important;
    font-size: 0.875rem;
}

/* ───── Form Controls ───── */
.form-control, .form-select, .cyber-input {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-primary) !important;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15), 0 0 20px rgba(168, 85, 247, 0.08) !important;
    outline: none;
}

/* ───── Buttons - Gradient Modern ───── */
.btn-primary, .btn-neon, .btn-cyber-buy {
    background: var(--gradient-main) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    box-shadow: 0 8px 25px -5px rgba(168, 85, 247, 0.4), 0 0 15px rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
}

/* ───── Table ───── */
.table {
    color: var(--text-primary) !important;
    margin-top: 1rem;
}

.table thead th {
    background-color: rgba(168, 85, 247, 0.05);
    border-bottom: 2px solid var(--border);
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 1rem;
}

.table tbody td {
    border-bottom: 1px solid rgba(168, 85, 247, 0.08);
    padding: 1rem;
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(168, 85, 247, 0.04) !important;
}

/* ───── Badge & Indicators ───── */
.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.75rem;
}

.bg-info {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(99, 102, 241, 0.15)) !important;
    color: #c4b5fd !important;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* ───── Scrollbar ───── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.5);
}

/* ───── Utility Classes ───── */
.text-neon-blue {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.3), 0 0 60px rgba(99, 102, 241, 0.15);
}

/* ───── Navbar Overrides ───── */
.navbar {
    background: rgba(10, 10, 26, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border) !important;
    padding: 0.8rem 0;
}

.navbar-brand {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    letter-spacing: -0.02em;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem !important;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary) !important;
    background: rgba(168, 85, 247, 0.08);
}

/* ───── Footer Overrides ───── */
footer {
    border-top: 1px solid var(--border) !important;
    color: var(--text-secondary) !important;
    background: transparent !important;
}

/* ───── Selection Color ───── */
::selection {
    background: rgba(168, 85, 247, 0.3);
    color: #fff;
}
