/* =============================================
   HOSTING-SAFE CSS — Fixed for Hostinger
   Key fixes marked with [HOST-FIX]
   ============================================= */

:root {
    --gold: #C9A84C;
    --gold-light: #E8C96A;
    --gold-pale: #F5E9C4;
    --obsidian: #0A0F1C;
    --deep: #0F1B2D;
    --mid: #16263A;
    --panel: #1B2E45;
    --text: #E8E4DC;
    --muted: rgba(232,228,220,0.5);
    --shine: rgba(201,168,76,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.text-gold {
    color: var(--gold);
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--obsidian);
    color: var(--text);
    overflow-x: hidden;
    max-width: 100%;
    cursor: none;
    /* [HOST-FIX] Some Hostinger servers inject min-width via user-agent stylesheet reset */
    min-width: 0;
}

/* =========================================
   CURSOR
========================================= */
#cursor-canvas {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 9997;
    width: 100%;
    height: 100%;  /* [HOST-FIX] was 100vh — on some mobile hosting proxies 100vh causes jump */
}

#cursor-dot {
    display: none !important;
}
/* =========================================
   NOISE OVERLAY
========================================= */
body::after {
    content: "";
    position: fixed; inset: 0;
    width: 100%;
    max-width: 100vw;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9000;
    opacity: 0.4;
    will-change: auto;
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
    background: rgba(8,11,16,0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,168,76,0.12);
    padding: 0.5rem 0;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    width: 100%;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.navbar.scrolled {
    background: rgba(8,11,16,0.97);
    padding: 0.3rem 0;
    border-bottom-color: rgba(201,168,76,0.2);
}
.navbar-brand { padding: 0; }
.navbar-brand img { -webkit-transition: transform 0.3s ease; transition: transform 0.3s ease; }
.navbar-brand img:hover { -webkit-transform: scale(1.04); transform: scale(1.04); }

.nav-link {
    color: rgba(232,228,220,0.75) !important;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.5rem 1rem !important;
    position: relative;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    text-decoration: none !important;
}
.nav-link::after {
    content: "";
    position: absolute; bottom: 0; left: 50%;
    width: 0; height: 1px;
    background: var(--gold);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: width 0.35s ease;
    transition: width 0.35s ease;
}
.nav-item.active .nav-link { color: var(--gold) !important; }
.nav-link:hover { color: var(--gold) !important; }
.nav-link:hover::after { width: 60%; }
.navbar-toggler { border-color: rgba(201,168,76,0.4); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(201,168,76,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =========================================
   NOMINATE BUTTON
========================================= */
.btn-nominate {
    position: relative;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 10px;
    padding: 0.9rem 2.0rem;
    min-width: 180px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gold-light);
    background: linear-gradient(145deg, rgba(201,168,76,0.08), rgba(201,168,76,0.02));
    border: 1px solid rgba(201,168,76,0.28);
    border-radius: 100px;
    overflow: hidden;
    isolation: isolate;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 rgba(255,255,255,0), 0 8px 22px rgba(0,0,0,0.45);
    -webkit-transition: transform 0.45s cubic-bezier(0.165,0.84,0.44,1), border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease, background 0.4s ease;
    transition: transform 0.45s cubic-bezier(0.165,0.84,0.44,1), border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease, background 0.4s ease;
}
.btn-nominate::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(201,168,76,0.18) 0%, transparent 65%);
    opacity: 0;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    -webkit-transition: opacity 0.5s ease, transform 0.6s ease;
    transition: opacity 0.5s ease, transform 0.6s ease;
    z-index: -2;
}
.btn-nominate::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from 0deg, transparent, rgba(201,168,76,0.8), transparent, rgba(232,201,106,0.9), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    -webkit-animation: rotateBorder 4s linear infinite;
    animation: rotateBorder 4s linear infinite;
    opacity: 0.6;
}
.btn-nominate:hover {
    -webkit-transform: translateY(-6px) scale(1.03);
    transform: translateY(-6px) scale(1.03);
    color: #fff;
    background: linear-gradient(145deg, rgba(201,168,76,0.16), rgba(201,168,76,0.04));
    border-color: rgba(232,201,106,0.6);
    box-shadow: 0 0 20px rgba(201,168,76,0.15), 0 15px 35px rgba(0,0,0,0.55), inset 0 0 20px rgba(201,168,76,0.06);
}
.btn-nominate:hover::before { opacity: 1; -webkit-transform: scale(1.15); transform: scale(1.15); }
.btn-nominate:active { -webkit-transform: scale(0.97); transform: scale(0.97); }
.btn-nominate span { position: relative; z-index: 2; }
.btn-nominate span::after {
    content: "";
    position: absolute;
    left: 50%; bottom: -8px;
    width: 0; height: 1px;
    background: var(--gold-light);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: width 0.35s ease;
    transition: width 0.35s ease;
}

