/* ============================================================
   LOTTERY PICK — styles.css
   ============================================================ */

/* Variables */
:root {
  --bg: #111111;
  --bg-alt: #0d0d0d;
  --ink: #ffffff;
  --ink-muted: #c9c9c9;
  --rule: rgba(255,255,255,0.15);
  --accent: #c8ff00;
  --gutter: 24px;
  --max: 1100px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; display: block; }

body {
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover { color: var(--ink-muted); }

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 88px 0; }
section + section { border-top: 1px solid var(--rule); }

/* Typography */
h1 {
  font-family: 'Anton', sans-serif;
  font-size: 56px;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 400;
  margin: 0 0 24px;
}

h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 24px;
}

p {
  margin: 0 0 16px;
  max-width: 60ch;
}

.small { font-size: 14px; }
.muted { color: var(--ink-muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn-ghost {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

/* Grid & Product Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.product-media {
  background: #ffffff;
  aspect-ratio: 1;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 0;
}
.product-price {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
  margin: 4px 0 0;
}

/* Form Fields */
.field {
  background: transparent;
  width: 100%;
  max-width: 420px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--ink);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
}
.field::placeholder { color: var(--ink-muted); }
.field:focus {
  outline: none;
  border-color: var(--ink);
}
textarea.field {
  min-height: 140px;
  resize: vertical;
}

/* Header */
.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: 'Anton', sans-serif;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}
.nav a:hover,
.nav a.is-current { color: var(--ink-muted); }

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.cart-count {
  display: none;
  position: absolute;
  top: 2px;
  right: 2px;
  width: 17px;
  height: 17px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  border-radius: 0;
}
.cart-count.is-visible { display: block; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 56px 0 0;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  align-items: center;
}
.footer-links a {
  font-size: 14px;
  color: var(--ink-muted);
  text-decoration: none;
  line-height: 1;
}
.footer-links a:hover { color: var(--ink); }

.footer-signup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.signup-block {
  max-width: 420px;
}
.signup-label {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}

.signup-row {
  display: flex;
  align-items: stretch;
  max-width: 420px;
}
.signup-row .field {
  max-width: none;
  flex: 1;
  border-right: 0;
}
.signup-row .btn {
  flex-shrink: 0;
  border-left: 0;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.footer-social a {
  display: flex;
  align-items: center;
  color: var(--ink-muted);
  text-decoration: none;
}
.footer-social a:hover { color: var(--ink); }
.footer-social a svg { display: block; }

.list-payment {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}
.list-payment li { display: flex; align-items: center; }
.list-payment svg { height: 24px; width: auto; display: block; }

.colophon {
  background: var(--bg-alt);
  margin-top: 48px;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ============================================================
   Pre-save announcement block
   ============================================================ */
.presave-section {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--rule);
}
.presave-eyebrow {
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 16px;
}
.presave-title {
  font-family: 'Anton', sans-serif;
  font-size: 40px;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 16px;
  letter-spacing: .01em;
}
.presave-body {
  font-size: 16px;
  margin: 0;
}
@media (max-width: 640px) {
  .presave-title { font-size: 32px; }
  .presave-section { padding: 56px 0 48px; }
}

/* Ghost button variant */
.btn-ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ============================================================
   Hero (used in prompt 2 — rules stubbed here for completeness)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
}

/* ============================================================
   Tour / row layout
   ============================================================ */
.row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.row:first-child { border-top: 1px solid var(--rule); }
.row-date {
  font-size: 14px;
  font-weight: 700;
  min-width: 120px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  h1 { font-size: 40px; }
  section { padding: 56px 0; }
}

@media (max-width: 640px) {
  .site-header { padding: 18px 0; }
  .site-header .wrap { flex-wrap: wrap; gap: 0; }

  .wordmark {
    font-size: 24px;
    order: 1;
  }
  .cart-btn { order: 2; margin-left: auto; }
  .header-right { display: contents; }
  .nav {
    order: 3;
    width: 100%;
    font-size: 13px;
    gap: 20px;
    margin-top: 14px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  h1 { font-size: 34px; }
  h2 { font-size: 20px; }

  .footer-signup {
    flex-direction: column;
    align-items: center;
  }
  .signup-block { max-width: 100%; width: 100%; }
  .signup-row { max-width: 100%; width: 100%; }
  .footer-social { margin-top: 16px; }
  .footer-links { gap: 16px; flex-wrap: wrap; }

  .field { max-width: 100%; }

  .row { flex-wrap: wrap; }
  .row-date { width: 100%; }
}

/* ── Streaming platform links (music page release rows) ── */
.dsp-links { display: flex; gap: 8px; flex: none; }

.dsp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  color: var(--ink);
}

.dsp:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dsp svg { width: 20px; height: 20px; display: block; }
