@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap");

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Core palette */
    --ev-indigo: #0f0e2e;
    --ev-indigo-mid: #1a1845;
    --ev-indigo-soft: #2d2b5e;
    --ev-saffron: #e8640c;
    --ev-saffron-lt: rgba(232, 100, 12, 0.1);
    --ev-saffron-glow: rgba(232, 100, 12, 0.22);
    --ev-champagne: #f5f0e8;
    --ev-champagne-dk: #ede7d9;
    --ev-surface: #ffffff;
    --ev-ink: #111118;
    --ev-ink-2: #3a3a4a;
    --ev-ink-3: #6b6b7e;
    --ev-ink-4: #9a9aaa;
    --ev-border: #e2e0da;
    --ev-border-lt: #f0ede8;

    /* Status */
    --ev-green: #16a34a;
    --ev-green-lt: #f0fdf4;
    --ev-blue: #2563eb;
    --ev-blue-lt: #eff6ff;

    /* Type */
    --ev-ff-display: "Cormorant Garamond", "Georgia", serif;
    --ev-ff-body: "DM Sans", system-ui, sans-serif;

    /* Radii */
    --ev-r-card: 20px;
    --ev-r-sm: 8px;
    --ev-r-pill: 999px;

    /* Shadows */
    --ev-shadow-card:
        0 2px 8px rgba(15, 14, 46, 0.06), 0 8px 32px rgba(15, 14, 46, 0.08);
    --ev-shadow-hover:
        0 8px 24px rgba(15, 14, 46, 0.1), 0 24px 64px rgba(15, 14, 46, 0.14);
    --ev-shadow-feat: 0 32px 80px rgba(15, 14, 46, 0.22);
    --ev-shadow-modal: 0 32px 96px rgba(15, 14, 46, 0.3);

    --ev-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ev-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Base ─────────────────────────────────────────────────────────── */
.ev-root {
    background: var(--ev-champagne);
    min-height: 100vh;
    font-family: var(--ev-ff-body);
    color: var(--ev-ink);
    -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════════════════════════════
   HERO / MASTHEAD
══════════════════════════════════════════════════════════════════ */

.ev-masthead {
    position: relative;
    background: var(--ev-indigo);
    overflow: hidden;
    padding: 60px 32px 60px;
    text-align: center;
}

/* Geometric accent lines */
.ev-masthead::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse 100% 70% at 50% 130%,
            rgba(232, 100, 12, 0.18) 0%,
            transparent 65%
        ),
        radial-gradient(
            ellipse 50% 40% at 15% 10%,
            rgba(232, 100, 12, 0.06) 0%,
            transparent 60%
        );
    pointer-events: none;
}

/* Decorative large ghost numeral — ICCR Alumni since 1950 */
.ev-masthead__ghost {
    position: absolute;
    right: -40px;
    top: -30px;
    font-family: var(--ev-ff-display);
    font-size: clamp(200px, 30vw, 380px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.025);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    letter-spacing: -0.04em;
}

.ev-masthead__inner {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
}

.ev-masthead__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 7px 18px;
    border: 1px solid rgba(232, 100, 12, 0.35);
    border-radius: var(--ev-r-pill);
    background: rgba(232, 100, 12, 0.08);
}

.ev-masthead__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ev-saffron);
    animation: ev-pulse 2s ease-in-out infinite;
}

@keyframes ev-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.75);
    }
}

.ev-masthead__eyebrow-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ev-saffron);
}

.ev-masthead__title {
    font-family: var(--ev-ff-display);
    font-size: clamp(52px, 8vw, 108px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 24px;
}

.ev-masthead__title em {
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
}

.ev-masthead__sub {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.52);
    max-width: 520px;
    margin: 0 auto 44px;
}

/* Stats strip */
.ev-masthead__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.ev-stat {
    padding: 0 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}
.ev-stat:last-child {
    border-right: none;
}

.ev-stat__num {
    display: block;
    font-family: var(--ev-ff-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.ev-stat__label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* ══════════════════════════════════════════════════════════════════
   TOOLBAR (search + filters)
══════════════════════════════════════════════════════════════════ */

.ev-toolbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 240, 232, 0.88);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid var(--ev-border);
    box-shadow: 0 1px 12px rgba(15, 14, 46, 0.06);
}

