/* =========================================================
   TicketHK × offer.hk — 香港最強演唱會情報 & 優惠情報站
   ========================================================= */
:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f8;
  --text-muted: #9a9aab;
  --text-dim: #6b6b7b;
  --accent: #ff2d55;
  --accent-soft: rgba(255, 45, 85, 0.15);
  --accent-2: #a855f7;
  --accent-2-soft: rgba(168, 85, 247, 0.15);
  --gold: #f5c518;
  --gold-soft: rgba(245, 197, 24, 0.12);
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.12);
  --blue: #3b82f6;
  --blue-soft: rgba(59, 130, 246, 0.12);
  --orange: #f97316;
  --orange-soft: rgba(249, 115, 22, 0.12);
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.12);
  --danger: #ef4444;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: "Segoe UI", "PingFang HK", "Noto Sans TC", "Microsoft JhengHei",
    system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --nav-h: 68px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(255, 45, 85, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(168, 85, 247, 0.1), transparent),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(34, 211, 238, 0.06), transparent);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font-family: inherit;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 4rem 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 520px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(255, 45, 85, 0.35);
}

.logo .sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  letter-spacing: 0.04em;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.offer-link {
  background: linear-gradient(135deg, var(--gold-soft), var(--orange-soft));
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.25);
}

.nav-links a.offer-link:hover,
.nav-links a.offer-link.active {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.25), rgba(249, 115, 22, 0.2));
  color: #ffe066;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e11d48);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 45, 85, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #eab308);
  color: #1a1a00;
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.3);
}

.btn-gold:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

.btn-outline-danger {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* ---------- Hero ---------- */
.hero {
  padding: 4.5rem 0 3rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ff7a94;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 45, 85, 0.25);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat {
  min-width: 90px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--text-muted));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--cyan));
}

.hero-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hot-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hot-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.hot-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
}

