@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --canvas: #040308;
    --ember: #ff5f6d;
    --ember-dark: #d90429;
    --mist: rgba(255, 255, 255, 0.9);
    --glass: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    --glow: 0 0 30px rgba(255, 95, 109, 0.35);
    --marquee-speed-desktop: 38s;
    --marquee-speed-mobile: 30s;
}

body.marquee-luxury {
    --marquee-speed-desktop: 55s;
    --marquee-speed-mobile: 42s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.hidden {
    display: none !important;
}

body {
    background: radial-gradient(circle at top, #181b2b 0%, #050308 55%);
    color: var(--mist);
    min-height: 100vh;
    min-width: 1200px;
    overflow-x: auto;
}

@media (max-width: 1200px) {
    body {
        min-width: 0;
        overflow-x: hidden;
    }
}

.marquee-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    background:
        radial-gradient(circle at 12% 50%, rgba(255, 190, 118, 0.25), transparent 36%),
        radial-gradient(circle at 85% 50%, rgba(255, 95, 109, 0.22), transparent 42%),
        linear-gradient(110deg, #ff5f6d 0%, #ff7f50 32%, #261432 70%, #0f0c16 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 0.96rem;
    height: 2.85rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-inline: 0.55rem;
    box-shadow: inset 0 -18px 30px rgba(0, 0, 0, 0.18), 0 10px 30px rgba(0, 0, 0, 0.18);
}

.marquee-track {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.marquee-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.26) 48%, transparent 66%);
    transform: translateX(-120%);
    animation: marqueeShimmer 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.marquee-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(13, 8, 18, 0.95) 0%, transparent 12%, transparent 88%, rgba(13, 8, 18, 0.95) 100%);
    pointer-events: none;
    z-index: 1;
}

.marquee-live-badge {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.26rem 0.62rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff5f7;
    background: rgba(9, 5, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow: 0 0 0 1px rgba(255, 95, 109, 0.25), 0 0 18px rgba(255, 95, 109, 0.28);
}

.marquee-live-dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #ff4f67;
    box-shadow: 0 0 0 0 rgba(255, 79, 103, 0.8);
    animation: livePulse 1.8s ease-out infinite;
}

.marquee-banner p {
    white-space: nowrap;
    display: inline-block;
    animation: marqueeScroll var(--marquee-speed-desktop) linear infinite, textGlow 7s ease-in-out infinite;
    letter-spacing: 0.02rem;
    text-shadow: 0 0 11px rgba(255, 255, 255, 0.34);
    font-weight: 500;
    padding-inline: 1.4rem 2rem;
    will-change: transform;
    position: relative;
    z-index: 2;
}

.marquee-banner:hover p {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.28rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.marquee-item i {
    color: #fff0a3;
    filter: drop-shadow(0 0 10px rgba(255, 221, 110, 0.7));
}

.marquee-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.85rem;
    color: #ffe9c7;
    opacity: 0.95;
    font-size: 0.88rem;
    text-shadow: 0 0 8px rgba(255, 235, 170, 0.65);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(calc(-100% - 2rem));
    }
}

@keyframes marqueeShimmer {
    0% {
        transform: translateX(-130%);
        opacity: 0;
    }
    22% {
        opacity: 0.75;
    }
    55% {
        opacity: 0.35;
    }
    100% {
        transform: translateX(130%);
        opacity: 0;
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.24), 0 0 14px rgba(255, 95, 109, 0.22);
    }
    50% {
        text-shadow: 0 0 13px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 95, 109, 0.42);
    }
    100% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.24), 0 0 14px rgba(255, 95, 109, 0.22);
    }
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 79, 103, 0.75);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(255, 79, 103, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 79, 103, 0);
    }
}

.popup-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.78);
    z-index: 100;
    cursor: pointer;
}

.popup-card {
    width: min(420px, 90vw);
    background: rgba(5, 5, 10, 0.95);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    position: relative;
    text-align: center;
    color: #fff;
    animation: fadeInPopup 0.35s ease, borderGlow 3.5s ease-in-out infinite;
    cursor: default;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
}

.popup-logo img {
    height: 46px;
    width: auto;
    margin-bottom: 0.5rem;
}

.popup-marquee {
    margin-top: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
}

.popup-marquee span {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite, textGlow 4.5s ease-in-out infinite;
    letter-spacing: 0.04rem;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

@keyframes fadeInPopup {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes borderGlow {
    0% {
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 25px 60px rgba(255, 95, 109, 0.15);
    }
    50% {
        border-color: rgba(255, 95, 109, 0.9);
        box-shadow: 0 25px 60px rgba(255, 95, 109, 0.45);
    }
    100% {
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 25px 60px rgba(255, 95, 109, 0.15);
    }
}

.sparkle-bg {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 95, 109, 0.4), transparent 60%),
                radial-gradient(circle at 70% 0%, rgba(232, 113, 73, 0.3), transparent 50%),
                linear-gradient(135deg, #06030b, #010104 70%);
    z-index: -2;
    animation: pulseGlow 10s ease-in-out infinite;
}

header.hero-section {
    padding: 2rem 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: min(1160px, calc(100% - 2.6rem));
    margin: 0 auto;
    padding: 0.72rem 1.05rem 0.72rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background:
        linear-gradient(130deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)),
        linear-gradient(145deg, rgba(255, 95, 109, 0.18), rgba(9, 7, 18, 0.9));
    backdrop-filter: blur(18px) saturate(130%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 14px 34px rgba(0, 0, 0, 0.36),
        0 0 35px rgba(255, 95, 109, 0.16);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.main-nav::before {
    content: '';
    position: absolute;
    inset: -48% auto -48% -22%;
    width: 30%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.17), transparent);
    transform: rotate(16deg);
    animation: navSweep 8.5s linear infinite;
    pointer-events: none;
}

.hero-content,
.hero-logos,
.about-section {
    padding: 0 5vw;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    text-shadow: 0 0 14px rgba(255, 95, 109, 0.26);
    position: relative;
    z-index: 1;
}

.logo-mark {
    width: auto;
    height: 52px;
    max-width: 220px;
    border-radius: 0;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.logo-text {
    line-height: 1;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.26rem;
    cursor: pointer;
    z-index: 2;
}

.nav-toggle__line {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.main-nav.nav-open .nav-toggle__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.main-nav.nav-open .nav-toggle__line:nth-child(2) {
    opacity: 0;
}

.main-nav.nav-open .nav-toggle__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 0.35rem;
    font-size: 0.8rem;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0.24rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(5, 3, 8, 0.38), rgba(255, 255, 255, 0.04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    isolation: isolate;
    z-index: 1;
}

.nav-links::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0.22),
        rgba(255, 95, 109, 0.9),
        rgba(255, 189, 112, 0.9),
        rgba(255, 255, 255, 0.22)
    );
    background-size: 220% 100%;
    animation: navBorderScroll 5.8s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.95;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.56rem 0.82rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: color 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
    position: relative;
    isolation: isolate;
}

