/* ============================================================
   Illuminati Website — Main Application CSS
   Design Reference: illuminati.am aesthetic
   ============================================================ */

/* ─── CSS Custom Properties ───────────────────────────────── */
:root {
    --primary:      #8d143f;
    --secondary:    #d4a853;
    --dark:         #0a0a0a;
    --dark-2:       #111111;
    --dark-3:       #1a1a1a;
    --text-light:   #cccccc;
    --text-white:   #ffffff;
    --gold:         #d4a853;
    --gold-light:   #e8c97a;
    --font-heading: 'Cinzel', serif;
    --font-body:    'Raleway', sans-serif;
    --font-alt:     'Poppins', sans-serif;
    --transition:   all 0.3s ease;
}

/* ─── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--text-light);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ─── Top Bar ─────────────────────────────────────────────── */
.topbar {
    background: #000;
    border-bottom: 1px solid rgba(212,168,83,0.2);
    padding: 6px 0;
    position: relative;
    z-index: 1000;
}
.topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-left a {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.topbar-left a i { margin-right: 6px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right a {
    color: var(--text-light);
    font-size: 13px;
    transition: var(--transition);
}
.topbar-right a:hover { color: var(--gold); }
.topbar-auth {
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 14px;
    font-size: 12px !important;
    letter-spacing: 1px;
}

/* ─── Logo Bar ────────────────────────────────────────────── */
.logobar {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    position: relative;
    border-bottom: 1px solid rgba(212,168,83,0.15);
}
.logo-link { display: block; }
.logo-img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(212,168,83,0.3));
}
.mobile-menu-btn {
    position: absolute;
    left: 20px;
    cursor: pointer;
    color: var(--gold);
    font-size: 22px;
    display: none;
}

/* ─── Main Navigation ─────────────────────────────────────── */
.main-nav {
    background: var(--dark-2);
    border-bottom: 2px solid var(--primary);
    position: relative;
    z-index: 900;
}
.nav-menu {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: block;
    padding: 14px 16px;
    color: #ddd;
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--gold); }
.nav-join {
    background: var(--primary) !important;
    color: var(--text-white) !important;
    padding: 14px 20px !important;
    border-radius: 2px;
    margin: 4px 8px;
}
.nav-join:hover { background: #a31748 !important; }

/* ─── Dropdown Menu ───────────────────────────────────────── */
.dropdown-menu-custom {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-3);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--primary);
    min-width: 240px;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.has-dropdown:hover .dropdown-menu-custom { display: block; }
.dropdown-menu-custom li a {
    display: block;
    padding: 11px 20px;
    color: #ccc;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.dropdown-menu-custom li a:hover {
    color: var(--gold);
    background: rgba(212,168,83,0.08);
    padding-left: 26px;
}

/* ─── Sub-Dropdown ────────────────────────────────────────── */
.has-subdropdown { position: relative; }
.sub-dropdown {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--dark-3);
    border-left: 2px solid var(--gold);
    min-width: 220px;
    z-index: 1000;
    box-shadow: 8px 0 20px rgba(0,0,0,0.5);
}
.has-subdropdown:hover .sub-dropdown { display: block; }

