@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --brand-500: #c21d72;
    --brand-600: #a61961;
    --brand-700: #8a1450;
    --brand-dark: #111827;
    --brand-muted: #6b7280;
    --brand-light: #f9fafb;
    --brand-border: #e5e7eb;
    --brand-white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 20px 40px rgba(194, 29, 114, 0.12);
    --radius: 12px;
    --radius-pill: 999px;
    --event-image-ratio: 16 / 9;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--brand-white);
    color: var(--brand-dark);
    line-height: 1.6;
}

.text-brand {
    color: var(--brand-500) !important;
}

.bg-brand {
    background: var(--brand-500) !important;
}

/* ── Keyboard access ── */
.skip-link {
    position: absolute;
    top: -4rem;
    left: 1rem;
    z-index: 2000;
    padding: 0.65rem 1.1rem;
    background: var(--brand-500);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 var(--radius) var(--radius);
    transition: top 0.15s ease-in-out;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

:focus-visible {
    outline: 3px solid rgba(194, 29, 114, 0.5);
    outline-offset: 2px;
}

/* The main landmark is only focused programmatically by the skip link. */
main:focus {
    outline: none;
}

.hero-section :focus-visible,
.page-hero :focus-visible,
.ed-hero :focus-visible,
.event-hero :focus-visible,
.cta-section :focus-visible,
.site-footer :focus-visible {
    outline-color: #fff;
}

/* ── Navbar ── */
.site-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--brand-border);
    padding: 0.75rem 0;
}

.site-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--brand-dark);
    letter-spacing: -0.02em;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo:hover {
    opacity: 0.9;
}

.brand-logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.brand-logo-img-footer {
    height: 52px;
}

.brand-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--brand-500);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 8px;
    letter-spacing: -0.05em;
}

.brand-logo-text span {
    color: var(--brand-500);
}

.site-navbar .nav-link {
    color: var(--brand-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-pill);
    transition: color 0.2s, background 0.2s;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--brand-500);
    background: rgba(194, 29, 114, 0.06);
}

/* ── Buttons ── */
.btn {
    border-radius: var(--radius);
}

.btn-brand {
    background: var(--brand-500);
    border-color: var(--brand-500);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius);
    padding: 0.6rem 1.4rem;
    transition: background 0.2s, transform 0.15s;
}

.btn-brand:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-brand {
    border: 2px solid var(--brand-500);
    color: var(--brand-500);
    background: transparent;
    font-weight: 600;
    border-radius: var(--radius);
    padding: 0.6rem 1.4rem;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-brand:hover {
    background: var(--brand-500);
    color: #fff;
}

.btn-outline-brand.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.875rem;
    line-height: 1.25;
}

.btn-accent {
    background: var(--brand-500);
    border-color: var(--brand-500);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius);
}

.btn-accent:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
}

/* Hero primary CTA: keep text + icon vertically centered */
.hero-section .btn-accent.btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
}

.hero-section .btn-accent.btn-lg .bi {
    line-height: 1;
}

.btn-ghost-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    background: transparent;
    font-weight: 600;
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

