/* ============================================================
   VIBE WITH HITCH — design system
   Dark, vibrant, urban/fitness/creator energy.
   ============================================================ */

:root {
  /* surfaces */
  --bg: #0b0b10;
  --surface: #14141d;
  --elevated: #1b1b28;
  --line: #272736;
  /* text */
  --ink: #f5f3ef;
  --muted: #a09db1;
  /* heat gradient — the brand accent */
  --heat-1: #ff3d6e;
  --heat-2: #ff7a18;
  --heat: linear-gradient(100deg, var(--heat-1), var(--heat-2));
  /* support */
  --gold: #ffc63d;
  --teal: #2de1c2;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(255, 61, 110, .16), transparent 60%),
    radial-gradient(900px 420px at -10% 20%, rgba(255, 122, 24, .10), transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
::selection { background: var(--heat-1); color: #fff; }
a { color: var(--ink); }
img { max-width: 100%; }
main { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem 5rem; }

.display, h1 {
  font-family: Anton, "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: .015em;
  text-transform: uppercase;
  line-height: 1.05;
}
.grad {
  background: var(--heat);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 1.5rem;
  background: rgba(11, 11, 16, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: Anton, Impact, sans-serif; font-size: 1.35rem; letter-spacing: .05em;
  color: var(--ink); text-decoration: none; text-transform: uppercase;
}
.logo span { background: var(--heat); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-header nav { display: flex; gap: 1.4rem; align-items: center; }
.site-header nav a { font-weight: 700; text-decoration: none; font-size: .95rem; color: var(--muted); }
.site-header nav a:hover { color: var(--ink); }
.cart-count {
  background: var(--heat); color: #fff; border-radius: 999px;
  padding: 0 .55em; font-size: .8em; font-weight: 800;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.25rem 3rem;
  text-align: center; color: var(--muted); font-size: .95rem;
}
.social-row { display: flex; gap: 1.1rem; justify-content: center; margin-bottom: 1.2rem; flex-wrap: wrap; }
.social-row a { color: var(--muted); text-decoration: none; font-weight: 700; }
.social-row a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 4.5rem 0 3rem; }
.hero .kicker {
  display: inline-block; font-weight: 800; letter-spacing: .18em; font-size: .8rem;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.6rem, 8vw, 5rem); margin: 0 0 1.2rem; }
.hero p { color: var(--muted); max-width: 36rem; margin: 0 auto 2rem; font-size: 1.1rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.followers { margin-top: 2.2rem; color: var(--muted); font-weight: 700; font-size: .9rem; letter-spacing: .05em; line-height: 2; }
.followers b { color: var(--teal); }
.followers a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .12s, border-color .12s; }
.followers a:hover { color: var(--ink); border-color: var(--heat-1); }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.ticker-track {
  display: flex; gap: 3rem; width: max-content; padding: .8rem 0;
  animation: ticker 26s linear infinite;
  font-family: Anton, Impact, sans-serif; text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: .08em; white-space: nowrap;
}
.ticker-track span::after { content: "★"; margin-left: 3rem; color: var(--heat-1); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- sections ---------- */
.section { padding: 4rem 0 1rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.section-head h2 {
  font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0; letter-spacing: .02em;
}
.section-head .sub { color: var(--muted); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: .75rem 1.6rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--elevated); color: var(--ink);
  font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--heat); border: none; color: #fff;
  box-shadow: 0 6px 24px rgba(255, 61, 110, .35);
}
.btn-primary:hover { box-shadow: 0 10px 32px rgba(255, 61, 110, .5); }
.btn-ghost { background: transparent; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.product-card {
  position: relative; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem; overflow: hidden;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.product-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--heat); opacity: 0; transition: opacity .15s ease;
}
.product-card:hover { transform: translateY(-5px); border-color: #3a3a4e; box-shadow: var(--shadow); }
.product-card:hover::before { opacity: 1; }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--elevated); }
.product-card h3 { font-size: 1.02rem; margin: .8rem 0 .3rem; }
.price { font-weight: 800; margin: 0; color: var(--gold); font-size: 1.05rem; }
.soldout { color: var(--heat-1); font-weight: 800; text-transform: uppercase; font-size: .85rem; }
.badge-drop {
  position: absolute; top: .9rem; left: .9rem; z-index: 1;
  background: var(--heat); color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: .25em .8em;
}

/* ---------- video wall ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.video-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .15s ease, box-shadow .15s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.video-card iframe, .vframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; background: #000; }
.video-card .vt { padding: .7rem .9rem .9rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
/* click-to-play facade: no iframe loads until the visitor taps play */
.vframe { position: relative; }
.vframe iframe { width: 100%; height: 100%; aspect-ratio: auto; }
.vf-play {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(160deg, #1b1b28, #0b0b10); overflow: hidden;
}
.vf-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .15s, transform .2s; }
.vf-play:hover img { opacity: 1; transform: scale(1.03); }
.vf-ico {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 999px; display: grid; place-items: center;
  background: var(--heat); color: #fff; font-size: 1.3rem; padding-left: 4px;
  box-shadow: 0 8px 28px rgba(255, 61, 110, .5); transition: transform .15s;
}
.vf-play:hover .vf-ico { transform: translate(-50%, -50%) scale(1.1); }

/* ---------- music ---------- */
.music-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.track-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.25rem;
}
.track-card h3 { margin: 0 0 .2rem; font-family: Anton, Impact, sans-serif; font-weight: 400; letter-spacing: .03em; text-transform: uppercase; }
.track-card p { color: var(--muted); margin: .2rem 0 1rem; }
.track-card iframe { border-radius: 12px; border: 0; width: 100%; }
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; margin-right: .5rem; }
.eq i { width: 3px; background: var(--heat-1); animation: eq 1s ease-in-out infinite; border-radius: 2px; }
.eq i:nth-child(2) { animation-delay: .2s; background: var(--heat-2); }
.eq i:nth-child(3) { animation-delay: .4s; background: var(--gold); }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
@media (prefers-reduced-motion: reduce) { .eq i { animation: none; height: 8px; } }

