/*
   Lumina Theme Chrome (Theme 5 — «نگینِ دانش — سینمایی، مجلل و مدرن»)
   Loaded by _HomeLayout on every public page when Home_Theme == "lumina"
   (and on the administrators' preview at /preview/home/lumina).

   Palette — Architectural Botanical Heritage:
     - Sunlit Warm Alabaster & Silk Linen ground (#faf7f2 / #f2ece1)
     - Deep Botanical Forest Emerald (#0f2e26 -> #081c17 -> #164438)
     - Burnished Antique Gold (#c8923b / #e6b966 / #f6dda4)
     - Refined Pomegranate Rose spark (#c94a5a)
     - Deep Cypress Charcoal ink (#12201c) & Warm Slate (#4b5b55)
*/

:root {
    --lm-canvas: #faf7f2;
    --lm-linen: #f2ece1;
    --lm-paper: #ffffff;
    --lm-ink: #12201c;
    --lm-ink-soft: #374842;
    --lm-muted: #62736c;
    --lm-emerald: #0f2e26;
    --lm-emerald-deep: #081c17;
    --lm-emerald-mid: #17463a;
    --lm-emerald-bright: #1e6b56;
    --lm-sage: #ebf3ef;
    --lm-gold: #c8923b;
    --lm-gold-deep: #96661c;
    --lm-gold-light: #e8be6c;
    --lm-gold-pale: #f7e3b5;
    --lm-rose: #c94a5a;
    --lm-line: rgba(15, 46, 38, 0.1);
}

/* ── Global Canvas Upgrade ────────────────────────────────────────────── */
body.is-theme-lumina {
    background:
        radial-gradient(1080px 560px at 88% -6%, rgba(200, 146, 59, 0.085), transparent 62%),
        radial-gradient(960px 520px at 10% 4%, rgba(30, 107, 86, 0.075), transparent 60%),
        radial-gradient(820px 460px at 50% 42%, rgba(201, 74, 90, 0.035), transparent 66%),
        var(--lm-canvas) !important;
    color: var(--lm-ink);
    font-family: Vazirmatn, Tahoma, sans-serif;
}

/* Retire legacy pastel blobs across all public pages in Theme 5 */
body.is-theme-lumina > .blob,
body.is-theme-lumina > .blob-1,
body.is-theme-lumina > .blob-2,
body.is-theme-lumina > .blob-3,
body.is-theme-lumina .floating-decoration {
    display: none !important;
}

/* ── Floating Architectural Ivory-Emerald Header ──────────────────────── */
body.is-theme-lumina .theme-navbar {
    position: sticky;
    top: 0;
    z-index: 140;
    padding: max(0.75rem, env(safe-area-inset-top)) 1rem 0.5rem;
    transition: padding 0.3s ease;
}

body.is-theme-lumina .theme-navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(250, 247, 242, 0.84);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

body.is-theme-lumina .theme-navbar.is-scrolled::before {
    opacity: 1;
}

body.is-theme-lumina .theme-navbar .container {
    max-width: 1320px;
}

body.is-theme-lumina .navbar-glass {
    background: rgba(255, 253, 249, 0.9);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid rgba(15, 46, 38, 0.1);
    box-shadow:
        0 16px 38px -24px rgba(8, 28, 23, 0.24),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
    border-radius: 24px;
    padding: 0.5rem 1.15rem;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.is-theme-lumina .theme-navbar.is-scrolled .navbar-glass {
    background: rgba(255, 254, 251, 0.97);
    border-color: rgba(200, 146, 59, 0.32);
    box-shadow: 0 22px 46px -24px rgba(8, 28, 23, 0.3);
}

body.is-theme-lumina .logo-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    flex: 0 0 48px;
    filter: drop-shadow(0 4px 10px rgba(200, 146, 59, 0.28));
}

body.is-theme-lumina .logo-text .logo-title,
body.is-theme-lumina .logo-text h1 {
    color: var(--lm-emerald);
    font-weight: 800;
    font-size: 1.13rem;
    letter-spacing: -0.01em;
}

body.is-theme-lumina .logo-text p {
    color: var(--lm-gold-deep);
    font-size: 0.74rem;
    font-weight: 700;
}

body.is-theme-lumina .nav-links a {
    color: var(--lm-ink-soft);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.36rem 0.14rem;
}

