/* ═══════════════════════════════════════════════════════════
   INTERNATIONAL IV THERAPY & LONGEVITY FORUM
   Full Redesign — Light Mode + Dark Hero/Footer
   ═══════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
    --c-accent: #c8a84e;
    --c-accent-hover: #dfc26a;
    --c-accent-light: rgba(200, 168, 78, 0.1);
    --c-hero-bg: #0a1628;
    --c-bg: #ffffff;
    --c-bg-alt: #f5f6fa;
    --c-text: #2c3e50;
    --c-text-dim: #5a6a7a;
    --c-heading: #0a1628;
    --c-border: #dfe6ed;
    --c-footer-bg: #0a1628;
    --c-footer-text: #e2e8f0;
    --c-footer-dim: #8a9bb0;
    --c-shadow: rgba(10, 22, 40, 0.08);

    --f-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --nav-h: 72px;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--c-hero-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--c-accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--c-accent-hover);
}

html {
    scrollbar-color: var(--c-accent) var(--c-hero-bg);
    scrollbar-width: thin;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--f-sans);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.modal-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--c-accent-hover); }

/* ─── LAYOUT ─── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--c-heading);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--c-text-dim);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn--accent {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}
.btn--accent:hover {
    background: var(--c-accent-hover);
    border-color: var(--c-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 168, 78, 0.3);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}
.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn--lg {
    padding: 18px 48px;
    font-size: 1.05rem;
}

/* ─── SCROLL ANIMATIONS ─── */
.anim-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.anim-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── NAVIGATION ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.is-scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s var(--ease);
    text-decoration: none;
}
.nav__link:hover,
.nav__link.is-active {
    color: #fff;
}

.nav__link--cta {
    background: var(--c-accent);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}
.nav__link--cta:hover {
    background: var(--c-accent-hover);
    color: #fff;
}

/* Nav toggle (mobile) */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle.is-active .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav__toggle.is-active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav__toggle.is-active .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--c-hero-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu__link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.2s var(--ease);
    text-decoration: none;
}
.mobile-menu__link:hover {
    color: #fff;
}

.mobile-menu__link--cta {
    margin-top: 16px;
    background: var(--c-accent);
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
}
.mobile-menu__link--cta:hover {
    background: var(--c-accent-hover);
}

.mobile-menu__footer {
    position: absolute;
    bottom: 40px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.75) 0%, rgba(13, 17, 23, 0.85) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 120px 24px calc(80px + 8vw);
}

.hero__logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin: 0 auto 24px;
}

.hero__date {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 12px;
}

.hero__subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero__slogan {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
    font-style: italic;
}

.hero__stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.hero__stat-sep {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero__ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ─── SPONSORS ─── */
.sponsors {
    padding: 40px 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
}

.sponsors__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sponsors__label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-text-dim);
}

.sponsors__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.sponsors__logos a {
    display: block;
    transition: opacity 0.2s var(--ease);
}
.sponsors__logos a:hover { opacity: 0.7; }

.sponsors__logos img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

/* ─── ABOUT ─── */
.about {
    padding: 100px 0;
    background: var(--c-bg);
}

.about__prose {
    max-width: 780px;
    margin: 0 auto 32px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--c-text);
}

.about__prose p {
    margin-bottom: 16px;
}

.about__prose p:last-child { margin-bottom: 0; }

.about__closing {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-heading);
    border-left: 3px solid var(--c-accent);
    padding-left: 20px;
    text-align: left;
}

/* ─── POSTER CAROUSEL ─── */
.posters {
    padding: 80px 0 100px;
    background: var(--c-bg-alt);
}

.posters__banner {
    max-width: 800px;
    margin: 0 auto 32px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px var(--c-shadow);
}

.posters__banner img {
    width: 100%;
    height: auto;
    display: block;
}

.poster-swiper {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 40px var(--c-shadow);
}

.poster-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.poster-swiper .swiper-button-prev,
.poster-swiper .swiper-button-next {
    color: var(--c-accent);
    background: rgba(255, 255, 255, 0.85);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.3s var(--ease);
}
.poster-swiper .swiper-button-prev:hover,
.poster-swiper .swiper-button-next:hover {
    background: #fff;
}
.poster-swiper .swiper-button-prev::after,
.poster-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

.poster-swiper .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 20px;
}

.poster-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid var(--c-accent);
    opacity: 1;
    transition: all 0.3s var(--ease);
}
.poster-swiper .swiper-pagination-bullet-active {
    background: var(--c-accent);
    transform: scale(1.2);
}

/* ─── TOPICS ─── */
.topics {
    padding: 100px 0;
    background: var(--c-bg);
}

.topics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.topic-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-top: 3px solid var(--c-accent);
    border-radius: 12px;
    padding: 32px 20px 28px;
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.topic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--c-shadow);
}