.hot-rank {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.hot-item:nth-child(1) .hot-rank {
  background: linear-gradient(135deg, var(--gold), #eab308);
  color: #1a1a00;
}

.hot-info {
  flex: 1;
  min-width: 0;
}

.hot-info strong {
  display: block;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-info span {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.hot-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  flex-shrink: 0;
}

/* ---------- Venue chips ---------- */
.venue-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.chip {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.chip:hover,
.chip.active {
  background: var(--accent-soft);
  border-color: rgba(255, 45, 85, 0.35);
  color: #ff7a94;
}

.chip[data-venue="redhall"].active {
  background: var(--accent-soft);
  color: #ff7a94;
  border-color: rgba(255, 45, 85, 0.35);
}

.chip[data-venue="kaitak"].active {
  background: var(--blue-soft);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.35);
}

.chip[data-venue="awex"].active {
  background: var(--accent-2-soft);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.35);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.concert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.concert-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  background: var(--bg-card-hover);
}

.concert-cover {
  height: 140px;
  background: linear-gradient(135deg, #1a1025, #2a1520);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.concert-cover.v-redhall {
  background: linear-gradient(135deg, #2a0a14, #4a1020 50%, #1a0a18);
}

.concert-cover.v-kaitak {
  background: linear-gradient(135deg, #0a1a2a, #102848 50%, #0a1828);
}

.concert-cover.v-awex {
  background: linear-gradient(135deg, #1a0a2a, #2a1848 50%, #120a20);
}

.concert-cover.v-other {
  background: linear-gradient(135deg, #0a1a1a, #102828 50%, #0a1818);
}

.cover-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, white 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px;
}

.venue-badge {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sale-status {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.sale-status.selling {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.sale-status.upcoming {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.3);
}

.sale-status.priority {
  background: var(--accent-soft);
  color: #ff7a94;
  border: 1px solid rgba(255, 45, 85, 0.3);
}

.sale-status.soldout {
  background: rgba(107, 107, 123, 0.2);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.concert-body {
  padding: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.concert-artist {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.concert-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.concert-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-row svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  flex-shrink: 0;
}

.price-range {
  font-weight: 800;
  color: var(--gold);
  font-size: 0.95rem;
}

.concert-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.platform-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

/* ---------- Platforms ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.platform-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.platform-card.risk {
  border-color: rgba(239, 68, 68, 0.25);
}

.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}

.platform-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.platform-card .en {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-top: -0.4rem;
}

.platform-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.platform-url {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  word-break: break-all;
}

.risk-banner {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  font-size: 0.8rem;
  color: #fca5a5;
  line-height: 1.4;
}

/* ---------- Offers (offer.hk) ---------- */
/* ---------- Offers dense list ---------- */
.offers-page .section {
  padding: 1.25rem 0 2.5rem;
}

.offers-page .container {
  width: min(100% - 1.25rem, 1360px);
}

.offers-hero {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.08), rgba(249, 115, 22, 0.05));
  border: 1px solid rgba(245, 197, 24, 0.18);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.offers-hero h1 {
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0;
  line-height: 1.25;
}

.offers-hero h1 span {
  color: var(--gold);
}

.offers-hero p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0.15rem 0 0;
  max-width: 640px;
}

.offer-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.offer-source {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  align-items: center;
}

.filters input,
.filters select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.82rem;
  outline: none;
  transition: border-color var(--transition);
}

.filters input {
  flex: 1;
  min-width: 160px;
}

.filters input:focus,
.filters select:focus {
  border-color: rgba(245, 197, 24, 0.5);
}

.offers-page .venue-bar {
  margin-bottom: 0.55rem;
  gap: 0.35rem;
}

.offers-page .chip {
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
}

/* Dense table list */
.offer-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: auto;
  background: var(--bg-card);
  max-height: calc(100vh - 220px);
}

.offer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  min-width: 980px;
}

.offer-table thead {
  position: sticky;
  top: 0;
  z-index: 5;
}

.offer-table th {
  background: #1a1a24;
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 0.5rem 0.55rem;
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}

.offer-table td {
  padding: 0.42rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  line-height: 1.35;
}

.offer-table tbody tr {
  transition: background 0.12s ease;
}

.offer-table tbody tr:hover {
  background: rgba(245, 197, 24, 0.06);
}

.offer-table tbody tr.expired {
  opacity: 0.45;
}

.offer-table tbody tr.urgent {
  background: rgba(239, 68, 68, 0.06);
}

.offer-table .col-cat { width: 72px; }
.offer-table .col-merchant { width: 110px; }
.offer-table .col-deal { min-width: 280px; }
.offer-table .col-code { width: 88px; }
.offer-table .col-post { width: 78px; }
.offer-table .col-start { width: 78px; }
.offer-table .col-expiry { width: 100px; }
.offer-table .col-left { width: 72px; }
.offer-table .col-source { width: 90px; }
.offer-table .col-link { width: 52px; text-align: center; }

.offer-table .deal-title {
  font-weight: 700;
  color: var(--text);
  display: block;
}

.offer-table .deal-desc {
  color: var(--text-dim);
  font-size: 0.72rem;
  margin-top: 0.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-table .merchant-cell {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.78rem;
}

.offer-table .date-cell {
  font-variant-numeric: tabular-nums;
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.offer-table .expiry-cell {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.74rem;
  white-space: nowrap;
}

.offer-table .expiry-cell.urgent {
  color: var(--danger);
}

.offer-table .left-cell {
  font-weight: 800;
  font-size: 0.74rem;
  color: var(--orange);
  white-space: nowrap;
}

.offer-table .left-cell.urgent {
  color: var(--danger);
}

.offer-table .left-cell.ok {
  color: var(--green);
}

.offer-table .code-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: var(--gold-soft);
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-table .code-none {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.offer-table .source-cell a {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.72rem;
  white-space: nowrap;
}

.offer-table .link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
  background: rgba(245, 197, 24, 0.15);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  border: 1px solid rgba(245, 197, 24, 0.25);
}

.offer-table .link-btn:hover {
  background: rgba(245, 197, 24, 0.28);
}

.offer-cat {
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cat-supermarket { background: var(--green-soft); color: var(--green); }
.cat-dining { background: var(--orange-soft); color: var(--orange); }
.cat-shopping { background: var(--blue-soft); color: var(--blue); }
.cat-travel { background: var(--cyan-soft); color: var(--cyan); }
.cat-electronics { background: var(--accent-2-soft); color: #c084fc; }
.cat-entertainment { background: var(--accent-soft); color: #ff7a94; }
.cat-other { background: rgba(255,255,255,0.06); color: var(--text-muted); }

/* Compact list for home page */
.offer-list-compact {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
}

.offer-list-row {
  display: grid;
  grid-template-columns: 64px 1fr 90px 72px 48px;
  gap: 0.5rem;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  transition: background 0.12s ease;
}

.offer-list-row:last-child {
  border-bottom: none;
}

.offer-list-row:hover {
  background: rgba(245, 197, 24, 0.06);
}

.offer-list-row .deal-title {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-list-row .merchant-mini {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.offer-list-row .expiry-mini {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.72rem;
  text-align: right;
}

.offer-list-row .left-mini {
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--orange);
  text-align: right;
}

/* legacy card (unused on offers page, keep minimal) */
.offer-grid {
  display: block;
}

.offer-card {
  display: none;
}

.source-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
}

.countdown {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--orange);
}

.offers-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.offers-toolbar .section-title {
  font-size: 1.05rem;
}

.offers-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.offers-meta strong {
  color: var(--gold);
  font-weight: 800;
}

.sources-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  padding: 0.65rem 0 0;
  margin-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.sources-inline a {
  color: var(--cyan);
  font-weight: 600;
}

.sources-inline a:hover {
  text-decoration: underline;
}

/* ---------- Seating ---------- */
.seating-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
}

.seating-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  min-height: 420px;
}

.stage {
  text-align: center;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.seat-map {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.seat-zone {
  width: 100%;
  max-width: 480px;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.seat-zone:hover,
.seat-zone.active {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.zone-vip { background: rgba(245, 197, 24, 0.2); border-color: rgba(245, 197, 24, 0.5); color: var(--gold); }
.zone-a { background: rgba(255, 45, 85, 0.15); border-color: rgba(255, 45, 85, 0.4); color: #ff7a94; }
.zone-b { background: rgba(168, 85, 247, 0.15); border-color: rgba(168, 85, 247, 0.4); color: #c084fc; }
.zone-c { background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.4); color: #60a5fa; }
.zone-d { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.35); color: var(--green); }

.price-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.price-panel h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.price-row:hover,
.price-row.active {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
}

.price-row .zone-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.price-row .zone-price {
  font-weight: 800;
  color: var(--gold);
}

/* ---------- Detail page ---------- */
.detail-header {
  padding: 2.5rem 0 1.5rem;
}

.detail-header .breadcrumb {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.detail-header .breadcrumb a:hover {
  color: var(--accent);
}

.detail-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.detail-artist {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-bottom: 1.15rem;
}

.info-block h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.info-table th {
  color: var(--text-dim);
  font-weight: 600;
  width: 35%;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 1.25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border-strong);
}

.timeline-item {
  position: relative;
  padding: 0.75rem 0 0.75rem 1rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.05rem;
  top: 1.05rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item.done::before {
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}

.timeline-item.upcoming::before {
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-item strong {
  display: block;
  font-size: 0.9rem;
}

.timeline-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.side-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.side-actions .btn {
  width: 100%;
}

.quick-facts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.fact .label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fact .value {
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- CTA / Dual brand ---------- */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.cta-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-card.ticket {
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.12), rgba(168, 85, 247, 0.08));
}

.cta-card.offer {
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.1), rgba(249, 115, 22, 0.08));
}

.cta-card h3 {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.cta-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--accent);
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  max-width: 640px;
  line-height: 1.5;
}

/* ---------- Empty / utils ---------- */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hidden {
  display: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .detail-grid,
  .seating-layout,
  .dual-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .price-panel {
    position: static;
  }

  .offer-table {
    min-width: 860px;
  }

  .offer-list-row {
    grid-template-columns: 56px 1fr 70px 40px;
  }

  .offer-list-row .left-mini {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 2.5rem 0 2rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .card-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .offers-page .section {
    padding: 0.75rem 0 1.5rem;
  }

  .offer-table-wrap {
    max-height: calc(100vh - 260px);
  }

  .offer-list-row {
    grid-template-columns: 1fr 48px;
    gap: 0.35rem;
  }

  .offer-list-row .offer-cat,
  .offer-list-row .expiry-mini {
    display: none;
  }
}