/* ── Hero ── */
.hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1020 0%, #111827 40%, #0f172a 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(194, 29, 114, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(194, 29, 114, 0.15) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover, cover, 20px 20px;
    opacity: 0.9;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-section .lead {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-highlight {
    color: var(--brand-500);
}

.page-hero {
    background: linear-gradient(135deg, #1a1020, #111827);
    color: #fff;
    padding: 3.5rem 0;
    margin-bottom: 2rem;
}

.page-hero h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ── Sections ── */
.section-title {
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--brand-muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-gray {
    background: var(--brand-light);
}

/* ── Service / Category cards ── */
.service-card {
    background: var(--brand-light);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card .icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(194, 29, 114, 0.1);
    color: var(--brand-500);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--brand-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ── Stats ── */
.stat-block {
    text-align: center;
    padding: 1.5rem;
}

.stat-block .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-500);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-block .stat-label {
    color: var(--brand-muted);
    font-weight: 500;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

/* ── Event cards ── */
.event-card {
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.event-card .card-img-top {
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #fce7f3, #f3f4f6);
}

.event-card .card-body {
    padding: 1.25rem;
}

.event-card .badge-category {
    background: rgba(194, 29, 114, 0.1);
    color: var(--brand-500);
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.75rem;
}

.event-card .badge-city {
    background: var(--brand-dark);
    color: #fff;
    font-weight: 500;
    font-size: 0.75rem;
    border-radius: var(--radius-pill);
}

.event-card .card-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0.75rem 0 0.5rem;
}

/* ── Featured platform card (large) ── */
.platform-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--brand-border);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.platform-card .platform-img {
    aspect-ratio: var(--event-image-ratio);
    height: auto;
    width: 100%;
    background: linear-gradient(135deg, #1a1020, var(--brand-500));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    color: #fff;
}

.platform-card .platform-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.platform-card h5 {
    font-weight: 700;
}

/* ── Shared event card meta ── */
.event-card-meta {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.event-card-meta li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--brand-muted);
}

.event-card-meta i {
    color: var(--brand-500);
    font-size: 0.95rem;
    line-height: 1.5;
}

.event-card-meta-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin-bottom: 0.85rem;
}

.event-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.9rem;
}

.event-card-fee {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-dark);
}

.event-card-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.event-card-details {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-muted);
    text-decoration: none;
}

.event-card-details:hover {
    color: var(--brand-500);
    text-decoration: underline;
}

.event-card-action {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--brand-500);
    white-space: nowrap;
    text-decoration: none;
}

a.event-card-action:hover {
    color: var(--brand-600);
}

.platform-img-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.platform-title-link {
    color: inherit;
    text-decoration: none;
}

.platform-title-link:hover {
    color: var(--brand-500);
}

.platform-card:hover .event-card-action i {
    transform: translateX(3px);
}

.event-card-action i {
    display: inline-block;
    margin-left: 0.25rem;
    transition: transform 0.2s;
}