@-webkit-keyframes rotateBorder { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
@keyframes rotateBorder { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }

@media (max-width: 768px) {
    .btn-nominate {
        width: 100%;
        max-width: 280px;
        padding: 0.85rem 1.8rem;
        font-size: 0.68rem;
        letter-spacing: 2px;
    }
}

/* =========================================
   HERO
========================================= */
#home {
    min-height: 100vh;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--obsidian);
    text-align: center;
    padding: 120px 20px 60px;
    width: 100%;
}
.hero-lines {
    position: absolute; inset: 0; z-index: 0;
    overflow: hidden;
    width: 100%;
}
.hero-lines::before, .hero-lines::after {
    content: "";
    position: absolute;
    width: 1px; height: 200%;
    background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.15), transparent);
}
.hero-lines::before { left: 25%; top: -50%; -webkit-transform: rotate(15deg); transform: rotate(15deg); -webkit-animation: lineFloat 8s ease-in-out infinite; animation: lineFloat 8s ease-in-out infinite; }
.hero-lines::after { right: 25%; top: -50%; -webkit-transform: rotate(-15deg); transform: rotate(-15deg); -webkit-animation: lineFloat 8s ease-in-out infinite 2s; animation: lineFloat 8s ease-in-out infinite 2s; }
@-webkit-keyframes lineFloat { 0%,100% { opacity:0.4; } 50% { opacity:1; } }
@keyframes lineFloat { 0%,100% { opacity:0.4; } 50% { opacity:1; } }

.hero-inner { position: relative; z-index: 2; max-width: 100%; }
.hero-eyebrow {
    font-size: 0.72rem; letter-spacing: 5px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 2rem; opacity: 0;
    -webkit-animation: fadeUp 0.8s ease 0.3s forwards;
    animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 300; color: var(--text);
    line-height: 0.9; letter-spacing: -2px;
    opacity: 0;
    -webkit-animation: fadeUp 1s ease 0.5s forwards;
    animation: fadeUp 1s ease 0.5s forwards;
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-year {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1rem, 3vw, 1.6rem);
    letter-spacing: 10px; color: var(--muted);
    margin-top: 0.5rem; opacity: 0;
    -webkit-animation: fadeUp 0.8s ease 0.7s forwards;
    animation: fadeUp 0.8s ease 0.7s forwards;
}
.hero-divider {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin: 2.5rem auto; opacity: 0;
    -webkit-animation: fadeUp 0.8s ease 0.9s forwards;
    animation: fadeUp 0.8s ease 0.9s forwards;
}
.acronym-grid {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left; margin-bottom: 2.5rem;
    opacity: 0;
    -webkit-animation: fadeUp 0.8s ease 1.1s forwards;
    animation: fadeUp 0.8s ease 1.1s forwards;
}
.acronym-item {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 1.2rem;
    font-size: clamp(0.8rem, 2vw, 1rem);
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(232,228,220,0.7);
}
.acronym-letter {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.9rem, 4vw, 2.2rem);
    font-weight: 700; color: var(--gold);
    width: 2rem; text-align: center; line-height: 1;
}
.hero-desc {
    max-width: 990px; margin: 0 auto 2.5rem;
    font-size: 0.95rem; line-height: 1.9;
    color: var(--muted); font-weight: 300;
    opacity: 0;
    -webkit-animation: fadeUp 0.8s ease 1.3s forwards;
    animation: fadeUp 0.8s ease 1.3s forwards;
}
.hero-desc span {
    display: inline-block;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: var(--gold);
}
.hero-cta-wrap {
    display: -webkit-flex;
    display: flex;
    gap: 1rem;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    opacity: 0;
    -webkit-animation: fadeUp 0.8s ease 1.5s forwards;
    animation: fadeUp 0.8s ease 1.5s forwards;
}

.btn-primary-gold {
    background: var(--gold); color: var(--obsidian);
    border: none; font-size: 0.78rem;
    letter-spacing: 2.5px; text-transform: uppercase;
    padding: 0.9rem 2.4rem; border-radius: 0; font-weight: 500;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
    position: relative; overflow: hidden;
    text-decoration: none; display: inline-block;
    color: var(--obsidian) !important;
}
.btn-primary-gold::before {
    content: "";
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    -webkit-transition: left 0.6s ease;
    transition: left 0.6s ease;
}
.btn-primary-gold:hover::before { left: 100%; }
.btn-primary-gold:hover { background: var(--gold-light); color: var(--obsidian) !important; -webkit-transform: translateY(-2px); transform: translateY(-2px); }

.btn-outline-gold {
    background: transparent; color: var(--gold);
    border: 1px solid var(--gold); font-size: 0.78rem;
    letter-spacing: 2.5px; text-transform: uppercase;
    padding: 0.9rem 2.4rem; border-radius: 0;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
    text-decoration: none; display: inline-block;
    color: var(--gold) !important;
}
.btn-outline-gold:hover { background: rgba(201,168,76,0.1); color: var(--gold-light) !important; -webkit-transform: translateY(-2px); transform: translateY(-2px); }

@-webkit-keyframes fadeUp {
    from { opacity:0; -webkit-transform:translateY(30px); transform:translateY(30px); }
    to { opacity:1; -webkit-transform:translateY(0); transform:translateY(0); }
}
@keyframes fadeUp {
    from { opacity:0; -webkit-transform:translateY(30px); transform:translateY(30px); }
    to { opacity:1; -webkit-transform:translateY(0); transform:translateY(0); }
}

