/*
Theme Name: ToP ShoTTA in DA 6IX
Description: A neon waterfront WordPress theme for ToP ShoTTA’s GTA fan hub, streams, guides, merch and interactive membership map.
Version: 1.0.1
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: top-shotta-in-da-6ix
*/

@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); font-style: italic; font-weight: 800; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }

:root {
    color-scheme: dark;
    --background: #090a10;
    --surface: #141620;
    --white: #faf8fc;
    --muted: #bfc0ce;
    --pink: #ff2686;
    --cyan: #37e8ed;
    --border: #30313f;
    --heading: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    --body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--background); color: var(--white); font: 400 1rem/1.6 var(--body); }
a { color: var(--cyan); text-underline-offset: .2em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; line-height: 1.04; margin: 0 0 .38em; }
h1 { font-size: clamp(3.05rem, 7vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.8rem; }
p { margin-top: 0; }
.wrap { max-width: 1400px; margin-inline: auto; padding-inline: clamp(15px, 3vw, 46px); }
.reading { min-height: 60vh; padding-block: clamp(2rem, 7vw, 5.5rem); }
.reading > p { max-width: 73ch; }
.reading > article + article { margin-top: 2rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.skip-link { position: absolute; top: 0; left: 10px; z-index: 5; transform: translateY(-130%); background: var(--cyan); color: #111; padding: .5rem 1rem; }
.skip-link:focus { transform: none; }
.masthead { background: #08090c; border-bottom: 1px solid #22222b; }
.masthead-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.masthead-inner { min-height: 73px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font: italic 800 clamp(1.35rem, 2.4vw, 2rem)/1 var(--heading); color: var(--pink); white-space: nowrap; }
.brand img { object-fit: contain; width: 55px; height: 40px; }
.brand b, .site-footer strong span { color: var(--cyan); }
.menu { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem clamp(.8rem, 2.2vw, 2.5rem); }
.menu a { font: 700 1.12rem/1.3 var(--heading); color: var(--white); text-decoration: none; text-transform: uppercase; }
.menu a:hover, .menu .current-menu-item > a { color: var(--cyan); }
.menu .sub-menu { list-style: none; padding-left: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; border: 1px solid var(--pink); border-radius: 5px; padding: .52em 1.12em; background: var(--pink); color: #100810; text-decoration: none; text-transform: uppercase; text-align: center; font: 700 1.22rem/1.12 var(--heading); transition: background .2s ease, border-color .2s ease; }
.button:hover { color: #100810; background: #ff8ab8; border-color: #ff8ab8; }
.button.outline { background: #090a10d9; border-color: var(--cyan); color: var(--cyan); }
.button.outline:hover { background: #143036; border-color: #a8ffff; color: #fff; }
.button.small { font-size: 1rem; min-height: 39px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.hero, .crew { position: relative; isolation: isolate; overflow: hidden; background-color: #101222; }
.hero-art { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: right center; z-index: -2; }
.hero .hero-art { width: 74%; left: auto; object-position: right center; }
.hero::after, .crew::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a0c17 12%, #0a0c17f2 27%, #0a0c1733 54%, transparent 75%); }
.hero-inner { padding-block: clamp(2.6rem, 5vw, 5rem); min-height: clamp(340px, 29vw, 480px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero h1 { font-size: clamp(4.05rem, 8.2vw, 8rem); font-style: italic; font-weight: 800; line-height: .87; letter-spacing: -.028em; margin: 0 0 .21em; text-shadow: 0 3px 14px #050313a6; }
.hero h1 span { color: var(--pink); }
.hero h1 b { color: var(--cyan); }
.hero p { font-size: clamp(.98rem, 1.5vw, 1.24rem); font-weight: 600; margin-bottom: .85rem; }
.hero .countdown { margin: .85rem 0 0; font-size: .9rem; letter-spacing: .03em; color: var(--cyan); font-variant-numeric: tabular-nums; }
.stream-bar { margin-top: 2px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding: .6rem .8rem; border-block: 1px solid var(--border); background: #101119; }
.stream-bar > div { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1rem; }
.stream-bar strong { border-left: 3px solid var(--pink); padding-left: .6rem; font: 700 1.2rem/1.2 var(--heading); }
.stream-bar > div span { font-size: .88rem; color: var(--muted); }
.text-link { font-weight: 600; font-size: .88rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.tile-grid, .post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 1.4vw, 1.1rem); }
.tile-grid { margin-block: clamp(.7rem, 1.5vw, 1.3rem); }
.tile { min-height: 148px; aspect-ratio: 2.12; position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--border); border-radius: 7px; padding: clamp(.55rem, 1.2vw, 1rem); display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); text-decoration: none; color: #fff; }
.tile img { position: absolute; z-index: -2; width: 100%; height: 100%; inset: 0; object-fit: cover; transition: scale .25s ease; }
.tile::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(180deg,#070910de 0%,transparent 45%,#070910fa 100%); }
.tile:hover img { scale: 1.04; }
.tile h2 { align-self: flex-start; font-size: clamp(1.45rem, 2.8vw, 2.5rem); font-weight: 800; font-style: italic; text-transform: uppercase; }
.tile h2::after { content: ""; display: block; background: var(--pink); height: 3px; margin-top: .2em; width: 48%; }
.tile:nth-of-type(2) h2::after { background: var(--cyan); }
.tile span { display: flex; justify-content: space-between; align-items: center; gap: .3rem; font-size: .86rem; font-weight: 600; }
.tile span b { color: var(--cyan); }
.crew { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 1.7rem; }
.crew::after { background: linear-gradient(90deg,#080b15eb,#080b1588 58%,#080b1500 89%); }
.crew-inner { padding: clamp(1.25rem, 3.7vw, 3.1rem); min-height: 220px; }
.crew h2 { font-size: clamp(2.7rem, 5.4vw, 5.1rem); font-style: italic; font-weight: 800; text-transform: uppercase; margin-bottom: .1em; }
.crew p { max-width: 39ch; margin-bottom: .85rem; }
.home-row { padding-block: clamp(1rem, 2.6vw, 2rem); border-top: 1px solid var(--border); }
.home-row:last-child { margin-bottom: 1.5rem; }
.row-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; }
.muted, .gear p { color: var(--muted); }
.post-card, .pin-detail, .map-empty { background: var(--surface); border: 1px solid var(--border); padding: clamp(.9rem, 2vw, 1.6rem); border-radius: 8px; min-width: 0; }
.post-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; margin-bottom: .7rem; }
.post-card h3 a { text-decoration: none; }
.post-card p, .gear p { font-size: .9rem; }
.player-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.player, .video-embed iframe { display: block; width: 100%; max-width: 768px; height: auto; border: none; aspect-ratio: 16/9; margin-bottom: .6rem; background: #10111b; }
.twitch-player { min-height: 300px; }
.video-embed { margin-bottom: 1rem; }
audio { max-width: 100%; }
.gear { margin-top: 1.2rem; }
.site-footer { background: #101119; border-top: 1px solid var(--border); }
.footer-inner { padding-block: 1.4rem; flex-wrap: wrap; }
.site-footer strong { font: italic 800 1.4rem/1 var(--heading); color: var(--pink); }
.site-footer p { margin: 0; color: var(--muted); font-size: .82rem; }
.map-empty { min-height: 170px; }
.map-tools { margin-bottom: .7rem; }
.map-scroll { border-radius: 8px; overflow: auto; max-height: min(70vh, 680px); border: 1px solid var(--border); background: var(--surface); margin-bottom: 1.4rem; }
.map-canvas { position: relative; width: 100%; }
.map-canvas img { width: 100%; height: auto; display: block; }
.map-pin { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #151723db; border: 2px solid var(--cyan); box-shadow: 0 2px 10px #000; }
.map-pin::before { content: ""; width: 11px; height: 11px; background: var(--pink); border-radius: 50%; }
.map-pin:hover, .map-pin:focus { background: #fff; z-index: 1; }
.location-list { columns: 3 190px; }
.pin-detail { max-width: 880px; }
.member-panel { border-top: 1px solid var(--border); margin-top: 1.2rem; padding-top: 1.2rem; }
.walkthrough-tutorial { white-space: pre-wrap; overflow-wrap: anywhere; margin-block: 1rem; }
.wp-block-image, .wp-block-embed { max-width: 100%; }
.page-numbers { display: flex; flex-wrap: wrap; gap: .9rem; padding-left: 0; list-style: none; margin-top: 1rem; }

@media (max-width: 850px) {
    .masthead-inner { flex-wrap: wrap; gap: .35rem 1rem; }
    .masthead-inner nav { flex-basis: 100%; order: 3; }
    .hero .hero-art { width: 93%; }
    .hero::after { background: linear-gradient(90deg,#0a0c17ee 6%,#0a0c17aa 28%,#0a0c1700 73%); }
    .twitch-player { min-height: 0; }
}
@media (max-width: 590px) {
    .admin-bar .masthead { margin-top: 0; }
    .hero .hero-art { width: 100%; object-position: right top; object-fit: cover; height: 70%; }
    .hero::after { background: linear-gradient(0deg,#0a0c17 19%,#0a0c17ed 34%,#0a0c1744 58%,transparent 80%); }
    .hero-inner { justify-content: flex-end; padding-top: 12.1rem; padding-bottom: 1.3rem; }
    .hero h1 { font-size: clamp(3.5rem, 12vw, 5rem); }
    .tile-grid, .post-grid { grid-template-columns: 1fr; }
    .tile { aspect-ratio: 2.45; }
    .tile h2 { font-size: 1.9rem; }
    .crew::after { background: linear-gradient(90deg,#080b15ee,#080b1577 82%); }
    .player-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
.hero .countdown{margin:1.15rem 0 0;font:italic 800 clamp(2.7rem,7.2vw,5rem)/1 var(--heading);letter-spacing:.02em;color:var(--cyan);text-shadow:0 0 26px rgba(255,38,134,.55),0 0 70px rgba(55,232,237,.28);font-variant-numeric:tabular-nums;}
.hero .countdown::before{content:"";display:block;width:min(100%,430px);height:4px;margin:0 0 .95rem;background:linear-gradient(90deg,var(--pink),var(--cyan));}