.ev-toolbar__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Search */
.ev-search {
    display: flex;
    align-items: center;
    background: var(--ev-surface);
    border: 1.5px solid var(--ev-border);
    border-radius: var(--ev-r-sm);
    overflow: hidden;
    flex: 1;
    max-width: 380px;
    min-width: 200px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.ev-search:focus-within {
    border-color: var(--ev-saffron);
    box-shadow: 0 0 0 3px var(--ev-saffron-lt);
}
.ev-search__icon {
    flex-shrink: 0;
    margin: 0 12px;
    color: var(--ev-ink-4);
    pointer-events: none;
}
.ev-search__input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--ev-ff-body);
    font-size: 14px;
    color: var(--ev-ink);
    padding: 10px 0;
    outline: none;
}
.ev-search__input::placeholder {
    color: var(--ev-ink-4);
}
.ev-search__btn {
    flex-shrink: 0;
    border: none;
    background: var(--ev-indigo);
    color: #fff;
    font-family: var(--ev-ff-body);
    font-size: 13px;
    font-weight: 600;
    padding: 0 18px;
    height: 42px;
    cursor: pointer;
    transition: background 0.18s;
}
.ev-search__btn:hover {
    background: var(--ev-saffron);
}

/* Filter chips */
.ev-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ev-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--ev-r-pill);
    border: 1.5px solid var(--ev-border);
    background: var(--ev-surface);
    font-size: 13px;
    font-weight: 500;
    color: var(--ev-ink-3);
    text-decoration: none;
    transition:
        border-color 0.18s,
        background 0.18s,
        color 0.18s,
        transform 0.15s var(--ev-ease-spring);
    white-space: nowrap;
}
.ev-chip:hover {
    border-color: var(--ev-saffron);
    color: var(--ev-saffron);
    transform: translateY(-1px);
}
.ev-chip--active {
    background: var(--ev-indigo);
    border-color: var(--ev-indigo);
    color: #fff;
}
.ev-chip--active:hover {
    background: var(--ev-indigo-soft);
    border-color: var(--ev-indigo-soft);
    color: #fff;
}

.ev-chip__count {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--ev-r-pill);
    padding: 1px 7px;
    font-size: 10.5px;
    font-weight: 700;
}
.ev-chip:not(.ev-chip--active) .ev-chip__count {
    background: var(--ev-champagne);
    color: var(--ev-ink-3);
}

/* ── Date range filter row ── */
.ev-date-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px 12px;
    flex-wrap: wrap;
}
.ev-date-input {
    padding: 7px 10px;
    border-radius: 8px;
    border: 1.5px solid var(--ev-border, #e2e8f0);
    font-size: 12.5px;
    background: #fff;
    color: #1c2331;
    outline: none;
    cursor: pointer;
}
.ev-date-input:focus { border-color: var(--ev-accent, #e8640c); }

/* ══════════════════════════════════════════════════════════════════
   BODY
══════════════════════════════════════════════════════════════════ */

.ev-body {
    max-width: 1240px;
    margin: 0 auto;
    padding: 56px 32px 96px;
}

/* ── Section heading ──────────────────────────────────────────────── */
.ev-section-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}
.ev-section-head__rule {
    flex: 1;
    height: 1px;
    background: var(--ev-border);
}
.ev-section-head__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ev-ink-3);
    white-space: nowrap;
}
.ev-section-head__count {
    background: var(--ev-saffron-lt);
    color: var(--ev-saffron);
    border-radius: var(--ev-r-pill);
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════
   FEATURED EVENT  (full-width hero card)
══════════════════════════════════════════════════════════════════ */

.ev-feature {
    margin-bottom: 56px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--ev-shadow-feat);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 500px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s var(--ev-ease);
}
.ev-feature:hover {
    transform: translateY(-4px);
}

.ev-feature__image {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    background: var(--ev-indigo);
}
.ev-feature__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--ev-ease);
}
.ev-feature:hover .ev-feature__image img {
    transform: scale(1.04);
}
.ev-feature__placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f0e2e 0%, #2d2b5e 60%, #4a3020 100%);
}
.ev-feature__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 60%,
        rgba(15, 14, 46, 0.25) 100%
    );
    pointer-events: none;
}