.nav-links a::after {
    content: '';
    position: absolute;
    inset: auto 18% 0.22rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    opacity: 0;
    transform: scaleX(0.25);
    transform-origin: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
    color: #fff;
    border-color: rgba(255, 95, 109, 0.52);
    background: linear-gradient(135deg, rgba(255, 95, 109, 0.2), rgba(255, 255, 255, 0.06));
    box-shadow: 0 8px 20px rgba(255, 95, 109, 0.2);
    transform: translateY(-1px) scale(1.01);
}

.nav-links a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-links a:focus-visible {
    outline: none;
    border-color: rgba(255, 255, 255, 0.78);
    box-shadow: 0 0 0 3px rgba(255, 95, 109, 0.3);
}

.nav-cta {
    padding: 0.62rem 1.05rem !important;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    background: linear-gradient(135deg, rgba(255, 118, 92, 0.98), rgba(217, 4, 41, 0.92));
    box-shadow: 0 12px 24px rgba(255, 95, 109, 0.34);
    color: #fff !important;
    font-weight: 700;
}

.nav-cta:hover {
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 16px 28px rgba(255, 95, 109, 0.44);
    transform: translateY(-1px);
}

@keyframes navSweep {
    0% {
        left: -35%;
        opacity: 0;
    }
    14% {
        opacity: 0.85;
    }
    30% {
        opacity: 0;
    }
    100% {
        left: 145%;
        opacity: 0;
    }
}

@keyframes navBorderScroll {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 220% 50%;
    }
}

.hero-content {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-logos {
    margin-top: 2rem;
}

.hero-logos .container {
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(25px);
}

.section-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.tech-marquee {
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.tech-track {
    display: flex;
    gap: 1.2rem;
    padding: 0.9rem 1.5rem;
    animation: techscroll 22s linear infinite;
    width: max-content;
}

.tech-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.tech-item i {
    font-size: 1.2rem;
}

@keyframes techscroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.about-section {
    margin-top: 2.5rem;
    perspective: 1500px;
}

.about-card {
    position: relative;
    border-radius: 2rem;
    padding: 2.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 25px 45px rgba(0, 0, 0, 0.45),
        inset 0 0 70px rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transform: rotateX(6deg) rotateY(-4deg);
}

.about-card__logo {
    position: absolute;
    top: 1.5rem;
    right: 1.2rem;
    width: 110px;
    height: 70px;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
    object-fit: contain;
    padding: 0.6rem;
}

.about-card__texture {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 4px),
                      repeating-linear-gradient(60deg, rgba(255, 95, 109, 0.08) 0 2px, transparent 2px 8px);
    mix-blend-mode: screen;
    opacity: 0.6;
}

.about-card::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.about-card__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    color: rgba(255, 255, 255, 0.9);
}

.about-card__content h2 {
    line-height: 1.5;
    margin-bottom: 1.05rem;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.about-card__content p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.upcoming-section {
    padding: 0 8vw;
    position: relative;
}

.upcoming-section .container {
    position: relative;
    border-radius: 2.25rem;
    padding: clamp(1.25rem, 2.4vw, 2.4rem);
    background:
        radial-gradient(circle at 10% 15%, rgba(255, 95, 109, 0.18), transparent 45%),
        radial-gradient(circle at 88% 10%, rgba(255, 180, 120, 0.11), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 24px 58px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.upcoming-section .container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 26px 26px, 26px 26px;
    opacity: 0.18;
    pointer-events: none;
}

.upcoming-section .container::after {
    content: '';
    position: absolute;
    width: min(340px, 48vw);
    aspect-ratio: 1;
    right: -120px;
    bottom: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 95, 109, 0.2), rgba(255, 95, 109, 0));
    filter: blur(4px);
    pointer-events: none;
}

.upcoming-header {
    max-width: 820px;
    margin: 0 auto 1rem;
    text-align: center;
    border-radius: 1.4rem;
    padding: clamp(1rem, 2vw, 1.6rem);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background:
        linear-gradient(130deg, rgba(255, 255, 255, 0.08), rgba(255, 95, 109, 0.06));
    margin-bottom: 0.75rem;
    letter-spacing: 0.03rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    isolation: isolate;
}

.upcoming-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 8%, rgba(255, 255, 255, 0.22) 49%, transparent 92%);
    transform: translateX(-130%);
    animation: upcomingHeaderSweep 8.5s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.7;
}

.upcoming-header .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.16em;
    margin-bottom: 0.45rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.upcoming-header .eyebrow::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #ffd166;
    box-shadow: 0 0 0 6px rgba(255, 209, 102, 0.18);
}

.upcoming-header h2 {
    font-size: clamp(1.5rem, 3.1vw, 2.45rem);
    line-height: 1.16;
    margin-bottom: 0.62rem;
    letter-spacing: 0.01em;
    text-wrap: balance;
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-wrap: balance;
}

.upcoming-header p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 56ch;
    margin: 0 auto;
    font-size: clamp(0.95rem, 1.4vw, 1.08rem);
    text-wrap: pretty;
}

@keyframes upcomingHeaderFloat {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 0 20px 48px rgba(255, 95, 109, 0.22);
    }
}

@keyframes upcomingHeaderShine {
    0%,
    70%,
    100% {
        transform: translateX(-120%);
        opacity: 0;
    }
    25% {
        transform: translateX(120%);
        opacity: 0.65;
    }
}

@keyframes upcomingHeaderSweep {
    0%,
    72%,
    100% {
        transform: translateX(-130%);
        opacity: 0;
    }
    28% {
        transform: translateX(130%);
        opacity: 0.72;
    }
}

.upcoming-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.workshop-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    background: linear-gradient(145deg, rgba(255, 95, 109, 0.1), rgba(255, 255, 255, 0.04));
    border-radius: 1.15rem;
    padding: 0.95rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.workshop-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.18) 50%, transparent 80%);
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
}

.workshop-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 95, 109, 0.42);
    box-shadow: 0 22px 46px rgba(255, 95, 109, 0.22);
}

.workshop-card:hover::before {
    opacity: 0.7;
    animation: workshopCardShine 0.9s ease-out;
}

.workshop-card__title {
    margin-top: 0.2rem;
    font-size: clamp(1.08rem, 2vw, 1.25rem);
    line-height: 1.28;
    color: #fff;
    text-wrap: balance;
}

.workshop-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.workshop-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 95, 109, 0.08));
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
}

.workshop-card__meta span strong {
    color: #fff;
}

.workshop-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.workshop-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.85rem 1.2rem;
    letter-spacing: 0.06rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 18px 28px rgba(255, 95, 109, 0.18);
}

.workshop-card__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 34px rgba(255, 95, 109, 0.26);
}

.workshop-card__link.primary {
    background: linear-gradient(135deg, var(--ember), var(--ember-dark));
    border-color: transparent;
}

