/* SRA driver-facing event showcase (events list + event page). */
.evx { --red: #e10600; --ink: #f4f5f7; --dim: #9aa3b0; --line: rgba(255,255,255,.1); --panel: #14161b; --gold: #f5c542; --green: #4ade80;
       max-width: 1080px; margin: 0 auto; padding: 22px 16px 64px; color: var(--ink); }
.evx a { color: inherit; }
.evx-back { color: var(--dim); text-decoration: none; font-size: 14px; }
.evx-back:hover { color: var(--ink); }

/* messages */
.evx-msg { margin: 14px 0 0; padding: 12px 16px; border-radius: 10px; font-weight: 600; background: rgba(74,222,128,.12); color: var(--green); border: 1px solid rgba(74,222,128,.3); }
.evx-msg.error { background: rgba(225,6,0,.12); color: #ff8a86; border-color: rgba(225,6,0,.4); }

/* hero */
.evx-hero { position: relative; margin-top: 14px; border-radius: 22px; overflow: hidden; min-height: 360px; display: flex; align-items: flex-end;
            background: radial-gradient(900px 380px at 80% 0%, rgba(225,6,0,.38), transparent 62%), linear-gradient(135deg, #1b0b0b, #0b0c10 60%); }
.evx-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero) center/cover no-repeat; opacity: .9; }
.evx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,12,.15) 0%, rgba(8,9,12,.55) 50%, rgba(8,9,12,.96) 100%); }
.evx-hero-ghost { position: absolute; right: 18px; top: 10px; z-index: 1; font-size: clamp(40px, 10vw, 104px); line-height: 1; font-weight: 900; white-space: nowrap;
                  letter-spacing: -.02em; color: rgba(255,255,255,.07); text-transform: uppercase; pointer-events: none; max-width: calc(100% - 36px); overflow: hidden; }
.evx-hero-inner { position: relative; z-index: 2; padding: 28px 28px 26px; width: 100%; }
.evx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ff6a66; }
.evx-live { background: var(--red); color: #fff; padding: 3px 9px; border-radius: 999px; letter-spacing: .08em; }
.evx-title { margin: 8px 0 6px; font-size: clamp(30px, 6vw, 54px); line-height: 1; font-weight: 900; letter-spacing: -.01em; }
.evx-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #cfd4dc; font-size: 15px; }
.evx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.evx-chip { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
            backdrop-filter: blur(6px); }
.evx-chip--gold { background: rgba(245,197,66,.16); border-color: rgba(245,197,66,.45); color: var(--gold); }

/* layout */
.evx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; margin-top: 24px; align-items: start; }
@media (max-width: 860px) { .evx-grid { grid-template-columns: 1fr; } .evx-side { order: -1; } }
.evx-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.evx-card + .evx-card { margin-top: 18px; }
.evx-h { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* rules */
.evx-rules { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; gap: 10px; }
.evx-rules li { counter-increment: r; position: relative; padding-left: 40px; line-height: 1.55; color: #dfe3ea; }
.evx-rules li::before { content: counter(r); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
                        font-size: 12px; font-weight: 800; background: rgba(225,6,0,.16); color: #ff7b77; }
.evx-intro { color: #dfe3ea; line-height: 1.6; margin: 0 0 14px; }

/* car + track */
.evx-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .evx-duo { grid-template-columns: 1fr; } }
.evx-art { aspect-ratio: 16/10; border-radius: 12px; background: #0c0d11 center/cover no-repeat; display: grid; place-items: center; overflow: hidden; margin-bottom: 14px; position: relative; }
.evx-art--car { background-image: radial-gradient(circle at 50% 120%, rgba(225,6,0,.3), transparent 60%); }
.evx-art img.badge { width: 38%; max-width: 120px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); }
.evx-art img.map { width: 62%; max-height: 82%; object-fit: contain; filter: drop-shadow(0 0 10px rgba(225,6,0,.35)); }
.evx-art .big { font-size: 22px; font-weight: 900; letter-spacing: .04em; color: rgba(255,255,255,.2); text-transform: uppercase; text-align: center; padding: 0 12px; }
.evx-name { font-size: 20px; font-weight: 800; margin: 0 0 2px; }
.evx-sub { color: var(--dim); font-size: 14px; margin-bottom: 12px; }
.evx-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0; }
.evx-facts div { background: rgba(255,255,255,.04); border-radius: 10px; padding: 9px 12px; }
.evx-facts dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.evx-facts dd { margin: 2px 0 0; font-weight: 800; font-variant-numeric: tabular-nums; }

/* pods */
.evx-pods { display: flex; flex-wrap: wrap; gap: 8px; }
.evx-pod { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.03); }

/* side CTA */
.evx-side { position: sticky; top: 16px; }
.evx-cta-title { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.evx-cta-sub { color: var(--dim); font-size: 14px; margin: 0 0 16px; line-height: 1.5; }
.evx-btn { display: block; width: 100%; text-align: center; padding: 14px 18px; border-radius: 12px; font-weight: 800; font-size: 15px; cursor: pointer;
           border: 1px solid var(--line); background: transparent; color: var(--ink); text-decoration: none; margin-top: 10px; }
.evx-btn--primary { background: linear-gradient(135deg, #f01510, #b00400); border-color: transparent; color: #fff; box-shadow: 0 10px 30px rgba(225,6,0,.3); }
.evx-btn:hover { filter: brightness(1.1); }
.evx-ok { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(74,222,128,.1); color: var(--green); font-weight: 800; margin-bottom: 4px; }
.evx-seats { margin-top: 14px; font-size: 13px; color: var(--dim); }
.evx-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 6px; }
.evx-bar > span { display: block; height: 100%; background: linear-gradient(90deg, #f01510, #ff6a66); }
.evx-lock { color: var(--dim); font-size: 13px; margin-top: 12px; line-height: 1.5; }

/* list cards */
.evx-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.evx-ev { position: relative; border-radius: 20px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; text-decoration: none; color: inherit;
          border: 1px solid var(--line); background: radial-gradient(500px 220px at 80% 0%, rgba(225,6,0,.3), transparent 62%), linear-gradient(135deg, #1b0b0b, #0b0c10 60%); }
.evx-ev::before { content: ""; position: absolute; inset: 0; background: var(--hero) center/cover no-repeat; }
.evx-ev::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,12,.1), rgba(8,9,12,.92)); }
.evx-ev:hover { border-color: var(--red); transform: translateY(-2px); transition: .2s; }
.evx-ev-body { position: relative; z-index: 2; padding: 18px; width: 100%; }
.evx-ev h3 { margin: 6px 0 4px; font-size: 22px; font-weight: 900; line-height: 1.1; }
.evx-empty { color: var(--dim); padding: 48px 0; text-align: center; }

@media (max-width: 640px) { .evx-hero-ghost { display: none; } }