.particles { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.particle {
    position: absolute; width: 2px; height: 2px;
    background: var(--gold); border-radius: 50%;
    -webkit-animation: particleRise linear infinite;
    animation: particleRise linear infinite;
    opacity: 0;
}
@-webkit-keyframes particleRise {
    0% { -webkit-transform: translateY(100vh) translateX(0); transform: translateY(100vh) translateX(0); opacity:0; }
    10% { opacity:0.6; }
    90% { opacity:0.3; }
    100% { -webkit-transform: translateY(-10vh) translateX(40px); transform: translateY(-10vh) translateX(40px); opacity:0; }
}
@keyframes particleRise {
    0% { -webkit-transform: translateY(100vh) translateX(0); transform: translateY(100vh) translateX(0); opacity:0; }
    10% { opacity:0.6; }
    90% { opacity:0.3; }
    100% { -webkit-transform: translateY(-10vh) translateX(40px); transform: translateY(-10vh) translateX(40px); opacity:0; }
}

/* =========================================
   MARQUEE
========================================= */
.marquee-strip {
    background: var(--gold);
    overflow: hidden;
    padding: 0.7rem 0;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    display: block;
}
.marquee-track {
    display: -webkit-inline-flex;
    display: inline-flex;
    gap: 3rem;
    -webkit-animation: marquee 20s linear infinite;
    animation: marquee 20s linear infinite;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
@-webkit-keyframes marquee { from { -webkit-transform:translateX(0); transform:translateX(0); } to { -webkit-transform:translateX(-50%); transform:translateX(-50%); } }
@keyframes marquee { from { -webkit-transform:translateX(0); transform:translateX(0); } to { -webkit-transform:translateX(-50%); transform:translateX(-50%); } }
.marquee-item {
    font-size: 0.72rem; letter-spacing: 3px;
    text-transform: uppercase; color: var(--obsidian); font-weight: 500;
    white-space: nowrap;
}
.marquee-dot { color: var(--obsidian); opacity: 0.4; }

/* =========================================
   SECTIONS
========================================= */
section { padding: 110px 0; position: relative; z-index: 2; }
.section-label {
    font-size: 1.3rem; letter-spacing: 5px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 1.2rem;
}
.section-heading {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 300; line-height: 1.1; color: var(--text);
}
.section-heading em { color: var(--gold); font-style: italic; }

/* ABOUT */
#about { background: var(--deep); }
.about-stat {
    border: 1px solid rgba(201,168,76,0.2);
    padding: 2rem 1.5rem; text-align: center;
    position: relative; overflow: hidden;
    -webkit-transition: border-color 0.35s;
    transition: border-color 0.35s;
}
.about-stat::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.05), transparent);
    opacity: 0;
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}
.about-stat:hover { border-color: var(--gold); }
.about-stat:hover::before { opacity: 1; }
.about-stat-num {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.5rem; font-weight: 300;
    color: var(--gold); line-height: 1;
}
.about-stat-label {
    font-size: 0.72rem; letter-spacing: 3px;
    text-transform: uppercase; color: var(--muted); margin-top: 0.5rem;
}
.gold-rule { width: 40px; height: 1px; background: var(--gold); margin: 1.5rem 0; }

/* CATEGORIES */
#categories { background: var(--obsidian); }
.cat-card {
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 10px;
    padding: 3rem 2rem;
    position: relative; overflow: hidden;
    -webkit-transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%; cursor: default;
}
.cat-card::before {
    content: ""; position: absolute; bottom: 0; left: 0;
    width: 100%; height: 0;
    background: linear-gradient(to top, rgba(201,168,76,0.08), transparent);
    -webkit-transition: height 0.5s ease;
    transition: height 0.5s ease;
}
.cat-card:hover { border-color: rgba(201,168,76,0.5); -webkit-transform: translateY(-6px); transform: translateY(-6px); }
.cat-card:hover::before { height: 100%; }
.cat-icon {
    font-size: 2.5rem; margin-bottom: 1.5rem;
    display: block; line-height: 1;
    -webkit-transition: transform 0.4s ease;
    transition: transform 0.4s ease;
}
.cat-card:hover .cat-icon { -webkit-transform: scale(1.15) rotate(-5deg); transform: scale(1.15) rotate(-5deg); }
.cat-num {
    position: absolute; top: 1.5rem; right: 1.5rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 3.5rem; font-weight: 300;
    color: rgb(129, 129, 129); line-height: 1;
    -webkit-transition: color 0.4s;
    transition: color 0.4s;
}
.cat-card:hover .cat-num { color: rgba(219, 174, 49, 0.15); }
.cat-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem; font-weight: 600;
    color: var(--text); margin-bottom: 0.75rem;
}

.cat-title span{
    display: block;
}

.cat-desc { font-size: 0.88rem; color: rgba(177, 175, 175, 0.801); line-height: 1.8; }