.topic-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    color: var(--c-accent);
}

.topic-card__icon svg {
    width: 100%;
    height: 100%;
}

.topic-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-heading);
    line-height: 1.3;
}

/* ─── REGISTRATION CTA ─── */
.reg-cta {
    padding: 100px 0;
    background: var(--c-hero-bg);
    color: #fff;
}

.reg-cta__inner {
    text-align: center;
}

.reg-cta__logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.reg-cta__forum {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.reg-cta__meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.reg-cta__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 32px;
}

.reg-cta__checks {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.reg-cta__check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.reg-cta__check svg {
    color: var(--c-accent);
    flex-shrink: 0;
}

/* ─── GALLERY / VIDEOS ─── */
.gallery {
    padding: 100px 0;
    background: var(--c-bg-alt);
}

.gallery__video {
    max-width: 900px;
    margin: 48px auto 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 12px 40px var(--c-shadow);
}

.gallery__video video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* ─── WHY ATTEND ─── */
.why {
    padding: 100px 0;
    background: var(--c-bg);
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.why-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 36px 24px;
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--c-shadow);
}

.why-card__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    color: var(--c-accent);
}

.why-card__icon svg {
    width: 100%;
    height: 100%;
}

.why-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-heading);
    margin-bottom: 12px;
}

.why-card__desc {
    font-size: 0.9rem;
    color: var(--c-text-dim);
    line-height: 1.6;
}

/* ─── FAQ ACCORDION ─── */
.faq {
    padding: 100px 0;
    background: var(--c-bg-alt);
}

.faq__list {
    max-width: 740px;
    margin: 48px auto 0;
}

.faq__item {
    border: 1px solid var(--c-border);
    border-radius: 12px;
    margin-bottom: 12px;
    background: var(--c-bg);
    overflow: hidden;
    transition: box-shadow 0.3s var(--ease);
}

.faq__item[open] {
    box-shadow: 0 4px 16px var(--c-shadow);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-heading);
    list-style: none;
    user-select: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question span {
    flex: 1;
    padding-right: 16px;
}

.faq__chevron {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
    color: var(--c-accent);
}

.faq__item[open] .faq__chevron {
    transform: rotate(180deg);
}

.faq__answer {
    padding: 0 24px 20px;
    color: var(--c-text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq__answer p { margin-bottom: 12px; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ─── GEOMETRIC DIVIDERS ─── */
.hero__diagonal {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8vw;
    z-index: 2;
}

.geo-divider {
    display: block;
    width: 100%;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.geo-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--c-footer-bg);
    color: var(--c-footer-text);
    padding: 60px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.footer__name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.footer__info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.footer__col-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 12px;
}

.footer__col p {
    font-size: 0.9rem;
    color: var(--c-footer-dim);
    margin-bottom: 4px;
}

.footer__col a {
    color: var(--c-footer-dim);
    transition: color 0.2s var(--ease);
}
.footer__col a:hover {
    color: #fff;
}

.footer__sponsors {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__sponsors a {
    display: block;
    transition: opacity 0.2s var(--ease);
}
.footer__sponsors a:hover { opacity: 0.7; }

.footer__sponsors img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(0.7);
    transition: filter 0.2s var(--ease);
}
.footer__sponsors a:hover img {
    filter: brightness(0) invert(1);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: var(--c-footer-dim);
}

/* ─── FLOATING CTA ─── */
.floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--c-accent);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(200, 168, 78, 0.35);
    transition: all 0.3s var(--ease);
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    font-family: var(--f-sans);
}

.floating-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.floating-cta:hover {
    background: var(--c-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(200, 168, 78, 0.45);
}

/* ─── GO TO TOP ─── */
.go-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-hero-bg);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.3s var(--ease);
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    font-family: var(--f-sans);
}

.go-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.go-top:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(200, 168, 78, 0.35);
}

/* ─── INVITATION MODAL ─── */
.invite-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px;
    transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.invite-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.invite-card {
    width: 100%;
    max-width: 720px;
    animation: modalIn 0.6s var(--ease-out);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.invite-card__border {
    border: 1px solid rgba(200, 168, 78, 0.2);
    border-radius: 20px;
    padding: 2px;
}

.invite-card__inner {
    background: var(--c-bg);
    border-radius: 18px;
    padding: 28px 28px;
    text-align: center;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.invite-card__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-text-dim);
    padding: 4px;
    transition: color 0.2s var(--ease);
}
.invite-card__close:hover { color: var(--c-accent); }

.invite-card__star {
    color: var(--c-accent);
    margin-bottom: 6px;
}

.invite-card__label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-text-dim);
    margin-bottom: 4px;
}