/* ── Events listing states ── */
.events-result-count {
    color: var(--brand-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.events-empty {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
}

.events-empty i {
    font-size: 2.75rem;
    color: var(--brand-500);
    opacity: 0.5;
}

.events-empty h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
}

.events-empty p {
    color: var(--brand-muted);
    margin-bottom: 1.5rem;
}

/* ── Upcoming event row ── */
.upcoming-row {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s;
}

.upcoming-row:hover {
    box-shadow: var(--shadow-md);
}

.upcoming-row .upcoming-img {
    aspect-ratio: var(--event-image-ratio);
    width: 100%;
    height: auto;
    min-height: 0;
    background: linear-gradient(135deg, #111827, #c21d72);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.upcoming-row .upcoming-body {
    padding: 2rem;
}

.upcoming-row h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ── CTA banner ── */
.cta-section {
    background: linear-gradient(135deg, #111827, #1a1020);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ── Forms & panels ── */
.auth-card,
.form-panel {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(194, 29, 114, 0.15);
}

/* ── Multi-step registration ── */
.reg-steps {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    counter-reset: none;
}

.reg-step-dot {
    flex: 1 1 0;
    text-align: center;
    position: relative;
    color: var(--brand-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.reg-step-dot::before {
    content: '';
    position: absolute;
    top: 1rem;
    right: 50%;
    left: -50%;
    height: 2px;
    background: var(--brand-border);
}

.reg-step-dot:first-child::before {
    display: none;
}

.reg-step-dot.is-active::before,
.reg-step-dot.is-done::before {
    background: var(--brand-500);
}

.reg-step-num {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.4rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--brand-border);
    font-weight: 700;
}

.reg-step-dot.is-active .reg-step-num {
    border-color: var(--brand-500);
    background: var(--brand-500);
    color: #fff;
}

.reg-step-dot.is-done .reg-step-num {
    border-color: var(--brand-500);
    color: var(--brand-500);
}

.reg-step-dot.is-active,
.reg-step-dot.is-done {
    color: var(--brand-500);
}

.reg-step {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.reg-step-title {
    float: none;
    width: auto;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.reg-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--brand-border);
}

/* ── Participant type chooser ── */
.type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.type-card {
    margin: 0;
    cursor: pointer;
}

.type-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.type-card-inner {
    display: block;
    height: 100%;
    padding: 1rem;
    border: 2px solid var(--brand-border);
    border-radius: var(--radius);
    transition: border-color 0.2s, background 0.2s;
}

.type-card-inner i {
    display: block;
    font-size: 1.35rem;
    color: var(--brand-500);
    margin-bottom: 0.35rem;
}

.type-card-inner strong {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
}

.type-card-inner small {
    color: var(--brand-muted);
    font-size: 0.8rem;
    line-height: 1.35;
}

.type-card input:checked + .type-card-inner {
    border-color: var(--brand-500);
    background: rgba(194, 29, 114, 0.05);
}

.type-card input:focus-visible + .type-card-inner {
    box-shadow: 0 0 0 3px rgba(194, 29, 114, 0.2);
}

@media (max-width: 575.98px) {
    .type-grid {
        grid-template-columns: 1fr;
    }

    .reg-step-label {
        display: none;
    }
}

.panel-sidebar {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.panel-sidebar .nav-link {
    color: var(--brand-muted);
    border-radius: 8px;
    margin-bottom: 4px;
    font-weight: 500;
}

.panel-sidebar .nav-link.active,
.panel-sidebar .nav-link:hover {
    background: rgba(194, 29, 114, 0.08);
    color: var(--brand-500);
}

.stat-card {
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.ticket-box {
    border: 2px solid var(--brand-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: border-color 0.2s, background 0.2s;
}

.ticket-box:hover {
    border-color: var(--brand-500);
    background: rgba(194, 29, 114, 0.03);
}

.event-banner {
    aspect-ratio: var(--event-image-ratio);
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    width: 100%;
    background: linear-gradient(135deg, #fce7f3, #f3f4f6);
}

/* ── Event detail (sell page) ── */
.ed-hero {
    position: relative;
    min-height: min(72vh, 620px);
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
    background-color: #111827;
    background-size: cover;
    background-position: center;
}

.ed-hero-fallback {
    background: linear-gradient(145deg, #1a1020 0%, #111827 55%, #2a1230 100%);
}

.ed-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem 0 2.75rem;
}

.ed-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
}

.ed-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
}

.ed-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.ed-hero-copy {
    max-width: 720px;
    animation: eventHeroIn 0.65s ease both;
}

.ed-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.ed-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}

.ed-chip-soft {
    background: rgba(194, 29, 114, 0.35);
    border-color: rgba(255, 255, 255, 0.2);
}

.ed-chip-urgent {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #111827;
}

.ed-chip-muted {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.ed-hero h1 {
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.35rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 0.65rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.ed-hero-org {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.35rem;
}

.ed-hero-facts {
    list-style: none;
    margin: 0 0 1.6rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
}

.ed-hero-facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.ed-hero-facts i {
    margin-top: 0.2rem;
    color: #f9a8d4;
    font-size: 1.1rem;
}

.ed-fact-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.ed-hero-facts strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.ed-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ed-cta {
    box-shadow: 0 12px 30px rgba(194, 29, 114, 0.4);
}

.ed-cta-disabled {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
    cursor: default;
    pointer-events: none;
}

.ed-body {
    background: linear-gradient(180deg, #faf7f9 0%, #f3f4f6 100%);
    padding: 2.5rem 0 4.5rem;
}

.ed-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.75rem 2rem;
    align-items: start;
}

.ed-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ed-panel {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    padding: 1.6rem 1.7rem;
    box-shadow: var(--shadow-sm);
}

.ed-panel h2,
.ed-offers-head h2 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.85rem;
}

.ed-prose {
    color: #374151;
    line-height: 1.75;
}

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

.ed-muted {
    color: var(--brand-muted);
}

.ed-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.1rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.ed-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand-500);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.92rem;
}

.ed-link:hover {
    color: var(--brand-600);
    text-decoration: underline;
}

.ed-offers {
    scroll-margin-top: 5.5rem;
}

.ed-offers-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ed-offers-head h2 {
    margin-bottom: 0.25rem;
}

.ed-offers-count {
    min-width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(194, 29, 114, 0.1);
    color: var(--brand-500);
    font-weight: 800;
    border-radius: var(--radius);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.ed-offer-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ed-offer {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    padding: 1.2rem 1.3rem;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.ed-offer:hover {
    border-color: rgba(194, 29, 114, 0.4);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
    transform: translateY(-2px);
}

.ed-offer.is-closed {
    opacity: 0.72;
}

.ed-offer.is-closed:hover {
    transform: none;
}

.ed-offer-main {
    flex: 1 1 240px;
    min-width: 0;
}

.ed-offer-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-muted);
}

.ed-offer-tag {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.ed-offer-tag.is-muted {
    background: #f3f4f6;
    color: #6b7280;
}

.ed-offer h3 {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.ed-offer-meta {
    margin: 0;
    color: var(--brand-muted);
    font-size: 0.85rem;
}

.ed-offer-meta i {
    margin-right: 0.25rem;
}

.ed-offer-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.ed-section-chip {
    display: inline-block;
    background: var(--brand-light);
    border: 1px solid var(--brand-border);
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.28rem 0.65rem;
    border-radius: var(--radius);
}

.ed-offer-side {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.65rem;
    text-align: center;
}

.ed-offer-fee {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-500);
    letter-spacing: -0.02em;
}

.ed-offer-side .btn.disabled {
    pointer-events: none;
    opacity: 0.65;
}

.ed-rules {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.ed-rules summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-dark);
}

.ed-rules summary::-webkit-details-marker {
    display: none;
}

.ed-rules summary i {
    color: var(--brand-muted);
    transition: transform 0.2s;
}

.ed-rules[open] summary i {
    transform: rotate(180deg);
}

.ed-rules-body {
    padding: 0 1.35rem 1.35rem;
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
}

.ed-aside {
    position: sticky;
    top: 5.5rem;
}

.ed-aside-card {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    padding: 1.35rem 1.4rem;
    box-shadow: var(--shadow-md);
}

.ed-aside-eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-500);
}

.ed-aside-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.ed-aside-facts {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
}

.ed-aside-facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
    color: var(--brand-dark);
}

.ed-aside-facts li:last-child {
    border-bottom: none;
}

.ed-aside-facts i {
    color: var(--brand-500);
    margin-top: 0.1rem;
}

.ed-aside-secondary {
    display: block;
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-500);
    text-decoration: none;
}

.ed-aside-secondary:hover {
    text-decoration: underline;
}

.ed-aside-org {
    margin: 1rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid #f3f4f6;
    font-size: 0.82rem;
    color: var(--brand-muted);
}

.ed-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-top: 1px solid var(--brand-border);
    box-shadow: 0 -6px 20px rgba(17, 24, 39, 0.1);
}