/* FAQ */
#faq { background: var(--deep); }
.faq-item { border-bottom: 1px solid rgba(201,168,76,0.15); padding: 0; overflow: hidden; }
.faq-trigger {
    width: 100%; background: none; border: none;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 1.5rem 0; text-align: left;
    color: var(--text); font-size: 1rem; font-weight: 400;
    cursor: pointer; gap: 1rem;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    font-family: "DM Sans", sans-serif;
    -webkit-appearance: none;
    appearance: none;
}
.faq-trigger:hover { color: var(--gold); }
.faq-trigger.active { color: var(--gold); }
.faq-icon {
    width: 26px; height: 26px;
    min-width: 26px; 
    flex-shrink: 0;
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: 50%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    font-size: 1rem; color: var(--gold);
    -webkit-transition: transform 0.3s ease, background 0.3s;
    transition: transform 0.3s ease, background 0.3s;
    line-height: 1;
}
.faq-trigger.active .faq-icon {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background: var(--gold); color: var(--obsidian);
    border-color: var(--gold);
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.6s ease-in-out;
    transition: max-height 0.6s ease-in-out;
}
.faq-body.open { max-height: 200px; }
.faq-body-inner {
    padding-bottom: 1.5rem;
    font-size: 0.92rem; color: var(--muted); line-height: 1.9;
}

/* FOOTER */
footer {
    background: var(--obsidian);
    border-top: 1px solid rgba(201,168,76,0.12);
    padding: 70px 0 30px;
    width: 100%;
}
.footer-links h6 {
    font-size: 0.9rem; letter-spacing: 4px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem;
}
.footer-links a {
    display: block; color: var(--muted);
    text-decoration: none; font-size: 0.9rem;
    margin-bottom: 0.75rem;
    -webkit-transition: color 0.3s, padding-left 0.3s;
    transition: color 0.3s, padding-left 0.3s;
    color: var(--muted) !important;
}
.footer-links a:hover { color: var(--gold) !important; padding-left: 4px; }

.social-row {
    display: -webkit-flex;
    display: flex;
    gap: 0.75rem; margin-top: 1.5rem;
}
.social-circle {
    width: 38px; height: 38px;
    min-width: 38px; 
    border: 1px solid rgba(201,168,76,0.35);
    border-radius: 50%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    color: rgba(201,168,76,0.7);
    text-decoration: none;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
    color: rgba(201,168,76,0.7) !important;
}
.social-circle:hover {
    background: var(--gold); border-color: var(--gold);
    color: var(--obsidian) !important;
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}
.contact-line {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    gap: 1rem; margin-bottom: 1rem;
}
.contact-icon { font-size: 1.6rem; margin-top: 2px; flex-shrink: 0; color: var(--gold); }
.contact-text { font-size: 0.99rem; color: var(--muted); line-height: 1.6; margin-top: 7px; }
.footer-bottom {
    border-top: 1px solid rgba(201,168,76,0.08);
    margin-top: 3rem; padding-top: 1.5rem;
    font-size: 0.75rem;
    color: rgba(232,228,220,0.25);
    letter-spacing: 1px;
}

/* REVEAL */
.reveal {
    opacity: 0;
    -webkit-transform: translateY(40px);
    transform: translateY(40px);
    -webkit-transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.visible { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
.reveal-delay-1 { -webkit-transition-delay: 0.1s; transition-delay: 0.1s; }
.reveal-delay-2 { -webkit-transition-delay: 0.2s; transition-delay: 0.2s; }
.reveal-delay-3 { -webkit-transition-delay: 0.3s; transition-delay: 0.3s; }
.reveal-delay-4 { -webkit-transition-delay: 0.4s; transition-delay: 0.4s; }

@-webkit-keyframes scrollPulse {
    0%,100% { opacity:0.3; -webkit-transform:scaleY(1); transform:scaleY(1); }
    50% { opacity:1; -webkit-transform:scaleY(1.1); transform:scaleY(1.1); }
}
@keyframes scrollPulse {
    0%,100% { opacity:0.3; -webkit-transform:scaleY(1); transform:scaleY(1); }
    50% { opacity:1; -webkit-transform:scaleY(1.1); transform:scaleY(1.1); }
}

#progress-bar {
    position: fixed; top: 0; left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 10001; width: 0%;
    -webkit-transition: width 0.1s linear;
    transition: width 0.1s linear;
}
.fancy-hr {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 1rem; margin: 2rem 0;
}
.fancy-hr::before, .fancy-hr::after {
    content: ""; flex: 1; height: 1px;
    background: rgba(201,168,76,0.2);
}
.fancy-hr-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .cat-card { margin-bottom: 1rem; }
}

