/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Raleway:wght@300;400;500;600&display=swap');

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

:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-card: #0e0e0e;
    --bg-card-hover: #131313;
    --accent-red: #8b1a1a;
    --accent-red-light: #a02828;
    --accent-red-dim: #5c1111;
    --accent-red-glow: rgba(139, 26, 26, 0.35);
    --accent-blood: #6b0f0f;
    --accent-gold: #9a7a2e;
    --accent-gold-light: #b89a3f;
    --text-primary: #d4ccc0;
    --text-secondary: #7a746b;
    --text-muted: #4a4640;
    --border-color: #141414;
    --border-light: #1e1e1e;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Raleway', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Subtle noise texture */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

a {
    color: var(--accent-red);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--accent-red-light);
}

img { max-width: 100%; display: block; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-blood); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-red); }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 26, 26, 0.1);
    transition: background var(--transition-medium), box-shadow var(--transition-medium);
}
.nav.scrolled {
    background: rgba(5, 5, 5, 0.97);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(139, 26, 26, 0.15);
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter var(--transition-medium);
}
.nav-logo:hover .nav-logo-icon {
    filter: brightness(1.1) drop-shadow(0 0 6px rgba(139, 26, 26, 0.5));
}
.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}
.nav-links a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--accent-red);
    transition: width var(--transition-medium);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-signin-link {
    color: var(--accent-red) !important;
    border: 1px solid var(--accent-red-dim);
    padding: 6px 16px !important;
    font-size: 0.72rem !important;
    transition: all var(--transition-fast) !important;
}
.nav-signin-link:hover {
    background: var(--accent-red);
    color: var(--text-primary) !important;
}
.nav-user-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav-user-badge {
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
}
.nav-logout {
    font-size: 0.7rem !important;
    color: var(--text-muted) !important;
    letter-spacing: 1px;
}
.nav-logout:hover { color: var(--accent-red) !important; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}
.nav-hamburger span {
    display: block; width: 22px; height: 1.5px;
    background: var(--text-primary);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(107, 15, 15, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(5, 5, 5, 1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 26, 26, 0.04) 0%, transparent 70%);
    z-index: 1;
}
/* Subtle occult circle pattern behind hero */
.hero::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    border: 1px solid rgba(139, 26, 26, 0.06);
    border-radius: 50%;
    z-index: 0;
    animation: heroCircle 20s linear infinite;
}
@keyframes heroCircle {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(139, 26, 26, 0.4));
    animation: iconPulse 4s ease-in-out infinite;
}
@keyframes iconPulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(139, 26, 26, 0.4)); }
    50% { filter: drop-shadow(0 0 35px rgba(139, 26, 26, 0.6)); }
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 0 60px rgba(139, 26, 26, 0.2);
}
.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-red);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.9;
}
.hero-line {
    width: 50px; height: 1px;
    background: var(--accent-red);
    margin: 0 auto 2.5rem;
    box-shadow: 0 0 10px var(--accent-red-glow);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 13px 32px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
}
.btn-primary {
    background: var(--accent-red);
    color: var(--text-primary);
    border: 1px solid var(--accent-red);
}
.btn-primary:hover {
    background: var(--accent-red-light);
    color: #fff;
    box-shadow: 0 0 40px var(--accent-red-glow), inset 0 0 20px rgba(139, 26, 26, 0.2);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}
.btn-outline:hover {
    border-color: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 20px rgba(139, 26, 26, 0.15);
}
.btn-gold {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid rgba(154, 122, 46, 0.4);
}
.btn-gold:hover {
    border-color: var(--accent-gold);
    background: rgba(154, 122, 46, 0.1);
    color: var(--accent-gold-light);
}

/* ===== SECTIONS ===== */
.section { padding: 100px 2rem; }
.section-dark { background: var(--bg-secondary); }
.container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 1rem;
    display: block;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(139, 26, 26, 0.1);
}
.section-divider {
    width: 40px; height: 1px;
    background: var(--accent-red);
    margin: 1.5rem auto;
    box-shadow: 0 0 8px var(--accent-red-glow);
}
.section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== POST BOARD ===== */
.post-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
}
.post-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: 2;
}
.post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 26, 26, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 26, 26, 0.08);
}
.post-card:hover::before { opacity: 1; }
.post-card-image {
    width: 100%; height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: brightness(0.8) saturate(0.7);
}
.post-card:hover .post-card-image {
    transform: scale(1.04);
    filter: brightness(0.9) saturate(0.8);
}
.post-card-image-wrap {
    overflow: hidden;
    position: relative;
}
.post-card-image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--bg-card));
}
.post-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.post-card-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.post-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
    line-height: 1.4;
    transition: color var(--transition-fast);
}
.post-card:hover .post-card-title { color: var(--accent-red-light); }
.post-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card-read {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-red);
}

