/* ============================================================
   PS3 WORLD - GTA VI "VICE" THEME (temporary)
   ------------------------------------------------------------
   A sunset pink, orange and teal palette for the GTA VI launch.
   Loaded on every page after style.css; does nothing unless
   <html> has the class "vice", which the inline script in each
   page's <head> adds from 17 to 22 Nov 2026 (preview any time
   with ?theme=vice). To remove for good, delete this file and
   the "GTA VI theme" block from each page's <head>.
   ============================================================ */

/* ---------- 1. Token swap: PS blue -> Vice pink, sunset orange, teal ---------- */
html.vice {
  --bg: #0d0716;
  --bg-2: #140a20;
  --card: #170d24;
  --card-2: #1f122f;
  --media-bg: #08040e;
  --panel-top: #1d1030;
  --panel-bottom: #0e0718;
  --border: rgba(255, 120, 190, 0.16);
  --border-2: rgba(255, 120, 190, 0.28);
  --text: #fbf1f7;
  --text-2: #d2b6c9;
  --text-3: #a68aa0;
  --ps-blue: #e0287a;
  --ps-blue-2: #ff3d91;
  --btn-blue-end: #c2186b;
  --ps-cyan: #ffa05e;
  --ps-sky: #ff6fb0;
  --ps-sky-2: #ffb08a;
  --ps-ice: #ffc4a3;
  --link: #ff9ccb;
  --kbd-bg: #2a1426;
  --kbd-text: #ffd3e6;
  --shadow-glow: 0 0 40px rgba(255, 61, 145, 0.2);
  --ring: 0 0 0 3px rgba(46, 230, 214, 0.5);
  scrollbar-color: #5a2348 var(--bg);
}

/* ---------- 2. Background & base ---------- */
html.vice body { background: #0c0617; }
html.vice body::before {
  background:
    linear-gradient(rgba(14, 7, 24, 0.9), rgba(14, 7, 24, 0.93)),
    radial-gradient(ellipse 85% 55% at 50% -15%, rgba(255, 120, 80, 0.22), transparent),
    radial-gradient(ellipse 60% 45% at 15% 0%, rgba(255, 61, 145, 0.16), transparent),
    radial-gradient(ellipse 60% 50% at 85% 105%, rgba(46, 230, 214, 0.12), transparent),
    #000;
}
html.vice ::selection { background: rgba(255, 61, 145, 0.4); }

/* XMB waves: rotate blue to orange */
html.vice .page-waves {
  --pw-a: #d1176f; --pw-b: #ff3d91; --pw-c: #ffa05e;
  --pw-d: #5a1d6e; --pw-e: #1c0a2c; --pw-f: #2ee6d6;
  --pw-glow: rgba(255, 61, 145, 0.2);
}

html.vice hr.solid { border-bottom-color: rgba(255, 99, 160, 0.2); }

/* ---------- 3. Header, logo & nav ---------- */
html.vice header.site {
  background: rgba(14, 7, 24, 0.95);
  border-bottom-color: rgba(255, 61, 145, 0.35);
}
html.vice .logo::after {
  content: "\1F334";
  font-size: 20px;
  line-height: 1;
}
html.vice nav.main > a.active::after,
html.vice nav.main .nav-item > a.active::after { box-shadow: 0 0 10px rgba(255, 158, 94, 0.6); }
html.vice nav.main .dropdown { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 61, 145, 0.08); }
html.vice nav.main .dropdown a:hover,
html.vice nav.main .dropdown a:focus-visible { background: rgba(255, 61, 145, 0.1); }
html.vice nav.main .dropdown a.active { background: rgba(255, 158, 94, 0.08); }
html.vice .search-trigger:focus-visible { box-shadow: 0 0 0 4px rgba(255, 61, 145, 0.15); }

