@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    /* Refined Luxury Gold Palette */
    --primary: #c9a063;
    --primary-hover: #b38f55;
    --primary-glow: rgba(201, 160, 99, 0.2);

    /* Dark Surface Palette - Deep & Elegant */
    --bg-deep: #08090b;
    --bg-card: #15171a;
    /* Lightened for contrast */
    --bg-surface: #1e2126;
    /* Lightened for depth */

    /* Text Palette - Balanced Contrast */
    --text-white: #f8f9fa;
    --text-muted: #94a3b8;
    /* Brighter for readability */
    --text-dim: #64748b;
    --text-gold: #c9a063;

    /* Borders & Accents - Subtle Precision */
    --border: rgba(255, 255, 255, 0.1);
    /* More visible separation */
    --border-gold: rgba(201, 160, 99, 0.3);

    /* Effects */
    --glass: rgba(255, 255, 255, 0.02);
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    /* Serious, light weight */
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Professional Typography --- */

h1,
.logo-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: -0.5px;
}

h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.text-gradient {
    color: var(--primary);
    background: linear-gradient(135deg, #e6c58e 0%, #c9a063 50%, #9e7a42 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-muted {
    color: var(--text-muted);
}

/* --- Refined Components --- */

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--border-gold);
}

/* --- Buttons - Compact & Serious --- */

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.4rem;
    background: var(--primary);
    color: var(--bg-deep);
    border: none;
    border-radius: 2px;
    /* More serious squared approach */
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-premium:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-premium.secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--border);
}

.btn-premium.secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--primary);
}

/* --- Specialized Styles --- */

.premium-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 0.6rem 0.8rem;
    color: white;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

select.premium-input {
    background-color: #1a1c1e;
    color: white;
}

select.premium-input option {
    background-color: #1a1c1e;
    color: white;
    padding: 10px;
}

.premium-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* --- Tables - Precision --- */

.premium-table {
    width: 100%;
    border-collapse: collapse;
}

.premium-table th {
    text-align: left;
    padding: 0.8rem 1rem;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border);
}

.premium-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

/* --- Badges --- */

.badge {
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-accent {
    background: rgba(201, 160, 99, 0.05);
    color: var(--primary);
    border: 1px solid var(--border-gold);
}

/* --- Base Animations --- */

.animate-fade {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}