@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --gold: #D4AF37;
    --gold-dark: #B8960C;
    --gold-light: #F4D03F;
    --burgundy: #722F37;
    --burgundy-dark: #4A1F24;
    --parchment: #F5E6C8;
    --ink: #1A1A2E;
    --twilight: #1F1B24;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Crimson Text', Georgia, serif;
    background: var(--ink);
    color: var(--parchment);
    overflow-x: hidden;
}

h1, h2, h3, .nav-logo, .btn { font-family: 'Cinzel', serif; }

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

.btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--gold);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--ink);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,175,55,0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
}
.btn-secondary:hover {
    background: var(--gold);
    color: var(--ink);
}

.btn-logout {
    padding: 0.5rem 1rem;
    background: var(--burgundy);
    color: var(--parchment);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
}

.btn-logout:hover {
    background: var(--burgundy-dark);
}

input, select, textarea {
    font-family: 'Crimson Text', Georgia, serif;
    padding: 0.5rem;
    border: 2px solid var(--burgundy);
    border-radius: 4px;
    background: var(--ink);
    color: var(--parchment);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: var(--burgundy);
    color: var(--parchment);
    border-radius: 8px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hidden { display: none !important; }