/* =========================================
   PAGE HEADER (About, Categories, etc.)
========================================= */
.page-header {
    min-height: 60vh;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--obsidian);
    text-align: center;
    padding: 150px 20px 60px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    width: 100%;
}
.page-header::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(201,168,76,0.05) 0%, transparent 60%);
}
.page-header .hero-title {
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--text); opacity: 0;
    -webkit-animation: fadeUp 0.8s ease 0.4s forwards;
    animation: fadeUp 0.8s ease 0.4s forwards;
}
.page-header .hero-title em { color: var(--gold); font-style: italic; }
.page-header .hero-eyebrow {
    font-size: 0.72rem; letter-spacing: 5px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 1.5rem; opacity: 0;
    -webkit-animation: fadeUp 0.8s ease 0.2s forwards;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.bg-deep { background-color: var(--deep); }
.bg-obsideian { background-color: var(--obsidian); }


/* CONTENT BOX */
.content-box {
    padding: 3.5rem 2.5rem;
    border: 1px solid rgba(201,168,76,0.15);
    background: rgba(15, 27, 45, 0.4);
    height: 100%;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.content-box.dark-box { background: rgba(10, 15, 28, 0.6); }
.content-box:hover {
    border-color: rgba(201,168,76,0.5);
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
    background: rgba(15, 27, 45, 0.8);
}
.content-box::before {
    content: ""; position: absolute; bottom: 0; left: 0;
    width: 100%; height: 0;
    background: linear-gradient(to top, rgba(201,168,76,0.05), transparent);
    -webkit-transition: height 0.5s ease;
    transition: height 0.5s ease;
}
.content-box:hover::before { height: 100%; }
.box-icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 1.5rem; display: block; }
.box-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem; color: var(--text); margin-bottom: 1.2rem; font-weight: 400;
}
.lead-text {
    font-size: 1.15rem; color: var(--text);
    line-height: 1.9; font-weight: 300; margin-bottom: 2rem;
}
p { line-height: 1.9; font-size: 0.95rem; font-weight: 300; color: var(--muted); }

/* CATEGORIES PAGE */
#categories-list .cat-card { padding: 2.5rem 1.5rem; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; }
#categories-list .cat-title { font-size: 1.3rem; min-height: 3rem; }
#categories-list .cat-desc { font-size: 0.85rem; line-height: 1.7; margin-bottom: 0; -webkit-flex-grow: 1; flex-grow: 1; }
.reveal-delay-3 { -webkit-transition-delay: 0.45s; transition-delay: 0.45s; }
.reveal-delay-4 { -webkit-transition-delay: 0.6s; transition-delay: 0.6s; }
@media (max-width: 991px) {
    #categories-list .cat-title { min-height: auto; }
    .reveal-delay-3 { -webkit-transition-delay: 0.15s; transition-delay: 0.15s; }
    .reveal-delay-4 { -webkit-transition-delay: 0.3s; transition-delay: 0.3s; }
}

/* TERMS & POLICY */
#terms-policy { position: relative; z-index: 10; background-color: var(--deep); padding: 100px 0; display: block; width: 100%; clear: both; }
#terms-policy .dark-box { background-color: var(--obsidian); height: auto !important; border: 1px solid rgba(201,168,76,0.2); position: relative; z-index: 15; }
.policy-list { list-style: none; padding-left: 0; margin: 1.5rem 0 0 0; }
.policy-list li { position: relative; padding-left: 2rem; margin-bottom: 1.2rem; font-size: 0.95rem; line-height: 1.9; color: var(--muted); font-weight: 300; }
.policy-list li::before { content: "❖"; position: absolute; left: 0; top: 2px; color: var(--gold); font-size: 1.1rem; line-height: 1.5; }
.policy-footer-note { text-align: center; margin-top: 3.5rem; padding: 2.5rem 1rem; border-top: 1px solid rgba(201,168,76,0.15); border-bottom: 1px solid rgba(201,168,76,0.15); background: linear-gradient(90deg, transparent, rgba(201,168,76,0.04), transparent); }
.policy-footer-note p { font-family: "Cormorant Garamond", serif; font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--gold); margin: 0; font-style: italic; font-weight: 400; }
.diamond-icon { font-style: normal; font-size: 1.2rem; margin-right: 10px; vertical-align: middle; }

/* GALLERY */
.gallery-category-block { margin-top: 5rem; padding-top: 2rem; border-top: 1px solid rgba(201, 168, 76, 0.1); }
.category-header { margin-bottom: 2.5rem; }
.category-header h3 { font-family: "Cormorant Garamond", serif; font-size: 2.2rem; color: var(--gold); font-weight: 400; margin-bottom: 0.5rem; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 12px; }
.category-header h3 span { font-size: 1.8rem; }
.category-header p { font-size: 1rem; color: var(--text); opacity: 0.8; margin-bottom: 0; margin-left: 3.2rem; }
.photo-frame { width: 100%; aspect-ratio: 4 / 3; position: relative; overflow: hidden; border-radius: 4px; background: var(--obsidian); border: 1px solid rgba(201, 168, 76, 0.15); box-shadow: 0 4px 15px rgba(0,0,0,0.4); cursor: pointer; -webkit-transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; z-index: 1; -webkit-transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.photo-frame::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,15,28,0.9) 0%, transparent 50%); z-index: 2; opacity: 0.7; -webkit-transition: opacity 0.5s ease; transition: opacity 0.5s ease; pointer-events: none; }
.photo-frame::after { content: ''; position: absolute; top: 0; left: -150%; width: 70%; height: 100%; background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.25), transparent); -webkit-transform: skewX(-25deg); transform: skewX(-25deg); z-index: 3; pointer-events: none; }
.photo-frame:hover { border-color: var(--gold); box-shadow: 0 10px 30px rgba(201, 168, 76, 0.15), 0 15px 40px rgba(0,0,0,0.6); -webkit-transform: translateY(-6px); transform: translateY(-6px); }
.photo-frame:hover img { -webkit-transform: scale(1.08); transform: scale(1.08); }
.photo-frame:hover::before { opacity: 0.2; }
.photo-frame:hover::after { -webkit-animation: goldSweep 0.8s forwards ease-in-out; animation: goldSweep 0.8s forwards ease-in-out; }
@-webkit-keyframes goldSweep { 0% { left: -100%; } 100% { left: 200%; } }
@keyframes goldSweep { 0% { left: -100%; } 100% { left: 200%; } }
@media (max-width: 767px) {
    .category-header h3 { font-size: 1.8rem; }
    .category-header p { margin-left: 2.8rem; font-size: 0.9rem; }
    .photo-frame { aspect-ratio: 1 / 1; }
}

