/* =====================================================================
   My Swing Hub — member site
   Self-contained on purpose: no CDN fonts, no external anything. Every
   third-party request is a record held by someone else that this browser
   was on an adult site.
   ===================================================================== */

:root {
    --bg:        #0b0a0c;
    --surface:   #141216;
    --surface-2: #1c1920;
    --line:      #2a2530;
    --text:      #ece8ef;
    --muted:     #9a93a5;
    --gold:      #c9a227;
    --gold-soft: #e3c65c;
    --danger:    #d8544f;
    --ok:        #4f9d69;

    --radius: 10px;
    --sp-1: .35rem;  --sp-2: .7rem;   --sp-3: 1.1rem;
    --sp-4: 1.8rem;  --sp-5: 2.8rem;  --sp-6: 4.5rem;

    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: Georgia, "Times New Roman", serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
}

.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }

a { color: var(--gold-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 var(--sp-2); }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
h3 { font-size: 1.1rem; }

p { margin: 0 0 var(--sp-3); }
.muted { color: var(--muted); font-size: .92rem; }

.skip {
    position: absolute; left: -9999px;
    background: var(--gold); color: #000; padding: var(--sp-2) var(--sp-3);
}
.skip:focus { left: var(--sp-3); top: var(--sp-3); z-index: 100; }

/* ------------------------------------------------------------- header */

.site-head {
    border-bottom: 1px solid var(--line);
    background: rgba(11, 10, 12, .92);
    position: sticky; top: 0; z-index: 30;
    backdrop-filter: blur(8px);
}

.head-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) 0; }

.brand {
    font-family: var(--font-display);
    font-size: 1.15rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--gold); text-decoration: none; white-space: nowrap;
}
.brand-sm { font-family: var(--font-display); color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; }

.nav { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.nav a { color: var(--text); font-size: .93rem; }
.nav a:hover { color: var(--gold-soft); text-decoration: none; }

.badge {
    display: inline-block; min-width: 1.25rem; padding: 0 .35rem; margin-left: .3rem;
    background: var(--gold); color: #000; border-radius: 999px;
    font-size: .72rem; font-weight: 700; text-align: center; line-height: 1.25rem;
}

/* -------------------------------------------------------------- blocks */

.section { padding: var(--sp-5) 0; }
.page-head { padding: var(--sp-5) 0 var(--sp-3); border-bottom: 1px solid var(--line); }

.grid { display: grid; gap: var(--sp-3); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--sp-3);
}
.card h3 { margin-bottom: var(--sp-1); }

.panel {
    max-width: 460px; margin-inline: auto;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: var(--sp-4);
}

/* --------------------------------------------------------------- forms */

.field { margin-bottom: var(--sp-3); }
.field label { display: block; margin-bottom: var(--sp-1); font-size: .88rem; color: var(--muted); }

input[type=text], input[type=email], input[type=password], input[type=date],
input[type=number], input[type=search], select, textarea {
    width: 100%; padding: .65rem .75rem;
    background: var(--surface-2); color: var(--text);
    border: 1px solid var(--line); border-radius: 8px;
    font: inherit;
}
input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
textarea { min-height: 7rem; resize: vertical; }

.field-hint  { display: block; margin-top: var(--sp-1); font-size: .82rem; color: var(--muted); }
.field-error { display: block; margin-top: var(--sp-1); font-size: .82rem; color: var(--danger); }
.field-invalid input, .field-invalid select, .field-invalid textarea { border-color: var(--danger); }

.checkbox { display: flex; gap: var(--sp-2); align-items: flex-start; }
.checkbox input { width: auto; margin-top: .3rem; }
.checkbox span { font-size: .9rem; color: var(--text); }

/* ------------------------------------------------------------- buttons */

.btn {
    display: inline-block; padding: .6rem 1.15rem;
    border: 1px solid transparent; border-radius: 8px;
    font: inherit; font-weight: 600; text-align: center;
    cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--gold); color: #17130a; }
.btn-primary:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: .38rem .8rem; font-size: .85rem; }
.btn-block { display: block; width: 100%; }

/* -------------------------------------------------------------- alerts */