/* ---------- 4. Hero ---------- */
html.vice .hero h1 {
  background: linear-gradient(180deg, #fff 0%, #ffb08a 60%, #ff3d91 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- 5. Buttons ---------- */
html.vice .btn,
html.vice .contact-form button,
html.vice .contact-form input[type="submit"] { box-shadow: 0 0 24px rgba(255, 61, 145, 0.35); }
html.vice .btn:hover,
html.vice .btn-manual:hover,
html.vice .contact-form button:hover,
html.vice .contact-form input[type="submit"]:hover { box-shadow: 0 0 36px rgba(255, 158, 94, 0.6); }
html.vice .btn.btn-ghost:hover { background: rgba(255, 61, 145, 0.1); }
html.vice .alpha-btn.active { box-shadow: 0 0 16px rgba(255, 61, 145, 0.45); }

/* ---------- 6. Cards & home ---------- */
html.vice .explore-card {
  background:
    radial-gradient(120% 120% at 100% 100%, rgba(255, 61, 145, 0.16), transparent 60%),
    linear-gradient(160deg, var(--panel-top), var(--panel-bottom));
}
html.vice .explore-card:hover,
html.vice .link-card:hover {
  border-color: rgba(255, 61, 145, 0.5);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 61, 145, 0.18), 0 0 30px rgba(255, 61, 145, 0.12);
}
html.vice .link-card:hover { background: linear-gradient(180deg, rgba(255, 61, 145, 0.09), rgba(255, 61, 145, 0.02)); }
html.vice .explore-chips a:hover { background: rgba(255, 61, 145, 0.2); }
html.vice .feed-item--lead { background: linear-gradient(135deg, rgba(255, 61, 145, 0.1), rgba(255, 255, 255, 0.02) 60%); }
html.vice .share-btn:hover { box-shadow: 0 6px 24px rgba(255, 61, 145, 0.18); }
html.vice .post .post-date { border-color: rgba(255, 158, 94, 0.25); background: rgba(255, 158, 94, 0.07); }
html.vice .info-box,
html.vice .info-box-purple,
html.vice .contact-notice { --accent-soft: rgba(255, 61, 145, 0.2); }

/* ---------- 7. Navigation aids ---------- */
html.vice .crumbs { border-color: rgba(255, 158, 94, 0.25); background: rgba(255, 158, 94, 0.06); }
html.vice .quick-nav-count { background: rgba(255, 158, 94, 0.12); }
@media (hover: hover) { html.vice .quick-nav-links a:hover { background: rgba(255, 61, 145, 0.12); } }
html.vice .quick-nav-links a.is-current { box-shadow: 0 0 14px rgba(255, 61, 145, 0.4); }
html.vice .sb-item.is-current { background: rgba(255, 61, 145, 0.16); }
html.vice .scroll-progress { box-shadow: 0 0 8px rgba(255, 158, 94, 0.6); }
html.vice #backToTop { box-shadow: 0 8px 32px rgba(255, 61, 145, 0.4); }
html.vice #backToTop:hover { box-shadow: 0 12px 40px rgba(255, 61, 145, 0.6), 0 0 0 8px rgba(255, 158, 94, 0.08); }
html.vice .lightbox button.close:hover,
html.vice .lightbox button.close:focus-visible,
html.vice .lb-nav:hover,
html.vice .lb-nav:focus-visible { background: rgba(255, 61, 145, 0.25); }
html.vice .contact-form input:focus,
html.vice .contact-form textarea:focus,
html.vice .contact-form select:focus { box-shadow: 0 0 0 4px rgba(255, 61, 145, 0.15); }

/* ---------- 8. Footer ---------- */
html.vice footer.site { border-top-color: rgba(46, 230, 214, 0.4); }
html.vice footer.site::before {
  content: "\1F334  From GTA IV and V on PS3 to GTA VI on PS5: out 19 November  \1F305";
  display: block;
  margin: -12px 0 24px;
  text-align: center;
  color: var(--ps-cyan);
  font-weight: 600;
  letter-spacing: 0.3px;
}
html.vice.vice-day footer.site::before { content: "\1F334  From GTA IV and V on PS3 to GTA VI on PS5: out today  \1F305"; }
html.vice.vice-out footer.site::before { content: "\1F334  From GTA IV and V on PS3 to GTA VI on PS5: out now  \1F305"; }


/* Teal accents, the other half of the sunset */
html.vice .scroll-progress { background: linear-gradient(90deg, #ff3d91, #ffa05e, #2ee6d6); }
html.vice .back-to-list svg { color: #2ee6d6; }

/* Home page hero: Lucia and Jason stand in for Nathan Drake on the GTA VI days */
html.vice .hero-character {
  content: url("/images/bg/lucia_and_jason.webp"); height: auto; aspect-ratio: 600 / 639;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent);
}