/* EVENT PAGE */
.event-block { margin-top: 5rem; padding-top: 3rem; border-top: 1px solid rgba(201, 168, 76, 0.1); }
.event-block:first-of-type { margin-top: 2rem; border-top: none; padding-top: 0; }
.event-header { margin-bottom: 2.5rem; max-width: 800px; }
.event-header h3 { font-family: "Cormorant Garamond", serif; font-size: 2.2rem; color: var(--text); font-weight: 400; margin-bottom: 0.5rem; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 12px; }
.event-header h3 span { font-size: 1.8rem; display: inline-block; -webkit-animation: floatIcon 3s ease-in-out infinite; animation: floatIcon 3s ease-in-out infinite; }
@-webkit-keyframes floatIcon {
    0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
    50% { -webkit-transform: translateY(-6px); transform: translateY(-6px); }
}
@keyframes floatIcon {
    0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); text-shadow: 0 0 10px rgba(201,168,76,0); }
    50% { -webkit-transform: translateY(-6px); transform: translateY(-6px); text-shadow: 0 5px 15px rgba(201,168,76,0.6); }
}
.event-header p { font-size: 1.05rem; color: var(--muted); margin-left: 3.2rem; line-height: 1.8; }
.event-frame { width: 100%; aspect-ratio: 16 / 9; position: relative; background: var(--obsidian); cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.4); -webkit-transition: all 0.5s ease; transition: all 0.5s ease; overflow: hidden; }
.event-frame img { width: 100%; height: 100%; object-fit: cover; -webkit-filter: brightness(0.85); filter: brightness(0.85); -webkit-transform: scale(1.05); transform: scale(1.05); -webkit-transition: transform 1.5s ease-out, filter 0.8s ease; transition: transform 1.5s ease-out, filter 0.8s ease; }
.event-frame::before, .event-frame::after { content: ""; position: absolute; width: 0; height: 0; box-sizing: border-box; border: 2px solid transparent; z-index: 5; pointer-events: none; }
.event-frame::before { top: 0; left: 0; }
.event-frame::after { bottom: 0; right: 0; }
.event-frame:hover { -webkit-transform: translateY(-5px); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 20px rgba(201,168,76,0.15); }
.event-frame:hover img { -webkit-filter: brightness(1.1); filter: brightness(1.1); -webkit-transform: scale(1.1) translate(-2%, 2%); transform: scale(1.1) translate(-2%, 2%); }
.event-frame:hover::before { width: 100%; height: 100%; border-top-color: var(--gold); border-right-color: var(--gold); -webkit-transition: width 0.3s ease-out, height 0.3s ease-out 0.3s; transition: width 0.3s ease-out, height 0.3s ease-out 0.3s; }
.event-frame:hover::after { width: 100%; height: 100%; border-bottom-color: var(--gold); border-left-color: var(--gold); -webkit-transition: width 0.3s ease-out, height 0.3s ease-out 0.3s; transition: width 0.3s ease-out, height 0.3s ease-out 0.3s; }
@media (max-width: 767px) { .event-header p { margin-left: 0; margin-top: 10px; } }

/* =========================================
   CONTACT
========================================= */
.contact-info-block {
    display: -webkit-flex;
    display: flex;
    gap: 1.5rem;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}
.contact-info-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-info-icon {
    width: 50px; height: 50px;
    min-width: 50px; min-height: 50px;
    border-radius: 50%;
    background: rgba(201,168,76,0.05);
    border: 1px solid rgba(201,168,76,0.35);
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    line-height: 1;
}
.contact-info-block:hover .contact-info-icon {
    background: rgba(201,168,76,0.15);
    -webkit-transform: scale(1.1) rotate(-5deg);
    transform: scale(1.1) rotate(-5deg);
    border-color: var(--gold);
}
.contact-info-content {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    min-width: 0;
}
.contact-info-content h5 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem; color: var(--text);
    margin-bottom: 0.2rem; font-weight: 400; line-height: 1.2;
}
.contact-info-content p {
    margin-bottom: 0; font-size: 0.95rem;
    color: var(--muted); word-break: break-word;
}

/* MAP */
.map-wrapper { width: 100%; height: 100%; min-height: 400px; border-radius: 4px; overflow: hidden; position: relative; }
.map-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; -webkit-filter: contrast(1.1) opacity(0.85); filter: contrast(1.1) opacity(0.85); -webkit-transition: filter 0.4s ease; transition: filter 0.4s ease; }
.map-wrapper iframe:hover { -webkit-filter: contrast(1.1) opacity(1); filter: contrast(1.1) opacity(1); }