.ed-sticky-info {
    min-width: 0;
}

.ed-sticky-info strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.ed-sticky-info span {
    font-size: 0.8rem;
    color: var(--brand-muted);
}

.ed-sticky .btn {
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .ed-layout {
        grid-template-columns: 1fr;
    }

    .ed-aside {
        display: none;
    }

    body:has(.ed-sticky) .site-footer {
        padding-bottom: 6rem;
    }
}

@media (max-width: 575.98px) {
    .ed-hero {
        min-height: 0;
    }

    .ed-hero-inner {
        padding: 1.5rem 0 2rem;
    }

    .ed-hero-facts {
        grid-template-columns: 1fr;
    }

    .ed-offer-side {
        flex: 1 1 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .ed-offer-side .btn {
        width: auto;
        min-width: 7.5rem;
    }
}

@keyframes eventHeroIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Legacy event-* kept for any residual references */

.ticket-print {
    border: 2px dashed var(--brand-500);
    border-radius: var(--radius);
    padding: 2rem;
    background: #fff;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--brand-muted);
    text-align: center;
    border: 1px solid var(--brand-border);
}

/* ── Footer ── */
.site-footer {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 2rem;
}

.site-footer h5,
.site-footer h6 {
    color: #fff;
    font-weight: 700;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--brand-500);
}

.site-footer .footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.site-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    margin-right: 0.5rem;
    font-size: 1rem;
}

.site-footer .social-links a:hover {
    background: var(--brand-500);
    color: #fff;
}

