/*
Theme Name: StreamTicket
Theme URI: https://example.com/streamticket
Author: Lovable
Author URI: https://lovable.dev
Description: A responsive music streaming, free download, and event ticketing WordPress theme with login-gated ticket selection.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: streamticket
Tags: music, events, ticketing, responsive, entertainment
*/

:root {
  --bg: #0b0d13;
  --panel: #151a24;
  --panel-soft: #1f2633;
  --ink: #f7f3e8;
  --muted: #aeb6c8;
  --line: rgba(247, 243, 232, 0.14);
  --brand: #ffcf33;
  --brand-dark: #d79913;
  --accent: #32d0a0;
  --danger: #ef476f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 10px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position:absolute; left:-999px; top:auto; }
.skip-link:focus { left: 16px; top: 16px; z-index: 20; background: var(--brand); color: #141414; padding: 10px 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(11, 13, 19, 0.88);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #10131a; }
.main-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a { color: var(--muted); padding: 9px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--ink); background: var(--panel-soft); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero:before {
  content: "";
  position: absolute;
  inset: -25% -20% auto auto;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,207,51,.28), transparent 64%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 48px; }
.kicker { color: var(--accent); font-weight: 900; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 16px; }
h1 { font-size: clamp(42px, 7vw, 84px); max-width: 820px; letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 22px; }
p { margin: 0 0 18px; color: var(--muted); }
.hero-card { background: linear-gradient(145deg, var(--panel), #20283a); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.equalizer { display: flex; align-items: end; gap: 8px; height: 220px; padding: 24px; border-radius: var(--radius); background: #10141d; }
.equalizer span { flex: 1; min-width: 12px; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, var(--brand), var(--accent)); animation: pulse-bars 1.4s ease-in-out infinite; }
.equalizer span:nth-child(2n) { animation-delay: .15s; }
.equalizer span:nth-child(3n) { animation-delay: .32s; }
.equalizer span:nth-child(1) { height: 35%; } .equalizer span:nth-child(2) { height: 72%; } .equalizer span:nth-child(3) { height: 50%; } .equalizer span:nth-child(4) { height: 92%; } .equalizer span:nth-child(5) { height: 44%; } .equalizer span:nth-child(6) { height: 66%; } .equalizer span:nth-child(7) { height: 86%; } .equalizer span:nth-child(8) { height: 58%; }
@keyframes pulse-bars { 0%,100% { transform: scaleY(.7); opacity:.72; } 50% { transform: scaleY(1); opacity:1; } }
@media (prefers-reduced-motion: reduce) { .equalizer span { animation: none; } }

.btn, button, input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border: 0; border-radius: 999px; background: var(--brand); color: #11131a; font-weight: 900; cursor: pointer; }
.btn:hover, button:hover, input[type="submit"]:hover { transform: translateY(-1px); background: var(--accent); }
.btn.secondary { background: var(--panel-soft); color: var(--ink); border: 1px solid var(--line); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-head p { max-width: 620px; }

.music-list { display: grid; gap: 12px; }
.music-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.track-title { font-weight: 900; font-size: 18px; }
.track-meta { color: var(--muted); font-size: 14px; }
.track-buttons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
a.download { background: var(--accent); }
a.play { background: var(--brand); }

.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.event-card { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.event-card:hover, .music-row:hover { border-color: rgba(255,207,51,.42); transform: translateY(-2px); transition: .2s ease; }
.price-pill { display: inline-flex; margin-bottom: 18px; border-radius: 999px; padding: 6px 10px; background: rgba(50,208,160,.16); color: var(--accent); font-weight: 900; font-size: 13px; }
.price-pill.paid { background: rgba(255,207,51,.16); color: var(--brand); }
.notice { padding: 16px; border: 1px solid rgba(255,207,51,.3); background: rgba(255,207,51,.1); border-radius: var(--radius); color: var(--ink); }

.content-page { padding: 64px 0; }
.content-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 42px); }
.content-panel input, .content-panel textarea, .content-panel select { width: 100%; margin: 8px 0 16px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #10141d; color: var(--ink); padding: 10px 12px; }
.content-panel label { font-weight: 800; }
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 800px) {
  .header-inner, .section-head { align-items: flex-start; flex-direction: column; }
  .hero-grid, .event-grid { grid-template-columns: 1fr; }
  .music-row { grid-template-columns: 1fr; }
  .track-buttons { justify-content: flex-start; }
  .hero { padding-top: 56px; }
}
