/* Font */
@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-VariableFont_slnt,wght.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Root variables */
:root {
    --font-main: "Inter", sans-serif;

    --site-width: 1200px;
    --gutter: clamp(16px, 3vw, 28px);
    --section-gap: clamp(28px, 5vw, 56px);
    --stack-gap: clamp(16px, 2.4vw, 24px);
    --panel-gap: clamp(18px, 2.8vw, 30px);
    --card-radius: clamp(20px, 2.8vw, 30px);
    --soft-radius: clamp(14px, 2vw, 22px);
    --pill-radius: 999px;

    --text-xs: clamp(0.76rem, 0.72rem + 0.18vw, 0.88rem);
    --text-sm: clamp(0.92rem, 0.86rem + 0.22vw, 1rem);
    --text-base: clamp(1rem, 0.96rem + 0.26vw, 1.08rem);
    --text-lg: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
    --text-xl: clamp(1.8rem, 1.2rem + 2vw, 3.2rem);

    --bg: #f3f3f3;
    --bg-elevated: #ffffff;
    --bg-panel: #ffffff;
    --bg-chip: #e6e6e6;
    --line: #d8d8d8;
    --line-strong: #ff2a23;
    --text-main: #151515;
    --text-soft: #4d4d4d;
    --accent: #ff2a23;
    --accent-strong: #ff2a23;
    --accent-dark: #ffffff;
    --mint: #ffffff;
    --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text-main);
    background: var(--bg);
}

img {
    display: block;
    max-width: 100%;
}

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

button {
    font: inherit;
}

/* Shared layout */
.wrap {
    width: min(100% - (var(--gutter) * 2), var(--site-width));
    margin: 0 auto;
}

.lead {
    display: grid;
    gap: clamp(10px, 1.8vw, 14px);
    margin-bottom: var(--panel-gap);
}

.kicker,
.eyebrow,
.group-title {
    margin: 0;
    font-size: var(--text-xs);
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.kicker,
.eyebrow {
    color: var(--accent);
}

.section-copy,
.hero-sub,
.footcopy,
.safe-note {
    margin: 0;
    color: var(--text-soft);
    font-size: var(--text-base);
    line-height: 1.65;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(44px, 5vw, 50px);
    padding: 0 clamp(18px, 3vw, 26px);
    border-radius: var(--pill-radius);
    border: 1px solid transparent;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pill:hover,
.pill:focus-visible {
    transform: translateY(-1px);
}

.pill-bright {
    color: #ffffff;
    background: var(--accent);
    box-shadow: none;
}

.pill-muted {
    color: var(--text-main);
    background: #ffffff;
    border-color: var(--accent);
}

/* Header */
.masthead {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
    background: rgba(243, 243, 243, 0.94);
    border-bottom: 1px solid var(--line);
}

.masthead-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--stack-gap);
    min-height: clamp(78px, 8vw, 92px);
}

.brandmark {
    flex: 0 0 auto;
}

.brandmark img {
    width: clamp(136px, 16vw, 196px);
    height: auto;
}

.navline,
.tools {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 22px);
}

.navline a {
    color: var(--text-main);
    font-size: var(--text-sm);
    font-weight: 700;
}

.navline a:hover,
.navline a:focus-visible,
.drawer a:hover,
.drawer a:focus-visible,
.linkgroup a:hover,
.linkgroup a:focus-visible {
    color: var(--accent);
}

.toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--text-main);
    background: #ffffff;
    border: 1px solid var(--line);
}

.toggle span {
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: currentColor;
}

.drawer {
    display: grid;
    grid-template-rows: 0fr;
    border-top: 1px solid transparent;
    transition: grid-template-rows 0.25s ease, border-color 0.25s ease;
}

.drawer[data-open="true"] {
    grid-template-rows: 1fr;
    border-color: var(--line);
}

.drawer-body {
    display: grid;
    gap: 14px;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.drawer[data-open="true"] .drawer-body {
    padding-top: 18px;
    padding-bottom: 22px;
}

.drawer a {
    font-size: var(--text-base);
    font-weight: 600;
}

/* Hero */
.showcase {
    padding: var(--section-gap) 0 clamp(28px, 3vw, 34px);
}

.banner {
    position: relative;
    overflow: hidden;
    margin: 0;
    min-height: clamp(380px, 52vw, 540px);
    border: 1px solid #171717;
    border-radius: calc(var(--card-radius) + 4px);
    box-shadow: var(--shadow);
    background: #111111;
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.18));
}

.banner > figure {
    position: absolute;
    inset: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

.banner > figure img {
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-copy {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: clamp(12px, 2vw, 18px);
    width: min(100%, 720px);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 54px);
    text-align: center;
}

.hero-main {
    margin: 0;
    font-size: var(--text-xl);
    font-weight: 850;
    line-height: 1.05;
    text-wrap: balance;
    color: #ffffff;
    text-transform: uppercase;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.92);
}

/* Rails */
.rail-section {
    padding: 0 0 var(--section-gap);
}

.tag-rail,
.game-rail {
    display: grid;
    grid-auto-flow: column;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tag-rail::-webkit-scrollbar,
.game-rail::-webkit-scrollbar {
    display: none;
}

.tag-chip {
    display: grid;
    place-items: center;
    gap: 10px;
    margin: 0;
    width: 112px;
}

.tag-chip > figure {
    margin: 0;
}

.tag-chip > figure img {
    margin: 0;
    width: 88px;
    height: 88px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #ffffff;
    object-fit: contain;
}

.tag-chip span {
    text-align: center;
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
}

.game-rail {
    grid-auto-columns: minmax(196px, 196px);
    gap: clamp(16px, 2vw, 20px);
    align-items: stretch;
}

.game-card {
    display: block;
    margin: 0;
}

.game-card > figure {
    margin: 0;
}

.game-card > figure img {
    margin: 0;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

/* Footer */
.sitefoot {
    padding: clamp(24px, 4vw, 34px) 0 clamp(34px, 5vw, 48px);
    border-top: 1px solid var(--line);
    background: transparent;
}

.payline {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 1.8vw, 16px);
    align-items: center;
    justify-content: center;
    margin-bottom: var(--section-gap);
    padding: clamp(18px, 3vw, 22px);
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    background: #ffffff;
}

.payline img {
    width: auto;
    height: clamp(24px, 3vw, 34px);
    padding: 8px 12px;
    border-radius: 14px;
    background: #ffffff;
}

.footgrid {
    display: grid;
    gap: var(--panel-gap);
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    background: #ffffff;
}

.footbrand,
.footlinks,
.safety,
.linkgroup {
    display: grid;
    gap: 14px;
}

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

.group-title {
    color: var(--text-main);
}

.linkgroup a,
.copyright {
    color: var(--text-soft);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.sealrow {
    display: flex;
    gap: 14px;
    align-items: center;
}

.sealrow img {
    width: clamp(46px, 6vw, 54px);
    height: clamp(46px, 6vw, 54px);
}

.copyright {
    margin: 0;
}

.section-heading {
    color: var(--text-main);
    font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Media queries */
@media screen and (max-width: 920px) {
    .navline,
    .tools {
        display: none;
    }

    .toggle {
        display: flex;
    }

    .banner-copy {
        width: 100%;
    }

    .footgrid {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 921px) {
    .footgrid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.95fr);
        align-items: start;
    }
}

@media screen and (max-width: 640px) {

    .payline {
        justify-content: flex-start;
    }
}