/* The signature date stamp — bleeds into image */
.ev-feature__date-stamp {
    position: absolute;
    bottom: 28px;
    left: 28px;
    display: flex;
    flex-direction: column;
    background: var(--ev-saffron);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(232, 100, 12, 0.4);
}
.ev-feature__date-stamp__month {
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 6px 20px 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}
.ev-feature__date-stamp__day {
    text-align: center;
    padding: 4px 20px 10px;
    font-family: var(--ev-ff-display);
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

/* Featured badge */
.ev-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: var(--ev-r-pill);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.ev-badge--feat {
    background: var(--ev-saffron);
    color: #fff;
}
.ev-badge--free {
    background: #16a34a;
    color: #fff;
}
.ev-badge--paid {
    background: var(--ev-indigo);
    color: #fff;
}
.ev-badge--up {
    background: var(--ev-blue-lt);
    color: var(--ev-blue);
}
.ev-badge--on {
    background: var(--ev-green-lt);
    color: var(--ev-green);
}
.ev-badge--past {
    background: var(--ev-champagne);
    color: var(--ev-ink-3);
}
.ev-badge--urgent {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.ev-feature__content {
    background: var(--ev-indigo);
    color: #fff;
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.ev-feature__content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 140% 100% at 0% 100%,
        rgba(232, 100, 12, 0.16) 0%,
        transparent 55%
    );
    pointer-events: none;
}
.ev-feature__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
}
.ev-feature__category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}
.ev-feature__sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}
.ev-feature__mode {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ev-feature__title {
    font-family: var(--ev-ff-display);
    font-size: clamp(26px, 3.2vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
}
.ev-feature__meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    position: relative;
}
.ev-feature__meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}
.ev-feature__meta-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}
.ev-feature__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}
.ev-feature__price {
    font-family: var(--ev-ff-display);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.ev-feature__price span {
    display: block;
    font-family: var(--ev-ff-body);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
}
.ev-feature__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--ev-saffron);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--ev-r-sm);
    transition:
        background 0.18s,
        gap 0.2s,
        transform 0.18s var(--ev-ease-spring);
    text-decoration: none;
}
.ev-feature:hover .ev-feature__cta {
    background: #d05a0b;
    gap: 12px;
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════
   EVENTS GRID
══════════════════════════════════════════════════════════════════ */

.ev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 56px;
}

/* ── Event Card ─────────────────────────────────────────────────── */
.ev-card {
    background: var(--ev-surface);
    border-radius: var(--ev-r-card);
    border: 1px solid var(--ev-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--ev-shadow-card);
    transition:
        transform 0.26s var(--ev-ease),
        box-shadow 0.26s var(--ev-ease),
        border-color 0.22s;
    position: relative;
}
.ev-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ev-shadow-hover);
    border-color: rgba(232, 100, 12, 0.22);
}

/* Image */
.ev-card__img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--ev-indigo);
    flex-shrink: 0;
}
.ev-card__img-wrap a {
    display: block;
    height: 100%;
}
.ev-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s var(--ev-ease);
}
.ev-card:hover .ev-card__img {
    transform: scale(1.06);
}
.ev-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--ev-indigo) 0%, #2d2b5e 100%);
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    letter-spacing: 0.06em;
}

/* Date stamp on card image — signature element */
.ev-card__date-stamp {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--ev-surface);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 52px;
    text-align: center;
}
.ev-card__date-stamp__month {
    background: var(--ev-saffron);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 8px 3px;
}
.ev-card__date-stamp__day {
    font-family: var(--ev-ff-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--ev-ink);
    line-height: 1;
    padding: 4px 8px 6px;
}

/* Status badge */
.ev-card__status {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

/* Free badge */
.ev-card__free {
    position: absolute;
    bottom: 14px;
    right: 14px;
}

/* Card body */
.ev-card__body {
    padding: 22px 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    /* Saffron top-rule — the card's DNA */
    border-top: 2.5px solid var(--ev-saffron);
}
.ev-card__eyebrow {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.ev-card__cat {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ev-saffron);
    text-decoration: none;
}
.ev-card__cat:hover {
    text-decoration: underline;
}
.ev-card__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ev-border);
    flex-shrink: 0;
}
.ev-card__eyebrow-text {
    font-size: 11.5px;
    color: var(--ev-ink-4);
}