/* ===== POST OVERLAY ===== */
.post-overlay {
    position: fixed; inset: 0; z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 2rem 2rem;
    overflow-y: auto;
}
.post-overlay.active { display: flex; }
.post-overlay-bg {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1; cursor: pointer;
    animation: fadeIn 0.3s ease;
}
.post-overlay-content {
    position: relative; z-index: 2;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    max-width: 800px; width: 100%;
    margin-bottom: 2rem;
    animation: slideUp 0.4s ease;
    box-shadow: 0 0 80px rgba(139, 26, 26, 0.1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.post-overlay-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    width: 40px; height: 40px;
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-fast);
    z-index: 3;
}
.post-overlay-close:hover { background: var(--accent-red); border-color: var(--accent-red); }
.post-overlay-image {
    width: 100%; height: 320px;
    object-fit: cover;
    filter: brightness(0.8) saturate(0.7);
}
.post-overlay-body { padding: 2.5rem; }
.post-overlay-date {
    font-size: 0.7rem; color: var(--text-muted);
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 1rem;
}
.post-overlay-title {
    font-family: var(--font-heading);
    font-size: 1.8rem; font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px; margin-bottom: 1.5rem;
    line-height: 1.3;
}
.post-overlay-text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.9; }
.post-overlay-text p { margin-bottom: 1.2rem; }

/* ===== ABOUT PREVIEW ===== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-preview-text h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem; font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}
.about-preview-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.about-preview-image {
    width: 100%; height: 380px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    filter: brightness(0.7) saturate(0.6);
    transition: filter var(--transition-medium);
}
.about-preview-image:hover {
    filter: brightness(0.8) saturate(0.7);
}

/* ===== BELIEFS GRID ===== */
.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.belief-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 1.75rem;
    text-align: center;
    transition: border-color var(--transition-medium), transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
}
.belief-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-red-dim), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
}
.belief-card:hover {
    border-color: rgba(139, 26, 26, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 26, 26, 0.06);
}
.belief-card:hover::after { opacity: 1; }
.belief-card-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
    font-weight: 400;
    text-shadow: 0 0 15px var(--accent-red-glow);
}
.belief-card h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem; font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.belief-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 80px 2rem;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: radial-gradient(ellipse at center, rgba(107, 15, 15, 0.06) 0%, transparent 70%);
}
.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem; font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(139, 26, 26, 0.15);
}
.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto; margin-right: auto;
}
.cta-buttons {
    display: flex; gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 2rem 30px;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand { display: flex; flex-direction: column; }
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 1rem; text-decoration: none;
}
.footer-logo img {
    width: 28px; height: 28px; object-fit: contain;
    filter: brightness(0.85);
}
.footer-logo span {
    font-family: var(--font-heading);
    font-size: 0.85rem; font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem; font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--text-primary); }
.footer-bottom {
    max-width: 1280px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
    padding: 160px 2rem 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: radial-gradient(ellipse at 50% 80%, rgba(107, 15, 15, 0.08) 0%, transparent 60%);
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem; font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(139, 26, 26, 0.15);
}
.page-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PAGE CONTENT ===== */
.page-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 2rem;
}
.page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem; font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.85;
}
.page-content ul {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.page-content ul li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* ===== BOOKS / TEXTS ===== */
.book-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    margin-bottom: 0.75rem;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}
.book-item:hover {
    border-color: rgba(139, 26, 26, 0.3);
    background: var(--bg-card-hover);
}
.book-item.book-locked {
    opacity: 0.5;
    cursor: default;
}
.book-item.book-locked:hover {
    border-color: var(--border-color);
    background: var(--bg-card);
}
.book-title {
    font-family: var(--font-heading);
    font-size: 1rem; font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
.book-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.book-access {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-gold);
}
.book-access-locked {
    color: var(--text-muted);
}
.download-btn {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: all var(--transition-fast);
}
.download-btn:hover {
    border-color: var(--accent-red);
    color: var(--text-primary);
    background: rgba(139, 26, 26, 0.1);
}
.book-content {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
}
.book-content p { margin-bottom: 1.3rem; }

