/* The GTA 6 use-case page (static/use-cases/gta-6-clipping.html) and the banner that links to it
   from the home page. The colours are the ones in the Grand Theft Auto VI logo: blue sky to violet,
   pink and orange, a yellow edge, and a deep plum outline. Nothing here touches any other page:
   the page's rules hang off body.gta, and the banner's off .gta-banner. */

@font-face {
  font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/captions/Anton-Regular.ttf") format("truetype");
}

/* ---------------------------------------------------------------- the page's palette */

body.gta {
  --g-blue: #385fd8;
  --g-violet: #8f57ca;
  --g-pink: #ff4db8;
  --g-orange: #e98d4c;
  --g-yellow: #ffb928;
  --g-plum: #350054;
  --g-night: #14001f;
  --sunset: linear-gradient(180deg, var(--g-blue) 0%, var(--g-violet) 34%, var(--g-pink) 62%, var(--g-orange) 100%);
  --edge: linear-gradient(160deg, var(--g-yellow), var(--g-pink) 45%, var(--g-violet) 75%, var(--g-blue));
  --display: "Anton", "Urbanist", ui-sans-serif, system-ui, sans-serif;

  --ink: #fff5fb;
  --ink-2: #dcc8e8;
  --ink-3: #b9a0cb;
  --on-ink: #1f0033;
  --paper: #2a0a40;
  --canvas: var(--g-night);
  --raised: #47176a;
  --mute: #8f6aa8;
  --wash: rgba(143, 87, 202, 0.18);
  --accent: var(--g-pink);
  --accent-hover: #ff72c7;
  --accent-soft: #ff8fd3;
  --on-accent: #1f0033;
  --line: rgba(255, 214, 240, 0.12);
  --line-2: rgba(255, 214, 240, 0.22);
  --hair: rgba(255, 214, 240, 0.3);
  --caption: var(--g-yellow);
  --gradient: radial-gradient(60% 80% at 100% 100%, rgba(233, 141, 76, 0.42), transparent 70%), radial-gradient(60% 90% at 85% 30%, rgba(255, 77, 184, 0.36), transparent 70%), radial-gradient(70% 90% at 0% 0%, rgba(56, 95, 216, 0.5), transparent 70%), linear-gradient(160deg, var(--g-plum), var(--g-night));
  --featured: linear-gradient(160deg, #47176a, #2a0a40);
  --glow: 0 10px 28px -10px rgba(255, 77, 184, 0.75);

  background:
    radial-gradient(900px 600px at 100% 900px, rgba(255, 77, 184, 0.1), transparent 70%),
    radial-gradient(900px 700px at 0% 1900px, rgba(56, 95, 216, 0.12), transparent 70%),
    var(--canvas);
}
body.gta ::selection { background: rgba(255, 77, 184, 0.45); }
body.gta .nav.scrolled { background: rgba(20, 0, 31, 0.88); }
body.gta .nav-links { background: rgba(53, 0, 84, 0.6); }

/* ---------------------------------------------------------------- type */

body.gta .page-title, body.gta .h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em;
}
body.gta .page-title { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.04; }
body.gta .h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; }
.gta-grad {
  background: linear-gradient(180deg, var(--g-yellow) 8%, var(--g-orange) 40%, var(--g-pink) 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------------------------------------------------------- hero */

body.gta .hero-sheet {
  border: 2px solid transparent;
  background: var(--gradient) padding-box, var(--edge) border-box;
}
body.gta .crumbs, body.gta .crumbs a { color: var(--ink-2); }
body.gta .hero-copy .lede { color: #efe2f6; }
.gta-phone { position: relative; }
.gta-phone .phone { --w: min(270px, 62vw); }
body.gta .phone {
  border: 2px solid transparent; background: linear-gradient(var(--g-plum), #1f0033) padding-box, var(--edge) border-box;
  box-shadow: var(--shadow-lg), 0 0 60px -20px rgba(255, 77, 184, 0.7);
}
.gta-logo {
  position: absolute; left: -72px; bottom: 54px; width: 190px; height: auto; rotate: -6deg; z-index: 4;
  filter: drop-shadow(0 14px 22px rgba(20, 0, 31, 0.7));
}

/* ---------------------------------------------------------------- cards */

body.gta .step { position: relative; overflow: hidden; }
body.gta .step::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--g-blue), var(--g-violet), var(--g-pink), var(--g-orange), var(--g-yellow)); }
body.gta .step-num { border-color: var(--g-yellow); color: var(--g-yellow); }
body.gta .pack:hover { border-color: var(--g-pink); }
body.gta .chip-row .chip:hover { border-color: var(--g-pink); color: var(--ink); }

/* Four example clips: wide gameplay stills cropped the way a vertical clip would be. */
.gta-clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gta-clips figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.gta-clips .phone { --w: min(230px, 20vw); }
.gta-clips figcaption { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.gta-clips figcaption .mono { color: var(--ink-3); }

/* A wide still with the things you can ask nine16 to look for. */
.gta-band {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl);
  padding: clamp(32px, 6vw, 80px); min-height: 500px; display: grid; gap: 18px; align-content: center;
  grid-template-columns: minmax(0, 520px); justify-content: end;   /* the copy sits on the right, clear of the two characters */
  border: 2px solid transparent; background: linear-gradient(var(--g-plum), var(--g-plum)) padding-box, var(--edge) border-box;
}
.gta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; z-index: -2; }
.gta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(270deg, rgba(20, 0, 31, 0.96) 0%, rgba(53, 0, 84, 0.9) 38%, rgba(143, 87, 202, 0.25) 62%, rgba(255, 77, 184, 0.08) 100%);
}
.gta-band .lede { color: #efe2f6; max-width: 46ch; }
.gta-ideas { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.gta-ideas li {
  height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: var(--pill);
  background: rgba(20, 0, 31, 0.6); border: 1px solid rgba(255, 185, 40, 0.55); color: #fff; font-size: 15px; font-weight: 500;
}

/* ---------------------------------------------------------------- closing call to action */

body.gta .cta-panel {
  background: linear-gradient(rgba(20, 0, 31, 0.42), rgba(20, 0, 31, 0.42)), linear-gradient(135deg, var(--g-blue) 0%, var(--g-violet) 30%, var(--g-pink) 62%, var(--g-orange) 100%);
}
body.gta .cta-panel .lede { color: #fff; }
body.gta .cta-ruler { --hair: rgba(255, 255, 255, 0.4); --accent: var(--g-yellow); }
body.gta .link-form-dark { background: rgba(20, 0, 31, 0.6); border-color: rgba(255, 255, 255, 0.35); }
body.gta .link-form-dark .btn { background: var(--g-yellow); border-color: var(--g-yellow); color: #1f0033; box-shadow: none; }
body.gta .link-form-dark .btn:hover { background: #ffc94f; border-color: #ffc94f; }
.gta-legal { max-width: 90ch; }

/* ---------------------------------------------------------------- the home page banner */

.gta-banner {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: clamp(20px, 4vw, 56px); min-height: 260px; padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl); text-decoration: none; color: #fff;
  border: 2px solid transparent;
  background: linear-gradient(#1f0033, #1f0033) padding-box, linear-gradient(135deg, #ffb928, #ff4db8 45%, #8f57ca 75%, #385fd8) border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gta-banner:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -24px rgba(255, 77, 184, 0.7); }
/* The still fills the right-hand side, so its two characters sit between the copy and the button. */
.gta-banner-art { position: absolute; inset: 0 0 0 auto; width: 60%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; }
.gta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #1f0033 0%, #1f0033 40%, rgba(53, 0, 84, 0.72) 54%, rgba(143, 87, 202, 0.2) 74%, rgba(255, 77, 184, 0.28) 100%);
}
.gta-banner-logo { width: clamp(120px, 15vw, 190px); height: auto; filter: drop-shadow(0 10px 18px rgba(20, 0, 31, 0.6)); }
.gta-banner-copy { display: grid; gap: 10px; }
.gta-banner-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #ffb928; }
.gta-banner-title {
  font-family: "Anton", "Urbanist", ui-sans-serif, system-ui, sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: 0.01em;
}
.gta-banner-text { font-size: clamp(16px, 1.5vw, 18px); color: #efe2f6; max-width: 44ch; }
.gta-banner-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 999px; white-space: nowrap;
  background: #ff4db8; color: #1f0033; font-weight: 700; font-size: 16px; box-shadow: 0 10px 28px -10px rgba(255, 77, 184, 0.8);
}
.gta-banner:hover .gta-banner-cta { background: #ffb928; }
.gta-banner-cta svg { transition: transform 0.15s ease; }
.gta-banner:hover .gta-banner-cta svg { transform: translateX(3px); }
.gta-banner:focus-visible { outline: 2px solid #ffb928; outline-offset: 4px; border-radius: var(--r-xl); }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .gta-logo { left: -40px; width: 160px; }
}
@media (max-width: 860px) {
  .gta-phone { justify-self: center; }
  .gta-logo { left: -56px; }
  .gta-clips {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 8px; scrollbar-width: none;
  }
  .gta-clips::-webkit-scrollbar { display: none; }
  .gta-clips figure { scroll-snap-align: center; }
  .gta-clips .phone { --w: 200px; }
  .gta-band::before, .gta-banner::before { background: linear-gradient(180deg, rgba(31, 0, 51, 0.72), rgba(31, 0, 51, 0.94)); }
  .gta-banner { grid-template-columns: 1fr; justify-items: start; }
  .gta-banner-art { width: 100%; }
}
@media (max-width: 600px) {
  .gta-phone .phone { --w: 220px; }
  .gta-logo { width: 130px; left: -44px; bottom: 40px; }
  body.gta .hero-sheet { border-radius: 30px; }
  .gta-band { min-height: 0; border-radius: 30px; padding-top: 220px; }
  .gta-band::before { background: linear-gradient(180deg, rgba(31, 0, 51, 0.1) 0, rgba(31, 0, 51, 0.95) 230px); }
  .gta-band > img { height: 260px; }
  .gta-banner { border-radius: 30px; }
  .gta-banner-cta { width: 100%; justify-content: center; }
}
