
:root {
    --bg: #33383f;
    --panel: #3d434b;
    --panel2: #464d56;
    --line: #5a616b;
    --accent: #29b6f6;
    --accent-dark: #0e86c9;
    --accent-soft: rgba(41,182,246,0.14);
    --text: #ffffff;
    --muted: #d3d8dd;
    --muted2: #aab0b8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}
h1, h2, h3, .display { font-family: Georgia, "Times New Roman", serif; font-weight: 900; letter-spacing: -0.01em; margin: 0; color: var(--text); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 40; background: rgba(5,6,7,0.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
header.site .bar { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .06em; font-weight: 800; color: var(--text); }
.brand img { height: 40px; width: 40px; border-radius: 999px; border: 1px solid rgba(41,182,246,0.4); }
nav.main { display: none; gap: 34px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
@media (min-width: 860px) { nav.main { display: flex; } }
nav.main a:hover { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: .03em; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; }
.btn-accent { background: var(--accent); color: #ffffff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 30px; font-size: 15px; border-radius: 999px; }
.btn-block { width: 100%; justify-content: center; }
.back-link { color: var(--muted2); font-size: 14px; }
.back-link:hover { color: var(--accent); }

/* Hero */
section.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
section.hero .glow { position: absolute; width: 480px; height: 480px; border-radius: 999px; background: radial-gradient(circle, rgba(2,132,199,.10), transparent 70%); filter: blur(40px); pointer-events: none; }
section.hero .glow.a { top: -160px; right: -160px; }
section.hero .glow.b { bottom: -160px; left: -160px; }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; padding: 88px 0 100px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero-inner { position: relative; padding: 64px 0 56px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(41,182,246,0.3); padding: 7px 14px; border-radius: 999px; }
.badge .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-top: 24px; }
h1.headline { font-size: 42px; line-height: 1.08; margin-top: 20px; color: var(--text); }
@media (min-width: 640px) { h1.headline { font-size: 54px; } }
.text-accent-strong { color: var(--accent); }
p.lede { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 520px; margin-top: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.stat-row { display: grid; grid-template-columns: repeat(3, auto); gap: 24px; max-width: 460px; margin-top: 48px; }
.stat-row > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.stat-num { font-family: Georgia, serif; font-weight: 900; font-size: 24px; color: var(--text); }
.stat-label { color: var(--muted2); font-size: 11px; letter-spacing: .04em; margin-top: 4px; }
.hero-art { position: relative; margin: 0 auto; max-width: 380px; }
.hero-art .ring { position: relative; aspect-ratio: 1/1; border-radius: 999px; border: 1px solid rgba(41,182,246,0.3); padding: 12px; background: linear-gradient(to bottom, var(--panel2), var(--panel)); box-shadow: 0 20px 60px -20px rgba(41,182,246,0.2); }
.hero-art img { width: 100%; height: 100%; border-radius: 999px; object-fit: cover; }
.meta-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; color: var(--muted); font-size: 14px; }
.closed-badge { display: inline-block; margin-top: 32px; background: var(--panel2); border: 1px solid var(--line); color: var(--muted); padding: 12px 20px; border-radius: 999px; font-size: 14px; }

/* Sport strip */
section.strip { background: var(--panel); border-bottom: 1px solid var(--line); }
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 18px 0; color: var(--muted2); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.strip-row .accent { color: var(--accent); }

/* Sections */
section.block { padding: 88px 0; }
.head-row { display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; }
@media (min-width: 760px) { .head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
h2.title { font-size: 30px; }
@media (min-width: 640px) { h2.title { font-size: 34px; } }
.head-row p { color: var(--muted2); font-size: 14px; max-width: 340px; }
.prose { color: var(--muted); line-height: 1.8; }
.prose p { margin: 0 0 16px; }

/* Cards */
.empty { border: 1px dashed var(--line); border-radius: 18px; padding: 56px 24px; text-align: center; background: var(--panel); }
.empty p:first-child { color: var(--text); font-weight: 600; }
.empty p:last-child { color: var(--muted2); font-size: 14px; margin-top: 8px; }
.grid-2 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--panel); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; display: block; }
.card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 30px -14px rgba(41,182,246,.2); }
.card .date { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.card h3 { font-size: 20px; margin-top: 12px; }
.card .desc { color: var(--muted); margin-top: 8px; }
.card .foot { display: flex; align-items: center; justify-content: space-between; font-size: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted2); }
.card .foot .link { color: var(--accent); font-weight: 700; }

section.categories { background: var(--panel2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.cat-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--panel); }
.cat-card .name { font-family: Georgia, serif; font-weight: 800; font-size: 17px; }
.cat-card .price { font-family: Georgia, serif; font-weight: 900; font-size: 26px; margin-top: 8px; color: var(--accent); }
.cat-card .ages { color: var(--muted2); font-size: 12px; margin-top: 8px; letter-spacing: .03em; }

.steps { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--panel); }
.step .num { font-family: Georgia, serif; font-weight: 900; font-size: 26px; color: var(--accent); }
.step .stitle { font-weight: 700; margin-top: 12px; }
.step .sbody { color: var(--muted2); font-size: 14px; margin-top: 6px; line-height: 1.6; }

section.about { border-top: 1px solid var(--line); background: var(--panel); }
.about-grid { display: grid; gap: 44px; grid-template-columns: 1fr; align-items: center; padding: 76px 0; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-grid h2 { font-size: 24px; line-height: 1.35; }
@media (min-width: 640px) { .about-grid h2 { font-size: 28px; } }
.about-grid p { color: var(--muted); margin-top: 18px; max-width: 480px; line-height: 1.7; }
.pay-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: center; }
.pay-cards div { border: 1px solid var(--line); border-radius: 12px; padding: 28px 8px; background: var(--panel2); }
.pay-cards .p1 { font-family: Georgia, serif; font-weight: 800; font-size: 17px; color: var(--accent); }
.pay-cards .p2 { color: var(--muted2); font-size: 12px; margin-top: 4px; }

/* Forms (registration pages) */
section.card-section { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--panel); margin-top: 24px; }
section.card-section h2 { font-size: 17px; margin-bottom: 16px; }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.grid.two { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid.two { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 700; }
input, select { width: 100%; background: #ffffff; border: 1px solid #cbd2d9; border-radius: 10px; padding: 14px 16px; color: #0f172a; font-size: 14px; }
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(41,182,246,0.25); }
.participant-block { border: 1px solid #dde3e9; border-radius: 14px; padding: 20px; margin-bottom: 16px; position: relative; background: #f6f8fa; }
.participant-block h3 { font-size: 13px; color: #64748b; margin-bottom: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.remove-btn { position: absolute; top: 16px; right: 16px; background: none; border: none; color: #dc2626; font-size: 12px; cursor: pointer; font-weight: 600; }
.add-btn { background: #f6f8fa; border: 1px dashed #cbd2d9; color: var(--accent-dark); border-radius: 12px; padding: 18px; width: 100%; font-weight: 700; font-size: 14px; cursor: pointer; margin-top: 8px; }
.add-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.submit-btn { width: 100%; background: var(--accent); color: #fff; border: none; font-weight: 800; font-size: 15px; padding: 18px; border-radius: 999px; cursor: pointer; margin-top: 32px; }
.submit-btn:hover { background: var(--accent-dark); }
.cat-price-list { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin-bottom: 18px; }
.cat-price-list div { border: 1px solid #dde3e9; border-radius: 10px; padding: 10px 14px; display: flex; justify-content: space-between; font-size: 13px; background: #f6f8fa; color: #0f172a; }
.cat-price-list span.p { color: var(--accent); font-weight: 700; }
.alert { border: 1px solid #fecaca; background: #fef2f2; color: #b91c1c; border-radius: 12px; padding: 16px; font-size: 14px; margin-top: 20px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert.amber { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.alert.green { border-color: #bbf7d0; background: #f0fdf4; color: #15803d; }

/* Tables (corporate review) */
.data-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.data-table thead { background: var(--panel2); }
.data-table th { text-align: left; padding: 12px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted2); }
.data-table td { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.data-table td.right, .data-table th.right { text-align: right; }

/* Footer */
footer.site { border-top: 1px solid var(--line); background: var(--panel); }
.foot-grid { max-width: 1180px; margin: 0 auto; padding: 56px 24px; display: grid; gap: 40px; grid-template-columns: 1fr; font-size: 14px; color: var(--muted2); }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { height: 40px; width: 40px; border-radius: 999px; border: 1px solid rgba(41,182,246,0.4); }
.foot-brand strong { color: var(--text); display: block; }
.foot-col h4 { color: var(--text); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { border-top: 1px solid var(--line); text-align: center; font-size: 12px; color: var(--muted2); padding: 20px 0; background: var(--panel2); }

/* Utility page shell (registration / payment / tickets) */
main.page-main { padding: 56px 0 80px; }
.spinner { margin: 0 auto; height: 56px; width: 56px; border-radius: 999px; border: 4px solid var(--accent-soft); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }


/* Type toggle + option cards (age range, race category) */
.type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.type-option { position: relative; }
.type-option input { position: absolute; opacity: 0; }
.type-option label {
    display: block; margin: 0; cursor: pointer;
    border: 2px solid var(--line); border-radius: 12px; padding: 16px;
    background: var(--panel2); text-align: center; font-weight: 700; color: var(--text);
    transition: border-color .15s ease, background .15s ease;
}
.type-option label .sub { display: block; font-size: 11px; font-weight: 500; color: var(--muted2); margin-top: 4px; }
.type-option input:checked + label { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.option-pill { position: relative; }
.option-pill input { position: absolute; opacity: 0; }
.option-pill label {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    margin: 0; cursor: pointer; font-size: 13px;
    border: 1.5px solid #cbd2d9; border-radius: 10px; padding: 10px 14px;
    background: #ffffff; color: #0f172a; transition: border-color .15s ease, background .15s ease;
}
.option-pill label .price { color: var(--accent-dark); font-weight: 700; font-size: 12px; }
.option-pill input:checked + label { border-color: var(--accent); background: var(--accent-soft); }

.company-fields { display: none; }
.company-fields.show { display: block; }

.total-bar {
    position: sticky; bottom: 0; margin-top: 32px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
    padding: 20px 26px; display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 -10px 30px -20px rgba(0,0,0,.3);
}
.total-bar .label { color: var(--muted); font-size: 13px; }
.total-bar .amount { font-family: Georgia, serif; font-weight: 900; font-size: 22px; color: var(--accent); }


/* Registration form polish */
.form-progress { display: flex; align-items: center; gap: 10px; margin: 28px 0 8px; }
.form-progress .step-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--line); }
.form-progress .step-dot.active { background: var(--accent); }
.form-progress .step-line { flex: 1; height: 1px; background: var(--line); }

.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.section-num {
    width: 28px; height: 28px; border-radius: 999px; flex-shrink: 0;
    background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}
.section-head h2 { margin: 0; font-size: 16px; }
.section-sub { color: var(--muted2); font-size: 12.5px; margin: -12px 0 20px 40px; }

.type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.type-option label {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 20px 16px; border-radius: 14px;
}
.type-option label .sub { opacity: .75; }
.type-option input:checked + label { box-shadow: 0 8px 20px -10px rgba(41,182,246,.4); }

.participant-block { position: relative; }
.participant-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.participant-avatar {
    width: 26px; height: 26px; border-radius: 999px; background: var(--accent);
    color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.participant-head h3 { margin: 0; font-size: 13px; text-transform: none; letter-spacing: normal; font-weight: 700; color: var(--text); }
.field-group-label {
    font-size: 11px; font-weight: 800; color: var(--muted2); text-transform: uppercase;
    letter-spacing: .06em; margin-bottom: 8px; display: block;
}

.option-pill label { padding: 11px 14px; font-weight: 600; justify-content: center; text-align: center; }
.option-pill label .price { display: block; margin-top: 2px; }

.total-bar {
    background: linear-gradient(90deg, var(--panel), var(--panel2));
    border: 1px solid var(--accent-soft);
}
.total-bar .label { font-weight: 600; }

.card-section { position: relative; }
.card-section + .card-section { margin-top: 20px; }


/* ============ Registration form v2 - checkbox-style choice lists ============ */

.reg-section {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
    padding: 44px;
}
.reg-section + .reg-section {
    margin-top: 36px;
}
.reg-section-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 36px;
}
.reg-section-num {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    flex-shrink: 0;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reg-section-head h2 {
    margin: 0;
    font-size: 18px;
}
.reg-section-head p {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--muted2);
    line-height: 1.5;
}

.field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}
.field-label .req {
    color: #f87171;
    margin-left: 2px;
}

.grid.two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 600px) {
    .grid.two { grid-template-columns: 1fr 1fr; }
}

.choice-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.choice-list.grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 480px) {
    .choice-list.grid-cols-2 { grid-template-columns: 1fr; }
}

.choice-item {
    position: relative;
}
.choice-item input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.choice-item label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    cursor: pointer;
    padding: 18px 20px;
    border: 1.5px solid #d5dbe1;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.choice-item .box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1.5px solid #94a3b8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .15s ease, background .15s ease;
}
.choice-item .box svg {
    width: 13px;
    height: 13px;
    opacity: 0;
    stroke: #fff;
    transition: opacity .1s ease;
}
.choice-item .text {
    flex: 1;
}
.choice-item .price-tag {
    font-weight: 700;
    color: var(--accent-dark);
    font-size: 13px;
    white-space: nowrap;
}
.choice-item input:checked + label {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 4px 14px -6px rgba(41,182,246,.35);
}
.choice-item input:checked + label .box {
    background: var(--accent);
    border-color: var(--accent);
}
.choice-item input:checked + label .box svg {
    opacity: 1;
}
.choice-item input:focus-visible + label {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.reg-type-list .choice-item label {
    padding: 26px 22px;
}
.reg-type-list .choice-item .text strong {
    display: block;
    font-size: 16px;
}
.reg-type-list .choice-item .text span.sub {
    display: block;
    font-size: 12.5px;
    color: var(--muted2);
    font-weight: 400;
    margin-top: 4px;
}

.field-block {
    margin-top: 0;
}
.field-block + .field-block {
    margin-top: 36px;
}

.participant-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 34px;
    background: var(--panel2);
    position: relative;
}
.participant-card + .participant-card {
    margin-top: 28px;
}
.participant-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.participant-card-head .who {
    display: flex;
    align-items: center;
    gap: 12px;
}
.participant-badge {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.participant-card-head h3 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
}

input, select {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d5dbe1;
    border-radius: 10px;
    padding: 15px 16px;
    color: #0f172a;
    font-size: 14px;
}
input:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(41,182,246,0.18);
}

.add-btn {
    background: #f6f8fa;
    border: 1.5px dashed #cbd2d9;
    color: var(--accent-dark);
    border-radius: 12px;
    padding: 18px;
    width: 100%;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-top: 12px;
    transition: border-color .15s ease, background .15s ease;
}
.add-btn:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.remove-btn {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
}
.remove-btn:hover {
    background: rgba(220,38,38,0.1);
}

.total-bar {
    position: relative;
    margin-top: 36px;
    background: var(--panel);
    border: 1px solid var(--accent-soft);
    border-radius: 16px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px -20px rgba(0,0,0,.3);
}
.total-bar .label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
}
.total-bar .amount {
    font-family: Georgia, serif;
    font-weight: 900;
    font-size: 24px;
    color: var(--accent);
}

.submit-btn {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: 800;
    font-size: 15.5px;
    padding: 19px;
    border-radius: 999px;
    cursor: pointer;
    margin-top: 36px;
    transition: background .15s ease;
}
.submit-btn:hover {
    background: var(--accent-dark);
}


/* ============ Readability + mobile responsiveness fixes ============ */

/* Force readable text color regardless of any inline styles baked into
   rich-text editor content (event descriptions) that might clash with
   the site's dark background. */
.prose, .prose p, .prose li, .prose span, .prose strong, .prose em {
    color: var(--text) !important;
    background: transparent !important;
}
.prose a { color: var(--accent) !important; }

/* Cap heading sizes with clamp() so they scale down cleanly on small
   screens instead of relying only on fixed breakpoints. */
h1.headline {
    font-size: clamp(28px, 7vw, 54px) !important;
}
h2.title {
    font-size: clamp(22px, 5vw, 34px) !important;
}
.ticket-heading, .event-name {
    font-size: clamp(24px, 6vw, 34px) !important;
}

/* General mobile tightening */
@media (max-width: 640px) {
    .wrap, .wrap-narrow { padding: 0 16px; }
    .reg-section { padding: 24px 20px; }
    .reg-section-head { gap: 12px; margin-bottom: 24px; }
    .reg-section-num { width: 28px; height: 28px; font-size: 12px; }
    .participant-card { padding: 20px; }
    .choice-item label { padding: 14px 16px; font-size: 14px; }
    .type-toggle, .choice-list.grid-cols-2 { grid-template-columns: 1fr; }
    .grid.two { grid-template-columns: 1fr; gap: 16px; }
    .hero-grid { padding: 48px 0 60px; gap: 32px; }
    .stat-row { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .stat-num { font-size: 18px; }
    .cta-row { flex-direction: column; }
    .cta-row .btn { width: 100%; justify-content: center; }
    .ev-layout { grid-template-columns: 1fr; }
    .sticky-card { position: static; }
    section.block { padding: 48px 0; }
    .about-grid { padding: 48px 0; }
    .pay-cards { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .badge { font-size: 10px; padding: 6px 12px; }
    .lede { font-size: 15px; }
    .btn-lg { padding: 14px 22px; font-size: 14px; }
}


/* Force readable dark text inside white category cards, regardless of
   the site's global (light) text color - these cards are always white,
   so their own text must always be dark, not inherited. */
.cat-tile, .cat-card, .cat-price-list > div {
    color: #0f172a !important;
}
.cat-tile .name, .cat-card .name,
.cat-tile *, .cat-card * {
    color: #0f172a !important;
}
.cat-tile .price, .cat-card .price,
.cat-price-list span.p {
    color: var(--accent) !important;
}
.cat-tile .ages, .cat-card .ages {
    color: #64748b !important;
}
