@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-color: #0b0710; /* Deep abyssal dark */
    --surface-color: rgba(26, 15, 36, 0.75); /* Dark tinted glass */
    --border-color: rgba(139, 92, 246, 0.15); /* Faint mystical purple */
    --primary-color: #7c3aed; /* Mystical purple */
    --primary-hover: #5b21b6; /* Deeper purple */
    --accent-color: #e11d48; /* Crimson red accent */
    --text-primary: #f3f4f6; /* Silver/white */
    --text-secondary: #a78bfa; /* Soft purple text */
    --text-gold: #fbbf24; /* Golden accent text */
    --danger: #ef4444;
    --success: #10b981;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Dark mystic background glow */
    background-image: radial-gradient(circle at top right, rgba(124, 58, 237, 0.12), transparent 45%),
                      radial-gradient(circle at bottom left, rgba(225, 29, 72, 0.08), transparent 45%);
    background-attachment: fixed;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Mystical top edge highlight */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

/* Typography */
h1, h2, h3 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-gold);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--text-gold);
}

/* Forms & Buttons */
input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(11, 7, 16, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
}

button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
}

button:hover {
    background: linear-gradient(135deg, var(--primary-hover), #4c1d95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    border-color: rgba(255,255,255,0.2);
}

button:active {
    transform: translateY(0);
}