/* =============================================
   MOBILE FIXES
   All changes scoped to mobile only (max 991px)
   Hostinger-safe with -webkit- prefixes
   ============================================= */

@media (max-width: 991px) {

    /* =========================================
       FIX 2: CATEGORIES PAGE — Keep title on
       two lines inside card (no overflow/wrapping
       to new card row on mobile)
    ========================================= */
    #categories-list .cat-title {
   font-size: 1.15rem;
        line-height: 1.3;
        min-height: auto; 
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    .cat-title span{
        display: inline;
    }


    #categories-list .cat-desc {
        font-size: 0.83rem;
        line-height: 1.65;
    }

    #categories-list .cat-card {
        padding: 2rem 1.2rem;
    }

    #categories-list .cat-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    #categories-list .cat-num {
        font-size: 2.5rem;
        top: 1rem;
        right: 1rem;
    }


    /* =========================================
       FIX 3: NAVBAR — Mobile hamburger menu
       clean & styled list items
    ========================================= */

    /* Menu backdrop when open */
    #navbarNav.show {
        background: rgba(8, 11, 16, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(201, 168, 76, 0.15);
        padding: 1rem 0 1.5rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    }

    /* Each nav item */
    #navbarNav .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(201, 168, 76, 0.07);
        margin: 0 1rem;
    }

    #navbarNav .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    /* Nav links styling in mobile menu */
    #navbarNav .navbar-nav .nav-link {
        padding: 0.85rem 0.5rem !important;
        font-size: 0.8rem !important;
        letter-spacing: 2.5px;
        color: rgba(232, 228, 220, 0.7) !important;
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-transition: color 0.3s ease, padding-left 0.3s ease;
        transition: color 0.3s ease, padding-left 0.3s ease;
        position: relative;
    }

    /* Small gold arrow on right side of each item */
    #navbarNav .navbar-nav .nav-link::before {
        content: "›";
        position: static;
        background: none;
        width: auto;
        height: auto;
        color: rgba(201, 168, 76, 0.3);
        font-size: 1.2rem;
        line-height: 1;
        -webkit-transition: color 0.3s ease, -webkit-transform 0.3s ease;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    /* Remove the underline pseudo-element on mobile */
    #navbarNav .navbar-nav .nav-link::after {
        display: none !important;
    }

    /* Hover state */
    #navbarNav .navbar-nav .nav-link:hover {
        color: var(--gold) !important;
        padding-left: 0.8rem !important;
    }

    #navbarNav .navbar-nav .nav-link:hover::before {
        color: var(--gold);
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }

    /* Active page highlight */
    #navbarNav .navbar-nav .nav-item.active .nav-link {
        color: var(--gold) !important;
    }

    #navbarNav .navbar-nav .nav-item.active .nav-link::before {
        color: var(--gold);
    }

    /* Nominate button in mobile menu */
    #navbarNav .d-flex {
        -webkit-justify-content: center;
        justify-content: center;
        padding: 1rem 1rem 0;
        border-top: 1px solid rgba(201, 168, 76, 0.1);
        margin-top: 0.5rem;
    }

    /* Hamburger toggler button */
    .navbar-toggler {
        padding: 0.35rem 0.6rem;
        border-color: rgba(201, 168, 76, 0.35) !important;
        border-radius: 6px;
        -webkit-transition: background 0.3s ease;
        transition: background 0.3s ease;
    }

    .navbar-toggler:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.25);
    }

    .navbar-toggler[aria-expanded="true"] {
        background: rgba(201, 168, 76, 0.08);
        border-color: rgba(201, 168, 76, 0.5) !important;
    }

    .footer-bottom{
        padding-left: 50px;
    }

    .footer-icon{
       text-align: center;
    }
    .mobile-button{
        text-align: center;
    }
}
/* End of mobile fixes */

.invite-card {
  border: 1px solid rgba(201,168,76,0.18);
  background: var(--deep);
  height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  -webkit-transition: transform 0.5s cubic-bezier(0.165,0.84,0.44,1),
                      border-color 0.4s ease,
                      box-shadow 0.4s ease;
  transition: transform 0.5s cubic-bezier(0.165,0.84,0.44,1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}
 
.invite-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04), transparent 50%);
  opacity: 0;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}
 
.invite-card:hover {
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.55);
  box-shadow: 0 20px 40px rgba(0,0,0,0.55),
              0 0 25px rgba(201,168,76,0.1);
}
 
.invite-card:hover::before { opacity: 1; }
 
/* ── Image wrapper ──
   [HOST-FIX] Hostinger CSS Minifiers commonly drop CSS values that contain decimals. 
   When 'aspect-ratio: 3 / 4.2' is dropped, the container loses its height rules, causing 
   the flex box to infinitely expand to the image's massive raw pixel size resulting 
   in the horizontal crop blowing across columns.
   
   Replaced 'aspect-ratio' with the universally safe `padding-bottom` hack coupled 
   with `position: absolute` on the image child.
*/
.invite-img-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 140%; /* 4.2 / 3 = 1.4 = 140% */
  overflow: hidden;
  background: var(--obsidian);
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}
 
