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

:root {
    --background: 220 20% 6%;
    --foreground: 45 20% 95%;
    --card: 220 18% 10%;
    --card-foreground: 45 20% 95%;
    --popover: 220 18% 12%;
    --popover-foreground: 45 20% 95%;
    --primary: 45 100% 51%;
    --primary-foreground: 220 20% 6%;
    --secondary: 220 15% 15%;
    --secondary-foreground: 45 20% 90%;
    --muted: 220 15% 18%;
    --muted-foreground: 220 10% 55%;
    --accent: 45 80% 45%;
    --accent-foreground: 220 20% 6%;
    --destructive: 0 72% 51%;
    --destructive-foreground: 0 0% 100%;
    --success: 142 76% 45%;
    --success-foreground: 0 0% 100%;
    --warning: 38 92% 50%;
    --warning-foreground: 0 0% 0%;
    --border: 220 15% 20%;
    --input: 220 15% 18%;
    --ring: 45 100% 51%;
    --radius: 0.75rem;

    --gradient-gold: linear-gradient(135deg, hsl(45, 100%, 51%) 0%, hsl(38, 100%, 45%) 50%, hsl(45, 100%, 51%) 100%);
    --gradient-dark: linear-gradient(180deg, hsl(220, 20%, 8%) 0%, hsl(220, 20%, 4%) 100%);
    --gradient-card: linear-gradient(145deg, hsl(220, 18%, 12%) 0%, hsl(220, 18%, 8%) 100%);
    --gradient-hero: radial-gradient(ellipse at top, hsl(220, 20%, 12%) 0%, hsl(220, 20%, 4%) 70%);
    
    --shadow-gold: 0 4px 30px hsla(45, 100%, 51%, 0.15);
    --shadow-card: 0 8px 32px hsla(0, 0%, 0%, 0.4);
    --shadow-glow: 0 0 40px hsla(45, 100%, 51%, 0.2);

    --sidebar-background: 220 18% 8%;
    --sidebar-foreground: 45 20% 90%;
    --sidebar-primary: 45 100% 51%;
    --sidebar-primary-foreground: 220 20% 6%;
    --sidebar-accent: 220 15% 15%;
    --sidebar-accent-foreground: 45 20% 90%;
    --sidebar-border: 220 15% 18%;
    --sidebar-ring: 45 100% 51%;
}

* {
    border-color: hsl(var(--border));
    box-sizing: border-box;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Inter', sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.text-gold-gradient {
    background-image: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.glass-card {
    background-color: hsla(var(--card), 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid hsla(var(--border), 0.5);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.premium-card {
    position: relative;
    background: linear-gradient(145deg, hsl(var(--card)), hsla(var(--card), 0.8));
    border: 1px solid hsla(var(--border), 0.5);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.5s;
    box-shadow: var(--shadow-card);
}

.premium-card:hover {
    border-color: hsla(var(--primary), 0.3);
    box-shadow: var(--shadow-gold);
}

.btn-gold {
    background: var(--gradient-gold);
    color: hsl(var(--primary-foreground));
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px hsla(45, 100%, 51%, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-gold:hover {
    box-shadow: 0 6px 25px hsla(45, 100%, 51%, 0.5);
    transform: translateY(-2px);
}

.btn-gold:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.input-gold {
    background-color: hsla(var(--muted), 0.5);
    border: 1px solid hsla(var(--border), 0.5);
    border-radius: var(--radius);
    color: hsl(var(--foreground));
    padding: 0.75rem 1rem;
    width: 100%;
    transition: all 0.3s;
}

.input-gold:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsla(45, 100%, 51%, 0.2);
}

.bg-grid-pattern {
    background-image: 
      linear-gradient(hsla(45, 100%, 51%, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, hsla(45, 100%, 51%, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Sidebar Styles */
.sidebar {
    background-color: hsla(var(--sidebar-background), 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid hsla(var(--sidebar-border), 0.5);
    height: 100vh;
    width: 256px;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 40;
    transition: all 0.3s;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0.75rem;
    border-radius: var(--radius);
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-item:hover {
    background-color: hsla(var(--muted), 0.5);
    color: hsl(var(--foreground));
}

.sidebar-item.active {
    background-color: hsla(var(--primary), 0.1);
    color: hsl(var(--primary));
    border: 1px solid hsla(var(--primary), 0.2);
}

.main-content {
    margin-left: 256px;
    padding: 2rem;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        padding: 1rem;
        padding-top: 5rem;
    }
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background-color: hsla(var(--card), 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid hsla(var(--border), 0.5);
    z-index: 50;
    padding: 0 1rem;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 1024px) {
    .mobile-header {
        display: flex;
    }
}

.badge-success {
    background-color: hsla(var(--success), 0.2);
    color: hsl(var(--success));
    border: 1px solid hsla(var(--success), 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.badge-warning {
    background-color: hsla(var(--warning), 0.2);
    color: hsl(var(--warning));
    border: 1px solid hsla(var(--warning), 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}
