:root {
    --primary-gold: #FFD700;
    --dark-gold: #b8860b;
    --light-gold: #f2c200;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: rgba(255, 255, 255, 0.04);
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --text-dark: #888888;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.7);
    --border-gold: rgba(255, 215, 0, 0.2);
    --glow: 0 0 30px rgba(255, 215, 0, 0.25);
    --glow-strong: 0 0 60px rgba(255, 215, 0, 0.45);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    cursor: none;
}

/*CUSTOM CURSOR */
#cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease, opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
    will-change: transform, left, top;
}

#cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 215, 0, 0.55);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.3s ease,
        background 0.3s ease,
        opacity 0.2s ease;
    will-change: transform, left, top;
}

#cursor-ring.hovering {
    width: 58px;
    height: 58px;
    border-color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.06);
}

#cursor-ring.clicking {
    width: 28px;
    height: 28px;
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--primary-gold);
}

#cursor-dot.clicking {
    width: 12px;
    height: 12px;
}

/* ── SCROLL BAR ── */
#scrollBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(to right, var(--dark-gold), var(--primary-gold), var(--light-gold));
    z-index: 9999;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    transition: width 0.1s linear;
}

/* ── BACK TO TOP ── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: var(--transition);
    z-index: 500;
    backdrop-filter: blur(8px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--primary-gold);
    color: var(--bg-darker);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--glow);
}

/* ── PRELOADER ── */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}

.loader-wrapper.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.emblem-loader {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.inner-emblem {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-gold);
    letter-spacing: 3px;
    text-shadow: var(--glow-strong);
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 2;
}

.gold-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dotted transparent;
    border-top-color: var(--primary-gold);
    border-bottom-color: rgba(255, 215, 0, 0.2);
    width: 140px;
    height: 140px;
    animation: spinRing 1.8s linear infinite;
}

.gold-ring-2 {
    width: 95px;
    height: 95px;
    border-top-color: var(--light-gold);
    border-bottom-color: transparent;
    border-left-color: rgba(255, 215, 0, 0.15);
    animation: spinRing 2.4s linear infinite reverse;
}

.loader-text {
    font-family: 'Raleway', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text-dark);
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes spinRing {
    to {
        transform: rotate(360deg);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 20px rgba(255, 215, 0, .4);
    }

    50% {
        transform: scale(1.08);
        text-shadow: 0 0 50px rgba(255, 215, 0, .8);
    }
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* ── PARTICLE CANVAS ── */
#particleCanvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* ── NAVBAR ── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5%;
    background: transparent;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

header.scrolled .navbar {
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--border-gold);
    box-shadow: var(--shadow);
    padding: 12px 5%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, .3));
}

.logo-text {
    font-family: 'Raleway', sans-serif;
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-gray);
    padding: 8px 14px;
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    right: 50%;
    height: 1px;
    background: var(--primary-gold);
    box-shadow: 0 0 6px var(--primary-gold);
    transition: left 0.3s ease, right 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    left: 14px;
    right: 14px;
}

.login-btn {
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--bg-darker) !important;
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    padding: 9px 22px !important;
    border-radius: 3px;
    transition: var(--transition) !important;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.login-btn::after {
    display: none !important;
}

.login-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 215, 0, .3) !important;
    background: linear-gradient(135deg, var(--light-gold), #fff8dc) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
    background: var(--bg-darker);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(184, 134, 11, .07), transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 15%, rgba(255, 215, 0, .04), transparent 55%),
        radial-gradient(ellipse 30% 50% at 10% 80%, rgba(184, 134, 11, .04), transparent 55%);
    z-index: 0;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 215, 0, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, .025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 75%);
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, .06), transparent 70%);
    top: -100px;
    right: -80px;
    animation-duration: 20s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(184, 134, 11, .07), transparent 70%);
    bottom: 60px;
    left: -60px;
    animation-duration: 16s;
    animation-delay: -6s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -40px);
    }

    66% {
        transform: translate(-20px, 24px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 920px;
}

.hero-eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.9s 0.4s forwards;
}

.typewriter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    margin-bottom: 4px;
}

.typewriter-container h1 {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: clamp(2rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 45%, #fff9e0 65%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: white;
    filter: drop-shadow(0 0 22px rgba(255, 215, 0, .28));
    opacity: 0;
    animation: fadeInUp 0.9s 0.7s forwards;
}

.cursor {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: var(--primary-gold);
    line-height: 1;
    text-shadow: var(--glow);
    animation: blink 0.85s step-end infinite;
    margin-left: 4px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: 5px;
    margin-top: 10px;
    opacity: 0;
    animation: fadeInUp 0.9s 1.1s forwards;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 52px auto 44px;
    width: fit-content;
    opacity: 0;
    animation: fadeInUp 0.9s 1.3s forwards;
    perspective: 800px;
}

.stat {
    padding: 24px 44px;
    border: 1px solid var(--border-gold);
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, .035), transparent);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s;
}

.stat:not(:last-of-type) {
    border-right: none;
}

.stat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 215, 0, .055);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.stat:hover::before {
    opacity: 1;
}