.workshop-card__link.secondary {
    background: rgba(255, 255, 255, 0.04);
}

@keyframes workshopCardShine {
    from {
        transform: translateX(-120%);
    }
    to {
        transform: translateX(120%);
    }
}

.selected-workshop {
    margin-top: 0.35rem;
    color: #ffb6c1;
    font-weight: 600;
    letter-spacing: 0.04rem;
    font-size: 0.82rem;
}

.workshop-seat-note {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 95, 109, 0.32);
    background: linear-gradient(135deg, rgba(255, 95, 109, 0.18), rgba(255, 255, 255, 0.04));
    color: #fff7f8;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
}

.workshop-fee {
    display: inline-flex;
    align-items: center;
    margin-top: 0.4rem;
    margin-bottom: 0.15rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 95, 109, 0.35);
    background: linear-gradient(135deg, rgba(255, 95, 109, 0.18), rgba(255, 255, 255, 0.04));
    color: #fff7f8;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.03rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.registration-form .workshop-fee {
    align-self: flex-start;
}

.registration-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.registration-actions .btn-primary,
.registration-actions .btn-secondary {
    min-width: 210px;
}

.team-section .container {
    padding: 2rem 0;
}

.team-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-top: 2rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1.5rem;
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.member-img-wrapper {
    border-radius: 1.2rem;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 0 0 1px rgba(255, 95, 109, 0.25), 0 10px 20px rgba(0, 0, 0, 0.35);
}

.member-img img {
    width: 100%;
    display: block;
    height: 260px;
    object-fit: cover;
}

.team-social {
    margin-top: 0.8rem;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.team-social a {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.45rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.team-social a:hover {
    transform: translateY(-2px);
    background: rgba(255, 95, 109, 0.2);
    color: #fff;
}

.badge {
    display: inline-flex;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 0.7rem;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    flex-wrap: wrap;
}

.hero-live-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.3rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(9, 5, 16, 0.72);
    color: #fff5f7;
    font-size: clamp(0.68rem, 1.35vw, 0.92rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    box-shadow: 0 0 0 1px rgba(255, 95, 109, 0.25), 0 0 18px rgba(255, 95, 109, 0.28);
}

.hero-live-badge::before {
    content: '';
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 50%;
    background: #ff4f67;
    box-shadow: 0 0 0 0 rgba(255, 79, 103, 0.8);
    animation: livePulse 1.8s ease-out infinite;
}

.hero-title-text {
    display: inline;
}

.hero-copy .lede {
    color: rgba(255, 255, 255, 0.75);
    margin: 1.2rem 0 1.5rem;
    line-height: 1.6;
    max-width: 32rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.hero-meta span {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start;
    text-align: left;
}

.hero-3d {
    position: relative;
    min-height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d::after {
    content: '';
    position: absolute;
    width: 450px;
    height: 220px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 60%, rgba(255, 255, 255, 0));
    filter: blur(12px);
    animation: pulseHue 8s ease-in-out infinite;
    z-index: 0;
}

.hero-3d .reading-duo {
    position: absolute;
    display: flex;
    gap: 1rem;
    bottom: 0;
    right: 10%;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.65));
}

.reading {
    width: 72px;
    height: 120px;
    position: relative;
    perspective: 400px;
    animation: floatBook 5s ease-in-out infinite;
}

.reading.character .book,
.reading.character .head,
.reading.character .body {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.reading.character .head {
    width: 30px;
    height: 30px;
    background: #ffe4c4;
    border-radius: 50%;
    top: 30px;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.reading.character .body {
    width: 52px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    top: 50px;
}

.reading.character.boy .body {
    background: linear-gradient(180deg, rgba(61, 137, 255, 0.95), rgba(22, 83, 255, 0.65));
}

.reading.character.girl .body {
    background: linear-gradient(180deg, rgba(255, 104, 163, 0.95), rgba(208, 12, 62, 0.7));
}

.reading.character.girl .book {
    background: linear-gradient(145deg, rgba(255, 205, 86, 0.9), rgba(255, 120, 0, 0.8));
}

.reading.character.boy {
    animation-delay: 0s;
}

.reading.character.girl {
    animation-delay: 0.8s;
}

.cube-cage {
    width: 230px;
    height: 230px;
    perspective: 900px;
}

.cube {
    width: 160px;
    height: 160px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeSpin 16s linear infinite;
}

.cube .face {
    position: absolute;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 95, 109, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.cube .top { transform: rotateX(90deg) translateZ(80px); }
.cube .bottom { transform: rotateX(-90deg) translateZ(80px); }
.cube .left { transform: rotateY(-90deg) translateZ(80px); }
.cube .right { transform: rotateY(90deg) translateZ(80px); }
.cube .front { transform: translateZ(80px); }
.cube .back { transform: rotateY(180deg) translateZ(80px); }

.floating-prism {
    position: absolute;
    width: 140px;
    height: 140px;
    perspective: 800px;
    animation: prismFloat 12s ease-in-out infinite;
}

.floating-prism .prism-face {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, rgba(255, 95, 109, 0.6), rgba(217, 4, 41, 0.2));
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
}

.floating-prism .prism-face.alt {
    mix-blend-mode: screen;
    transform: rotateX(60deg);
}

.orbital-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    animation: ringPulse 10s infinite;
}

.orbital-ring span {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ember);
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit 4s linear infinite;
}

.cube::after {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    animation: rotateDashed 4s linear infinite;
}

.reading-duo::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

@keyframes floatBook {
    0%,
    100% {
        transform: translate(-50%, 0) rotateX(3deg) rotateY(-6deg);
    }
    50% {
        transform: translate(-50%, -10px) rotateX(6deg) rotateY(8deg);
    }
}

@keyframes pulseHue {
    0%,
    100% {
        filter: blur(10px) saturate(1);
    }
    50% {
        filter: blur(16px) saturate(1.4);
    }
}

@keyframes rotateDashed {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(360deg);
    }
}

@keyframes orbit {
    0% {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) translateY(-50%) rotate(360deg);
    }
}

main {
    padding: 1rem 8vw 9rem;
    display: flex;
    flex-direction: column;
    gap: 3.55rem;
}

.details-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    gap: 2rem;
    align-items: start;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 2.4rem;
    padding: 1rem;
}

.team-section {
    grid-column: 1 / -1;
    margin-top: 3rem;
}

.details-visual {
    position: relative;
    min-height: 420px;
    border-radius: 2.4rem;
    padding: 2.6rem;
    isolation: isolate;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

.details-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 95, 109, 0.22), transparent 28%),
        radial-gradient(circle at 82% 16%, rgba(232, 113, 73, 0.2), transparent 24%),
        radial-gradient(circle at 72% 82%, rgba(255, 255, 255, 0.07), transparent 30%);
    pointer-events: none;
}

.visual-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
}