/* ===== ADMIN PANEL ===== */
.admin-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 2rem 60px;
}
.admin-login {
    max-width: 400px;
    margin: 0 auto;
    padding-top: 60px;
}
.admin-login h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem; text-align: center;
    letter-spacing: 2px; margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
    outline: none;
}
.form-input:focus { border-color: var(--accent-red); box-shadow: 0 0 15px rgba(139, 26, 26, 0.1); }
.form-textarea { min-height: 200px; resize: vertical; }

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.admin-header h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem; letter-spacing: 2px;
}
.admin-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}
.admin-tab {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}
.admin-tab:hover { color: var(--text-secondary); }
.admin-tab.active {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
}
.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-post-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    transition: border-color var(--transition-fast);
}
.admin-post-item:hover { border-color: var(--border-light); }
.admin-post-info { flex: 1; }
.admin-post-info h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem; margin-bottom: 0.2rem;
}
.admin-post-info span { font-size: 0.75rem; color: var(--text-muted); }
.admin-post-actions { display: flex; gap: 0.4rem; }
.admin-post-actions button {
    padding: 5px 12px;
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}
.admin-post-actions button:hover { border-color: var(--accent-red); color: var(--text-primary); }
.admin-post-actions button.delete:hover { border-color: #8b1a1a; color: #c0392b; }

/* Role badge colors */
.role-badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
}
.role-badge-admin { border-color: var(--accent-red); color: var(--accent-red); }
.role-badge-master { border-color: var(--accent-gold); color: var(--accent-gold); }
.role-badge-priest { border-color: #6b4c8a; color: #8b6aad; }

/* ===== ALERTS ===== */
.alert {
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid;
    font-size: 0.85rem;
}
.alert-success { background: rgba(39, 174, 96, 0.08); border-color: rgba(39, 174, 96, 0.25); color: #27ae60; }
.alert-error { background: rgba(139, 26, 26, 0.1); border-color: rgba(139, 26, 26, 0.3); color: #c0392b; }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 3000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 2rem;
    overflow-y: auto;
}
.modal-overlay.active { display: flex; }
.modal-bg {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1; cursor: pointer;
}
.modal-content {
    position: relative; z-index: 2;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    max-width: 600px; width: 100%;
    animation: slideUp 0.4s ease;
    box-shadow: 0 0 60px rgba(139, 26, 26, 0.08);
}
.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem; letter-spacing: 2px;
    margin-bottom: 2rem;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}
.contact-info p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.8; }
.contact-detail {
    display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}
.contact-detail-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--accent-red);
    font-size: 0.9rem; flex-shrink: 0;
}
.contact-detail span { color: var(--text-secondary); font-size: 0.85rem; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    position: fixed;
    top: 70px; left: 0; right: 0;
    z-index: 999;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}
.breadcrumbs-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 2rem;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}
.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}
.breadcrumbs a:hover { color: var(--text-secondary); }
.breadcrumb-sep { color: var(--text-muted); margin: 0 6px; }
.breadcrumb-current { color: var(--text-secondary); }

/* ===== FAQ ITEMS ===== */
.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    margin-top: 0;
}

/* ===== TOPIC INTERNAL LINKS ===== */
.topic-internal-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.topic-internal-links h2 {
    font-size: 1.1rem;
    margin-top: 0;
}
.topic-internal-links h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-primary);
    letter-spacing: 1.5px;
}
.topic-internal-links ul { padding-left: 1.2rem; }
.topic-internal-links ul li { margin-bottom: 0.5rem; }
.topic-internal-links ul li a {
    color: var(--accent-red);
    font-size: 0.9rem;
}
.topic-internal-links ul li a:hover { color: var(--accent-red-light); }

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .post-board { grid-template-columns: repeat(2, 1fr); }
    .beliefs-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--border-color); }
    .nav-hamburger { display: flex; }
    .hero h1 { font-size: 2rem; letter-spacing: 4px; }
    .hero-subtitle { font-size: 0.8rem; }
    .post-board { grid-template-columns: 1fr; }
    .beliefs-grid { grid-template-columns: 1fr; }
    .about-preview { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .section { padding: 60px 1.5rem; }
    .section-title { font-size: 1.5rem; }
    .post-overlay-image { height: 200px; }
    .admin-tabs { flex-wrap: wrap; }
    .admin-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; text-align: center; }
}