/* ── Search bar in hero ── */
.hero-search {
    display: flex;
    align-items: stretch;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    padding: 0.4rem;
    box-shadow: var(--shadow-lg);
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-search .form-control {
    flex: 1 1 0;
    min-width: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0.7rem 1rem;
    border-radius: calc(var(--radius) - 2px);
}

.hero-search .hero-search-city {
    flex: 0.85 1 0;
    border-left: 1px solid var(--brand-border);
}

.hero-search .form-control:focus {
    box-shadow: none;
    background: rgba(194, 29, 114, 0.04);
}

.hero-search .hero-search-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: calc(var(--radius) - 2px);
    padding: 0.7rem 1.35rem;
    margin: 0;
}

/* ── Misc ── */
main:not(:has(.hero-section)) {
    min-height: 50vh;
}

.breadcrumb-nav {
    font-size: 0.875rem;
    color: var(--brand-muted);
}

.alert {
    border-radius: var(--radius);
    border: none;
}

.pagination .page-item.active .page-link {
    background: var(--brand-500);
    border-color: var(--brand-500);
}

.pagination .page-link {
    color: var(--brand-500);
    border-radius: 8px;
    margin: 0 2px;
}

.site-footer .brand-logo-text {
    color: #fff;
}

.site-footer .brand-logo-text span {
    color: var(--brand-500);
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 420px;
        text-align: center;
    }

    .hero-search {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem;
        text-align: left;
    }

    .hero-search .form-control,
    .hero-search .hero-search-city {
        flex: none;
        width: 100%;
        border-left: none;
        border-bottom: 1px solid var(--brand-border);
        border-radius: 0;
        padding: 0.85rem 0.5rem;
    }

    .hero-search .hero-search-city {
        border-bottom: none;
    }

    .hero-search .hero-search-btn {
        width: 100%;
        margin-top: 0.5rem;
        border-radius: var(--radius);
    }

    .upcoming-row .upcoming-body {
        padding: 1.25rem;
    }
}

/* ── Participant account dashboard ── */
.account-hero {
    background: linear-gradient(180deg, #faf7f9 0%, #fff 100%);
    border-bottom: 1px solid var(--brand-border);
    padding: 2rem 0 1.75rem;
}

.account-hero + .site-flash {
    margin-top: 1rem;
}

.account-hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
}

.account-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-muted);
}

.account-hero h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.35rem;
    color: var(--brand-dark);
}

.account-hero-sub {
    color: var(--brand-muted);
    font-size: 0.95rem;
}

.account-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.account-card {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.35rem 1.5rem;
}

@media (min-width: 992px) {
    .account-card-sticky {
        position: sticky;
        top: 5.5rem;
    }
}

.account-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--brand-border);
}

.account-card-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.account-meta {
    margin: 0;
}

.account-meta > div {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 0.35rem 1rem;
    align-items: baseline;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.account-meta > div:last-child {
    border-bottom: none;
}

.account-meta dt {
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--brand-muted);
}

.account-meta dd {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
}

.account-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--brand-border);
}

.account-empty {
    text-align: center;
    padding: 1.75rem 1rem;
    color: var(--brand-muted);
    background: var(--brand-light);
    border-radius: calc(var(--radius) - 4px);
}

.account-member-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-member-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.account-member-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.account-member-info {
    min-width: 0;
}

.account-member-list strong {
    display: block;
    font-weight: 600;
}

.account-member-list span {
    font-size: 0.85rem;
    color: var(--brand-muted);
}

.account-card-footer {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--brand-border);
    font-size: 0.9rem;
}

.account-card-footer a {
    color: var(--brand-500);
    font-weight: 600;
    text-decoration: none;
}

.account-card-footer a:hover {
    text-decoration: underline;
}

.account-reg-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.account-reg {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--brand-border);
    border-radius: calc(var(--radius) - 2px);
    background: #fff;
}

.account-reg:hover {
    border-color: #f0d0e0;
    background: #fffafc;
}

.account-reg-attention {
    border-color: rgba(194, 29, 114, 0.35);
    background: #fff8fb;
}

.account-reg-main {
    flex: 1 1 240px;
    min-width: 0;
}