.alert {
    padding: var(--sp-2) var(--sp-3); margin-bottom: var(--sp-3);
    border: 1px solid var(--line); border-left-width: 3px;
    border-radius: 6px; background: var(--surface-2); font-size: .93rem;
}
.alert-success { border-left-color: var(--ok); }
.alert-error   { border-left-color: var(--danger); }
.alert-info    { border-left-color: var(--gold); }

/* ---------------------------------------------------------- age gate */

.gate-body { display: grid; place-items: center; min-height: 100vh; padding: var(--sp-3); }
.gate-card {
    max-width: 460px; text-align: center;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: var(--sp-4);
}
.gate-terms { text-align: left; margin: var(--sp-3) 0; font-size: .9rem; color: var(--muted); }
.gate-terms ul { padding-left: 1.1rem; margin: var(--sp-2) 0 0; }
.gate-actions { display: grid; gap: var(--sp-2); margin-top: var(--sp-3); }

/* ------------------------------------------------------ vetting states */

.stage-list { list-style: none; padding: 0; margin: var(--sp-3) 0 0; }
.stage-list li {
    display: flex; gap: var(--sp-2); align-items: flex-start;
    padding: var(--sp-2) 0; border-bottom: 1px solid var(--line);
}
.stage-list li:last-child { border-bottom: 0; }
.stage-dot {
    flex: 0 0 auto; width: 1.4rem; height: 1.4rem; margin-top: .15rem;
    border-radius: 999px; border: 2px solid var(--line);
    display: grid; place-items: center; font-size: .7rem; font-weight: 700;
}
.stage-done .stage-dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.stage-now  .stage-dot { border-color: var(--gold); color: var(--gold); }
.stage-todo .stage-dot { color: var(--muted); }
.stage-body strong { display: block; }
.stage-body span { font-size: .87rem; color: var(--muted); }

/* --------------------------------------------------------------- tags */

.tag {
    display: inline-block; padding: .12rem .5rem; border-radius: 999px;
    font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    background: var(--surface-2); border: 1px solid var(--line); color: var(--muted);
}
.tag-elite   { background: rgba(201,162,39,.14); border-color: var(--gold); color: var(--gold-soft); }
.tag-pending { border-color: #6b5a2a; color: var(--gold-soft); }
.tag-ok      { border-color: var(--ok); color: #8fd0a4; }
.tag-bad     { border-color: var(--danger); color: #eb8b87; }

/* ------------------------------------------------------------ tickets */

.ticket {
    display: grid; gap: var(--sp-3); grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: var(--sp-3);
}
.ticket-qr { background: #fff; padding: .5rem; border-radius: 8px; line-height: 0; }
.ticket-qr svg { display: block; width: 148px; height: 148px; }
.ticket-code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; font-size: .95rem; }

/* ----------------------------------------------------------------- ads */

.ad-slot { position: relative; display: block; text-align: center; margin: var(--sp-3) 0; }
.ad-slot img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.ad-label {
    position: absolute; top: .3rem; right: .3rem;
    padding: 0 .3rem; border-radius: 3px;
    background: rgba(0,0,0,.6); color: var(--muted);
    font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
}

/* -------------------------------------------------------------- footer */

.site-foot { border-top: 1px solid var(--line); margin-top: var(--sp-6); padding: var(--sp-4) 0 var(--sp-3); }
.foot-inner { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
.foot-col { display: flex; flex-direction: column; gap: var(--sp-1); }
.foot-col a { color: var(--muted); font-size: .88rem; }
.foot-col a:hover { color: var(--gold-soft); }
.foot-legal { margin-top: var(--sp-3); padding-top: var(--sp-2); border-top: 1px solid var(--line); }

/* ---------------------------------------------------------- legal copy */

.legal-body h2 { margin-top: var(--sp-4); font-size: 1.15rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--text); }
.legal-body ul { padding-left: 1.2rem; margin: 0 0 var(--sp-3); }
.legal-body li { margin-bottom: var(--sp-1); }
.legal-body strong { color: var(--gold-soft); }

/* -------------------------------------------------------------- tables */

.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: var(--sp-2); text-align: left; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.table-wrap { overflow-x: auto; }

@media (max-width: 640px) {
    .head-inner { flex-direction: column; align-items: flex-start; }
    .nav { gap: var(--sp-2); }
    .ticket { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