.ev-card__title {
    font-family: var(--ev-ff-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ev-ink);
    margin-bottom: 12px;
}
.ev-card__title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.18s;
}
.ev-card__title a:hover {
    color: var(--ev-saffron);
}

.ev-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ev-ink-3);
    margin-bottom: 12px;
}

.ev-card__desc {
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--ev-ink-3);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

/* Seat progress */
.ev-seats {
    margin-bottom: 18px;
}
.ev-seats__track {
    height: 4px;
    background: var(--ev-border);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 6px;
}
.ev-seats__fill {
    height: 100%;
    border-radius: 99px;
    background: var(--ev-saffron);
    transition: width 0.6s var(--ev-ease);
}
.ev-seats__fill--near {
    background: #f59e0b;
}
.ev-seats__fill--full {
    background: #ef4444;
}
.ev-seats__text {
    font-size: 11.5px;
    color: var(--ev-ink-4);
}
.ev-tag-near {
    color: #d97706;
    font-weight: 700;
}
.ev-tag-full {
    color: #dc2626;
    font-weight: 700;
}

/* Card footer */
.ev-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--ev-border-lt);
    margin-top: auto;
}

.ev-card__price {
    font-family: var(--ev-ff-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--ev-ink);
    line-height: 1;
}
.ev-card__price-label {
    font-size: 11px;
    color: var(--ev-ink-4);
    font-weight: 400;
    display: block;
    margin-top: 1px;
}

.ev-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ev-card__register {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: var(--ev-indigo);
    color: #fff;
    border-radius: var(--ev-r-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.18s,
        transform 0.15s var(--ev-ease-spring);
    cursor: pointer;
    border: none;
    font-family: var(--ev-ff-body);
}
.ev-card__register:hover {
    background: var(--ev-saffron);
    transform: translateY(-1px);
}
.ev-card__register--done {
    background: var(--ev-green-lt);
    color: var(--ev-green);
    border: 1.5px solid #bbf7d0;
    cursor: default;
}
.ev-card__register--done:hover {
    background: var(--ev-green-lt);
    transform: none;
}

.ev-card__details {
    font-size: 13px;
    font-weight: 500;
    color: var(--ev-ink-3);
    text-decoration: none;
    transition: color 0.18s;
}
.ev-card__details:hover {
    color: var(--ev-saffron);
}

/* ══════════════════════════════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════════════════════════════ */

.ev-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 24px;
    gap: 14px;
}
.ev-empty__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ev-saffron-lt);
    border: 1px solid rgba(232, 100, 12, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ev-saffron);
    margin-bottom: 6px;
}
.ev-empty__title {
    font-family: var(--ev-ff-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--ev-ink);
}
.ev-empty__sub {
    font-size: 15px;
    color: var(--ev-ink-3);
    max-width: 380px;
    line-height: 1.7;
}
.ev-empty__cta {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--ev-indigo);
    color: #fff;
    border-radius: var(--ev-r-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s;
}
.ev-empty__cta:hover {
    background: var(--ev-saffron);
}

/* ══════════════════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════════════════ */

.ev-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ev-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--ev-r-sm);
    border: 1.5px solid var(--ev-border);
    background: var(--ev-surface);
    color: var(--ev-ink-2);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    font-family: var(--ev-ff-body);
    transition:
        border-color 0.18s,
        background 0.18s,
        color 0.18s,
        transform 0.15s var(--ev-ease-spring);
    cursor: pointer;
}
.ev-page-btn:hover {
    border-color: var(--ev-saffron);
    color: var(--ev-saffron);
    transform: translateY(-1px);
}
.ev-page-btn--active {
    background: var(--ev-indigo);
    border-color: var(--ev-indigo);
    color: #fff;
}
.ev-page-btn--active:hover {
    color: #fff;
    border-color: var(--ev-indigo);
    transform: none;
}
.ev-page-btn--disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════
   DETAIL PAGE
══════════════════════════════════════════════════════════════════ */

.ev-detail-page {
    background: var(--ev-champagne);
    min-height: 100vh;
    font-family: var(--ev-ff-body);
    color: var(--ev-ink);
    -webkit-font-smoothing: antialiased;
}

/* Reading progress */
.ev-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--ev-saffron);
    width: 0%;
    z-index: 1000;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* Back link */