/* ─── Nav Overlay (mobile) ────────────────────────────────── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 850;
}
.nav-close-btn {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    color: var(--gold);
    font-size: 20px;
}

/* ─── Flash Messages ──────────────────────────────────────── */
.flash-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 380px;
}
.flash {
    padding: 14px 20px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    animation: slideIn 0.3s ease;
}
.flash-success { background: #1a3a1a; border-left: 4px solid #4caf50; color: #a8d5a2; }
.flash-error   { background: #3a1a1a; border-left: 4px solid var(--primary); color: #d5a2a2; }
.flash-close   { background: none; border: none; cursor: pointer; color: inherit; font-size: 18px; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ─── Hero Section ────────────────────────────────────────── */
.hero-section {
    position: relative;
    background: url('../images/hero-bg.jpg') center/cover no-repeat,
                linear-gradient(135deg, #000 0%, #1a0010 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 24px;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--gold);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-shadow: 0 0 30px rgba(212,168,83,0.4);
}
.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-gold {
    display: inline-block;
    padding: 14px 40px;
    background: var(--gold);
    color: #000;
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}
.btn-gold:hover { background: var(--gold-light); color: #000; transform: translateY(-2px); }
.btn-gold-sm {
    display: inline-block;
    padding: 8px 22px;
    background: var(--gold);
    color: #000;
    font-family: var(--font-heading);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    transition: var(--transition);
    border-radius: 2px;
}
.btn-outline-gold {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 2px;
}
.btn-outline-gold:hover { background: var(--gold); color: #000; }
.btn-join {
    display: inline-block;
    padding: 16px 50px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 12px;
}
.btn-join:hover { background: var(--gold); color: #000; }

/* ─── Video Section ───────────────────────────────────────── */
.video-section {
    background: #000;
    padding: 60px 24px;
}
.video-wrapper {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 1px solid rgba(212,168,83,0.3);
}
.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* ─── Intro Section ───────────────────────────────────────── */
.intro-section {
    background: var(--dark-2);
    text-align: center;
    padding: 80px 24px;
    border-top: 1px solid rgba(212,168,83,0.2);
    border-bottom: 1px solid rgba(212,168,83,0.2);
}
.intro-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--gold);
    letter-spacing: 4px;
}
.intro-header h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 8px;
    font-weight: 300;
}
.intro-text {
    max-width: 780px;
    margin: 30px auto;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1rem;
    font-weight: 300;
}
.intro-beliefs {
    color: var(--gold);
    font-family: var(--font-heading);
    letter-spacing: 3px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-top: 20px;
}

/* ─── Beliefs / Cards ─────────────────────────────────────── */
.beliefs-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.belief-card {
    position: relative;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    transition: var(--transition);
}
.belief-card:hover { transform: scale(1.01); }
.belief-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 30%, rgba(0,0,0,0.3) 100%);
    transition: var(--transition);
}
.belief-card:hover .belief-overlay { background: linear-gradient(to top, rgba(141,20,63,0.88) 30%, rgba(0,0,0,0.4) 100%); }
.belief-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    text-align: center;
    width: 100%;
}
.belief-content img { width: 50px; margin: 0 auto 14px; }
.belief-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.belief-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ─── Talisman Section ────────────────────────────────────── */
.talisman-section {
    background: #000 url('../images/talisman-bg.jpg') center/cover no-repeat;
    padding: 100px 24px;
    text-align: center;
    position: relative;
}
.talisman-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
}
.talisman-section > .container { position: relative; z-index: 1; }
.section-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-white);
    letter-spacing: 5px;
    margin-bottom: 20px;
}
.section-text {
    max-width: 680px;
    margin: 0 auto 32px;
    color: var(--text-light);
    line-height: 1.9;
    font-weight: 300;
}

