/* ============================================================
   Radelin Fantasy World - Main Stylesheet
   A dark fantasy world of myth, memory, and magic
   ============================================================ */

/* ─── CSS Custom Properties ─── */
:root {
    /* Colors */
    --obsidian: #0a0a12;
    --obsidian-light: #12121f;
    --midnight: #0d1b2a;
    --navy: #1b2838;
    --navy-light: #243447;
    --gold: #c9a84c;
    --gold-bright: #e8c55a;
    --gold-dim: #8a7033;
    --silver: #c8ccd4;
    --silver-bright: #e8ecf2;
    --emerald: #2d9b6e;
    --emerald-glow: #3adf8f;
    --crimson: #8b2035;
    --crimson-bright: #c03050;
    --parchment: #f0e6d3;

    /* Gradients */
    --gradient-dark: linear-gradient(180deg, #0a0a12 0%, #0d1b2a 50%, #12121f 100%);
    --gradient-gold: linear-gradient(135deg, #c9a84c 0%, #e8c55a 50%, #c9a84c 100%);
    --gradient-card: linear-gradient(180deg, rgba(13, 27, 42, 0.8) 0%, rgba(10, 10, 18, 0.95) 100%);

    /* Typography */
    --font-heading: 'Cinzel', 'Georgia', serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --font-accent: 'Cormorant Garamond', 'Georgia', serif;

    /* Spacing */
    --section-pad: clamp(60px, 10vw, 120px);
    --container-max: 1200px;

    /* Effects */
    --glow-gold: 0 0 20px rgba(201, 168, 76, 0.3);
    --glow-emerald: 0 0 20px rgba(45, 155, 110, 0.3);
    --glass: rgba(13, 27, 42, 0.6);
    --glass-border: rgba(201, 168, 76, 0.15);
    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--obsidian);
    color: var(--silver);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ─── Particles Canvas ─── */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--gold);
    line-height: 1.3;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p { margin-bottom: 1em; }

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

blockquote {
    border-left: 3px solid var(--gold-dim);
    padding: 1em 1.5em;
    margin: 1.5em 0;
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--silver-bright);
    background: rgba(201, 168, 76, 0.05);
}

img {
    max-width: 100%;
    height: auto;
}

/* ─── Container ─── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Header ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 10, 18, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-sigil {
    font-size: 1.2rem;
    animation: sigil-pulse 3s ease-in-out infinite;
}

@keyframes sigil-pulse {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px var(--gold); }
    50% { opacity: 0.6; text-shadow: 0 0 20px var(--gold-bright); }
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--silver);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    cursor: pointer;
    padding: 8px;
}

.toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    transition: all var(--transition);
}

.nav-toggle.active .toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Main Content ─── */
.site-main {
    position: relative;
    z-index: 1;
    min-height: 60vh;
}

/* ─── Section Styles ─── */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-ornament {
    display: block;
    margin: 0 auto 16px;
    color: var(--gold-dim);
    font-size: 1.5rem;
    opacity: 0.7;
    letter-spacing: 0.3em;
}

.section-subtitle {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    color: var(--silver);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

/* ─── Fantasy Cards ─── */
.fantasy-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.fantasy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--transition);
}

.fantasy-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--glow-gold);
}

.fantasy-card:hover::before {
    opacity: 1;
}

.fantasy-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    background: var(--navy);
}

.fantasy-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.fantasy-card .card-subtitle {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: var(--gold-dim);
    font-style: italic;
    margin-bottom: 12px;
}

.fantasy-card .card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--silver);
    opacity: 0.85;
}

.fantasy-card .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.card-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    color: var(--gold-dim);
    font-weight: 500;
}

.card-tag.danger-low { border-color: var(--emerald); color: var(--emerald); }
.card-tag.danger-moderate { border-color: var(--gold); color: var(--gold); }
.card-tag.danger-high { border-color: #e07c3a; color: #e07c3a; }
.card-tag.danger-extreme { border-color: var(--crimson-bright); color: var(--crimson-bright); }
.card-tag.danger-catastrophic { border-color: #ff3355; color: #ff3355; }

/* ─── Relic Cards ─── */
.relic-card {
    background: var(--gradient-card);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-slow);
    position: relative;
}

.relic-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold), transparent 40%, transparent 60%, var(--gold));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.relic-card:hover::before {
    opacity: 1;
}

.relic-card:hover {
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.15);
    transform: translateY(-6px);
}

.relic-card .relic-header {
    padding: 30px 30px 20px;
    text-align: center;
}

.relic-card .relic-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.2), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1px solid var(--glass-border);
}

.relic-card .relic-body {
    padding: 0 30px 30px;
}

.relic-rarity {
    display: inline-block;
    padding: 4px 16px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 20px;
    font-weight: 600;
}

.rarity-legendary { background: rgba(201, 168, 76, 0.15); color: var(--gold); border: 1px solid var(--gold-dim); }
.rarity-mythic { background: rgba(192, 48, 80, 0.15); color: var(--crimson-bright); border: 1px solid var(--crimson); }
.rarity-primordial { background: rgba(45, 155, 110, 0.15); color: var(--emerald-glow); border: 1px solid var(--emerald); }
.rarity-unique { background: rgba(100, 100, 220, 0.15); color: #aaaaff; border: 1px solid #6666aa; }

/* ─── Character Cards ─── */
.character-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition);
}

.character-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: var(--glow-gold);
}

.character-portrait {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.character-portrait .portrait-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gold-dim);
    background: linear-gradient(180deg, var(--navy), var(--obsidian-light));
}

.character-info {
    padding: 36px;
}

.character-info .char-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 4px;
}

.character-info .char-title {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--gold-dim);
    font-style: italic;
    margin-bottom: 16px;
}