.invite-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--c-heading);
    margin-bottom: 10px;
}

.invite-card__divider {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}
.invite-card__divider span {
    width: 60px;
    height: 2px;
    background: var(--c-accent);
    border-radius: 2px;
}

.invite-card__body {
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--c-text);
    margin-bottom: 14px;
}
.invite-card__body p { margin-bottom: 8px; }
.invite-card__body p:last-child { margin-bottom: 0; }

.invite-card__closing {
    font-weight: 600;
    color: var(--c-heading);
    font-style: italic;
}

.invite-card__meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--c-text-dim);
    margin-bottom: 14px;
}

.invite-card__sponsors {
    text-align: center;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--c-border);
}

.invite-card__sponsors-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-text-dim);
    margin-bottom: 12px;
}

.invite-card__sponsors-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.invite-card__sponsors-logos img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.invite-card__enter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-accent);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-family: var(--f-sans);
}
.invite-card__enter:hover {
    background: var(--c-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 168, 78, 0.3);
}

.invite-card__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.invite-card__dismiss {
    background: none;
    border: none;
    color: var(--c-text-dim);
    font-size: 0.8rem;
    cursor: pointer;
    font-family: var(--f-sans);
    transition: color 0.2s var(--ease);
}

.invite-card__dismiss:hover {
    color: var(--c-accent);
}

/* ─── REGISTER MODAL ─── */
.register-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.register-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.register-modal__card {
    width: 100%;
    max-width: 480px;
    animation: modalIn 0.5s var(--ease-out);
}

.register-modal__border {
    border: 1px solid rgba(200, 168, 78, 0.2);
    border-radius: 20px;
    padding: 2px;
}

.register-modal__inner {
    background: var(--c-bg);
    border-radius: 18px;
    padding: 36px 32px;
    text-align: center;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.register-modal__inner::-webkit-scrollbar {
    display: none;
}

.register-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-text-dim);
    padding: 4px;
    transition: color 0.2s var(--ease);
}
.register-modal__close:hover { color: var(--c-accent); }

.register-modal__star {
    color: var(--c-accent);
    margin-bottom: 8px;
}

.register-modal__label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-text-dim);
    margin-bottom: 6px;
}

.register-modal__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--c-heading);
    margin-bottom: 12px;
}

.register-modal__divider {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.register-modal__divider span {
    width: 50px;
    height: 2px;
    background: var(--c-accent);
    border-radius: 2px;
}

/* ─── REGISTER FORM ─── */
.register-form {
    text-align: left;
}

.register-form__field {
    margin-bottom: 16px;
}

.register-form__field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-heading);
    margin-bottom: 6px;
}

.register-form__field label abbr {
    color: var(--c-accent);
    text-decoration: none;
}

.register-form__field input,
.register-form__field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    font-size: 0.92rem;
    font-family: var(--f-sans);
    color: var(--c-text);
    background: var(--c-bg);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    outline: none;
}

.register-form__field input:focus,
.register-form__field textarea:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-light);
}

.register-form__field textarea {
    resize: vertical;
    min-height: 80px;
}

.register-form__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--c-accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-family: var(--f-sans);
    margin-top: 8px;
}

.register-form__submit:hover {
    background: var(--c-accent-hover);
}

.register-form__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.register-form__submit.is-loading {
    position: relative;
}
.register-form__submit.is-loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.register-form__msg {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.register-form__msg--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.register-form__msg--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .topics__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .why__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer__inner {
        grid-template-columns: 1fr;
    }
    .footer__info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__menu { display: none; }
    .nav__toggle { display: flex; }

    .hero__content { padding: 100px 20px 60px; }
    .hero__title { font-size: clamp(2rem, 8vw, 3rem); }

    .hero__stats { gap: 20px; }
    .hero__stat-num { font-size: 1.6rem; }

    .topics__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .why__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .reg-cta__checks {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer__info {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .poster-swiper .swiper-button-prev,
    .poster-swiper .swiper-button-next {
        display: none;
    }

    .about,
    .posters,
    .topics,
    .reg-cta,
    .gallery,
    .why,
    .faq {
        padding: 60px 0;
    }

    .floating-cta span { display: none; }
    .floating-cta {
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .go-top {
        width: 48px;
        height: 48px;
        bottom: 84px;
    }
}

@media (max-width: 480px) {
    .hero__ctas { flex-direction: column; align-items: center; }
    .hero__stats { flex-wrap: wrap; }

    .topic-card { padding: 24px 16px; }

    .invite-card__inner { padding: 28px 20px; }
    .register-modal__inner { padding: 28px 20px; }

    .faq__question { padding: 16px 20px; font-size: 0.92rem; }
    .faq__answer { padding: 0 20px 16px; }
}
