:root {
    --navy: #071526;
    --navy-light: #0d2138;
    --panel: #102942;
    --orange: #ff6b00;
    --orange-light: #ff8533;
    --white: #f7f9fc;
    --muted: #9aabc0;
    --border: rgba(255,255,255,.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--navy);
    color: var(--white);
    font-family: Inter, Arial, Helvetica, sans-serif;
}

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

.site-header {
    height: 82px;
    max-width: 1240px;
    margin: auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: block;
    width: 180px;
    height: 60px;
    overflow: hidden;
    position: relative;
}

.brand-logo {
    width: 470px;
    max-width: none;
    position: absolute;
    left: -2px;
    top: -7px;
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
}

nav > a:not(.button):hover {
    color: var(--orange);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: white;
    border-radius: 8px;
    padding: 15px 22px;
    font-weight: 800;
    transition: .2s;
}

.button:hover {
    background: var(--orange-light);
    transform: translateY(-1px);
}

.button-small {
    padding: 11px 17px;
}

.button-secondary {
    background: transparent;
    border: 1px solid var(--border);
}

.button-secondary:hover {
    background: rgba(255,255,255,.05);
}

.hero {
    min-height: 610px;
    max-width: 1240px;
    margin: auto;
    padding: 95px 28px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 80px;
    align-items: center;
}

.eyebrow {
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2.5px;
}

h1 {
    font-size: clamp(54px, 6vw, 84px);
    line-height: .96;
    margin: 18px 0 28px;
    letter-spacing: -4px;
}

h1 span {
    color: var(--orange);
}

.hero-description {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.6;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 34px;
}

.hero-note {
    margin-top: 25px;
    color: #72869d;
    font-size: 13px;
}

.hero-panel {
    position: relative;
    min-height: 390px;
    background:
        radial-gradient(circle at 50% 40%,
        rgba(255,107,0,.12), transparent 45%);
}

.game-card,
.venue-card,
.table-card {
    position: absolute;
    background: linear-gradient(145deg,#102942,#0b1d31);
    border: 1px solid var(--border);
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
    border-radius: 16px;
}

.game-card {
    width: 430px;
    padding: 25px;
    left: 15px;
    top: 25px;
    display: flex;
    gap: 18px;
    align-items: center;
}

.game-card small,
.venue-card small {
    display: block;
    color: var(--orange);
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.game-card strong,
.venue-card strong {
    display: block;
    margin: 7px 0;
    font-size: 17px;
}

.game-card span,
.venue-card span,
.table-card small {
    color: var(--muted);
    font-size: 13px;
}

.game-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    background: rgba(255,107,0,.12);
    color: var(--orange);
    border-radius: 10px;
    font-size: 26px;
}

.players {
    margin-left: auto;
    display: flex;
}

.players span {
    width: 36px;
    height: 36px;
    margin-left: -7px;
    display: grid;
    place-items: center;
    background: #203d5b;
    border: 2px solid var(--navy-light);
    border-radius: 50%;
    color: white;
    font-size: 10px;
}

.venue-card {
    width: 350px;
    padding: 22px;
    right: 0;
    top: 175px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.availability {
    color: #5edc9a;
    font-size: 9px;
    font-weight: 900;
}

.table-card {
    left: 70px;
    bottom: 25px;
    padding: 19px 24px;
    width: 310px;
}

.table-card > span {
    color: var(--orange);
    display: block;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.table-card strong {
    display: block;
    margin: 7px 0;
}

.features {
    background: #f6f7f9;
    color: #142235;
    padding: 100px max(28px, calc((100% - 1184px)/2));
}

.section-intro h2,
.venue-section h2,
.how-section h2,
.final-cta h2 {
    font-size: 44px;
    line-height: 1.05;
    margin: 12px 0 45px;
    letter-spacing: -2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.feature-grid article {
    padding: 25px 10px 20px 0;
}

.feature-icon {
    color: var(--orange);
    font-size: 27px;
    margin-bottom: 20px;
}

.feature-grid h3 {
    margin-bottom: 10px;
}

.feature-grid p,
.venue-section p,
.steps p {
    color: #66768a;
    line-height: 1.6;
}

.venue-section {
    max-width: 1184px;
    margin: auto;
    padding: 110px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.venue-section p {
    color: var(--muted);
    max-width: 550px;
    margin-bottom: 30px;
}

.venue-features {
    border-top: 1px solid var(--border);
}

.venue-features div {
    display: flex;
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.venue-features strong {
    color: var(--orange);
}

.how-section {
    background: #f6f7f9;
    color: #142235;
    padding: 100px max(28px, calc((100% - 1184px)/2));
}

.steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.steps > div > strong {
    color: var(--orange);
    font-size: 30px;
}

.final-cta {
    text-align: center;
    padding: 120px 28px;
}

footer {
    max-width: 1184px;
    margin: auto;
    padding: 30px 28px 45px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 25px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

footer strong {
    color: white;
}

footer a {
    margin-left: auto;
    color: var(--orange);
    font-weight: 800;
}

@media (max-width: 850px) {
    nav > a:not(.button) {
        display: none;
    }

    .hero,
    .venue-section {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-panel {
        min-height: 390px;
    }

    .feature-grid,
    .steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .site-header {
        padding: 0 18px;
    }

    .brand {
        width: 145px;
    }

    nav .login-link {
        display: none;
    }

    h1 {
        font-size: 52px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .feature-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .game-card,
    .venue-card,
    .table-card {
        position: relative;
        width: 100%;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        margin-bottom: 12px;
    }
}

/* =========================================================
   JOCPOINT BRAND LOGO
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    width: 250px !important;
    height: 70px !important;
    overflow: visible !important;
    position: relative;
}

.brand-logo {
    display: block !important;
    position: static !important;
    width: 230px !important;
    height: auto !important;
    max-width: 230px !important;
    max-height: 62px !important;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 700px) {
    .brand {
        width: 190px !important;
        height: 58px !important;
    }

    .brand-logo {
        width: 180px !important;
        max-width: 180px !important;
        max-height: 52px !important;
    }
}

/* JocPoint official header logo - dark background variant */
.brand {
    width: 330px !important;
    height: 74px !important;
    overflow: visible !important;
}

.brand-logo {
    width: 310px !important;
    max-width: none !important;
    max-height: 68px !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: left center !important;
}

@media (max-width: 700px) {
    .brand {
        width: 230px !important;
    }

    .brand-logo {
        width: 220px !important;
        max-width: none !important;
    }
}

/* Language selector */
.language-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    letter-spacing: .5px;
    color: var(--muted);
}

.language-switch a {
    transition: color .2s;
}

.language-switch a:hover {
    color: var(--orange);
}

.language-switch strong {
    color: var(--orange);
}

.language-switch span {
    opacity: .45;
}

@media (max-width: 850px) {
    .language-switch {
        display: flex;
    }
}