.invite-img-wrap img {
  position: absolute; /* [HOST-FIX] Binds the image cleanly to the new strict wrapper height */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  -webkit-transition: -webkit-transform 1.2s cubic-bezier(0.165,0.84,0.44,1),
                      filter 0.6s ease;
  transition: transform 1.2s cubic-bezier(0.165,0.84,0.44,1),
              filter 0.6s ease;
  filter: brightness(0.95);
}
 
.invite-card:hover .invite-img-wrap img {
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
  filter: brightness(1.05);
}
 
/* Bottom gradient so chapter badge is readable */
.invite-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,15,28,0.88) 0%,
    rgba(10,15,28,0.1) 18%,
    transparent 35%
  );
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-end;
  align-items: flex-end;
  padding: 1.2rem;
  z-index: 3;
  pointer-events: none;
}
 
/* Gold shimmer sweep on hover */
.invite-img-wrap::after {
  content: "";
  position: absolute;
  top: 0; left: -140%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(201,168,76,0.18),
    transparent
  );
  -webkit-transform: skewX(-20deg);
  transform: skewX(-20deg);
  z-index: 4;
  pointer-events: none;
}
 
.invite-card:hover .invite-img-wrap::after {
  -webkit-animation: inviteSweep 0.9s ease forwards;
  animation: inviteSweep 0.9s ease forwards;
}
 
@-webkit-keyframes inviteSweep {
  0%   { left: -140%; }
  100% { left: 180%; }
}
@keyframes inviteSweep {
  0%   { left: -140%; }
  100% { left: 180%; }
}
 
/* Inner gold border reveal on hover */
.invite-img-wrap::before {
  content: "";
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border: 1px solid rgba(201,168,76,0.0);
  z-index: 4;
  pointer-events: none;
  -webkit-transition: border-color 0.4s ease;
  transition: border-color 0.4s ease;
}
 
.invite-card:hover .invite-img-wrap::before {
  border-color: rgba(201,168,76,0.35);
}
 
/* Chapter badge */
.invite-chapter-badge {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--gold);
  padding: 0.25rem 0.7rem;
  font-weight: 700;
  position: relative;
  z-index: 5;
  pointer-events: none;
}
 
/* ── Card body ── */
.invite-body {
  padding: 1.6rem 1.5rem;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}
 
/* Meta row */
.invite-meta {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  gap: 0.5rem;
}
 
.invite-edition {
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
 
.invite-date-pill {
  font-size: 0.58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--gold);
  padding: 0.15rem 0.55rem;
  font-weight: 700;
  white-space: nowrap;
}
 
/* Title */
.invite-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
 
.invite-card:hover .invite-title { color: var(--gold-light); }
 
/* Animated gold underline */
.invite-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin-top: 0.7rem;
  -webkit-transition: width 0.4s ease;
  transition: width 0.4s ease;
}
 
.invite-card:hover .invite-title::after { width: 55px; }
 
/* Footer */
.invite-footer {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(201,168,76,0.12);
  padding-top: 1rem;
  margin-top: 1.2rem;
}
 
.invite-partners {
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(232,228,220,0.3);
  line-height: 1.5;
}
 
/* CTA */
.invite-cta {
  font-size: 0.63rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  /* [HOST-FIX] override Bootstrap anchor color */
  color: var(--gold) !important;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
 
.invite-cta span {
  display: inline-block;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
}
 
.invite-cta:hover { color: var(--gold-light) !important; }
.invite-cta:hover span { -webkit-transform: translateX(5px); transform: translateX(5px); }
 
/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 767px) {
  .invite-img-wrap {
    /* [HOST-FIX] Replaces aspect-ratio for mobile */
    padding-bottom: 133.333%;
  }
  .invite-body {
    padding: 1.2rem 1.1rem;
  }
  .invite-title {
    font-size: 1.15rem;
  }
  .invite-edition {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
  }
}

/* --- Luxury Partner Logo Discs --- */
.partner-wrapper {
    padding: 2rem 0;
}

.partner-card {
    text-align: center;
    background: transparent;
    padding: 20px;
    transition: all 0.5s ease;
}

/* The White Logo Disc */
.logo-disc {
    width: 130px; /* Reduced size for elegance */
    height: 130px;
    background: #ffffff !important; /* Forced white background */
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* Internal spacing to keep logo small */
    position: relative;
    border: 1px solid rgba(201, 168, 76, 0.2);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

.logo-disc img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Animation */
.partner-card:hover .logo-disc {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(201, 168, 76, 0.25);
}

.partner-card:hover .logo-disc img {
    transform: scale(1.08);
}

/* Gold Shadow Glow Beneath the Disc on Hover */
.logo-disc::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 15%;
    width: 70%;
    height: 8px;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.5) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.partner-card:hover .logo-disc::after {
    opacity: 1;
    bottom: -15px;
}

/* Labels */
.partner-role {
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
    display: block;
    font-weight: 600;
}

.partner-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    color: var(--text);
    margin: 0;
    font-weight: 500;
}

/* Mobile adjust */
@media (max-width: 768px) {
    .logo-disc {
        width: 100px;
        height: 100px;
        padding: 15px;
    }
    .partner-name { font-size: 1rem; }
}