.visual-shell__glow {
    position: absolute;
    inset: 12% 14% auto auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 95, 109, 0.24) 0%, rgba(255, 95, 109, 0.06) 42%, transparent 72%);
    filter: blur(6px);
    animation: pulseHue 9s ease-in-out infinite;
    pointer-events: none;
}

.visual-shell__card {
    position: relative;
    border-radius: 1.65rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(5, 5, 10, 0.78), rgba(20, 14, 18, 0.62));
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}

.visual-shell__card--hero {
    padding: 1.5rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.visual-shell__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.76);
    text-transform: uppercase;
    letter-spacing: 0.18rem;
    font-size: 0.68rem;
}

.visual-shell__card h3 {
    margin-top: 0.9rem;
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    line-height: 1.05;
}

.visual-shell__lede {
    margin-top: 0.8rem;
    max-width: 28rem;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.65;
}

.visual-shell__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.visual-shell__stat {
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.visual-shell__stat span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.74rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.visual-shell__stat strong {
    font-size: 1rem;
}

.visual-shell__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.visual-shell__card--compact {
    padding: 1.2rem 1.25rem;
    min-height: 0;
}

.visual-shell__card--accent {
    background: linear-gradient(145deg, rgba(255, 95, 109, 0.16), rgba(217, 4, 41, 0.08));
}

.visual-shell__mentor-list {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.visual-shell__mentor-list li {
    padding: 0.7rem 0.85rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.08rem;
    font-size: 0.82rem;
}

.visual-shell .floating-card__perks {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

.visual-shell .floating-card__perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.45;
}

.visual-shell .floating-card__perks li i {
    color: #ffd166;
    font-size: 0.78rem;
    margin-top: 0.16rem;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
}

.visual-shell .floating-card__perks li:nth-child(1) i {
    color: #ffd166;
    background: rgba(255, 209, 102, 0.2);
}

.visual-shell .floating-card__perks li:nth-child(2) i {
    color: #a8e6cf;
    background: rgba(168, 230, 207, 0.2);
}

.visual-shell .floating-card__perks li:nth-child(3) i {
    color: #8ad8ff;
    background: rgba(138, 216, 255, 0.2);
}

.visual-shell .floating-card__perks li:nth-child(4) i {
    color: #ffb3c7;
    background: rgba(255, 179, 199, 0.2);
}

.visual-shell .floating-card__perks li span {
    display: block;
}

@media (max-width: 780px) {
    .visual-shell .floating-card__perks {
        grid-template-columns: 1fr;
    }
}

.team-header h2 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    letter-spacing: 0.2rem;
    margin-bottom: 0.5rem;
}

.team-header p {
    color: rgba(255, 255, 255, 0.7);
}

.team-marquee {
    overflow: hidden;
    border-radius: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.team-track {
    display: flex;
    gap: 1rem;
    padding-left: 1.2rem;
    animation: teamScroll 30s linear infinite;
}

.team-card {
    width: 220px;
    min-width: 220px;
    text-align: center;
    padding: 1rem 0.9rem 1.2rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    animation: teamCardFloat 6s ease-in-out infinite;
}

.team-card:nth-child(2n) {
    animation-delay: 1s;
}

.team-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 1rem;
    filter: brightness(0.9);
}

.team-card h3 {
    font-size: 1rem;
    letter-spacing: 0.08rem;
}

.team-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes teamScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes teamCardFloat {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-6px);
        opacity: 0.95;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.workshop-highlights {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.highlight-card {
    padding: 1.6rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.02);
    min-height: 210px;
}

.highlight-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    letter-spacing: 0.08rem;
}

.highlight-meta {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.9rem;
    margin-top: 0.95rem;
    color: #ffeef1;
}

.highlight-meta span {
    display: inline-flex;
    width: fit-content;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 95, 109, 0.22), rgba(217, 4, 41, 0.16));
    border: 1px solid rgba(255, 130, 150, 0.55);
    color: #fff9fb;
    font-weight: 600;
    letter-spacing: 0.02rem;
}

.highlight-list {
    list-style: none;
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.highlight-list li::before {
    content: '•';
    color: var(--ember);
    margin-right: 0.5rem;
}

.highlight-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08rem;
    color: var(--mist);
}

.co-speaker-title {
    margin-top: 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.co-speaker-list {
    list-style: none;
    margin-top: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.co-speaker-list li {
    padding: 0.6rem 0.75rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.co-speaker-name {
    display: block;
    font-weight: 600;
    color: #fff6f8;
}

.co-speaker-role {
    display: block;
    margin-top: 0.18rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
}

.details-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 2rem;
    padding: 2.4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.details-card h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.details-card p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.details-card ul {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.details-card li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

.details-card li i {
    color: var(--ember);
}

.floating-card__perks {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.registration-section {
    display: grid;
    grid-template-columns: minmax(560px, 1.25fr) minmax(260px, 0.75fr);
    gap: 2rem;
    align-items: stretch;
    max-width: 1120px;
    margin: 0 auto;
}

.form-shell {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    padding: clamp(2rem, 3vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.form-shell::before {
    content: '';
    position: absolute;
    inset: 0.6rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0.8;
    filter: blur(40px);
    z-index: -1;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}

.form-header h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    line-height: 1.15;
}

.form-live-badge {
    font-size: clamp(0.72rem, 1.25vw, 0.96rem);
    padding: 0.3rem 0.72rem;
    gap: 0.42rem;
    letter-spacing: 0.1em;
    vertical-align: middle;
}

.form-live-badge::before {
    width: 0.46rem;
    height: 0.46rem;
}

.pill {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.8rem;
    display: inline-flex;
    align-items: center;
}

.pill img {
    max-height: 48px;
    max-width: 140px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.form-row.batch-row .form-group {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    border-radius: 1rem;
    padding: 1.05rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--mist);
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.form-group select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%),
                      linear-gradient(135deg, var(--mist) 50%, transparent 50%);
    background-position: calc(100% - 1rem) calc(50% - 0.15rem), calc(100% - 0.5rem) calc(50% - 0.15rem);
    background-size: 0.4rem 0.4rem;
    background-repeat: no-repeat;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ember);
    box-shadow: 0 0 0 3px rgba(255, 95, 109, 0.25);
}

.radio-grid {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.radio-option {
    flex: 1 1 140px;
    min-width: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 0.62rem 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.38rem;
}

.radio-option input {
    accent-color: var(--ember);
}

.radio-option span {
    min-width: 0;
    font-size: 0.84rem;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
}

.batch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem;
}

.batch-option {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: var(--mist);
    padding: 0.9rem 1rem;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.batch-option.selected,
.batch-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--ember);
}

.btn-primary {
    margin-top: 0.5rem;
    border: none;
    border-radius: 999px;
    padding: 1rem 2rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    background: linear-gradient(135deg, var(--ember), var(--ember-dark));
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    align-self: flex-start;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 0.95rem 1.8rem;
    background: transparent;
    color: var(--mist);
    font-weight: 600;
    letter-spacing: 0.05rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-primary:disabled,
.btn-disabled {
    opacity: 0.65;
    filter: grayscale(0.35);
    cursor: not-allowed;
    transform: none;
}

.qr-card-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.75rem;
}

.qr-card-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.registration-halo {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 1.25rem;
    border: none;
    background: transparent;
}

@media (max-width: 980px) {
    .registration-section {
        grid-template-columns: 1fr;
        max-width: 850px;
    }

    .registration-halo {
        min-height: 280px;
    }
}

.payment-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 60;
    overflow-y: auto;
}

.payment-modal.visible {
    opacity: 1;
    visibility: visible;
}

.payment-modal__content {
    position: relative;
    background: rgba(4, 3, 8, 0.95);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    width: min(500px, 95%);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.payment-modal__backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 95, 109, 0.25), transparent 45%),
                radial-gradient(circle at 70% 0%, rgba(232, 113, 73, 0.2), transparent 50%);
    border-radius: 1.5rem;
    filter: blur(30px);
    pointer-events: none;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 0;
    color: var(--mist);
    font-size: 1.6rem;
    cursor: pointer;
}