.ev-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ev-ink-3);
    text-decoration: none;
    padding: 22px 0 0;
    transition:
        color 0.18s,
        gap 0.2s;
}
.ev-back:hover {
    color: var(--ev-saffron);
    gap: 9px;
}

/* ── Detail hero ──────────────────────────────────────────────── */

.ev-detail-hero-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.ev-detail-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 21/8;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--ev-shadow-feat);
    background: var(--ev-indigo);
    margin-bottom: 0;
}
.ev-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ev-detail-hero__placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f0e2e 0%, #2d2b5e 55%, #4a2800 140%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.15);
}
.ev-detail-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0) 40%
    );
    pointer-events: none;
}
.ev-detail-hero__badges {
    position: absolute;
    top: 22px;
    left: 22px;
    display: flex;
    gap: 10px;
    z-index: 1;
}

/* Date ribbon on detail hero */
.ev-detail-hero__date {
    position: absolute;
    bottom: 28px;
    right: 28px;
    background: rgba(15, 14, 46, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px 22px;
    text-align: center;
    z-index: 1;
}
.ev-detail-hero__date-month {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ev-saffron);
    margin-bottom: 4px;
}
.ev-detail-hero__date-day {
    font-family: var(--ev-ff-display);
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.ev-detail-hero__date-year {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    margin-top: 2px;
}

/* ── Detail layout ──────────────────────────────────────────── */

.ev-detail-layout {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 32px 96px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

/* ── Main content ───────────────────────────────────────────── */

.ev-detail-main {
}

.ev-detail-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--ev-r-pill);
    background: var(--ev-saffron-lt);
    color: var(--ev-saffron);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 16px;
}

.ev-detail-title {
    font-family: var(--ev-ff-display);
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 700;
    color: var(--ev-ink);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}

.ev-detail-organizer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--ev-surface);
    border: 1px solid var(--ev-border);
    border-radius: 14px;
    margin-bottom: 36px;
}
.ev-detail-organizer__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ev-saffron-lt);
    border: 2px solid rgba(232, 100, 12, 0.2);
    color: var(--ev-saffron);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}
.ev-detail-organizer__label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ev-ink-4);
    margin-bottom: 2px;
}
.ev-detail-organizer__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--ev-ink);
}

.ev-detail-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--ev-ink-2);
}
.ev-detail-description p {
    margin-bottom: 1.2em;
}
.ev-detail-description h2 {
    font-family: var(--ev-ff-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--ev-ink);
    margin: 1.8em 0 0.6em;
    line-height: 1.2;
}
.ev-detail-description h3 {
    font-family: var(--ev-ff-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--ev-ink);
    margin: 1.4em 0 0.5em;
}
.ev-detail-description strong {
    font-weight: 600;
    color: var(--ev-ink);
}
.ev-detail-description a {
    color: var(--ev-saffron);
    text-decoration: underline;
    text-decoration-color: rgba(232, 100, 12, 0.4);
    text-underline-offset: 3px;
}
.ev-detail-description ul,
.ev-detail-description ol {
    margin: 0 0 1.2em 1.5em;
}
.ev-detail-description li {
    margin-bottom: 0.4em;
}
.ev-detail-description blockquote {
    margin: 2em 0;
    padding: 18px 22px;
    border-left: 3px solid var(--ev-saffron);
    background: var(--ev-saffron-lt);
    border-radius: 0 10px 10px 0;
    font-family: var(--ev-ff-display);
    font-style: italic;
    font-size: 20px;
    color: var(--ev-ink-2);
}
.ev-detail-description img {
    max-width: 100%;
    border-radius: 14px;
    margin: 1.5em 0;
    display: block;
}

/* ── Sidebar / ticket card ──────────────────────────────────── */

.ev-detail-sidebar {
    position: sticky;
    top: 80px;
}

.ev-ticket-card {
    background: var(--ev-surface);
    border-radius: 22px;
    border: 1px solid var(--ev-border);
    box-shadow: var(--ev-shadow-card);
    overflow: hidden;
}

/* Ticket card header strip */
.ev-ticket-card__header {
    background: var(--ev-indigo);
    padding: 24px 28px 22px;
    position: relative;
    overflow: hidden;
}
.ev-ticket-card__header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 150% 120% at -10% 110%,
        rgba(232, 100, 12, 0.3) 0%,
        transparent 55%
    );
    pointer-events: none;
}
.ev-ticket-card__price {
    font-family: var(--ev-ff-display);
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    position: relative;
}
.ev-ticket-card__price-label {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 4px;
    letter-spacing: 0.06em;
}

