/* ==========================================================================
   OverKlocked Gaming – shared stylesheet (plain CSS, no build step)

   1. Base reset
   2. Layout helpers (small classes like "mx-auto", "grid", "md:grid-cols-2")
   3. Site styles: colours, header, buttons, cards, sections, footer ...
   ========================================================================== */

/* ==========================================================================
   Base reset
   Makes every browser start from the same blank slate.
   ========================================================================== */

*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

html,
:host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    font-family: Roboto, sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    line-height: inherit;
}

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
}

abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

a {
    color: inherit;
    text-decoration: inherit;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp,
pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button,
select {
    text-transform: none;
}

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

:-moz-focusring {
    outline: auto;
}

:-moz-ui-invalid {
    box-shadow: none;
}

progress {
    vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

[type='search'] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

summary {
    display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

dialog {
    padding: 0;
}

textarea {
    resize: vertical;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    opacity: 1;
    color: #9ca3af;
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: #9ca3af;
}

button,
[role="button"] {
    cursor: pointer;
}

:disabled {
    cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    vertical-align: middle;
}

img,
video {
    max-width: 100%;
    height: auto;
}

[hidden]:where(:not([hidden="until-found"])) {
    display: none;
}

/* ==========================================================================
   Layout helpers
   Small single-purpose classes used in the HTML, e.g. class="max-w-5xl mx-auto px-4".
   Spacing scale: 1 = 0.25rem (4px), 2 = 0.5rem, 4 = 1rem, 8 = 2rem, 10 = 2.5rem ...
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.pointer-events-none {
    pointer-events: none;
}

.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.inset-0 {
    inset: 0px;
}

.left-5 {
    left: 1.25rem;
}

.top-0 {
    top: 0px;
}

.top-1\/2 {
    top: 50%;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.-mt-10 {
    margin-top: -2.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-auto {
    margin-top: auto;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.aspect-\[16\/8\] {
    aspect-ratio: 16/8;
}

.aspect-\[16\/9\] {
    aspect-ratio: 16/9;
}

.aspect-\[21\/9\] {
    aspect-ratio: 21/9;
}

.aspect-\[4\/3\] {
    aspect-ratio: 4/3;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-7 {
    height: 1.75rem;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-7 {
    width: 1.75rem;
}

.w-auto {
    width: auto;
}

.w-full {
    width: 100%;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-xs {
    max-width: 20rem;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-grow {
    flex-grow: 1;
}

.grow {
    flex-grow: 1;
}

.-translate-y-1\/2 {
    transform: translateY(-50%);
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.items-baseline {
    align-items: baseline;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.25rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.5rem;
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.75rem;
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1rem;
}

.divide-x > :not([hidden]) ~ :not([hidden]) {
    border-right-width: 0;
    border-left-width: 1px;
}

.divide-white\/5 > :not([hidden]) ~ :not([hidden]) {
    border-color: rgb(255 255 255 / 0.05);
}

.overflow-hidden {
    overflow: hidden;
}

.rounded-none {
    border-radius: 0px;
}

.border-0 {
    border-width: 0px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-white\/10 {
    border-color: rgb(255 255 255 / 0.1);
}

.bg-black {
    background-color: rgb(0 0 0);
}

.bg-gaming-dark {
    background-color: rgb(15 17 22);
}

.object-cover {
    -o-object-fit: cover;
    object-fit: cover;
}

.p-10 {
    padding: 2.5rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-7 {
    padding: 1.75rem;
}

.p-8 {
    padding: 2rem;
}

.px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.pb-3 {
    padding-bottom: 0.75rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-5 {
    padding-bottom: 1.25rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

.pb-8 {
    padding-bottom: 2rem;
}

.pl-10 {
    padding-left: 2.5rem;
}

.pl-9 {
    padding-left: 2.25rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-8 {
    padding-top: 2rem;
}

.text-center {
    text-align: center;
}

.font-display {
    font-family: "Chakra Petch", sans-serif;
}

.font-sans {
    font-family: Roboto, sans-serif;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.font-bold {
    font-weight: 700;
}

.font-normal {
    font-weight: 400;
}

.uppercase {
    text-transform: uppercase;
}

.not-italic {
    font-style: normal;
}

.leading-\[1\.05\] {
    line-height: 1.05;
}

.leading-relaxed {
    line-height: 1.625;
}

.leading-tight {
    line-height: 1.25;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.text-white {
    color: rgb(255 255 255);
}

.text-white\/85 {
    color: rgb(255 255 255 / 0.85);
}

.text-white\/90 {
    color: rgb(255 255 255 / 0.9);
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.opacity-40 {
    opacity: 0.4;
}

.hover\:underline:hover {
    text-decoration-line: underline;
}

/* ---------- Small tablets and up (640px+) – "sm:" classes ---------- */
@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm\:flex-row {
        flex-direction: row;
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* ---------- Tablets and up (768px+) – "md:" classes ---------- */
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }

    .md\:aspect-\[21\/9\] {
        aspect-ratio: 21/9;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:gap-12 {
        gap: 3rem;
    }

    .md\:p-12 {
        padding: 3rem;
    }

    .md\:p-14 {
        padding: 3.5rem;
    }

    .md\:p-8 {
        padding: 2rem;
    }

    .md\:p-9 {
        padding: 2.25rem;
    }

    .md\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .md\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

/* ---------- Laptops and up (1024px+) – "lg:" classes ---------- */
@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:grid-cols-\[3fr_2\.5fr_2\.5fr_2fr\] {
        grid-template-columns: 3fr 2.5fr 2.5fr 2fr;
    }

    .lg\:gap-8 {
        gap: 2rem;
    }

    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .lg\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
}

/* ==========================================================================
   Site styles
   ========================================================================== */

:root {
    --ok-black: #08090c;
    --ok-dark: #0f1116;
    --ok-card: #161a22;
    --ok-border: rgba(255, 255, 255, 0.08);
    --ok-text: #ffffff;
    --ok-muted: #aab3c2;
    --ok-accent: #2fb4ff;          /* logo blue, tuned for text on dark */
    --ok-accent-deep: #1e7bff;
    --ok-accent-glow: rgba(47, 180, 255, 0.35);
    --ok-gradient: linear-gradient(135deg, #2fb4ff 0%, #1e7bff 100%);
    --nav-h: 80px;
    --nav-h-top: 116px;            /* taller header at the very top of the page (big logo) */
    --radius: 12px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    background-color: var(--ok-black);
    color: var(--ok-text);
    overflow-x: hidden;
}

/* Anchored sections clear the fixed nav */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

::selection { background: var(--ok-accent); color: #000; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ok-black); }
::-webkit-scrollbar-thumb { background: #2a2f3a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ok-accent); }

:focus-visible { outline: 2px solid var(--ok-accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Navigation ---------- */
.site-nav {
    background: rgba(8, 9, 12, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.site-nav.scrolled {
    background: rgba(8, 9, 12, 0.92);
    border-bottom-color: var(--ok-border);
}
/* Logo starts big at the top of the page and shrinks once the visitor scrolls (.scrolled is set in main.js) */
.nav-bar { transition: height 0.35s ease; }
.nav-logo img { height: 48px; width: auto; transition: height 0.35s ease; }
.site-nav:not(.scrolled) .nav-bar { height: 116px; }
.site-nav:not(.scrolled) .nav-logo img { height: 88px; }
@media (max-width: 767px) {
    .site-nav:not(.scrolled) .nav-bar { height: 108px; }
    .site-nav:not(.scrolled) .nav-logo img { height: 85px; }
}

.nav-link {
    position: relative;
    color: var(--ok-muted);
    transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active-link { color: #fff; }
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--ok-gradient);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active-link::after { width: 100%; }
.mobile-link.active-link { color: var(--ok-accent); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    border-radius: 8px;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--ok-gradient);
    color: #04121f;
    box-shadow: 0 8px 24px -8px var(--ok-accent-glow);
}
.btn-primary:hover { box-shadow: 0 12px 32px -6px var(--ok-accent-glow); }
.btn-outline {
    border: 2px solid var(--ok-accent);
    color: var(--ok-accent);
    background: rgba(8, 9, 12, 0.35);
}
.btn-outline:hover { background: var(--ok-accent); color: #04121f; }
.btn-sm { padding: 0.65rem 1.25rem; font-size: 0.875rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ok-accent);
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.link-arrow span { transition: transform 0.2s ease; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Text helpers ---------- */
.accent { color: var(--ok-accent); }
.eyebrow {
    display: inline-block;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ok-accent);
    margin-bottom: 0.75rem;
}
.hero .eyebrow, .page-hero .eyebrow { font-size: 1.125rem; letter-spacing: 0.2em; }
.muted { color: var(--ok-muted); }
/* Shared section pattern used on every page: title, subtitle, description */
.section-block { margin-bottom: 2.5rem; }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head:last-child { margin-bottom: 0; }
.section-title {
    margin-bottom: 0.75rem;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 1.2;
    text-transform: uppercase;
}
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.section-desc {
    max-width: 44rem;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--ok-muted);
}

/* Blue line between a section title and its description */
.section-subtitle {
    margin-bottom: 1.25rem;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ok-accent);
}
@media (min-width: 768px) { .section-subtitle { font-size: 1.3rem; } }
.section-subtitle { white-space: nowrap; }
@media (max-width: 480px) { .section-subtitle { font-size: 0.95rem; letter-spacing: 0.12em; } }
@media (max-width: 380px) { .section-subtitle { font-size: 0.85rem; letter-spacing: 0.1em; } }
/* HUD style "//" between subtitle words */
.section-subtitle .sep, .hero-subtitle .sep {
    margin: 0 0.55em;
    color: #fff;
    opacity: 0.55;
    letter-spacing: 0;
    font-weight: 700;
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative;
    min-height: min(64vh, 580px);
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-h-top) + 1rem);
    background-image:
        linear-gradient(180deg, rgba(8, 9, 12, 0.55) 0%, rgba(8, 9, 12, 0.7) 60%, var(--ok-black) 100%),
        radial-gradient(ellipse at 70% 40%, rgba(30, 123, 255, 0.28), transparent 60%),
        url('../images/landing1.jpg');
    background-size: cover;
    background-position: center;
}
.hero h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
}
.hero-subtitle::before, .hero-subtitle::after {   /* short accent rules either side */
    content: '';
    width: 2rem;
    height: 2px;
    background: var(--ok-gradient);
}
@media (max-width: 767px) {
    .hero-subtitle { font-size: 1rem; letter-spacing: 0.12em; gap: 0.6rem; white-space: nowrap; }
    .hero-subtitle::before, .hero-subtitle::after { width: 1.25rem; }
}
@media (max-width: 480px) {
    .hero-subtitle { font-size: 0.9rem; letter-spacing: 0.1em; }
    .hero-subtitle::before, .hero-subtitle::after { width: 0.75rem; }
}
@media (max-width: 380px) { .hero-subtitle { font-size: 0.82rem; letter-spacing: 0.08em; } }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.4rem; } }

/* Six matching "Title →" links under the home headline:
   2 columns on phones, 3 on tablets and laptops, one row on wide screens */
.hero-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    justify-items: center;
    gap: 0.25rem 1.25rem;
}
.hero-links a { font-size: 0.85rem; letter-spacing: 0.04em; white-space: nowrap; padding: 0.6rem 0.25rem; }
@media (max-width: 380px) {
    .hero-links { column-gap: 0.75rem; }
    .hero-links a { font-size: 0.78rem; letter-spacing: 0.02em; }
}
@media (min-width: 768px) {
    .hero-links { grid-template-columns: repeat(3, auto); gap: 0.25rem 3rem; }
    .hero-links a { font-size: 1.1rem; letter-spacing: 0.08em; }
}
@media (min-width: 1280px) {
    .hero-links { grid-template-columns: repeat(6, auto); gap: 0 2.25rem; }
    .hero-links a { font-size: 1.05rem; letter-spacing: 0.06em; }
}

/* ---------- Background photo layer (page banners + photo bands) ---------- */
.bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* ---------- Page banner (inner pages) ---------- */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--nav-h-top) + 1.75rem) 1rem 1.5rem;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(8, 9, 12, 0.55) 0%, rgba(8, 9, 12, 0.7) 55%, var(--ok-black) 100%),
        radial-gradient(ellipse at 50% 30%, rgba(30, 123, 255, 0.22), transparent 65%);
}
.page-hero h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }

/* ---------- Stat strip ---------- */
.stat {
    text-align: center;
    padding: 1.25rem 0.5rem;
}
.stat strong {
    display: block;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 2rem;
    line-height: 1;
    background: var(--ok-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat > span {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ok-muted);
}

/* ---------- Cards ---------- */
.card {
    background: var(--ok-card);
    border: 1px solid var(--ok-border);
    border-radius: var(--radius);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
    border-color: rgba(47, 180, 255, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -20px var(--ok-accent-glow);
}
.card-inset {
    background: var(--ok-dark);
    border: 1px solid var(--ok-border);
    border-radius: 8px;
}
/* Coloured edge on event / pricing cards */
.accent-bar { position: relative; overflow: hidden; }
.accent-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--ok-gradient);
}
.card-featured {
    border-color: rgba(47, 180, 255, 0.5);
    box-shadow: 0 0 0 1px rgba(47, 180, 255, 0.2), 0 20px 50px -25px var(--ok-accent-glow);
}
.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--ok-gradient);
    color: #04121f;
}

/* ---------- Photos ---------- */
.photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--ok-border);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo::after {                       /* subtle brand tint so mixed photos feel consistent */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(47, 180, 255, 0.12), transparent 45%, rgba(8, 9, 12, 0.45));
    pointer-events: none;
}
/* Offset frame accent behind a photo */
.photo-frame { position: relative; }
.photo-frame::before {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 2px solid rgba(47, 180, 255, 0.35);
    border-radius: var(--radius);
    z-index: 0;
}
.photo-frame.flip::before { inset: 18px 18px -18px -18px; }
.photo-frame .photo { z-index: 1; }
@media (max-width: 640px) {
    .photo-frame::before { inset: 10px -8px -10px 8px; }
    .photo-frame.flip::before { inset: 10px 8px -10px -8px; }
}