.payment-modal__qr {
    width: 100%;
    border-radius: 1.2rem;
    margin: 1.2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.1);
}

.modal-subhead {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.4rem;
}

.payment-modal__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem 0.8rem;
    margin-bottom: 1rem;
}

.payment-modal__details div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.payment-modal__details strong {
    font-size: 0.7rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.payment-modal__details span {
    font-size: 0.95rem;
    white-space: normal;
    word-break: break-word;
}

.modal-field {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
    letter-spacing: 0.25rem;
    color: rgba(255, 255, 255, 0.75);
}

.modal-input {
    width: 100%;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--mist);
    font-size: 0.95rem;
}

.payment-modal__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .payment-modal__body {
        flex-direction: row;
        align-items: flex-start;
    }
    .payment-modal__qr {
        width: 220px;
        min-width: 220px;
    }
    .payment-modal__details {
        width: 100%;
    }
}

.receipt-success {
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.02);
    display: none;
    flex-direction: column;
    gap: 0.5rem;
}

.receipt-success.visible {
    display: flex;
}

.receipt-success ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.payment-modal__status {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.8rem 0 0;
}

.payment-modal__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 1rem;
}

.payment-modal__content h2 {
    margin-bottom: 0.2rem;
}

.payment-modal__content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.payment-body {
    background: radial-gradient(circle at 15% 10%, rgba(255, 95, 109, 0.32), transparent 45%),
                radial-gradient(circle at 85% 0%, rgba(232, 113, 73, 0.25), transparent 50%),
                #020205;
    color: var(--mist);
}

.payment-page {
    position: relative;
    padding: 4rem 5vw 5rem;
    min-height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-shell {
    width: min(1120px, 100%);
    background: rgba(6, 7, 15, 0.9);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.payment-panel {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.info-panel h1 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.payment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.meta-pill {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.profile-card {
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-card strong {
    font-size: 1.2rem;
}

.app-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.8rem;
}

.app-icon {
    border-radius: 1rem;
    padding: 0.7rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
}

.app-icon img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.action-panel {
    justify-content: space-between;
}

.qr-card {
    text-align: center;
}

.qr-frame {
    margin: 1rem auto 0;
    width: fit-content;
    padding: 1rem;
    border-radius: 1.2rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.qr-frame img {
    border-radius: 1rem;
}

.qr-helper {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.transaction-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.transaction-card input {
    border-radius: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--mist);
    font-size: 0.95rem;
}

.transaction-card input:focus {
    outline: none;
    border-color: var(--ember);
    box-shadow: 0 0 0 2px rgba(255, 95, 109, 0.25);
}

.status-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    padding-top: 0.2rem;
}

.status-text[data-error='true'] {
    color: #ff8c8c;
}

.payment-ambient {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

.ambient-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 35% 20%, rgba(255, 95, 109, 0.3), transparent 60%);
    filter: blur(70px);
}

.ambient-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.35;
}

.payment-3d {
    position: absolute;
    bottom: 40px;
    right: 30px;
    width: 260px;
    height: 260px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.payment-3d .cube-cage {
    transform: scale(0.7);
}

.registration-video {
    position: relative;
    bottom: auto;
    right: auto;
    width: min(220px, 88%);
    max-width: 220px;
    border-radius: 30px;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.65);
    mix-blend-mode: normal;
}

.foreground-gif {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(180px, 72%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
    animation: floatCard 6s ease-in-out infinite;
}

.foreground-gif img {
    width: 100%;
    height: auto;
    border-radius: 1.2rem;
}

.foreground-gif img {
    width: 100%;
    border-radius: 40px;
    object-fit: cover;
    mix-blend-mode: screen;
}

@media (max-width: 900px) {
    .registration-halo {
        min-height: 360px;
        padding: 0.75rem 0.6rem 1rem;
        align-items: flex-end;
    }

    .registration-video {
        position: relative;
        bottom: auto;
        right: auto;
        width: clamp(130px, 45vw, 190px);
        margin: 0 auto;
        border-radius: 1rem;
    }

    .foreground-gif {
        position: relative;
        bottom: auto;
        left: auto;
        width: min(74vw, 220px);
        margin: 0.85rem auto 0;
        transform: none;
        gap: 0.2rem;
    }

    .foreground-gif img {
        border-radius: 1rem;
        object-fit: contain;
        mix-blend-mode: normal;
    }

    .halo {
        width: 100px;
        height: 100px;
    }

    .pulse {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 640px) {
    .registration-halo {
        min-height: 330px;
        padding: 0.65rem 0.45rem 0.85rem;
    }

    .foreground-gif {
        width: min(78vw, 200px);
    }
}

.halo {
    width: 220px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 95, 109, 0.8), rgba(255, 95, 109, 0));
    filter: blur(6px);
    animation: haloPulse 6s ease-in-out infinite;
}

.pulse {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(255, 95, 109, 0.4);
    animation: pulseRing 8s ease-in-out infinite;
}

.cta-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.cta-card {
    padding: 2rem;
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.btn-link {
    color: var(--ember);
    text-decoration: none;
    font-weight: 600;
}

.workshop-ended-dialog {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 95, 109, 0.12), rgba(4, 5, 8, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 60;
    animation: workshopBackdropPulse 6s ease-in-out infinite;
    overflow: hidden;
    backdrop-filter: blur(28px);
    transform-origin: center;
    will-change: transform, opacity;
}

.workshop-ended-dialog.visible {
    opacity: 1;
    pointer-events: auto;
}

.workshop-ended-dialog::before {
    content: '';
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 95, 109, 0.5), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(232, 113, 73, 0.35), transparent 40%);
    opacity: 0.6;
    filter: blur(40px);
    animation: workshopBackdropHalo 12s ease-in-out infinite;
    z-index: -1;
}

.workshop-ended-dialog__content {
    background: linear-gradient(135deg, rgba(6, 7, 16, 0.88), rgba(16, 9, 29, 0.95));
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2.5rem 2rem;
    max-width: 360px;
    width: min(90vw, 360px);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    border-image: linear-gradient(135deg, rgba(255, 95, 109, 0.85), rgba(232, 113, 73, 0.6)) 1;
    animation: workshopCardGlare 7s ease-in-out infinite;
    overflow: hidden;
    padding: 2.5rem 2.4rem;
}

.workshop-ended-dialog__logo {
    display: block;
    width: 70px;
    margin: 0 auto 1.25rem;
}

.workshop-ended-dialog__content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.workshop-ended-dialog__content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.workshop-ended-dialog__close {
    position: absolute;
    top: 0.6rem;
    right: 0.65rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
}

.workshop-ended-dialog__close:hover {
    color: var(--ember);
}

/* E-Certificate Modal */
.ecert-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 5, 8, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 70;
    backdrop-filter: blur(20px);
    overflow-y: auto;
}