body.is-theme-lumina .nav-links a::after {
    bottom: -2px;
    height: 2.5px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--lm-emerald-bright), var(--lm-gold));
}

body.is-theme-lumina .nav-links a:hover,
body.is-theme-lumina .nav-links a.active {
    color: var(--lm-emerald);
}

body.is-theme-lumina .login-btn {
    background: linear-gradient(135deg, #0f2e26 0%, #17463a 60%, #1e5c4b 100%);
    color: #fffdf8 !important;
    border-radius: 14px;
    padding: 0.56rem 1.3rem;
    font-size: 0.87rem;
    font-weight: 700;
    border: 1px solid rgba(232, 190, 108, 0.42);
    box-shadow: 0 12px 26px -12px rgba(8, 28, 23, 0.58);
}

body.is-theme-lumina .login-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #133c32 0%, #1e5c4b 100%);
    box-shadow: 0 16px 32px -10px rgba(8, 28, 23, 0.72);
    color: #fffdf8 !important;
}

body.is-theme-lumina .hamburger-line {
    background-color: var(--lm-emerald);
}

body.is-theme-lumina .mobile-menu-btn.open .hamburger-line:nth-child(1),
body.is-theme-lumina .mobile-menu-btn.open .hamburger-line:nth-child(3) {
    background-color: var(--lm-gold-deep);
}

body.is-theme-lumina .mobile-menu {
    background: rgba(255, 253, 249, 0.98);
    border: 1px solid rgba(15, 46, 38, 0.12);
    box-shadow: 0 26px 56px -18px rgba(8, 28, 23, 0.28);
    border-radius: 22px;
}

body.is-theme-lumina .mobile-menu a {
    color: var(--lm-ink-soft);
    font-weight: 600;
    border-radius: 12px;
}

body.is-theme-lumina .mobile-menu a:hover,
body.is-theme-lumina .mobile-menu a.active {
    background: var(--lm-sage);
    color: var(--lm-emerald);
    border-right-color: var(--lm-gold);
}

body.is-theme-lumina .mobile-login-btn {
    background: linear-gradient(135deg, #0f2e26 0%, #17463a 100%) !important;
    border: 1px solid rgba(232, 190, 108, 0.45) !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    body.is-theme-lumina .theme-navbar {
        padding: max(0.55rem, env(safe-area-inset-top)) 0.7rem 0.4rem;
    }

    body.is-theme-lumina .navbar-glass,
    body.is-theme-lumina .navbar-glass.nav-many {
        border-radius: 18px;
        padding: 0.48rem 0.75rem;
        gap: 0.45rem;
    }

    body.is-theme-lumina .logo-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
        flex: 0 0 40px;
    }
}

