/* Verberate — base stylesheet. Dark, moody, festival-meets-confession aesthetic. */

:root {
  --bg: #0a0a0d;
  --bg-alt: #131318;
  --bg-card: #1a1a20;
  --text: #f2f0ee;
  --text-muted: #a8a5ad;
  --accent: #8b5cf6;
  --accent-soft: #8b5cf62e;
  --accent-2: #f2c14e;
  --border: #26262e;
  --radius: 10px;
  --max-width: 1100px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 13, 0.9);
  backdrop-filter: blur(8px);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}
.brand-mark {
  border-radius: 6px;
}

.nav {
  display: flex;
  gap: 1.75rem;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav-toggle-checkbox {
  display: none;
}
.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle-label span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}

@media (max-width: 720px) {
  .nav-toggle-label {
    display: flex;
  }
  .nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
  }
  .nav a {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
  }
  .nav-toggle-checkbox:checked ~ .nav {
    display: flex;
  }
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(ellipse at top, var(--accent-soft), transparent 60%);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}
.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 42rem;
  margin: 0 auto 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #7c4de0;
}
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
}

.link-button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
  text-decoration: underline;
}

/* Sections */
.section {
  padding: 4rem 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.section-heading p {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
}

/* Track cards */
.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.track-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.track-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
}
.track-mood {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.track-mood.euphoric {
  color: var(--accent-2);
}
.track-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.track-links a {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}
.track-links a:hover {
  color: var(--text);
  border-color: var(--accent);
}

.catalog-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 2.5rem;
  text-align: center;
}

/* Forms */
.form-field {
  margin-bottom: 1.25rem;
}
.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.captcha-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.captcha-placeholder p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0;
}

.newsletter-teaser {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  margin-top: 3rem;
}
.newsletter-teaser h2 {
  margin-top: 0;
  font-size: 1.3rem;
}
.newsletter-teaser p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Legal pages */
.legal-content h1 {
  font-size: 2rem;
}
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
}
.legal-content p,
.legal-content li {
  color: var(--text-muted);
}
.legal-content address {
  font-style: normal;
  color: var(--text);
}

/* Result page (PHP) */
.result-page {
  display: flex;
  min-height: 100vh;
  align-items: center;
}
.result-container {
  width: 100%;
}
.result-card {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
}
.result-error h1 {
  color: #f2716e;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 3rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-nav a,
.footer-nav button {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-copy {
  width: 100%;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  z-index: 300;
}
.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner-inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 40rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
