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

:root {
    --bg-primary: #0b0f19;
    --bg-secondary: #121824;
    --bg-card: rgba(20, 28, 45, 0.4);
    --bg-card-hover: rgba(30, 41, 65, 0.6);
    --border-card: rgba(255, 255, 255, 0.05);
    --border-card-hover: rgba(238, 214, 149, 0.25);
    
    --accent-gold: #eed695;
    --accent-gold-rgb: 238, 214, 149;
    --accent-cyan: #00f2fe;
    --accent-blue: #3b82f6;
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 15px rgba(238, 214, 149, 0.15);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(238, 214, 149, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Glassmorphism Common styles */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: border-color var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-card-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Back Link Header */
.top-header {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 10px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 8px;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.back-link:hover {
    color: var(--accent-gold);
    transform: translateX(-3px);
}

.back-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-brand img {
    height: 36px;
    width: auto;
}

.header-brand span {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

/* Premium Typography styling */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(18, 24, 36, 0.95);
    border-left: 4px solid var(--accent-gold);
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 250px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    pointer-events: auto;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left-color: var(--success);
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