/* ── Harmonized Inner Public Pages & Forms ────────────────────────────── */
body.is-theme-lumina .register-header {
    background: linear-gradient(135deg, #081c17 0%, #0f2e26 55%, #17463a 100%) !important;
    border: 1px solid rgba(232, 190, 108, 0.34) !important;
    box-shadow: 0 28px 58px -26px rgba(8, 28, 23, 0.52) !important;
}

body.is-theme-lumina .register-header .icon-box {
    background: linear-gradient(135deg, #e8be6c 0%, #c8923b 100%) !important;
    color: #081c17 !important;
    box-shadow: 0 14px 34px -10px rgba(200, 146, 59, 0.55) !important;
}

body.is-theme-lumina .register-header h1 {
    background: linear-gradient(135deg, #ffffff 18%, #f7e3b5 72%, #e8be6c 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

body.is-theme-lumina .register-header p {
    color: rgba(246, 242, 234, 0.86) !important;
}

body.is-theme-lumina .register-header .feature-badge {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(232, 190, 108, 0.28) !important;
    color: #faf7f2 !important;
}

body.is-theme-lumina .register-form-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 46, 38, 0.1) !important;
    box-shadow: 0 28px 60px -30px rgba(8, 28, 23, 0.22) !important;
}

body.is-theme-lumina .register-form-card::before,
body.is-theme-lumina .register-form-card::after {
    background: radial-gradient(circle, rgba(200, 146, 59, 0.12), rgba(15, 46, 38, 0.05) 60%, transparent 72%) !important;
}

body.is-theme-lumina .form-section-title .icon,
body.is-theme-lumina .section-icon {
    background: #ebf3ef !important;
    color: #0f2e26 !important;
}

body.is-theme-lumina .register-form-card input:focus,
body.is-theme-lumina .register-form-card select:focus,
body.is-theme-lumina .register-form-card textarea:focus {
    border-color: #17463a !important;
    box-shadow: 0 0 0 3px rgba(23, 70, 58, 0.14) !important;
}

body.is-theme-lumina .btn-submit {
    background: linear-gradient(135deg, #0f2e26 0%, #17463a 55%, #1e6b56 100%) !important;
    border: 1px solid rgba(232, 190, 108, 0.38) !important;
    box-shadow: 0 18px 36px -14px rgba(15, 46, 38, 0.58) !important;
}

body.is-theme-lumina .news-archive-section {
    background: transparent !important;
}

body.is-theme-lumina .news-archive-header h1 {
    color: var(--lm-emerald) !important;
}

body.is-theme-lumina .news-archive-header h1::after {
    background: linear-gradient(90deg, var(--lm-emerald-bright), var(--lm-gold)) !important;
}

body.is-theme-lumina .news-archive-card {
    border: 1px solid rgba(15, 46, 38, 0.1) !important;
    box-shadow: 0 14px 36px -22px rgba(8, 28, 23, 0.2) !important;
}

body.is-theme-lumina .contact-header .icon-box {
    background: linear-gradient(135deg, #0f2e26 0%, #1e6b56 60%, #c8923b 100%) !important;
    box-shadow: 0 14px 32px -10px rgba(15, 46, 38, 0.42) !important;
}

body.is-theme-lumina .contact-header h1 {
    color: var(--lm-emerald) !important;
}

body.is-theme-lumina .pp {
    --pp-ink: #12201c;
    --pp-ink-2: #374842;
    --pp-muted: #62736c;
    --pp-rose: #0f2e26;
    --pp-rose-soft: #ebf3ef;
    --pp-plum: #17463a;
    --pp-violet: #c8923b;
    --pp-blush: #faf7f2;
    --pp-lilac: #f2ece1;
    --pp-line: rgba(15, 46, 38, 0.11);
    --pp-grad: linear-gradient(135deg, #0f2e26 0%, #17463a 60%, #c8923b 100%);
    --pp-shadow: 0 22px 48px -24px rgba(8, 28, 23, 0.28);
    --pp-shadow-sm: 0 10px 26px -16px rgba(8, 28, 23, 0.22);
}

/* Harmonize _HomeStats & _HomeArticles & _AboutSchool */
body.is-theme-lumina .hs {
    --hs-ink: #12201c;
    --hs-ink-2: #374842;
    --hs-muted: #62736c;
    --hs-line: rgba(15, 46, 38, 0.11);
    --hs-grad: linear-gradient(135deg, #081c17 0%, #0f2e26 52%, #194d3f 100%);
    --hs-shadow: 0 32px 64px -28px rgba(8, 28, 23, 0.5);
}

body.is-theme-lumina .hs-container {
    max-width: 1320px;
    padding-inline: 24px;
}

body.is-theme-lumina .hs-gradient .hs-panel {
    border: 1px solid rgba(232, 190, 108, 0.26);
}

body.is-theme-lumina .hs-gradient .hs-icon {
    background: rgba(232, 190, 108, 0.15) !important;
    color: #f7e3b5 !important;
    border: 1px solid rgba(232, 190, 108, 0.28);
}

body.is-theme-lumina .hs-gradient .hs-suffix {
    color: #e8be6c;
}

body.is-theme-lumina .ha-articles {
    --ha-ink: #12201c;
    --ha-ink-2: #374842;
    --ha-muted: #62736c;
    --ha-rose: #17463a;
    --ha-plum: #0f2e26;
    --ha-line: rgba(15, 46, 38, 0.1);
}

body.is-theme-lumina .ha-container {
    max-width: 1320px !important;
    padding-inline: 24px !important;
}

body.is-theme-lumina .ha-head h2 span {
    color: var(--lm-gold-deep) !important;
}

body.is-theme-lumina .ha-eyebrow {
    background: var(--lm-sage) !important;
    color: var(--lm-emerald) !important;
}

body.is-theme-lumina .about-more-section {
    padding: 0 24px 48px !important;
}

body.is-theme-lumina .about-more {
    max-width: 1272px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 46, 38, 0.1) !important;
    border-radius: 26px !important;
    box-shadow: 0 18px 42px -28px rgba(8, 28, 23, 0.2) !important;
}

body.is-theme-lumina .about-more::before {
    background: linear-gradient(to left, rgba(200, 146, 59, 0.06), rgba(15, 46, 38, 0.03), transparent) !important;
}

body.is-theme-lumina .about-more > summary {
    color: var(--lm-emerald) !important;
}

body.is-theme-lumina .about-more > summary .mark {
    background: linear-gradient(135deg, #0f2e26, #1e6b56) !important;
    color: #f7e3b5 !important;
    box-shadow: 0 8px 18px -6px rgba(15, 46, 38, 0.45) !important;
}

body.is-theme-lumina .about-more > summary .chev {
    color: var(--lm-gold-deep) !important;
}

body.is-theme-lumina .about-more h3::before {
    background: linear-gradient(to bottom, #0f2e26, #c8923b) !important;
}

body.is-theme-lumina .about-facts .fact {
    background: #faf7f2 !important;
    border-color: rgba(15, 46, 38, 0.08) !important;
}

body.is-theme-lumina .about-facts .fact .label {
    color: var(--lm-gold-deep) !important;
}

body.is-theme-lumina .faq-item > summary .q {
    background: #ebf3ef !important;
    color: #0f2e26 !important;
}

body.is-theme-lumina .faq-item > summary .plus {
    color: var(--lm-gold-deep) !important;
}

/* ── Deep Botanical Emerald & Burnished Gold Footer (_LuminaFooter) ───── */
.lf {
    position: relative;
    z-index: 2;
    margin-top: 32px;
    font-family: Vazirmatn, Tahoma, sans-serif;
    color: rgba(242, 236, 225, 0.84);
    line-height: 1.9;
    direction: rtl;
}

.lf *,
.lf *::before,
.lf *::after {
    box-sizing: border-box;
}

.lf a {
    text-decoration: none;
}

.lf ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lf p {
    margin: 0;
}

.lf svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.lf-wrap {
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 24px;
}

.lf-pavilion {
    position: relative;
    overflow: hidden;
    padding: 52px 52px 28px;
    border-radius: 38px 38px 0 0;
    background:
        radial-gradient(640px 340px at 88% 0%, rgba(200, 146, 59, 0.18), transparent 64%),
        radial-gradient(580px 340px at 10% 100%, rgba(30, 107, 86, 0.28), transparent 64%),
        linear-gradient(155deg, #071914 0%, #0d2a22 52%, #13392f 100%);
    border: 1px solid rgba(232, 190, 108, 0.24);
    border-bottom: none;
    box-shadow: 0 -20px 64px -32px rgba(8, 28, 23, 0.56);
    isolation: isolate;
}

.lf-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(80px);
}

.lf-glow-1 {
    width: 360px;
    height: 360px;
    top: -160px;
    right: -90px;
    background: rgba(200, 146, 59, 0.22);
}

.lf-glow-2 {
    width: 340px;
    height: 340px;
    bottom: -170px;
    left: -80px;
    background: rgba(45, 160, 128, 0.2);
}

.lf-arch-ornament {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(560px, 76%);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(232, 190, 108, 0.72), transparent);
    pointer-events: none;
}

.lf-watermark {
    position: absolute;
    left: -40px;
    bottom: -36px;
    width: 290px;
    height: 290px;
    object-fit: contain;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

/* Top Quick-Enrollment Ribbon */
.lf-invite {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px 28px;
    margin-bottom: 42px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(232, 190, 108, 0.24);
    backdrop-filter: blur(14px);
}

.lf-invite-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 620px;
}

.lf-invite-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--lm-gold-pale);
}

.lf-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.22);
}

.lf-invite-copy strong {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 800;
    color: #fffdf9;
    line-height: 1.6;
}

.lf-invite-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lf-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f3d285 0%, #d49d43 58%, #b97d24 100%);
    color: #081c17;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 14px 30px -12px rgba(212, 157, 67, 0.65);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lf-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -10px rgba(212, 157, 67, 0.8);
    color: #081c17;
}

.lf-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(247, 227, 181, 0.25);
    color: #fffdf9;
    font-size: 13.5px;
    font-weight: 700;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.lf-btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(247, 227, 181, 0.45);
    color: #fffdf9;
}

