/* ===== Colours: change these to restyle the whole site ===== */
:root {
  --bg: #0e0a14;
  --bg-2: #171022;
  --card: #1c1428;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f6f1ff;
  --muted: #b9aecb;

  --red: #ff2d55;      /* her bean colour */
  --red-deep: #c4123a;
  --gold: #ffc94d;
  --gold-deep: #e0a21b;
  --blue: #3d8bff;
  --purple: #a259ff;

  --radius: 18px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(162, 89, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(61, 139, 255, 0.14), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(255, 45, 85, 0.14), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.t-red { color: var(--red); }
.t-gold { color: var(--gold); }
.t-blue { color: var(--blue); }
.t-purple { color: var(--purple); }
.t-white { color: var(--text); }
.center { text-align: center; margin-top: 2rem; }
.empty { color: var(--muted); grid-column: 1 / -1; text-align: center; padding: 2rem 0; }

/* ===== Prosecco bubbles ===== */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bubble {
  position: absolute; bottom: -20px; border-radius: 50%;
  border: 1.5px solid rgba(255, 214, 110, 0.85);
  background: radial-gradient(circle at 30% 30%, rgba(255, 245, 210, 0.9), rgba(255, 201, 77, 0.25) 45%, rgba(255, 201, 77, 0.08) 70%);
  box-shadow: 0 0 10px rgba(255, 201, 77, 0.35);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 0.8; }
  100% { transform: translate(var(--drift, 20px), -110vh); opacity: 0; }
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  background: rgba(14, 10, 20, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { height: 44px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: 0.95rem; color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  padding: 0.9rem 1.6rem; border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.8rem; }
.btn-red {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; box-shadow: 0 8px 28px rgba(255, 45, 85, 0.35);
}
.btn-red:hover { box-shadow: 0 10px 36px rgba(255, 45, 85, 0.55); }
.btn-gold {
  background: transparent; color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: var(--gold); color: var(--bg); box-shadow: 0 8px 28px rgba(255, 201, 77, 0.35); }

/* ===== Hero ===== */
.hero {
  position: relative; z-index: 1; text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 1.5rem clamp(2rem, 6vw, 4rem);
}
.hero-glow {
  position: absolute; inset: 10% 20%; z-index: -1; filter: blur(80px); opacity: 0.55;
  background: conic-gradient(from 90deg, var(--red), var(--purple), var(--blue), var(--red));
  animation: spin 18s linear infinite; border-radius: 50%;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.6rem, 11vw, 7.5rem); line-height: 1; letter-spacing: -0.03em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.5);
}
.hero-sub { font-size: clamp(1rem, 2.4vw, 1.3rem); color: var(--muted); margin: 1.2rem auto 2rem; max-width: 36rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.live-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em;
  padding: 0.45rem 1rem; border-radius: 999px;
  background: var(--red); color: #fff; box-shadow: 0 0 30px rgba(255, 45, 85, 0.7);
}
.live-pill .dot { width: 9px; height: 9px; background: #fff; border-radius: 50%; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

.game-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 2.5rem; }
.game-chips li {
  font-weight: 700; font-size: 0.85rem; padding: 0.4rem 0.9rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
}
.game-chips li:nth-child(3n+1) { border-color: var(--red); }
.game-chips li:nth-child(3n+2) { border-color: var(--blue); }
.game-chips li:nth-child(3n+3) { border-color: var(--purple); }

/* ===== Vine dividers ===== */
.vine-divider { position: relative; z-index: 1; max-width: 1100px; margin: 1rem auto; padding: 0 1rem; }
.vine-divider img { width: 100%; height: auto; max-height: 110px; object-fit: contain; }
.vine-divider.flip img { transform: scaleX(-1); }

/* ===== Sections ===== */
.section { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 3.5rem clamp(1rem, 4vw, 2rem); }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.1; }
.section-head p { color: var(--muted); margin-top: 0.5rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

/* Stream preview */
.preview { display: block; text-decoration: none; max-width: 900px; margin: 0 auto; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.preview:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 14px 40px rgba(255, 45, 85, 0.3); }
.preview-img { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.preview-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s, filter 0.3s; }
.preview:hover .preview-img img { transform: scale(1.03); filter: brightness(0.6); }
.preview-badge {
  position: absolute; top: 14px; left: 14px; font-family: var(--font-display); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.1em; padding: 0.3rem 0.7rem; border-radius: 6px; background: rgba(0, 0, 0, 0.7); color: var(--muted);
}
.preview-badge.live { background: var(--red); color: #fff; box-shadow: 0 0 20px rgba(255, 45, 85, 0.7); }
.preview-viewers { position: absolute; top: 14px; right: 14px; font-weight: 700; font-size: 0.8rem; padding: 0.3rem 0.7rem; border-radius: 6px; background: rgba(0, 0, 0, 0.7); }
.preview-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 3vw, 1.5rem); opacity: 0; transition: opacity 0.3s;
}
.preview-play span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); box-shadow: 0 0 30px rgba(255, 45, 85, 0.7); }
.preview:hover .preview-play { opacity: 1; }
.preview-info { padding: 1rem 1.3rem 1.2rem; }
.preview-info h3 { font-size: 1.15rem; }
.preview-info p { color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }
@media (hover: none) { .preview-play { opacity: 1; background: linear-gradient(transparent 60%, rgba(0,0,0,0.6)); align-items: flex-end; padding-bottom: 1rem; } }