.ecert-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.ecert-modal__content {
    background: linear-gradient(135deg, rgba(6, 7, 16, 0.95), rgba(16, 9, 29, 0.98));
    border-radius: 1.8rem;
    border: 1px solid rgba(255, 95, 109, 0.25);
    padding: 2.5rem;
    max-width: 550px;
    width: min(95vw, 550px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), inset 0 0 60px rgba(255, 95, 109, 0.08);
    position: relative;
    animation: ecertModalSlide 0.4s ease-out;
}

.ecert-modal__content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--mist);
    letter-spacing: 0.1rem;
}

.ecert-modal__content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--ember);
}

.ecert-modal__close {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.ecert-modal__close:hover {
    color: var(--ember);
}

.ecert-modal__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ecert-modal__form label {
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    display: block;
    margin-bottom: 0.3rem;
}

.ecert-modal__form input {
    padding: 0.9rem 1rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--mist);
    font-size: 1rem;
    transition: border 0.3s ease;
}

.ecert-modal__form input:focus {
    outline: none;
    border-color: var(--ember);
    background: rgba(255, 95, 109, 0.08);
}

.ecert-modal__form button {
    padding: 0.85rem 1.5rem;
    margin-top: 0.5rem;
}

.ecert-modal__status {
    font-size: 0.9rem;
    color: rgba(255, 95, 109, 0.9);
    text-align: center;
    min-height: 1.2rem;
}

.ecert-modal__result {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ecert-modal__certificate {
    border-radius: 0.8rem;
    border: 2px solid rgba(255, 95, 109, 0.5);
    box-shadow: 0 15px 45px rgba(255, 95, 109, 0.2);
}

.ecert-modal__actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.ecert-modal__actions .btn-primary {
    flex: 1;
    min-width: 150px;
}

.ecert-modal__actions .btn-link {
    padding: 0.85rem 1.5rem;
    display: inline-block;
    border: 1px solid var(--ember);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.ecert-modal__actions .btn-link:hover {
    background: rgba(255, 95, 109, 0.15);
}

.ecert-modal__verify {
    background: rgba(255, 95, 109, 0.08);
    border: 1px solid rgba(255, 95, 109, 0.3);
    border-radius: 1rem;
    padding: 1.2rem;
    margin-top: 1.5rem;
    text-align: center;
}

.ecert-modal__verify p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0.4rem 0;
}

.ecert-modal__verify strong {
    color: var(--ember);
}

@keyframes ecertModalSlide {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes workshopBackdropPulse {
    0% {
        transform: scale(1);
        background: radial-gradient(circle at top, rgba(255, 95, 109, 0.12), rgba(4, 5, 8, 0.9));
    }
    50% {
        transform: scale(1.025);
        background: radial-gradient(circle at 10% 10%, rgba(255, 95, 109, 0.18), rgba(2, 2, 6, 0.96));
    }
    100% {
        transform: scale(1);
        background: radial-gradient(circle at top, rgba(255, 95, 109, 0.12), rgba(4, 5, 8, 0.9));
    }
}

@keyframes workshopBackdropHalo {
    0% {
        filter: blur(40px);
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        filter: blur(50px);
        transform: translate3d(6%, -3%, 0) scale(1.05);
    }
    100% {
        filter: blur(40px);
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes workshopCardGlare {
    0% {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 35px 80px rgba(255, 95, 109, 0.35);
        transform: translateY(-4px);
    }
    100% {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
        transform: translateY(0);
    }
}

.floating-poster-placeholder {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: min(280px, 85vw);
    padding: 1.2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(2, 2, 2, 0.65));
    box-shadow: 0 30px 55px rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(24px);
    z-index: 45;
    animation: posterFloat 5s ease-in-out infinite;
    display: flex;
    justify-content: center;
}

.floating-poster-placeholder::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 95, 109, 0.5);
    pointer-events: none;
}

.poster-card {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    text-align: left;
    z-index: 1;
}

.poster-preview img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.poster-preview {
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    display: flex;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.25);
}

.poster-card__text h4 {
    font-size: 1.05rem;
    letter-spacing: 0.06rem;
}

.poster-timer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.08rem;
}

.poster-card__text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

.poster-card__text {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
}

.poster-card__text--center {
    flex-direction: column;
    gap: 0.2rem;
}

.poster-card__cta {
    width: 100%;
    justify-content: center;
}

.poster-card__cta[disabled] {
    opacity: 0.65;
    filter: grayscale(0.3);
    cursor: not-allowed;
}

.poster-session__greeting {
    min-height: 1.5rem;
    font-size: 0.9rem;
    color: rgba(188, 244, 255, 0.95);
    text-align: center;
    letter-spacing: 0.04rem;
    margin-top: 0.35rem;
    transition: color 0.3s ease;
}

.floating-poster-placeholder {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

@media (max-width: 900px) {
    .floating-poster-placeholder {
        display: none;
    }
}

.site-footer {
    padding: 2.5rem 5vw;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 95, 109, 0.04) 0%, rgba(4, 3, 8, 0.22) 100%);
}

.site-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.site-footer__logo-plain {
    width: 140px;
    height: auto;
    display: block;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    padding: 0;
}

.site-footer__brand {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: center;
}

.site-footer__dot {
    margin: 0 0.4rem;
    color: rgba(255, 95, 109, 0.8);
}

.site-footer__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

.site-footer__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.52rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.84rem;
    transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.site-footer__chip:hover {
    border-color: rgba(255, 95, 109, 0.75);
    background: rgba(255, 95, 109, 0.1);
    transform: translateY(-1px);
}

.site-footer__chip i {
    color: rgba(255, 95, 109, 0.92);
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
}

.site-footer__social a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.site-footer__social a:hover {
    color: #ffffff;
    border-color: rgba(255, 95, 109, 0.65);
    background: rgba(255, 95, 109, 0.08);
}

.site-footer__social i {
    color: rgba(255, 95, 109, 0.92);
}

.site-footer__sources {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.7rem;
    justify-content: center;
}