/* Perforated divider — ticket tear effect */
.ev-ticket-tear {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.ev-ticket-tear::before,
.ev-ticket-tear::after {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ev-champagne);
    flex-shrink: 0;
    position: absolute;
}
.ev-ticket-tear::before {
    left: -11px;
}
.ev-ticket-tear::after {
    right: -11px;
}
.ev-ticket-tear__line {
    flex: 1;
    margin: 0 22px;
    border-top: 1.5px dashed var(--ev-border);
}

/* Ticket body */
.ev-ticket-card__body {
    padding: 22px 28px 26px;
}

.ev-ticket-facts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}
.ev-ticket-facts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.ev-ticket-fact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ev-champagne);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ev-ink-3);
    flex-shrink: 0;
}
.ev-ticket-fact-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--ev-ink);
    line-height: 1.5;
    padding-top: 8px;
}
.ev-ticket-fact-sub {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--ev-ink-4);
    margin-top: 2px;
}

.ev-ticket-divider {
    height: 1px;
    background: var(--ev-border);
    margin: 18px 0;
}

/* Register CTA */
.ev-ticket-register {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ev-saffron);
    color: #fff;
    border: none;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--ev-ff-body);
    text-decoration: none;
    transition:
        background 0.2s,
        transform 0.15s var(--ev-ease-spring),
        box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(232, 100, 12, 0.28);
}
.ev-ticket-register:hover {
    background: #d05a0b;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(232, 100, 12, 0.36);
}
.ev-ticket-register--closed {
    background: var(--ev-champagne);
    color: var(--ev-ink-4);
    cursor: not-allowed;
    box-shadow: none;
}
.ev-ticket-register--closed:hover {
    background: var(--ev-champagne);
    transform: none;
    box-shadow: none;
}
.ev-ticket-register--success {
    background: var(--ev-green-lt);
    color: var(--ev-green);
    border: 1.5px solid #bbf7d0;
    box-shadow: none;
    cursor: default;
}
.ev-ticket-register--success:hover {
    background: var(--ev-green-lt);
    transform: none;
    box-shadow: none;
}

.ev-ticket-deadline {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    color: var(--ev-ink-4);
}

/* ── More Events section ────────────────────────────────────── */

.ev-more {
    background: var(--ev-champagne-dk);
    border-top: 1px solid var(--ev-border);
    padding: 72px 0;
    margin-top: 56px;
}
.ev-more__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}
.ev-more__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 40px;
}
.ev-more__title {
    font-family: var(--ev-ff-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--ev-ink);
}
.ev-more__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--ev-saffron);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}
.ev-more__link:hover {
    gap: 8px;
}

/* ══════════════════════════════════════════════════════════════════
   REGISTRATION MODAL
══════════════════════════════════════════════════════════════════ */

.ev-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 14, 46, 0.65);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease;
}
.ev-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.ev-modal {
    background: var(--ev-surface);
    border-radius: 22px;
    width: 100%;
    max-width: 640px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: var(--ev-shadow-modal);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.28s var(--ev-ease-spring);
    position: relative;
    scrollbar-width: thin;
}
.ev-modal-overlay.open .ev-modal {
    transform: translateY(0) scale(1);
}

/* Modal header */
.ev-modal__header {
    background: var(--ev-indigo);
    padding: 28px 32px 24px;
    border-radius: 22px 22px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    overflow: hidden;
}
.ev-modal__header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 120% 100% at 5% 110%,
        rgba(232, 100, 12, 0.25) 0%,
        transparent 55%
    );
    pointer-events: none;
}
.ev-modal__header-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ev-saffron);
    margin: 0 0 5px;
    position: relative;
}
.ev-modal__header-title {
    font-family: var(--ev-ff-display);
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.25;
    position: relative;
}
.ev-modal__close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1;
    transition:
        background 0.18s,
        color 0.18s;
    position: relative;
}
.ev-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Modal body */
.ev-modal__body {
    padding: 28px 32px 8px;
}