/* Main Footer Columns */
.lf-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr 1.15fr 1.05fr;
    gap: 34px;
    padding-bottom: 38px;
    border-bottom: 1px solid rgba(247, 227, 181, 0.14);
}

.lf-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.lf-crest {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.08);
    border: 1px solid rgba(232, 190, 108, 0.34);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lf-crest img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.lf-brand strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #fffdf9;
}

.lf-brand small {
    display: block;
    font-size: 12px;
    color: var(--lm-gold-light);
    font-weight: 600;
}

.lf-about {
    font-size: 13.5px;
    color: rgba(242, 236, 225, 0.76);
    line-height: 2;
    margin-bottom: 20px;
}

.lf-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.lf-soc {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(247, 227, 181, 0.18);
    color: #fffdf9;
    font-size: 12px;
    font-weight: 800;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.lf-soc:hover {
    transform: translateY(-3px);
    background: rgba(232, 190, 108, 0.22);
    border-color: rgba(232, 190, 108, 0.55);
    color: #f7e3b5;
}

.lf h2 {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 800;
    color: #f7e3b5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lf h2::before {
    content: '';
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--lm-gold-light);
}

.lf-col-links ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.lf-col-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    color: rgba(242, 236, 225, 0.8);
    transition: color 0.2s ease, transform 0.2s ease;
}