.stat:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .5), 0 0 30px rgba(255, 215, 0, .12);
    border-color: rgba(255, 215, 0, .4);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--border-gold), transparent);
    flex-shrink: 0;
}

.stat-number {
    display: block;
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(180deg, var(--primary-gold), var(--dark-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-dark);
}

/* CTA Button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bg-darker);
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    padding: 15px 40px;
    border: none;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    margin-top: 4px;
    opacity: 0;
    animation: fadeInUp 0.9s 1.5s forwards;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--light-gold), #fff8dc);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(255, 215, 0, .28), var(--glow-strong);
}

.btn>* {
    position: relative;
    z-index: 1;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

/* Scroll down */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeInUp 0.9s 2s forwards;
    z-index: 1;
}

.scroll-line-anim {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--primary-gold));
    animation: scrollPulse 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 215, 0, .4);
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

.scroll-down i {
    color: var(--primary-gold);
    font-size: 0.9rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── SECTIONS ── */
.section {
    padding: 100px 5%;
    position: relative;
    z-index: 1;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-gold), transparent);
}

.section-title {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    background: linear-gradient(135deg, var(--primary-gold), #fff8dc, var(--dark-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
    box-shadow: 0 0 10px rgba(255, 215, 0, .4);
}

/* ── MEMBERS ── */
.members-section {
    background: var(--bg-dark);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.member-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 26px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(30px);
}

.member-card.reveal-done {
    animation: revealCard 0.65s ease forwards;
}

@keyframes revealCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.member-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 215, 0, .04) 50%, transparent 70%);
    transition: top 0.7s ease, left 0.7s ease;
    pointer-events: none;
}

.member-card:hover::before {
    transform: scaleX(1);
}

.member-card:hover::after {
    top: -60%;
    left: -20%;
}

.member-card:hover {
    border-color: rgba(255, 215, 0, .45);
    box-shadow: var(--shadow-heavy), 0 0 30px rgba(255, 215, 0, .08);
}

.member-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    border: 2px solid transparent;
}

.member-card:hover .member-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(255, 215, 0, .3);
    border-color: rgba(255, 215, 0, .5);
}

.avatar-initial {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--bg-darker);
    letter-spacing: 1px;
}

.member-info h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
    transition: color 0.3s;
}

.member-card:hover .member-info h3 {
    color: var(--primary-gold);
}

.member-role {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-dark);
    transition: color 0.3s;
}

.member-card:hover .member-role {
    color: rgba(255, 215, 0, .65);
}

/* ── GALLERY ── */
.gallery-section {
    background: var(--bg-darker);
}

.gallery-masonry {
    column-count: 3;
    column-gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 18px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-gold);
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.96);
}

.gallery-item.reveal-done {
    animation: revealGallery 0.6s ease forwards;
}

@keyframes revealGallery {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item img {
    width: 100%;
    transition: transform 0.65s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, .9) 0%, rgba(5, 5, 5, .25) 50%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: opacity 0.35s ease;
}

.gallery-info {
    transform: translateY(14px);
    transition: transform 0.35s ease;
}

.gallery-info h4 {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 4px;
}

.gallery-info p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.88rem;
    font-style: italic;
    color: var(--text-gray);
}

.gallery-item:hover {
    border-color: rgba(255, 215, 0, .45);
    box-shadow: var(--shadow-heavy), 0 0 28px rgba(255, 215, 0, .1);
    transform: scale(1.02);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    backdrop-filter: blur(12px);
}

.lightbox.active {
    display: flex;
    animation: lbIn 0.3s ease;
}

@keyframes lbIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 6px;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-heavy);
    transition: opacity 0.15s ease;
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.4rem;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, .1);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, .08);
    border: 1px solid var(--border-gold);
    color: var(--text-light);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.lightbox-nav:hover {
    background: var(--primary-gold);
    color: var(--bg-darker);
    border-color: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: -70px;
}

.lightbox-nav.next {
    right: -70px;
}

/* ── EVENTS ── */
.events-section {
    background: var(--bg-dark);
    overflow: hidden;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.event-card.reveal-done {
    animation: revealCard 0.65s ease forwards;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-gold), var(--dark-gold));
    border-radius: 12px 0 0 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.event-card.upcoming::before {
    opacity: 1;
}

.event-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, .04), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: 12px;
}

.event-card:hover::after {
    opacity: 1;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy), 0 0 35px rgba(255, 215, 0, .07);
    border-color: rgba(255, 215, 0, .4);
}

.event-badge {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    background: var(--primary-gold);
    color: var(--bg-darker);
    border-radius: 20px;
    margin-bottom: 18px;
    transition: var(--transition);
}

.finished-badge {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid rgba(136, 136, 136, .3);
}

.event-card:hover .event-badge {
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(255, 215, 0, .25);
}

.event-card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 6px;
    line-height: 1.35;
    transition: color 0.3s;
}

.event-card:hover h3 {
    color: var(--light-gold);
}

.event-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark-gold);
    margin-bottom: 14px;
}