.account-reg-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.4rem;
}

.account-reg-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-500);
    text-decoration: none;
}

a.account-reg-code:hover {
    text-decoration: underline;
}

.account-reg-code-plain {
    color: var(--brand-dark);
    cursor: default;
}

.account-reg-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.account-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: #f3f4f6;
    color: #4b5563;
}

.account-badge-confirmed,
.account-badge-registered,
.account-badge-pay-paid {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.account-badge-pending,
.account-badge-pay-pending {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.account-badge-cancelled,
.account-badge-pay-failed,
.account-badge-pay-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.account-reg-title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.account-reg-meta {
    font-size: 0.88rem;
    color: var(--brand-muted);
}

.account-reg-side {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
}

.account-reg-amount {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
}

.account-reg-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
}

.account-pay-batch-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.account-pay-batch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1rem;
    padding: 0.9rem 1.05rem;
    border: 1px solid rgba(194, 29, 114, 0.28);
    border-radius: calc(var(--radius) - 2px);
    background: linear-gradient(135deg, #fff8fb 0%, #fff 70%);
}

.account-pay-batch-copy {
    min-width: 0;
    flex: 1 1 220px;
}

.account-pay-batch-copy strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.15rem;
}

.account-pay-batch-copy p {
    font-size: 0.88rem;
    color: var(--brand-muted);
    line-height: 1.4;
}

.account-pay-batch-copy span {
    color: var(--brand-dark);
    font-weight: 600;
}

.account-pay-batch-form {
    flex: 0 0 auto;
}

.account-reg-tabs {
    display: flex;
    gap: 0.35rem;
    margin: 0 0 1.15rem;
    padding: 0.25rem;
    list-style: none;
    background: var(--brand-light);
    border: 1px solid var(--brand-border);
    border-radius: calc(var(--radius) - 2px);
}

.account-reg-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    border-radius: calc(var(--radius) - 4px);
    padding: 0.45rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-muted);
    background: transparent;
}

.account-reg-tabs .nav-link:hover {
    color: var(--brand-dark);
    background: rgba(255, 255, 255, 0.7);
}

.account-reg-tabs .nav-link.active {
    color: var(--brand-dark);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.account-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
}

.account-reg-tabs .nav-link.active .account-tab-count {
    background: rgba(194, 29, 114, 0.12);
    color: var(--brand-500);
}

.account-btn-cancel {
    border: 1px solid transparent;
    background: transparent;
    color: #9a3412;
    font-weight: 600;
    padding: 0.28rem 0.7rem;
    border-radius: calc(var(--radius) - 4px);
}

.account-btn-cancel:hover,
.account-btn-cancel:focus {
    border-color: rgba(185, 28, 28, 0.25);
    background: rgba(239, 68, 68, 0.06);
    color: #b91c1c;
}

.account-reg-cancelled {
    opacity: 0.88;
    background: #fafafa;
    border-style: dashed;
}

.account-reg-cancelled:hover {
    background: #fafafa;
    border-color: var(--brand-border);
}

.account-reg-cancelled .account-reg-title,
.account-reg-cancelled .account-reg-amount {
    color: #6b7280;
}

.account-cancel-modal .modal-content {
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
}

.account-cancel-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.account-cancel-meta {
    font-size: 0.88rem;
    color: var(--brand-muted);
}

.account-cancel-detail {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    .account-meta > div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .account-reg-side {
        width: 100%;
        align-items: stretch;
        text-align: left;
    }

    .account-reg-actions {
        justify-content: flex-start;
    }

    .account-member-list li {
        align-items: flex-start;
    }
}

/* ── Account profile / forms ── */
.account-form .form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-muted);
    margin-bottom: 0.35rem;
}

.account-form .form-control,
.account-form .form-select {
    border-radius: calc(var(--radius) - 2px);
    border-color: var(--brand-border);
    padding: 0.6rem 0.85rem;
}

.account-form .form-control:focus,
.account-form .form-select:focus {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(194, 29, 114, 0.12);
}

.account-input-readonly {
    background: var(--brand-light) !important;
    color: var(--brand-dark);
    cursor: default;
}