/* Full-width photo band behind a section */
.photo-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.photo-band::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, var(--ok-black) 0%, rgba(8, 9, 12, 0.78) 22%, rgba(8, 9, 12, 0.78) 78%, var(--ok-black) 100%);
}

/* ---------- Section heading with rules ---------- */
.rule-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.rule-heading::before, .rule-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ok-border));
}
.rule-heading::after { background: linear-gradient(90deg, var(--ok-border), transparent); }

/* ---------- Pricing rows ---------- */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--ok-border);
    font-size: 1.15rem;
}
.price-row:last-child { border-bottom: 0; }
.price-row .per { font-size: 0.8rem; color: var(--ok-muted); margin-left: 0.5rem; }

/* ---------- About tabs ---------- */
.about-tab-btn {
    color: var(--ok-muted);
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.about-tab-btn:hover { color: #fff; }
.about-tab-btn.active { color: var(--ok-accent); border-bottom-color: var(--ok-accent); }
@media (max-width: 400px) { .about-tab-btn { font-size: 0.78rem; letter-spacing: 0.04em; padding-left: 0.25rem; padding-right: 0.25rem; } }
.about-tab:not([hidden]) { animation: fadeUp 0.45s ease-out; }

/* ---------- FAQ ---------- */
.faq details {
    border-bottom: 1px solid var(--ok-border);
    padding: 1rem 0;
}
.faq details:last-child { border-bottom: 0; }
.faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ok-accent); font-size: 1.4rem; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 0.75rem; color: var(--ok-muted); line-height: 1.7; }