/* Stream */
.stream-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 1rem; }
.player { aspect-ratio: 16 / 9; }
.player iframe, .chat iframe { width: 100%; height: 100%; border: 0; display: block; }
.chat { min-height: 400px; }
.status-line .live { color: var(--red); font-weight: 700; }

/* Clips */
.clips-grid, .merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.clip {
  text-decoration: none; display: block;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.clip:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 10px 30px rgba(61, 139, 255, 0.25); }
.clip-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); }
.clip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.clip-thumb .views {
  position: absolute; bottom: 8px; left: 8px; font-size: 0.75rem; font-weight: 700;
  background: rgba(0, 0, 0, 0.7); padding: 0.15rem 0.5rem; border-radius: 6px;
}
.clip-info { padding: 0.8rem 1rem 1rem; }
.clip-info h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.clip-info p { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }

/* Schedule */
.schedule-list { display: grid; gap: 0.8rem; max-width: 760px; margin: 0 auto; }
.slot {
  display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: center;
  padding: 1rem 1.2rem; border-left: 4px solid var(--purple);
}
.slot:nth-child(3n+2) { border-left-color: var(--red); }
.slot:nth-child(3n+3) { border-left-color: var(--blue); }
.slot-day { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
.slot-day small { display: block; font-family: var(--font-body); color: var(--muted); font-weight: 500; font-size: 0.8rem; }
.slot-title { font-weight: 700; }
.slot-meta { font-size: 0.85rem; color: var(--muted); }

/* Merch */
.merch-logo { height: 90px; width: auto; margin: 0 auto 1rem; }
.product { text-decoration: none; display: block; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.product:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 10px 30px rgba(255, 201, 77, 0.2); }
.product-img { aspect-ratio: 1; background: var(--bg-2); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 0.9rem 1rem 1.1rem; display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline; }
.product-info h3 { font-size: 1rem; }
.product-info .price { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* About */
.about { max-width: 780px; margin: 0 auto; padding: clamp(1.5rem, 5vw, 3rem); text-align: center; position: relative; }
.about::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 2px; pointer-events: none;
  background: linear-gradient(135deg, var(--red), var(--gold), var(--purple), var(--blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.about h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 4.5vw, 2.6rem); margin-bottom: 1rem; }
.about p { color: var(--muted); margin-bottom: 1rem; font-size: 1.05rem; }
.welcome-tag { font-weight: 700; color: var(--text) !important; font-size: 0.95rem !important; margin-top: 1.5rem; }
.rainbow {
  background: linear-gradient(90deg, #ff4d4d, #ff9f1c, #ffd93d, #4ade80, #3d8bff, #a259ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-beans { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 1rem; }
.bean {
  width: 26px; height: 36px; border-radius: 50% 50% 48% 52% / 60% 60% 40% 40%;
  transform: rotate(-20deg); box-shadow: inset -4px -6px 0 rgba(0, 0, 0, 0.25), inset 4px 5px 0 rgba(255, 255, 255, 0.25);
}
.bean.red { background: var(--red); }
.bean.blue { background: var(--blue); transform: rotate(10deg) translateY(-6px); }
.bean.purple { background: var(--purple); transform: rotate(30deg); }

/* Footer */
main { flex: 1; }
body[data-page="links"] .socials { display: none; }
.footer { position: relative; z-index: 1; text-align: center; padding: 3rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.socials { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.2rem; }
.socials a {
  text-decoration: none; font-weight: 700; color: var(--text);
  padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  transition: border-color 0.2s, color 0.2s;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); }

/* ===== Nav extras ===== */
.nav-links a.active { color: var(--text); box-shadow: inset 0 -3px 0 var(--red); padding-bottom: 4px; }
.nav-twitch { display: inline-flex; align-items: center; gap: 0.45rem; }
.nav-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }

/* ===== Sub-page heroes ===== */
.page-hero { position: relative; z-index: 1; text-align: center; padding: clamp(3rem, 8vw, 5rem) 1.5rem 1rem; }
.page-title {
  font-family: var(--font-display); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 8vw, 4.5rem);
}
.hero-glow.small { inset: 0 30%; opacity: 0.4; }
.section.narrow { padding-top: 2rem; }
.game-chips.big li { font-size: 1rem; padding: 0.6rem 1.3rem; }
.game-chips.big { margin-top: 0; }

/* About: vibe cards */
.vibe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.vibe { padding: 1.5rem; border-top: 4px solid var(--red); transition: transform 0.2s; }
.vibe:hover { transform: translateY(-4px); }
.vibe.gold { border-top-color: var(--gold); }
.vibe.blue { border-top-color: var(--blue); }
.vibe.purple { border-top-color: var(--purple); }
.vibe h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.5rem; }
.vibe p { color: var(--muted); }

/* Links page */
.links-page { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; padding: 3rem 1.2rem 4rem; text-align: center; }
.links-logo { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 1rem; }
.links-page .page-title { font-size: clamp(2rem, 9vw, 3rem); }
.links-sub { color: var(--muted); margin: 0.5rem 0 2rem; }
.links-list { display: grid; gap: 0.9rem; }
.big-link {
  display: block; text-decoration: none; font-family: var(--font-display); font-weight: 700;
  padding: 1.1rem 1.4rem; border-radius: 16px; background: var(--card);
  border: 2px solid var(--red); transition: transform 0.15s, background 0.2s, box-shadow 0.2s, color 0.2s;
}
.big-link:hover { transform: translateY(-3px) scale(1.01); background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(255, 45, 85, 0.4); }
.big-link.gold { border-color: var(--gold); }
.big-link.gold:hover { background: var(--gold); color: var(--bg); box-shadow: 0 10px 30px rgba(255, 201, 77, 0.35); }
.big-link.blue { border-color: var(--blue); }
.big-link.blue:hover { background: var(--blue); box-shadow: 0 10px 30px rgba(61, 139, 255, 0.4); }
.big-link.purple { border-color: var(--purple); }
.big-link.purple:hover { background: var(--purple); box-shadow: 0 10px 30px rgba(162, 89, 255, 0.4); }

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .stream-wrap { grid-template-columns: 1fr; }
  .chat { height: 420px; }
}
@media (max-width: 640px) {
  .nav { flex-wrap: wrap; row-gap: 0.5rem; }
  .nav-links { order: 3; width: 100%; justify-content: space-around; gap: 0.5rem; }
  .nav-logo { height: 36px; }
  .slot { grid-template-columns: 1fr; gap: 0.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bubble, .hero-glow, .live-pill .dot { animation: none !important; }
  .bubbles { display: none; }
}