.lf-col-links a svg {
    width: 14px;
    height: 14px;
    color: var(--lm-gold-light);
    opacity: 0.72;
}

.lf-col-links a:hover {
    color: #fffdf9;
    transform: translateX(-4px);
}

.lf-col-contact ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.lf-col-contact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 13.5px;
    color: rgba(242, 236, 225, 0.84);
}

.lf-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(232, 190, 108, 0.14);
    border: 1px solid rgba(232, 190, 108, 0.24);
    color: #f7e3b5;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.lf-ic svg {
    width: 16px;
    height: 16px;
}

.lf-col-contact a {
    color: #fffdf9;
    font-weight: 600;
}

.lf-col-contact a:hover {
    color: #f7e3b5;
}

.lf-phones {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.lf-sep {
    color: rgba(232, 190, 108, 0.6);
}

.lf-routes {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.lf-routes a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(247, 227, 181, 0.2);
    color: #f7e3b5;
    font-size: 12.5px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lf-routes a svg {
    width: 14px;
    height: 14px;
}

.lf-routes a:hover {
    background: rgba(232, 190, 108, 0.2);
    transform: translateY(-2px);
    color: #fffdf9;
}

.lf-portal-card {
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(232, 190, 108, 0.24);
}

.lf-portal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #f7e3b5;
    margin-bottom: 10px;
}

.lf-portal-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #fffdf9;
    line-height: 1.6;
}

.lf-portal-card p {
    font-size: 12.8px;
    color: rgba(242, 236, 225, 0.76);
    line-height: 1.9;
    margin-bottom: 16px;
}

.lf-portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 13px;
    background: rgba(247, 227, 181, 0.14);
    border: 1px solid rgba(232, 190, 108, 0.42);
    color: #fffdf9;
    font-size: 13.5px;
    font-weight: 700;
    transition: background 0.22s ease, transform 0.22s ease;
}

.lf-portal-btn:hover {
    background: rgba(232, 190, 108, 0.28);
    transform: translateY(-2px);
    color: #fffdf9;
}

.lf-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 22px;
    font-size: 13px;
    color: rgba(242, 236, 225, 0.7);
}

.lf-bottom-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lf-feed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(242, 236, 225, 0.85);
    font-size: 12px;
    font-weight: 700;
}

.lf-feed:hover {
    background: rgba(232, 190, 108, 0.2);
    color: #f7e3b5;
}

.lf-top {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(232, 190, 108, 0.16);
    border: 1px solid rgba(232, 190, 108, 0.34);
    color: #f7e3b5;
    display: grid;
    place-items: center;
    transition: transform 0.22s ease, background 0.22s ease;
}

.lf-top:hover {
    transform: translateY(-3px);
    background: rgba(232, 190, 108, 0.28);
    color: #fffdf9;
}

.lf-credit {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    opacity: 0.72;
}

.lf-credit a {
    color: #f7e3b5;
}

@media (max-width: 1080px) {
    .lf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .lf-wrap {
        padding-inline: 12px;
    }

    .lf-pavilion {
        padding: 32px 22px 24px;
        border-radius: 28px 28px 0 0;
    }

    .lf-invite {
        padding: 20px 18px;
        margin-bottom: 30px;
    }

    .lf-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