/* ---------- story ---------- */
.story {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem; display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
}
.story .big {
  font-family: Anton, Impact, sans-serif; font-size: clamp(3rem, 8vw, 5.5rem);
  background: var(--heat); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: .95;
}
.story p { color: var(--muted); margin: .4rem 0; }

/* ---------- newsletter ---------- */
.newsletter {
  margin-top: 4rem; text-align: center;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(255, 61, 110, .18), transparent 70%),
    var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 3rem 1.5rem;
}
.newsletter h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 .4rem; }
.newsletter p { color: var(--muted); margin: 0 auto 1.5rem; max-width: 30rem; }
.newsletter form { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.newsletter input[type="email"] { min-width: min(320px, 80vw); }
.newsletter .fine { font-size: .8rem; color: var(--muted); margin-top: 1rem; }
.hp { position: absolute; left: -5000px; }

/* ---------- forms ---------- */
input, select, textarea {
  padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 10px;
  font-size: 1rem; background: var(--elevated); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--heat-1); outline-offset: 1px; border-color: transparent; }
input[type="number"] { width: 5.5rem; }
label { font-weight: 600; font-size: .9rem; }

/* ---------- product page ---------- */
.product-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; margin-top: 2.5rem; }
.product-page img { width: 100%; border-radius: var(--radius); background: var(--elevated); }
.product-info h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: .2rem 0 .6rem; }
.product-info .price { font-size: 1.5rem; }
.product-info .desc { color: var(--muted); }
.buy-form { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; margin-top: 1.6rem; }
.buy-form label { display: flex; flex-direction: column; gap: .3rem; }