.character-info .char-allegiance {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald);
    margin-bottom: 20px;
}

.character-info .char-story {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--silver);
    opacity: 0.85;
    margin-bottom: 20px;
}

.character-info .char-powers {
    padding: 16px;
    background: rgba(201, 168, 76, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

.character-info .char-powers h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    color: var(--gold-dim);
}

.character-info .char-powers p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--silver);
    opacity: 0.8;
    margin-bottom: 0;
}

.character-quote {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--gold);
    padding: 16px;
    border-left: 3px solid var(--gold-dim);
    margin-top: 20px;
    line-height: 1.6;
}

/* ─── Buttons ─── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--obsidian);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
    color: var(--obsidian);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
}

.btn-outline:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.2);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.75rem;
}

/* ─── Page Banner ─── */
.page-banner {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--obsidian) 0%, var(--midnight) 60%, var(--obsidian) 100%);
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

.page-banner .banner-ornament {
    color: var(--gold-dim);
    font-size: 1.5rem;
    letter-spacing: 0.4em;
    margin-bottom: 16px;
    display: block;
    opacity: 0.6;
}

.page-banner h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 16px;
    position: relative;
}

.page-banner .banner-subtitle {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: var(--silver);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.75;
    position: relative;
}

/* ─── Grid Layouts ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── Chronicle / Blog Cards ─── */
.chronicle-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition);
}

.chronicle-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--glow-gold);
}

.chronicle-card .chronicle-image {
    width: 100%;
    height: 200px;
    background: var(--navy);
    object-fit: cover;
}

.chronicle-card .chronicle-body {
    padding: 24px;
}

.chronicle-card .chronicle-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--emerald);
    font-weight: 600;
    margin-bottom: 8px;
}

.chronicle-card .chronicle-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 10px;
    line-height: 1.4;
}

.chronicle-card .chronicle-summary {
    font-size: 0.9rem;
    color: var(--silver);
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 16px;
}

.chronicle-card .chronicle-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gold-dim);
    opacity: 0.7;
}

/* ─── Chronicle Single ─── */
.chronicle-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.chronicle-single .article-header {
    text-align: center;
    margin-bottom: 40px;
}

.chronicle-single .article-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--emerald);
    font-weight: 600;
    margin-bottom: 12px;
}

.chronicle-single h1 {
    margin-bottom: 16px;
}

.chronicle-single .article-meta {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--gold-dim);
    font-size: 1rem;
}

.chronicle-single .article-content {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    line-height: 2;
    color: var(--silver-bright);
}

.chronicle-single .article-content p {
    margin-bottom: 1.5em;
}

/* ─── Gallery ─── */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    color: var(--silver);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--navy);
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid var(--glass-border);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--glow-gold);
    border-color: rgba(201, 168, 76, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 18, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay .gallery-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--gold);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 18, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    border: 2px solid var(--glass-border);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: var(--gold);
    cursor: pointer;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.lightbox-close:hover {
    text-shadow: 0 0 15px var(--gold);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--gold);
    text-align: center;
}

/* ─── Contact Form ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-dim);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--silver-bright);
    background: rgba(13, 27, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: all var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* ─── Flash Messages ─── */
.flash-message {
    padding: 16px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.flash-success {
    background: rgba(45, 155, 110, 0.15);
    border: 1px solid var(--emerald);
    color: var(--emerald-glow);
}

.flash-error {
    background: rgba(192, 48, 80, 0.15);
    border: 1px solid var(--crimson);
    color: var(--crimson-bright);
}

/* ─── Newsletter Section ─── */
.newsletter-section {
    text-align: center;
    padding: 60px 0;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 20px auto 0;
    gap: 12px;
}

.newsletter-form .form-control {
    flex: 1;
}

/* ─── About Sections ─── */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    line-height: 2;
    color: var(--silver-bright);
    margin-bottom: 1.5em;
}

.about-values {
    margin-top: 60px;
}

.value-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 24px;
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.value-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--glass-border);
}

/* ─── Dividers & Ornaments ─── */
.section-divider {
    text-align: center;
    padding: 20px 0;
    color: var(--gold-dim);
    font-size: 1.2rem;
    opacity: 0.5;
    letter-spacing: 0.5em;
}

/* ─── Pagination ─── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    border: 1px solid var(--glass-border);
    color: var(--silver);
    transition: all var(--transition);
}

.pagination a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.pagination .current {
    background: var(--gold);
    color: var(--obsidian);
    border-color: var(--gold);
    font-weight: 600;
}

/* ─── Footer ─── */
.site-footer {
    position: relative;
    z-index: 1;
    background: var(--obsidian-light);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
}

.footer-glow {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(201, 168, 76, 0.03), transparent);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-title .sigil {
    margin-right: 8px;
}

.footer-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--silver);
    opacity: 0.7;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--silver);
    opacity: 0.7;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    color: var(--silver);
    transition: all var(--transition);
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.2);
}

.footer-bottom {
    text-align: center;
}

.footer-divider {
    margin-bottom: 20px;
}

.divider-ornament {
    color: var(--gold-dim);
    font-size: 1.2rem;
    opacity: 0.5;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--silver);
    opacity: 0.5;
    margin-bottom: 8px;
}

.footer-quote {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--gold-dim);
    opacity: 0.6;
}

/* ─── Scroll Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .character-card { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 18, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav.open {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 12px 24px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }
    
    .character-card {
        grid-template-columns: 1fr;
    }
    
    .character-portrait {
        min-height: 250px;
    }
    
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
    .header-inner { height: 60px; }
    .site-logo { font-size: 1.2rem; }
    .page-banner { padding: 120px 0 60px; }
}

/* ─── Utility ─── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-emerald { color: var(--emerald); }
.text-crimson { color: var(--crimson-bright); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