/* ---------- Game library ---------- */
.search-input {
    width: 100%;
    background: var(--ok-card);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1rem 1.25rem 1rem 3.25rem;
    color: #fff;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-input::placeholder { color: var(--ok-muted); }
.search-input:focus { border-color: var(--ok-accent); box-shadow: 0 0 0 4px rgba(47, 180, 255, 0.15); }


/* Live suggestions dropdown under the search box */
.search-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 22rem;
    overflow-y: auto;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: var(--ok-card);
    border: 1px solid rgba(47, 180, 255, 0.35);
    border-radius: 10px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.8);
}
.search-suggest li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.9rem;
    border-radius: 7px;
    cursor: pointer;
    color: #fff;
}
.search-suggest li[aria-selected="true"], .search-suggest li[role="option"]:hover { background: rgba(47, 180, 255, 0.14); }
.search-suggest mark { background: none; color: var(--ok-accent); font-weight: 700; }
.suggest-genre {
    flex-shrink: 0;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ok-muted);
}
.search-suggest .suggest-empty { cursor: default; color: var(--ok-muted); }

.game-tile {
    background: var(--ok-dark);
    border: 1px solid var(--ok-border);
    border-radius: 6px;
    padding: 0.7rem 0.9rem;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.game-tile:hover { border-color: var(--ok-accent); color: var(--ok-accent); }
/* A–Z / By Genre switch */
.view-toggle {
    display: inline-flex;
    padding: 4px;
    background: var(--ok-card);
    border: 1px solid var(--ok-border);
    border-radius: 10px;
}
.view-toggle button {
    padding: 0.5rem 1.1rem;
    border-radius: 7px;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ok-muted);
    transition: color 0.2s ease, background 0.2s ease;
}
.view-toggle button:hover { color: #fff; }
.view-toggle button[aria-pressed="true"] { background: var(--ok-gradient); color: #04121f; }

/* Genre jump links – wrap on desktop, one swipeable row on phones */
.genre-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.genre-nav[hidden] { display: none; }
@media (max-width: 640px) {
    .genre-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.5rem; scrollbar-width: none; }
    .genre-nav::-webkit-scrollbar { display: none; }
}
.genre-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--ok-border);
    border-radius: 999px;
    background: var(--ok-dark);
    font-size: 0.85rem;
    color: var(--ok-muted);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.genre-chip span { color: var(--ok-accent); font-weight: 700; font-size: 0.75rem; }