/* ---------- cart / tables ---------- */
.cart-table, .admin-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td, .admin-table th, .admin-table td {
  text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line);
}
.cart-table th, .admin-table th { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.cart-table a, .admin-table a { color: var(--ink); }
.cart-table tfoot td { border-bottom: none; }
.cart-table .total td { font-weight: 800; font-size: 1.15rem; color: var(--gold); }
.cart-actions { display: flex; gap: 1rem; }

/* ---------- checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 2.5rem; align-items: start; margin-top: 1.8rem; }
.checkout-form label { display: block; margin-bottom: .9rem; }
.checkout-form input { width: 100%; margin-top: .3rem; }
.checkout-form .row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .8rem; }
.checkout-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.checkout-summary ul { padding-left: 1.1rem; color: var(--muted); }
.checkout-summary .total { font-weight: 800; font-size: 1.2rem; color: var(--gold); }
#paypal-buttons { margin-top: 1.5rem; max-width: 420px; background: #fff; border-radius: 12px; padding: 10px; }

/* ---------- status / misc ---------- */
.error { color: #ff6b81; font-weight: 700; }
.flash { background: rgba(45, 225, 194, .12); border: 1px solid rgba(45, 225, 194, .4); border-radius: 10px; padding: .7rem 1.1rem; }
.empty { color: var(--muted); }
.order-status, .error-page, .admin-login, .gate-page { max-width: 34rem; margin: 4rem auto; }
.order-status h1, .error-page h1 { font-size: clamp(2rem, 6vw, 3rem); }

/* ---------- admin ---------- */
.admin-login label, .gate-page label { display: block; margin-bottom: 1rem; }
.admin-login input, .gate-page input { width: 100%; margin-top: .3rem; }
.admin-nav { display: flex; gap: 1.4rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); margin-bottom: 1.4rem; }
.admin-nav a { font-weight: 700; text-decoration: none; color: var(--muted); }
.admin-nav a:hover { color: var(--ink); }
.linklike { background: none; border: none; color: var(--heat-1); cursor: pointer; font-size: 1rem; padding: 0; }
.inline { display: inline; margin-left: auto; }
.filters a { margin-right: 1rem; text-decoration: none; color: var(--muted); }
.filters a.on { font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--heat-1); }
.badge { padding: .15em .7em; border-radius: 999px; font-size: .78em; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.badge-pending { background: rgba(255, 198, 61, .16); color: var(--gold); }
.badge-paid { background: rgba(45, 225, 194, .14); color: var(--teal); }
.badge-shipped { background: rgba(124, 92, 255, .18); color: #b9a7ff; }
.badge-refunded { background: rgba(255, 61, 110, .16); color: #ff8aa5; }
.badge-canceled { background: rgba(160, 157, 177, .16); color: var(--muted); }
.order-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.order-detail section, .product-edit, .compose {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem;
}
.product-edit { margin-bottom: 1.5rem; }
.product-edit .row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: end; margin-bottom: .8rem; }
.product-edit label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; }
.product-edit .check { flex-direction: row; align-items: center; }
.sold-line { color: var(--muted); font-weight: 600; font-size: .78rem; }
.compose label { display: block; margin-bottom: 1rem; }
.compose input[type="text"], .compose textarea { width: 100%; margin-top: .3rem; }
.compose textarea { min-height: 240px; font-family: inherit; }
.stat { font-size: 2rem; font-weight: 800; color: var(--gold); }

@media (max-width: 760px) {
  .product-page, .checkout-grid, .story { grid-template-columns: 1fr; }
  .checkout-form .row { grid-template-columns: 1fr; }
  .story .big { font-size: 3rem; }
}

/* Cart on small screens: each row becomes a labeled card. */
@media (max-width: 640px) {
  .site-header { padding: .8rem 1rem; gap: 1rem; }
  .logo { font-size: 1rem; white-space: nowrap; }
  .site-header nav { gap: .7rem .8rem; flex-wrap: wrap; justify-content: flex-end; }
  .site-header nav a { font-size: .85rem; white-space: nowrap; }
  .cart-table { display: block; background: transparent; }
  .cart-table thead { display: none; }
  .cart-table tbody { display: block; }
  .cart-table tbody tr {
    display: block; background: var(--surface); border: 1px solid var(--line);
    border-radius: 10px; padding: .3rem 1rem; margin-bottom: .8rem;
  }
  .cart-table tbody td {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line);
  }
  .cart-table tbody td:last-child { border-bottom: none; }
  .cart-table tbody td::before {
    content: attr(data-label); color: var(--muted);
    font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  }
  .cart-table td.cart-item { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .cart-table td.cart-item a { font-weight: 700; }
  .cart-table tfoot {
    display: block; background: var(--surface); border: 1px solid var(--line);
    border-radius: 10px; padding: .3rem 1rem;
  }
  .cart-table tfoot tr { display: flex; justify-content: space-between; }
  .cart-table tfoot td { padding: .5rem 0; border-bottom: none; }
  .cart-actions { flex-wrap: wrap; }
  .cart-actions .btn { flex: 1; text-align: center; }
}
