/* Vice Club website: always the app's "After Hours" dark look, whatever the device's setting. */
:root {
  --bg: #171627; --card: #232136; --card-2: #2b2842; --text: #FAF6FF; --muted: #B0A6C3;
  --accent: #F9A4CC; --border: #373248; --pink: #FF4F9A; --orange: #FFAD36; --violet: #8A4FFF; --cyan: #2FD3E6;
  --radius: 22px; --glow: .42;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* Sunset glows, as behind the app's main screens. */
.glows { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glows span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--glow); }
.glows span:nth-child(1) { width: 520px; height: 520px; background: var(--pink); top: -200px; left: -180px; }
.glows span:nth-child(2) { width: 460px; height: 460px; background: var(--orange); top: 30%; right: -220px; opacity: calc(var(--glow) * .7); }
.glows span:nth-child(3) { width: 520px; height: 520px; background: var(--violet); bottom: -260px; left: 20%; opacity: calc(var(--glow) * .8); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: color-mix(in srgb, var(--bg) 72%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { color: var(--accent); font-weight: 800; }
nav.links { display: flex; gap: 4px; margin-inline-start: auto; }
nav.links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--text); background: var(--card); }
select.lang { appearance: none; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 12px; font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 14px 22px; border: 0; cursor: pointer; font-size: 16px; }
.btn.primary { background: linear-gradient(120deg, var(--pink), var(--orange)); color: #fff; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--pink) 70%, transparent); }
.btn.ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.btn[aria-disabled="true"] { cursor: default; }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero.solo { grid-template-columns: 1fr; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 16px; font-weight: 800; }
h1 .grad { background: linear-gradient(100deg, var(--pink), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* GTA VI artwork behind the countdown: the logo shows in full at the top (the picture is 4:3 and the
   logo ends at 73% of its height, so 56% of the card's width), then it fades to dark under the numbers. */
.countdown { background: #231B38; border-radius: 28px; padding: 56% 28px 28px; color: #fff;
  box-shadow: 0 30px 80px -30px rgba(255, 79, 154, .6); position: relative; overflow: hidden; }
.countdown::before { content: ""; position: absolute; inset: 0 0 auto; aspect-ratio: 4 / 3;
  background: url("/assets/countdown-bg.webp") center / cover;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
.countdown .label { font-size: 13px; font-weight: 800; letter-spacing: .1em; opacity: .9; position: relative; z-index: 1; }
.countdown .units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 14px; position: relative; z-index: 1; }
.countdown .unit { background: rgba(255, 255, 255, .16); border-radius: 16px; padding: 14px 6px; text-align: center; backdrop-filter: blur(6px); }
.countdown .unit b { display: block; font-size: clamp(30px, 4.5vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; font-weight: 800; }
.countdown .unit small { font-size: 12px; font-weight: 700; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.countdown .date { font-weight: 700; position: relative; z-index: 1; }

/* Sections */
section { padding: 48px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; line-height: 1.1; margin: 0; font-weight: 800; }
.section-head p { color: var(--muted); margin: 6px 0 0; }
.more { color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature .dot { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Guide tiles and entries */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tile { position: relative; border-radius: var(--radius); padding: 20px; min-height: 150px; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background-size: cover; background-position: center; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .35)); }
.tile > * { position: relative; }
.tile strong { font-size: 20px; letter-spacing: -.01em; }
.tile small { opacity: .9; font-weight: 600; }
.tile .soon { position: absolute; top: 14px; inset-inline-end: 14px; font-size: 12px; font-weight: 800; background: rgba(0, 0, 0, .28); padding: 4px 10px; border-radius: 999px; }
.tile:hover { transform: translateY(-2px); transition: transform .2s; }

.category { padding: 36px 0 12px; scroll-margin-top: 80px; }
.category-head { border-radius: var(--radius); padding: 26px; color: #fff; margin-bottom: 16px; }
.category-head h2 { color: #fff; }
.category-head p { margin: 6px 0 0; opacity: .92; }
.entries { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.entry { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.entry img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.entry .body { padding: 18px 20px 20px; }
.entry h3 { margin: 0; font-size: 19px; }
.entry .role { color: var(--accent); font-weight: 700; font-size: 14px; margin: 2px 0 8px; }
.entry p { margin: 0; color: var(--muted); font-size: 15px; }
.empty { background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius); padding: 22px; color: var(--muted); }

/* News */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.article { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; }
.article .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--card-2), var(--border)); }
.article .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.article .meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.article h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.article:hover h3 { color: var(--accent); }
.editions { display: flex; flex-wrap: wrap; gap: 8px; }
.editions button { background: var(--card); color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; }
.editions button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.skeleton { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); height: 280px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }

/* Download band */
.band { background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: 36px; display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.band img { width: 72px; height: 72px; border-radius: 18px; }
.band .text { flex: 1; min-width: 240px; }
.band h2 { font-size: 28px; }
.band p { color: var(--muted); margin: 6px 0 0; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 28px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer .disclaimer { flex-basis: 100%; font-size: 13px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 32px; }
  .features { grid-template-columns: 1fr 1fr; }
  nav.links { display: none; }
  select.lang { margin-inline-start: auto; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .countdown { padding: 56% 20px 20px; }
  .countdown .units { gap: 6px; }
  .band { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } .tile:hover { transform: none; } html { scroll-behavior: auto; } }
.countdown:empty { visibility: hidden; }