/* ─── People / Testimonials ───────────────────────────────── */
.people-section { background: var(--dark-2); padding: 80px 24px; }
.people-header { margin-bottom: 50px; }
.testimonial-img { max-height: 500px; object-fit: cover; filter: grayscale(30%); }
.testimonial-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    padding: 30px 20px;
    bottom: 0;
    text-align: center;
}
.testimonial-caption h5 {
    font-family: var(--font-heading);
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.testimonial-caption p { font-size: 0.9rem; color: #ddd; font-style: italic; max-width: 600px; margin: 0 auto 16px; }

/* ─── Join Section ────────────────────────────────────────── */
.join-section { background: #000; padding: 80px 24px; }
.join-box {
    background: var(--dark-3);
    border: 1px solid rgba(212,168,83,0.3);
    padding: 50px 40px;
    text-align: center;
    max-width: 500px;
    width: 100%;
}
.join-logo { width: 80px; margin: 0 auto 24px; }
.join-box h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 12px;
}
.join-box p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 20px; }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: #000;
    border-top: 2px solid var(--primary);
    padding: 60px 24px 30px;
    text-align: center;
}
.footer-logo-img { height: 70px; width: auto; margin: 0 auto 30px; }
.footer-links {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-links a {
    color: #aaa;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-links span { color: rgba(255,255,255,0.2); }
.footer-social { margin: 24px 0; display: flex; justify-content: center; gap: 16px; }
.footer-social a {
    width: 36px; height: 36px;
    border: 1px solid rgba(212,168,83,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 13px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.footer-copy { color: #555; font-size: 12px; margin-top: 20px; letter-spacing: 1px; }

/* ─── Content Pages (shared) ──────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #000 0%, #1a0010 100%);
    padding: 80px 24px 60px;
    text-align: center;
    border-bottom: 2px solid var(--primary);
}
.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--gold);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.page-hero-sub {
    color: var(--text-light);
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 300;
}
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}
.page-content h2 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.8rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    margin-top: 40px;
}
.page-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 18px;
    font-weight: 300;
}
.page-content img {
    width: 100%;
    border: 1px solid rgba(212,168,83,0.2);
    margin: 20px 0;
}
.divider-gold {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 40px 0;
}

/* ─── Contact Form ────────────────────────────────────────── */
.contact-section { background: var(--dark-2); padding: 80px 24px; min-height: 70vh; }
.contact-card {
    background: var(--dark-3);
    border: 1px solid rgba(212,168,83,0.3);
    border-top: 3px solid var(--gold);
    padding: 50px 40px;
    max-width: 700px;
    margin: 0 auto;
}
.contact-card h2 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-align: center;
}
.contact-card .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 36px;
    font-size: 0.9rem;
}
.form-label {
    color: #aaa;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 500;
}
.form-control, .form-select {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(212,168,83,0.25) !important;
    color: var(--text-white) !important;
    border-radius: 2px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    transition: var(--transition) !important;
}
.form-control:focus, .form-select:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(212,168,83,0.3) !important;
    border-color: var(--gold) !important;
    background: rgba(255,255,255,0.08) !important;
}
.form-control::placeholder { color: #555 !important; }
.form-select option { background: var(--dark-3); color: #fff; }

/* ─── Auth Forms ──────────────────────────────────────────── */
.auth-section {
    background: var(--dark);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}
.auth-card {
    background: var(--dark-3);
    border: 1px solid rgba(212,168,83,0.3);
    border-top: 3px solid var(--gold);
    padding: 50px 40px;
    width: 100%;
    max-width: 460px;
}
.auth-logo { width: 70px; margin: 0 auto 24px; }
.auth-card h2 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.6rem;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 8px;
}
.auth-card p.subtitle {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 30px;
}
.auth-card .btn-gold { width: 100%; text-align: center; padding: 14px; margin-top: 8px; }
.auth-link { display: block; text-align: center; margin-top: 20px; color: #888; font-size: 0.85rem; }
.auth-link a { color: var(--gold); }
.error-list { background: rgba(141,20,63,0.15); border-left: 3px solid var(--primary); padding: 12px 16px; margin-bottom: 20px; border-radius: 2px; }
.error-list li { color: #e08080; font-size: 0.85rem; margin: 4px 0; }

/* ─── Admin Panel ─────────────────────────────────────────── */
.admin-wrapper { display: flex; min-height: 100vh; background: #0d0d0d; }
.admin-sidebar {
    width: 260px;
    background: #000;
    border-right: 1px solid rgba(212,168,83,0.2);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.admin-sidebar-logo {
    padding: 24px;
    border-bottom: 1px solid rgba(212,168,83,0.15);
    text-align: center;
}
.admin-sidebar-logo img { width: 60px; margin: 0 auto 10px; }
.admin-sidebar-logo span {
    display: block;
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.admin-nav { padding: 16px 0; flex: 1; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 24px;
    color: #888;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
    color: var(--gold);
    background: rgba(212,168,83,0.08);
    border-left-color: var(--gold);
}
.admin-nav a i { width: 18px; text-align: center; }
.admin-main { flex: 1; padding: 30px; overflow-y: auto; }
.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212,168,83,0.15);
}
.admin-page-title {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.5rem;
    letter-spacing: 2px;
}
.admin-user { color: #888; font-size: 13px; }
.admin-user a { color: var(--primary); margin-left: 12px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card {
    background: var(--dark-3);
    border: 1px solid rgba(212,168,83,0.2);
    border-top: 3px solid var(--gold);
    padding: 24px;
    border-radius: 4px;
}
.stat-card .stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    display: block;
}
.stat-card .stat-label { color: #666; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.stat-card i { float: right; font-size: 2rem; color: rgba(212,168,83,0.2); margin-top: -10px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table thead th {
    background: #000;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid rgba(212,168,83,0.3);
}
.admin-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.admin-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.admin-table td { padding: 12px 16px; color: #aaa; vertical-align: middle; }
.badge-unread { background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 10px; font-size: 11px; }
.badge-read   { background: #333; color: #888; padding: 2px 8px; border-radius: 10px; font-size: 11px; }
.admin-section-card {
    background: var(--dark-3);
    border: 1px solid rgba(212,168,83,0.15);
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 24px;
}
.admin-section-card h3 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212,168,83,0.15);
}
.btn-admin {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition);
    text-transform: uppercase;
}
.btn-admin:hover { background: #a31748; color: #fff; }
.btn-admin-gold {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gold);
    color: #000;
    font-size: 12px;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition);
    font-weight: 700;
    text-transform: uppercase;
}
.btn-admin-gold:hover { background: var(--gold-light); color: #000; }

/* ─── 404 Error Page ──────────────────────────────────────── */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}
.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}
.error-msg { font-size: 1.2rem; color: #888; margin-bottom: 30px; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 992px) {
    .mobile-menu-btn { display: block; }
    .main-nav {
        position: fixed;
        top: 0; left: -100%;
        height: 100vh;
        width: 280px;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 950;
        border-right: 2px solid var(--gold);
    }
    .main-nav.open { left: 0; }
    .nav-overlay.open { display: block; }
    .nav-close-btn { display: block; }
    .nav-menu { flex-direction: column; align-items: flex-start; padding: 50px 0 20px; }
    .nav-menu > li { width: 100%; }
    .nav-menu > li > a { padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .dropdown-menu-custom {
        position: static;
        display: none;
        background: rgba(255,255,255,0.03);
        border: none;
        border-left: 3px solid var(--gold);
        margin-left: 0;
        box-shadow: none;
    }
    .has-dropdown.open .dropdown-menu-custom { display: block; }
    .sub-dropdown {
        position: static;
        border-left: 3px solid var(--primary);
        margin-left: 16px;
    }
    .has-subdropdown.open .sub-dropdown { display: block; }
    .admin-sidebar { width: 220px; }
}
@media (max-width: 768px) {
    .admin-wrapper { flex-direction: column; }
    /* Sidebar hidden by default on mobile; toggled via JS */
    .admin-sidebar {
        width: 100%;
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 1000;
        height: auto;
        max-height: 100vh;
        overflow-y: auto;
        box-shadow: 0 4px 24px rgba(0,0,0,0.7);
    }
    /* When sidebar is open on mobile it overlays content */
    .admin-sidebar.admin-sidebar-open {
        display: block !important;
    }
    .admin-main { padding: 16px; margin-top: 0; }
    .admin-topbar { flex-wrap: wrap; gap: 10px; }
    .contact-card, .auth-card { padding: 30px 20px; }
    .join-box { padding: 30px 20px; }
    .belief-card { min-height: 300px; }
    .beliefs-section { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .beliefs-section { grid-template-columns: 1fr; }
    .topbar-inner { flex-direction: column; gap: 6px; }
    .hero-title { font-size: 2.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   LIGHT THEME  (body.theme-light overrides dark defaults)
   ═══════════════════════════════════════════════════════════ */
body.theme-light {
    --dark:       #f5f3ef;
    --dark-2:     #ece9e2;
    --dark-3:     #e0dbd0;
    --text-light: #3a3028;
    --text-white: #1a1410;
}
body.theme-light .topbar        { background: #1a1410; }
body.theme-light .logobar       { background: #ffffff; border-bottom-color: rgba(141,20,63,0.2); }
body.theme-light .main-nav      { background: #ffffff; border-bottom-color: var(--primary); }
body.theme-light .nav-menu > li > a { color: #333; }
body.theme-light .nav-menu > li > a:hover,
body.theme-light .nav-menu > li > a.active { color: var(--primary); }
body.theme-light .nav-join      { background: var(--primary) !important; color: #fff !important; }
body.theme-light .dropdown-menu-custom { background: #fff; border-top-color: var(--primary); }
body.theme-light .dropdown-menu-custom li a { color: #444; border-bottom-color: rgba(0,0,0,0.07); }
body.theme-light .dropdown-menu-custom li a:hover { color: var(--primary); background: rgba(141,20,63,0.06); }
body.theme-light .sub-dropdown  { background: #fff; border-left-color: var(--primary); }
body.theme-light .hero-overlay  { background: rgba(255,255,255,0.45); }
body.theme-light .hero-title    { color: var(--primary); text-shadow: 0 0 20px rgba(141,20,63,0.2); }
body.theme-light .hero-subtitle { color: #3a3028; }
body.theme-light .video-section { background: #e8e4db; }
body.theme-light .intro-section { background: #ece9e2; border-color: rgba(141,20,63,0.15); }
body.theme-light .intro-header h2 { color: var(--primary); }
body.theme-light .intro-text,
body.theme-light .intro-beliefs,
body.theme-light .page-content p { color: #3a3028; }
body.theme-light .talisman-section::before { background: rgba(245,243,239,0.6); }
body.theme-light .people-section  { background: #ece9e2; }
body.theme-light .section-heading { color: var(--primary); }
body.theme-light .section-text    { color: #3a3028; }
body.theme-light .join-section    { background: #e8e4db; }
body.theme-light .join-box        { background: #fff; border-color: rgba(141,20,63,0.2); }
body.theme-light .join-box h3     { color: var(--primary); }
body.theme-light .join-box p      { color: #555; }
body.theme-light .site-footer     { background: #1a1410; }
body.theme-light .flash-success   { background: #e8f5e9; color: #2e7d32; }
body.theme-light .flash-error     { background: #fdecea; color: #b71c1c; }
body.theme-light .page-hero       { background: linear-gradient(135deg, #1a0010 0%, #2d1020 100%); }
body.theme-light .page-content h2 { color: var(--primary); }
body.theme-light .contact-section { background: #ece9e2; }
body.theme-light .contact-card,
body.theme-light .auth-card       { background: #fff; border-color: rgba(141,20,63,0.2); color: #333; }
body.theme-light .form-control    { background: #f9f7f4; border-color: rgba(141,20,63,0.2); color: #333; }
body.theme-light .form-control:focus { border-color: var(--primary); }
body.theme-light .form-label      { color: #555; }

/* ─── Featured Store Section (homepage) ──────────────────── */
.featured-store-section {
    background: var(--dark-2);
    padding: 80px 24px;
    border-top: 1px solid rgba(212,168,83,0.15);
}
.featured-store-header { text-align: center; margin-bottom: 48px; }
.featured-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}
.featured-store-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,168,83,0.2);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.featured-store-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.featured-store-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.featured-store-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}
.featured-store-name {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.featured-store-price {
    color: var(--text-white);
    font-size: 1.15rem;
    font-weight: 700;
}
.featured-store-footer {
    text-align: center;
    margin-top: 40px;
}

/* ─── Testimonials (redesigned card grid) ─────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 40px;
}
.testimonial-card {
    background: var(--dark-3);
    border: 1px solid rgba(212,168,83,0.2);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s;
}
.testimonial-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}
.testimonial-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top;
    filter: grayscale(20%);
    transition: filter 0.3s;
}
.testimonial-card:hover .testimonial-card-img { filter: grayscale(0); }
.testimonial-card-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.testimonial-card-name {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.testimonial-card-quote {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.75;
    font-style: italic;
    flex: 1;
}
.testimonial-card-quote::before { content: '\201C'; color: var(--gold); font-size: 1.4rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial-card-quote::after  { content: '\201D'; color: var(--gold); font-size: 1.4rem; line-height: 0; vertical-align: -0.4em; margin-left: 4px; }
.testimonial-cta {
    text-align: center;
    margin-top: 44px;
}
@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .featured-store-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .featured-store-grid { grid-template-columns: 1fr; }
}