/* Grid */
.ev-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* Fields */
.ev-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ev-field label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ev-ink-2);
}
.ev-field label span {
    color: var(--ev-saffron);
}

.ev-field input,
.ev-field textarea {
    padding: 10px 14px;
    border: 1.5px solid var(--ev-border);
    border-radius: var(--ev-r-sm);
    font-size: 14px;
    color: var(--ev-ink);
    font-family: var(--ev-ff-body);
    background: var(--ev-champagne);
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
    outline: none;
    width: 100%;
}
.ev-field input:focus,
.ev-field textarea:focus {
    border-color: var(--ev-saffron);
    box-shadow: 0 0 0 3px var(--ev-saffron-lt);
    background: var(--ev-surface);
}
.ev-field input.invalid,
.ev-field textarea.invalid {
    border-color: #ef4444;
}
.ev-field textarea {
    resize: vertical;
    min-height: 84px;
}
.ev-field-full {
    margin-bottom: 16px;
}

.ev-field-error {
    font-size: 11.5px;
    color: #ef4444;
    min-height: 15px;
}

/* Form error */
.ev-form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: var(--ev-r-sm);
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Modal footer */
.ev-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 32px 28px;
    border-top: 1px solid var(--ev-border-lt);
}
.ev-modal__cancel {
    background: transparent;
    color: var(--ev-ink-3);
    border: 1.5px solid var(--ev-border);
    padding: 11px 22px;
    border-radius: var(--ev-r-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--ev-ff-body);
    transition:
        border-color 0.18s,
        color 0.18s;
}
.ev-modal__cancel:hover {
    border-color: var(--ev-ink-3);
    color: var(--ev-ink);
}
.ev-modal__submit {
    background: var(--ev-saffron);
    color: #fff;
    border: none;
    padding: 11px 28px;
    border-radius: var(--ev-r-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--ev-ff-body);
    transition:
        background 0.2s,
        transform 0.15s var(--ev-ease-spring);
}
.ev-modal__submit:hover {
    background: #d05a0b;
    transform: translateY(-1px);
}
.ev-modal__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success state */
.ev-modal__success {
    text-align: center;
    padding: 40px 32px 32px;
}
.ev-modal__success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--ev-saffron-lt);
    border: 2px solid rgba(232, 100, 12, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--ev-saffron);
    font-size: 32px;
}
.ev-modal__success h3 {
    font-family: var(--ev-ff-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--ev-ink);
    margin: 0 0 8px;
}
.ev-modal__success p {
    font-size: 15px;
    color: var(--ev-ink-3);
    margin: 0 0 22px;
    line-height: 1.65;
}
.ev-modal__success-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--ev-champagne);
    border: 1px solid var(--ev-border);
    border-radius: var(--ev-r-sm);
    font-size: 13px;
    color: var(--ev-ink-2);
    margin-bottom: 24px;
}
.ev-modal__success-email svg {
    color: var(--ev-saffron);
    flex-shrink: 0;
}
.ev-modal__success-email strong {
    color: var(--ev-ink);
}
.ev-modal__done {
    background: var(--ev-indigo);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: var(--ev-r-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--ev-ff-body);
    transition: background 0.18s;
}
.ev-modal__done:hover {
    background: var(--ev-saffron);
}

/* ══════════════════════════════════════════════════════════════════
   REVEAL ANIMATION
══════════════════════════════════════════════════════════════════ */

   RESPONSIVE
══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .ev-detail-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .ev-detail-sidebar {
        position: static;
        padding-bottom: 0;
        margin-top: 40px;
    }
    .ev-detail-hero {
        aspect-ratio: 16/7;
    }
}