.event-card p:not(.event-subtitle) {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.event-date {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 26px;
    line-height: 1.5;
}

.event-date i {
    color: var(--primary-gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.event-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-gold);
    background: rgba(255, 215, 0, .08);
    border: 1px solid var(--border-gold);
    padding: 10px 22px;
    border-radius: 4px;
    transition: var(--transition);
}

.event-btn.secondary {
    color: var(--text-dark);
    background: transparent;
    border-color: rgba(136, 136, 136, .2);
}

.event-btn:hover {
    background: var(--primary-gold);
    color: var(--bg-darker);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, .2);
}

.event-btn.secondary:hover {
    background: rgba(255, 215, 0, .06);
    color: var(--primary-gold);
    border-color: var(--border-gold);
}

/* ── CONTACT ── */
.contact-section {
    background: var(--bg-darker);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-20px);
}

.contact-item.reveal-done {
    animation: revealLeft 0.6s ease forwards;
}

@keyframes revealLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-item:hover {
    transform: translateX(8px);
    border-color: rgba(255, 215, 0, .4);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-gold);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-gold);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 215, 0, .06);
}

.contact-item:hover .contact-icon {
    border-color: var(--primary-gold);
    box-shadow: var(--glow);
    transform: scale(1.1) rotate(5deg);
}

.contact-details h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 6px;
}

.contact-details p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.contact-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(18px);
}

.social-icon.reveal-done {
    animation: revealCard 0.6s ease forwards;
}

.social-icon:hover {
    background: rgba(255, 215, 0, .08);
    border-color: rgba(255, 215, 0, .45);
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.social-icon i {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 12px;
    transition: var(--transition);
}

.social-icon:hover i {
    transform: scale(1.2);
}

.social-icon span {
    font-family: 'Raleway', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-gray);
    transition: color 0.3s;
}

.social-icon:hover span {
    color: var(--primary-gold);
}

/* ── FOOTER ── */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-gold);
    padding: 64px 5% 32px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
    box-shadow: 0 0 8px rgba(255, 215, 0, .3);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 36px;
    margin-bottom: 48px;
}

.footer-logo h3 {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, .25));
    margin-bottom: 6px;
}

.footer-logo p {
    font-family: 'Raleway', sans-serif;
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-family: 'Raleway', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 2px 0;
}

.footer-links a:hover {
    color: var(--primary-gold);
    letter-spacing: 3px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-gold);
    color: var(--bg-darker);
    border-color: var(--primary-gold);
    transform: translateY(-4px) rotate(10deg);
    box-shadow: 0 6px 16px rgba(255, 215, 0, .25);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: var(--text-dark);
}

.footer-credit i {
    color: #e84b4b;
    margin: 0 4px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-gold), var(--dark-gold));
    border-radius: 4px;
    border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--light-gold), var(--primary-gold));
}

/* ── SELECTION ── */
::selection {
    background: rgba(255, 215, 0, .25);
    color: var(--text-light);
}

::-moz-selection {
    background: rgba(255, 215, 0, .25);
    color: var(--text-light);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .gallery-masonry {
        column-count: 2;
    }

    .contact-container {
        gap: 36px;
    }

    .lightbox-nav.prev {
        left: 16px;
    }

    .lightbox-nav.next {
        right: 16px;
    }

    .stat {
        padding: 20px 32px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(4, 4, 4, .98);
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(20px);
        z-index: 1050;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1rem;
        padding: 14px 24px;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .logo-text {
        display: none;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 0;
    }

    .stat {
        padding: 18px 28px;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 14px;
    }

    body {
        cursor: auto;
    }

    #cursor-dot,
    #cursor-ring {
        display: none;
    }

    .hero {
        padding: 0 4%;
    }

    .hero-content {
        padding: 0;
    }

    .section {
        padding: 72px 4%;
    }

    .navbar {
        padding: 14px 4%;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .stat {
        width: 200px;
        border: 1px solid var(--border-gold) !important;
    }

    .stat+.stat {
        margin-top: -1px;
    }

    .stat-divider {
        display: none;
    }

    .gallery-masonry {
        column-count: 1;
    }

    .members-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-social {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .lightbox-nav {
        width: 42px;
        height: 42px;
    }

    .lightbox-nav.prev {
        left: 8px;
    }

    .lightbox-nav.next {
        right: 8px;
    }

    .typewriter-container h1 {
        font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
    }

    .cursor {
        font-size: clamp(1.4rem, 6vw, 2rem) !important;
    }
}

/* ── SAFARI ── */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* ── TOUCH DEVICES ── */
@media (hover: none) and (pointer: coarse) {

    .member-card:hover,
    .gallery-item:hover,
    .event-card:hover,
    .contact-item:hover {
        transform: none !important;
    }

    #cursor-dot,
    #cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }

    button {
        cursor: pointer;
    }
}

/* ── PRINT ── */
@media print {

    header,
    .back-to-top,
    .scroll-down,
    .lightbox,
    #particleCanvas,
    #cursor-dot,
    #cursor-ring,
    #scrollBar {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
        cursor: auto;
    }

    .section {
        break-inside: avoid;
    }
}