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

:root {
    --bg-dark: #0f0d0b;
    --bg-panel: #1b1612;
    --bg-card: #251e18;
    --bg-card-hover: #2f251e;
    --gold-primary: #e6b85c;
    --gold-bright: #ffdf85;
    --gold-dim: #997536;
    --gold-border: #634b22;
    --red-crimson: #8a181a;
    --red-glow: #b82528;
    --text-primary: #ecd8b8;
    --text-muted: #9e8d77;
    --text-dark: #221c16;
    --border-ornate: 1px solid #57411f;
    --shadow-epic: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(138, 24, 26, 0.2);
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(138, 24, 26, 0.35) 0%, transparent 60%),
        linear-gradient(180deg, #18120d 0%, #0c0a08 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Philosopher', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a:hover {
    color: var(--gold-bright);
    text-shadow: 0 0 8px rgba(230, 184, 92, 0.6);
}

/* Header */
.header {
    background: linear-gradient(180deg, rgba(27, 22, 18, 0.98) 0%, rgba(15, 13, 11, 0.95) 100%);
    border-bottom: 2px solid var(--gold-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.8), inset 0 -1px 0 rgba(230, 184, 92, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    max-height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.8));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    padding: 8px 18px;
    border-radius: 4px;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: var(--gold-bright);
    background: rgba(99, 75, 34, 0.3);
    border-color: var(--gold-border);
    box-shadow: 0 0 12px rgba(230, 184, 92, 0.25);
}

.nav-link-active {
    color: #fff !important;
    background: linear-gradient(180deg, #8a181a 0%, #560f10 100%) !important;
    border: 1px solid #b82528 !important;
    box-shadow: 0 0 15px rgba(184, 37, 40, 0.4) !important;
}

/* Container & Layout */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 28px auto;
    padding: 0 20px;
    flex: 1;
}

.content {
    width: 100%;
}

.section {
    background: var(--bg-panel);
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    box-shadow: var(--shadow-epic);
    padding: 28px 32px;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

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

h1 { font-size: 26px; margin-bottom: 20px; }
h2 { font-size: 20px; margin-bottom: 16px; }
h3 { font-size: 17px; margin-bottom: 12px; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-style: italic;
    background: rgba(0,0,0,0.25);
    border: 1px dashed var(--gold-border);
    border-radius: 6px;
    margin: 20px 0;
}

/* Mobile bottom nav */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 13, 11, 0.98);
    border-top: 2px solid var(--gold-border);
    padding: 8px 16px;
    z-index: 1000;
    justify-content: space-around;
    backdrop-filter: blur(10px);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.mobile-nav-item-active {
    color: var(--gold-bright);
}

.mobile-nav-icon {
    font-size: 18px;
}