.account-security-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1rem;
    padding: 0.95rem 1.1rem;
    background: var(--brand-light);
    border: 1px solid var(--brand-border);
    border-radius: calc(var(--radius) - 2px);
}

.account-security-row strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.account-security-row span {
    display: block;
    font-size: 0.85rem;
    color: var(--brand-muted);
}

.account-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-top: 0.25rem;
}

.reg-auth-switch {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--brand-border);
    text-align: center;
}

.reg-auth-switch p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--brand-muted);
    font-weight: 500;
}

/* ── Members next-step CTA ── */
.members-next {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.4rem;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.members-next.is-highlight {
    border-color: rgba(194, 29, 114, 0.35);
    background: linear-gradient(135deg, #fff8fb 0%, #fff 70%);
    box-shadow: 0 8px 24px rgba(194, 29, 114, 0.08);
}

.members-next-eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-500);
}

.members-next h2 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

.members-next p {
    margin: 0;
    color: var(--brand-muted);
    font-size: 0.92rem;
    max-width: 36rem;
}

.members-next-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

@media (max-width: 767.98px) {
    .members-next-actions {
        width: 100%;
    }

    .members-next-actions .btn {
        flex: 1 1 auto;
    }
}

/* ── Event registration landing ── */
.reg-landing {
    background: linear-gradient(180deg, #faf7f9 0%, #fff 100%);
    border-bottom: 1px solid var(--brand-border);
    padding: 1.5rem 0 1.75rem;
    margin-bottom: 1.5rem;
}

.reg-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--brand-muted);
    margin-bottom: 1.15rem;
}

.reg-breadcrumb a {
    color: var(--brand-500);
    font-weight: 600;
    text-decoration: none;
}

.reg-breadcrumb a:hover {
    text-decoration: underline;
}

.reg-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
}

.reg-summary-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-500);
}

.reg-summary h1 {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.85rem;
    line-height: 1.2;
}

.reg-summary-facts {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.25rem;
}

.reg-summary-facts li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--brand-dark);
    font-weight: 500;
}

.reg-summary-facts i {
    color: var(--brand-500);
}

.reg-summary-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.15rem;
    font-size: 0.88rem;
}

.reg-summary-links a {
    color: var(--brand-500);
    font-weight: 600;
    text-decoration: none;
}

.reg-summary-links a:hover {
    text-decoration: underline;
}

.reg-progress {
    list-style: none;
    margin: 0;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.reg-progress li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-muted);
}

.reg-progress-num {
    width: 1.55rem;
    height: 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--brand-border);
    font-size: 0.75rem;
    background: #fff;
}

.reg-progress li.is-active {
    color: var(--brand-500);
}

.reg-progress li.is-active .reg-progress-num {
    border-color: var(--brand-500);
    background: var(--brand-500);
    color: #fff;
}

.reg-progress li.is-done {
    color: var(--brand-dark);
}

.reg-progress li.is-done .reg-progress-num {
    border-color: var(--brand-500);
    color: var(--brand-500);
}

.reg-form-card {
    margin-top: 0;
}

.reg-section-title {
    margin-bottom: 1.25rem;
}

.reg-section-title h2 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.3rem;
}

.reg-section-title p {
    margin: 0;
    color: var(--brand-muted);
    font-size: 0.92rem;
}

.reg-gate {
    text-align: center;
    padding: 1.5rem 0.5rem 0.5rem;
    max-width: 420px;
    margin: 0 auto;
}

.reg-gate-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(194, 29, 114, 0.1);
    color: var(--brand-500);
    font-size: 1.5rem;
}

.reg-gate h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.reg-gate p {
    color: var(--brand-muted);
    margin-bottom: 1.25rem;
}

.reg-gate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.reg-gate-note {
    font-size: 0.85rem;
    color: var(--brand-muted);
}

.reg-cart-panel,
.reg-entries-panel {
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    padding: 1.15rem;
    background: #fafafa;
}

.reg-cart-title,
.reg-entries-title {
    font-size: 1.05rem;
    font-weight: 800;
}