.site-footer__sources-label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.site-footer__sources a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.32rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site-footer__sources a:hover {
    color: #ffffff;
    border-color: rgba(255, 95, 109, 0.65);
    background: rgba(255, 95, 109, 0.08);
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    margin-top: 0.35rem;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__links a:hover {
    color: #ffffff;
    border-color: rgba(255, 95, 109, 0.7);
}

.site-footer__meta {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.79rem;
    line-height: 1.5;
    text-align: center;
    max-width: 980px;
}

/* Past Workshops Section */
.past-workshops-section {
    grid-column: 1 / -1;
    margin-top: 3rem;
}

.past-workshops-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    text-align: center;
}

.past-workshops-header .badge {
    align-self: center;
}

.past-workshops-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mist);
    letter-spacing: -0.02em;
}

.past-workshops-header p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.past-workshops-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 95, 109, 0.05), rgba(255, 95, 109, 0.02));
    border: 1px solid rgba(255, 95, 109, 0.15);
    border-radius: 2rem;
    padding: 2.5rem;
}

.workshop-details h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--mist);
    margin-bottom: 1.5rem;
}

.workshop-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.workshop-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.workshop-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ember), var(--ember-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

.workshop-list strong {
    display: block;
    color: var(--mist);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.workshop-list p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.workshop-highlight {
    color: rgba(255, 95, 109, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    padding: 1rem;
    background: rgba(255, 95, 109, 0.08);
    border-left: 3px solid var(--ember);
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.workshop-poster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.workshop-poster-slider {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    border-radius: 1.2rem;
    background: rgba(3, 3, 8, 0.6);
    box-shadow: 0 20px 60px rgba(255, 95, 109, 0.25);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-poster-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.workshop-poster-slide.is-active {
    opacity: 1;
}

.workshop-poster-slider:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 70px rgba(255, 95, 109, 0.35);
}

.workshop-poster-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.workshop-poster-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.workshop-poster-dot.is-active {
    background: var(--ember);
    transform: scale(1.2);
}

@media (max-width: 640px) {
    .main-nav {
        width: calc(100% - 1rem);
        padding: 0.58rem 0.72rem;
        gap: 0.6rem;
        flex-wrap: wrap;
        border-radius: 1.1rem;
    }

    .logo {
        width: 100%;
        justify-content: center;
        letter-spacing: 0.1em;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.25rem;
        padding: 0.22rem;
        border-radius: 0.95rem;
    }

    .nav-links a {
        padding: 0.5rem 0.62rem;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
        margin-top: 0.12rem;
    }

    .hero-meta {
        justify-content: center;
    }

    .form-header {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .role-grid {
        grid-template-columns: 1fr;
    }

    .registration-video {
        width: 180px;
        right: 0.5rem;
    }

    .site-footer {
        padding: 2rem 1rem;
    }

    .site-footer__brand {
        font-size: 0.84rem;
    }

    .site-footer__contacts {
        width: 100%;
        gap: 0.55rem;
    }

    .site-footer__links {
        gap: 0.55rem 0.8rem;
    }

    .site-footer__social {
        gap: 0.45rem;
    }

    .site-footer__social a {
        font-size: 0.76rem;
        padding: 0.4rem 0.68rem;
    }

    .site-footer__sources {
        gap: 0.45rem 0.55rem;
    }

    .site-footer__sources-label {
        width: 100%;
        text-align: center;
    }

    .site-footer__sources a {
        font-size: 0.74rem;
    }

    .site-footer__links a {
        font-size: 0.78rem;
    }

    .site-footer__chip {
        width: 100%;
        justify-content: center;
        padding: 0.58rem 0.85rem;
        font-size: 0.8rem;
    }

    .site-footer__meta {
        font-size: 0.74rem;
    }

    .past-workshops-header h2 {
        font-size: 1.9rem;
    }

    .past-workshops-header p {
        font-size: 0.95rem;
    }

    .past-workshops-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
        border-radius: 1.2rem;
    }

    .workshop-details h3 {
        font-size: 1.4rem;
    }

    .workshop-list {
        gap: 1rem;
    }

    .workshop-poster img {
        max-width: 100%;
    }

}

@keyframes cubeSpin {
    /* Badge Attraction Sections - placed strategically to engage students */
    .badge-attraction-section {
        grid-column: 1 / -1;
        padding: 3rem 0;
        text-align: center;
    }

    .badge-attraction-header {
        margin-bottom: 2rem;
    }

    .badge-attraction-header h2 {
        font-size: 2rem;
        font-weight: 700;
        color: var(--mist);
        margin-bottom: 0.5rem;
        letter-spacing: -0.02em;
    }

    .badge-attraction-header p {
        font-size: 1rem;
        color: rgba(255, 95, 109, 0.9);
        font-weight: 500;
    }

    .badge-showcase {
        display: flex;
        gap: 2.5rem;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .badge-showcase-compact {
        gap: 1.5rem;
    }

    .badge-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .badge-item p {
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 500;
    }

    .student-badge {
        width: clamp(80px, 15vw, 120px);
        height: auto;
        border-radius: 1rem;
        filter: drop-shadow(0 12px 28px rgba(255, 95, 109, 0.25));
        animation: floatCard 6s ease-in-out infinite;
        transition: transform 0.3s ease;
    }

    .student-badge:hover {
        transform: scale(1.08);
        filter: drop-shadow(0 15px 35px rgba(255, 95, 109, 0.35));
    }

    .badge-attraction-cta {
        background: linear-gradient(135deg, rgba(255, 95, 109, 0.08), rgba(255, 95, 109, 0.03));
        border: 1px solid rgba(255, 95, 109, 0.15);
        border-radius: 2rem;
        margin: 2rem 0;
    }

    .text-center {
        text-align: center;
    }

    from {
        transform: rotateX(-25deg) rotateY(0deg);
    }
    to {
        transform: rotateX(-25deg) rotateY(360deg);
    }
}

@keyframes prismFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

@keyframes haloPulse {
    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        opacity: 0.75;
    }
    50% {
        opacity: 0.95;
    }
}

@keyframes posterFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes cardTilt {
    0% {
        transform: rotateY(6deg) rotateX(-4deg) translateZ(12px);
    }
    25% {
        transform: rotateY(-10deg) rotateX(2deg) translateZ(18px);
    }
    50% {
        transform: rotateY(12deg) rotateX(-2deg) translateZ(8px);
    }
    75% {
        transform: rotateY(-6deg) rotateX(4deg) translateZ(16px);
    }
    100% {
        transform: rotateY(8deg) rotateX(-3deg) translateZ(10px);
    }
}

/* Responsive overrides */
html,
body {
    max-width: 100%;
}

body {
    min-width: 0;
    overflow-x: hidden;
}

img,
video,
svg,
canvas {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1200px) {
    .main-nav {
        width: min(1100px, calc(100% - 1.5rem));
        border-radius: 1.2rem;
        padding: 0.72rem 0.9rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hero-content,
    .hero-logos,
    .about-section {
        padding: 0 1.2rem;
    }

    .upcoming-section,
    main {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .details-section,
    .registration-section,
    .past-workshops-content {
        grid-template-columns: 1fr;
    }

    .details-visual,
    .registration-halo {
        min-height: 320px;
    }
}

@media (max-width: 900px) {
    .main-nav {
        flex-wrap: wrap;
    }

    .logo {
        width: auto;
        justify-content: flex-start;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.45rem;
        padding: 0.45rem;
        margin-top: 0.25rem;
        border-radius: 0.95rem;
    }

    .main-nav.nav-open .nav-links {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
    }

    .registration-section {
        grid-template-columns: minmax(0, 1fr) clamp(124px, 32vw, 190px);
        gap: 0.9rem;
        align-items: start;
    }

    .registration-halo {
        min-height: 300px;
        padding: 0.6rem 0.45rem;
        align-items: center;
        justify-content: center;
    }

    .registration-video {
        display: none;
    }

    .foreground-gif {
        width: clamp(110px, 28vw, 170px);
        margin: 0 auto;
        gap: 0.35rem;
    }

    .foreground-gif img {
        max-height: 120px;
        object-fit: contain;
    }

    .foreground-gif img:nth-child(3) {
        display: none;
    }

    .halo,
    .pulse {
        display: none;
    }
}

@media (max-width: 768px) {
    .marquee-banner {
        font-size: 0.8rem;
        height: 2.6rem;
        gap: 0.4rem;
        padding-inline: 0.38rem;
    }

    .marquee-live-badge {
        font-size: 0.58rem;
        padding: 0.22rem 0.48rem;
        letter-spacing: 0.1em;
    }

    .marquee-live-dot {
        width: 0.36rem;
        height: 0.36rem;
    }

    .marquee-banner p {
        animation-duration: var(--marquee-speed-mobile), 7s;
        padding-inline: 0.8rem 1rem;
    }

    .marquee-item {
        padding: 0.22rem 0.62rem;
        gap: 0.36rem;
    }

    .main-nav {
        width: calc(100% - 1rem);
        gap: 0.65rem;
        border-radius: 1rem;
    }

    .nav-links {
        gap: 0.35rem;
    }

    .nav-links a {
        font-size: 0.78rem;
        padding: 0.64rem 0.72rem;
    }

    .hero-content {
        margin-top: 1.75rem;
        gap: 1.5rem;
    }

    .hero-copy h1 {
        font-size: clamp(1.65rem, 8vw, 2.35rem);
        line-height: 1.15;
        gap: 0.55rem;
    }

    .hero-live-badge {
        padding: 0.24rem 0.58rem;
        gap: 0.34rem;
        font-size: 0.66rem;
    }

    .form-live-badge {
        padding: 0.24rem 0.58rem;
        gap: 0.34rem;
        font-size: 0.68rem;
    }

    .form-live-badge::before {
        width: 0.4rem;
        height: 0.4rem;
    }

    .hero-live-badge::before {
        width: 0.4rem;
        height: 0.4rem;
    }

    .hero-copy .lede {
        margin: 1rem 0 1.2rem;
        font-size: 0.95rem;
    }

    .hero-meta {
        gap: 0.6rem;
    }

    .hero-meta span {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .hero-3d {
        min-height: 260px;
        transform: scale(0.9);
        transform-origin: center;
    }

    .about-card,
    .details-card,
    .upcoming-section .container,
    .form-shell {
        padding: 1.25rem;
        border-radius: 1.2rem;
    }

    .about-card {
        transform: none;
    }

    .about-card__logo {
        position: static;
        margin: 0 auto 0.8rem;
        display: block;
    }

    .upcoming-header {
        padding: 1rem;
    }

    .workshop-seat-note {
        white-space: normal;
        text-overflow: initial;
    }

    .visual-shell__stats {
        grid-template-columns: 1fr;
    }

    .registration-actions {
        width: 100%;
    }

    .registration-actions .btn-primary,
    .registration-actions .btn-secondary,
    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-width: 0;
        justify-content: center;
        text-align: center;
    }

    .popup-card,
    .payment-modal__content,
    .ecert-modal__content {
        width: min(96vw, 520px);
        padding: 1.15rem;
    }
}

@media (max-width: 640px) {
    .upcoming-section,
    main,
    .hero-content,
    .hero-logos,
    .about-section {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .main-nav {
        padding: 0.56rem 0.62rem;
    }

    .logo {
        max-width: calc(100% - 52px);
    }

    .registration-section {
        grid-template-columns: minmax(0, 1fr) clamp(108px, 30vw, 148px);
        gap: 0.68rem;
    }

    .registration-halo {
        min-height: 250px;
        padding: 0.45rem 0.3rem;
    }

    .foreground-gif {
        width: clamp(96px, 28vw, 136px);
        gap: 0.25rem;
    }

    .foreground-gif img {
        max-height: 96px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy h1 {
        margin-inline: auto;
    }

    .hero-copy .lede {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-3d {
        min-height: 220px;
        transform: scale(0.84);
    }

    .workshop-card__actions,
    .payment-modal__actions,
    .ecert-modal__actions {
        width: 100%;
    }

    .workshop-card__link,
    .payment-modal__actions .btn-primary,
    .payment-modal__actions .btn-secondary,
    .ecert-modal__actions .btn-primary,
    .ecert-modal__actions .btn-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 640px) and (min-height: 900px) {
    header.hero-section {
        padding-top: 1rem;
    }

    .hero-content {
        min-height: auto;
    }

    .hero-3d {
        min-height: 230px;
        transform: scale(0.82);
    }

    .team-card {
        width: 200px;
        min-width: 200px;
    }

    .hero-copy h1 {
        font-size: clamp(1.75rem, 7.4vw, 2.35rem);
    }

    .hero-copy .lede {
        max-width: 34ch;
    }

    .hero-meta {
        gap: 0.48rem;
    }
}

@media (min-width: 1280px) {
    .hero-content,
    .hero-logos,
    .about-section,
    .upcoming-section,
    main {
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
    }

    .upcoming-section,
    main {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1025px) {
    .main-nav {
        width: min(1160px, calc(100% - 2.2rem));
    }

    .nav-links {
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    }

    .details-section {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
    }

    .workshop-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1440px) {
    .details-section {
        grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    }

    .registration-section {
        max-width: 1180px;
        grid-template-columns: minmax(620px, 1.2fr) minmax(320px, 0.8fr);
    }

    .upcoming-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Final logo safety override: prevent any cropping from earlier rules */
header.hero-section .main-nav .logo .logo-mark {
    width: clamp(96px, 11vw, 140px) !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: center !important;
    aspect-ratio: 1080 / 879;
    display: block;
}

@media (max-width: 640px) {
    header.hero-section .main-nav .logo .logo-mark {
        width: clamp(82px, 24vw, 110px) !important;
    }
}