@media (max-width: 900px) {
    .ev-feature {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .ev-feature__image {
        min-height: 280px;
    }
    .ev-feature__content {
        padding: 40px 36px;
    }
    .ev-masthead__stats {
        gap: 0;
    }
    .ev-stat {
        padding: 0 20px;
    }
}

@media (max-width: 640px) {
    .ev-masthead {
        padding: 72px 20px 64px;
    }
    .ev-masthead__ghost {
        display: none;
    }
    .ev-body {
        padding: 32px 16px 60px;
    }
    .ev-toolbar__inner {
        padding: 12px 16px;
    }
    .ev-search {
        max-width: 100%;
        min-width: 0;
        flex: none;
        width: 100%;
    }
    .ev-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .ev-feature__content {
        padding: 28px 22px;
    }
    .ev-feature__title {
        font-size: 24px;
    }
    .ev-modal__grid {
        grid-template-columns: 1fr;
    }
    .ev-modal__footer {
        flex-direction: column-reverse;
    }
    .ev-modal__cancel,
    .ev-modal__submit {
        width: 100%;
        text-align: center;
    }
    .ev-modal__header,
    .ev-modal__body {
        padding-left: 20px;
        padding-right: 20px;
    }
    .ev-modal__footer {
        padding: 16px 20px 24px;
    }
    .ev-detail-hero-wrap {
        padding: 0 16px;
    }
    .ev-detail-layout {
        padding: 32px 16px 60px;
    }
    .ev-detail-hero {
        aspect-ratio: 4/3;
        border-radius: 16px;
    }
    .ev-detail-hero__date {
        bottom: 16px;
        right: 16px;
    }
    .ev-more__inner {
        padding: 0 16px;
    }
    .ev-stat {
        padding: 0 14px;
    }
    .ev-masthead__stats {
        gap: 12px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ev-card,
    .ev-feature,
    .ev-card__img,
    .ev-feature__image img,
    .ev-chip,
    .ev-page-btn,
    .ev-reveal {
        transition: none;
        animation: none;
    }
    .ev-masthead__dot {
        animation: none;
    }
    .ev-progress {
        transition: none;
    }
}
.ev-card {
    contain: layout style paint;
}

/* ══════════════════════════════════════════════════════
   PERFORMANCE FIXES
══════════════════════════════════════════════════════ */

/* Remove backdrop-filter — single biggest perf killer */
.ev-toolbar {
    background: rgba(245, 240, 232, 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Contain cards — stops browser repainting whole page */
.ev-card {
    contain: layout style paint;
    will-change: auto;
}

/* Don't animate cards on hover during scroll — only on actual hover */
.ev-card {
    transition: none;
}
.ev-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ev-shadow-hover);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* Kill hover transform on feature card — expensive */
.ev-feature {
    transition: none;
}
.ev-feature:hover {
    transform: none;
}

/* Simplify reveal — no transform, opacity only */
.ev-reveal {
    opacity: 0;
    transform: none;
    transition: opacity 0.3s ease;
    will-change: opacity;
}
.ev-reveal.ev-reveal--show {
    opacity: 1;
    will-change: auto;
}
.ev-reveal--delay-1 {
    transition-delay: 0.08s;
}
.ev-reveal--delay-2 {
    transition-delay: 0.16s;
}

/* Masthead pulse animation — pause when not visible */
.ev-masthead__dot {
    animation: ev-pulse 2s ease-in-out infinite;
    animation-play-state: running;
}

/* Kill image zoom on hover — very expensive repaint */
.ev-card:hover .ev-card__img,
.ev-feature:hover .ev-feature__image img {
    transform: none;
}
.ev-card__img {
    transition: none;
}
.ev-feature__image img {
    transition: none;
}

/* Chips — remove spring animation */
.ev-chip {
    transition:
        border-color 0.15s,
        color 0.15s;
}
.ev-chip:hover {
    transform: none;
}

/* Page buttons — remove spring */
.ev-page-btn {
    transition:
        border-color 0.15s,
        color 0.15s;
}
.ev-page-btn:hover {
    transform: none;
}

/* Register button — keep but simplify */
.ev-card__register {
    transition: background 0.15s;
}
.ev-card__register:hover {
    transform: none;
}

/* Ticket register button */
.ev-ticket-register {
    transition:
        background 0.2s,
        box-shadow 0.2s;
}
.ev-ticket-register:hover {
    transform: none;
}
.ev-detail-organizer__avatar--photo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    flex-shrink: 0;
    border: 2px solid rgba(232, 100, 12, 0.2);
    text-decoration: none;
    transition: opacity 0.18s;
}
.ev-detail-organizer__avatar--photo:hover {
    opacity: 0.85;
}
.ev-detail-organizer__avatar--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ev-detail-organizer__name--link {
    text-decoration: none;
    color: var(--ev-ink);
    transition: color 0.18s;
}
.ev-detail-organizer__name--link:hover {
    color: var(--ev-saffron);
}