.reg-entries-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.reg-entries-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    margin-left: 0.35rem;
    border-radius: 999px;
    background: rgba(194, 29, 114, 0.12);
    color: var(--brand-500);
    font-size: 0.8rem;
    font-weight: 700;
    vertical-align: middle;
}

.reg-entries-empty {
    color: var(--brand-muted);
    font-size: 0.9rem;
}

.reg-pay-hero {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.65rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--brand-border);
    position: sticky;
    top: 0.75rem;
    z-index: 2;
}

.reg-pay-hero-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.reg-pay-hero-amount {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-ink, #1a1a1a);
    line-height: 1;
}

.reg-pay-breakdown {
    font-size: 0.8rem;
    color: var(--brand-muted);
    margin-bottom: 0.85rem;
    padding: 0 0.15rem;
}

.reg-pay-note {
    font-size: 0.8rem;
    color: var(--brand-muted);
    margin: 0 0 0.85rem;
}

.reg-entries-groups {
    margin-bottom: 1rem;
    max-height: 16rem;
    overflow-y: auto;
}

.reg-entries-group + .reg-entries-group {
    margin-top: 0.85rem;
}

.reg-entries-group-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brand-muted);
    margin: 0 0 0.4rem;
}

.reg-entries-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.reg-entries-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.45rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.reg-entries-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.reg-entries-item-name {
    display: block;
    font-weight: 650;
    font-size: 0.92rem;
    line-height: 1.25;
}

.reg-entries-item-meta {
    display: block;
    font-size: 0.8rem;
    color: var(--brand-muted);
    margin-top: 0.1rem;
}

.reg-entries-item-side {
    text-align: right;
    flex-shrink: 0;
}

.reg-entries-item-fee {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
}

.reg-entries-remove {
    border: 0;
    background: none;
    padding: 0;
    font-size: 0.75rem;
    color: #b42318;
    text-decoration: underline;
    cursor: pointer;
}

.reg-pay-form {
    padding-top: 0.35rem;
    border-top: 1px solid var(--brand-border);
}

.reg-pick-list {
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}

.reg-pick-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.reg-pick-row:first-child {
    border-top: 0;
}

.reg-pick-row.is-disabled {
    opacity: 0.55;
    background: #f5f5f5;
}

.reg-pick-row.is-added {
    background: rgba(194, 29, 114, 0.04);
}

.reg-pick-check {
    flex-shrink: 0;
}

.reg-pick-main {
    flex: 1;
    min-width: 0;
}

.reg-pick-name {
    display: block;
    font-weight: 650;
    font-size: 0.95rem;
    margin: 0;
    cursor: pointer;
}

.reg-pick-status {
    display: block;
    font-size: 0.78rem;
    color: var(--brand-muted);
    margin-top: 0.1rem;
}

.reg-pick-status.is-added {
    color: var(--brand-500);
}

.reg-pick-status.is-done {
    color: #b42318;
}

.reg-pick-control {
    flex: 0 1 14rem;
    min-width: 10rem;
}

.reg-totals {
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    background: var(--brand-light);
}

.reg-pay-sticky {
    display: none;
}

@media (max-width: 991.98px) {
    .reg-pick-row {
        flex-wrap: wrap;
    }

    .reg-pick-control {
        flex: 1 1 100%;
        min-width: 0;
    }

    .reg-pay-hero {
        position: static;
    }

    .reg-entries-groups {
        max-height: none;
    }

    .reg-pay-sticky:not([hidden]) {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.75rem 1rem;
        background: #fff;
        border-top: 1px solid var(--brand-border);
        box-shadow: 0 -6px 20px rgba(17, 24, 39, 0.1);
    }

    .reg-pay-sticky-info {
        min-width: 0;
    }

    .reg-pay-sticky-info span {
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--brand-muted);
    }

    .reg-pay-sticky-info strong {
        display: block;
        font-size: 1.2rem;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: -0.03em;
    }

    .reg-pay-sticky .btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    body:has(.reg-pay-sticky:not([hidden])) .site-footer {
        padding-bottom: 6rem;
    }
}

@media (max-width: 767.98px) {
    .reg-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .reg-progress {
        width: 100%;
    }

    .reg-pay-hero-amount {
        font-size: 1.35rem;
    }
}