.genre-chip:hover { color: #fff; border-color: var(--ok-accent); }
.genre-heading {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--ok-accent);
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.genre-heading span { font-size: 0.85rem; color: var(--ok-muted); font-weight: 500; }

.game-empty { grid-column: 1 / -1; text-align: center; color: var(--ok-muted); padding: 2rem 0; }

/* ---------- Footer ---------- */
.site-footer {
    background:
        linear-gradient(180deg, var(--ok-black), rgba(8, 9, 12, 0.94)),
        url('../images/groupdark.jpg') center / cover;
    border-top: 1px solid var(--ok-border);
}
.footer-heading {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding-bottom: 0.6rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid transparent;
    border-image: var(--ok-gradient) 1;
}
.social {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--ok-card);
    border: 1px solid var(--ok-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ok-muted);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social:hover { color: #fff; border-color: var(--ok-accent); transform: translateY(-2px); }
.hours-row { display: flex; justify-content: space-between; padding: 0.45rem 0; border-bottom: 1px solid var(--ok-border); }
.hours-row:last-child { border-bottom: 0; }

/* ---------- Animations ---------- */
/* Scroll progress bar (added to the header by main.js) */
.scroll-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--ok-gradient);
    box-shadow: 0 0 8px var(--ok-accent-glow);
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

/* Typing subtitles: each letter is hidden until main.js switches it on */
.tchar { opacity: 0; }
.tchar.on { opacity: 1; }
.tchar.caret { position: relative; }
.tchar.caret::after {                 /* blinking block cursor just after the newest letter */
    content: '';
    position: absolute;
    left: 100%;
    top: 12%;
    bottom: 12%;
    width: 0.5em;
    margin-left: 0.08em;
    background: var(--ok-accent);
    box-shadow: 0 0 8px var(--ok-accent-glow);
    animation: caretBlink 0.6s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

/* Counting stats: equal width digits so the numbers don't wobble */
.stat strong { font-variant-numeric: tabular-nums; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease-out both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
