:root {
    --ink: #07231d;
    --muted: #55766c;
    --line: #dce8e3;
    --cream: #fbf7ed;
    --green: #07835f;
    --green-dark: #073b31;
    --gold: #f8c94c;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(7, 35, 29, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(248, 201, 76, 0.18), transparent 32rem),
        linear-gradient(180deg, #fffdf7 0%, var(--cream) 100%);
    line-height: 1.6;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem clamp(1rem, 4vw, 4rem);
    background: rgba(251, 247, 237, 0.9);
    border-bottom: 1px solid rgba(7, 35, 29, 0.08);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 900;
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 22px rgba(7, 35, 29, 0.16);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.92rem;
    font-weight: 750;
}

.site-nav a,
.menu-button,
.secondary-action {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.65rem 0.9rem;
    background: rgba(255, 255, 255, 0.72);
}

.menu-button {
    display: none;
    color: var(--green-dark);
    font-weight: 850;
}

.hero,
.page-hero,
.section {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    min-height: calc(100vh - 82px);
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.pill,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(7, 131, 95, 0.25);
    background: rgba(7, 131, 95, 0.08);
    color: var(--green);
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 1rem;
    font-size: clamp(2.65rem, 9vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.7rem, 5vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.2;
}

.lead {
    max-width: 700px;
    color: var(--muted);
    font-size: clamp(1.05rem, 3.5vw, 1.35rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.3rem;
    border-radius: 1.05rem;
    padding: 0.85rem 1.35rem;
    background: var(--gold);
    color: #171308;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(248, 201, 76, 0.34);
}

.secondary-action {
    display: inline-flex;
    align-items: center;
    color: var(--green-dark);
    font-weight: 850;
}

.hero-card {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border-radius: 2.5rem;
    background:
        linear-gradient(145deg, rgba(7, 59, 49, 0.95), rgba(7, 131, 95, 0.8)),
        radial-gradient(circle at 70% 25%, rgba(248, 201, 76, 0.3), transparent 14rem);
    box-shadow: var(--shadow);
}

.board-orbit {
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.feature-tile {
    position: absolute;
    width: 12rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    padding: 1rem;
    font-weight: 900;
    backdrop-filter: blur(12px);
    animation: floaty 6s ease-in-out infinite;
}

.tile-one { top: 16%; left: 10%; }
.tile-two { right: 8%; top: 42%; animation-delay: 0.8s; }
.tile-three { left: 20%; bottom: 14%; animation-delay: 1.4s; }

.section {
    padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-card,
.article-card,
.mini-list div,
.cta-strip {
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 30px rgba(7, 35, 29, 0.08);
}

.info-card {
    padding: 1.25rem;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.info-card span {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-card p,
.article-card p,
.split-section p,
.site-footer p,
.mini-list span {
    color: var(--muted);
}

.split-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1rem;
    align-items: start;
}

.mini-list {
    display: grid;
    gap: 0.85rem;
}

.mini-list div {
    padding: 1rem;
}

.mini-list strong,
.mini-list span {
    display: block;
}

.page-hero {
    padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(1.5rem, 4vw, 3rem);
}

.login-shell {
    max-width: 840px;
}

.login-card {
    width: min(100%, 520px);
    margin-top: 1.75rem;
    border: 1px solid rgba(7, 35, 29, 0.1);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
    padding: clamp(1rem, 4vw, 1.4rem);
}

.login-card label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--green-dark);
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.phone-field {
    display: flex;
    align-items: center;
    min-height: 3.45rem;
    overflow: hidden;
    border: 1px solid rgba(7, 35, 29, 0.18);
    border-radius: 1.05rem;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.phone-field:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(7, 131, 95, 0.12);
}

.phone-field span {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    border-right: 1px solid rgba(7, 35, 29, 0.1);
    background: rgba(7, 131, 95, 0.08);
    padding: 0 0.9rem;
    color: var(--green-dark);
    font-weight: 950;
}

.phone-field input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 0.95rem;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    font-weight: 750;
}

.phone-field input::placeholder {
    color: rgba(85, 118, 108, 0.72);
    font-weight: 650;
}

.otp-step {
    margin-top: 1rem;
}

.auth-message {
    min-height: 1.25rem;
    margin: 0.75rem 0 0;
    font-weight: 800;
}

.auth-message.is-error {
    color: #c02626;
}

.auth-message.is-success {
    color: var(--green);
}

.login-card .primary-action {
    width: 100%;
    margin-top: 0.85rem;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}

.login-card p {
    margin: 0.8rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.article-section {
    display: grid;
    gap: 1rem;
    padding-top: 0;
}

.article-card {
    padding: clamp(1.15rem, 4vw, 1.75rem);
}

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1.25rem;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(7, 35, 29, 0.08);
    padding: 1.5rem clamp(1rem, 4vw, 4rem);
    background: rgba(255, 255, 255, 0.62);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-weight: 800;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (max-width: 860px) {
    .menu-button {
        display: inline-flex;
    }

    .site-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        text-align: center;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-card {
        min-height: 310px;
    }

    .card-grid,
    .split-section {
        grid-template-columns: 1fr;
    }

    .cta-strip,
    .site-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-action {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding-inline: 0.8rem;
    }

    .brand span {
        font-size: 1.05rem;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .hero,
    .page-hero,
    .section {
        width: min(100% - 1.4rem, 1120px);
    }

    h1 {
        font-size: clamp(2.25rem, 14vw, 3.5rem);
    }

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

    .feature-tile {
        width: 10.5rem;
        font-size: 0.9rem;
    }

    .login-card {
        border-radius: 1.35rem;
    }

    .phone-field input {
        font-size: 0.95rem;
    }
}
/* Public landing page — dark Ludo game layout */
.landing-body { background: #080a0e; color: #fff; min-height: 100vh; }
.landing-main { min-height: 100vh; padding: 4rem 4rem 4rem 21rem; }
.landing-sidebar { background: linear-gradient(180deg,#151b29,#10151f); border: 1px solid #314259; border-radius: 0 0 1rem 0; box-sizing: border-box; display: flex; flex-direction: column; height: 100vh; left: 0; padding: 2rem 1.6rem; position: fixed; top: 0; width: 16rem; z-index: 10; }
.landing-mark img { height: 3.5rem; object-fit: contain; width: 3.5rem; }
.landing-sidebar nav { display: grid; gap: 1.25rem; margin-top: 3rem; }
.landing-sidebar nav a { color: #d1d5db; font-size: 1.02rem; font-weight: 800; text-decoration: none; }
.landing-sidebar nav a.is-active { color: #facc15; }
.landing-play { background: #facc15; border-radius: .7rem; color: #111827; font-size: .9rem; font-weight: 900; margin-top: auto; padding: .85rem 1rem; text-align: center; text-decoration: none; text-transform: uppercase; }
.landing-mobile-header { display: none; }
.landing-hero { align-items: center; display: grid; gap: 4rem; grid-template-columns: minmax(0,1.35fr) minmax(17rem,.85fr); max-width: 90rem; min-height: 34rem; }
.landing-eyebrow { border: 1px solid #facc15; border-radius: 99px; color: #fff; display: inline-block; font-size: .86rem; font-weight: 900; padding: .55rem 1rem; text-transform: uppercase; }
.landing-copy h1 { font-size: clamp(2.65rem,5vw,5.2rem); font-style: italic; font-weight: 950; letter-spacing: -.055em; line-height: 1.03; margin: 1.4rem 0 2rem; text-transform: uppercase; }
.landing-copy h1 em { color: #facc15; font-style: inherit; }
.landing-action-cards { display: flex; gap: 1.2rem; }
.landing-action-cards a { background: #151b29; border: 2px solid #7f6500; border-radius: 1rem; box-shadow: 0 0 1.2rem rgba(250,204,21,.32); color: #fff; height: 12rem; overflow: hidden; position: relative; text-decoration: none; width: 12rem; }
.landing-action-cards img { height: 100%; object-fit: cover; opacity: .9; width: 100%; }
.landing-action-cards span { background: linear-gradient(transparent,rgba(0,0,0,.9)); bottom: 0; box-sizing: border-box; font-size: 1rem; font-style: italic; font-weight: 900; left: 0; padding: 2.8rem .5rem .8rem; position: absolute; text-align: center; width: 100%; }
.landing-board { border-radius: 1.2rem; height: 25rem; overflow: hidden; position: relative; }
.landing-board img { height: 100%; object-fit: cover; width: 100%; }
.landing-board::after { background: linear-gradient(transparent,rgba(0,0,0,.35)); content: ''; inset: 0; position: absolute; }
.landing-board a { background: #e5db33; border-radius: .7rem; bottom: 0; color: #111; font-weight: 900; left: 50%; padding: 1rem 1.5rem; position: absolute; text-decoration: none; text-transform: uppercase; transform: translateX(-50%); z-index: 1; }
.landing-about { background: #151b29; border: 1px solid #314259; border-radius: .9rem; display: grid; gap: 2rem; grid-template-columns: 1.5fr .7fr; margin: 2rem auto 0; max-width: 90rem; padding: 2.5rem; }
.landing-spark { color: #facc15; font-size: 1.4rem; }
.landing-about h2 { font-size: 2.2rem; margin: .4rem 0 1.4rem; }
.landing-about p { color: #e5e7eb; line-height: 1.75; }
.landing-about-links { display: grid; gap: .75rem; }
.landing-about-links a { background: rgba(255,255,255,.06); border-radius: .7rem; color: #fff; display: flex; font-weight: 800; justify-content: space-between; padding: 1rem; text-decoration: none; }
.landing-about-links span { color: #facc15; }
.landing-content-hero { max-width: 66rem; padding: clamp(3rem,7vw,6rem) 0 2.5rem; }
.landing-content-hero h1 { font-size: clamp(2.65rem,5vw,5.1rem); letter-spacing: -.055em; line-height: 1.03; margin: 1.2rem 0 1.3rem; max-width: 15ch; text-transform: uppercase; }
.landing-content-hero > p:last-child { color: #cbd5e1; font-size: clamp(1rem,1.5vw,1.25rem); line-height: 1.65; max-width: 52rem; }
.landing-content-note { background: rgba(250,204,21,.08); border-left: 3px solid #facc15; color: #e5e7eb; line-height: 1.6; margin-top: 1.6rem; max-width: 52rem; padding: .9rem 1rem; }
.landing-content-note strong { color: #facc15; }
.landing-article-section { display: grid; gap: 1rem; max-width: 72rem; }
.landing-article-card { background: #151b29; border: 1px solid #314259; border-radius: 1rem; padding: clamp(1.3rem,3vw,2rem); position: relative; }
.landing-card-number { color: #facc15; font-size: .72rem; font-weight: 950; letter-spacing: .12em; }
.landing-article-card h2 { color: #fff; font-size: clamp(1.5rem,2.5vw,2.3rem); letter-spacing: -.04em; margin: 0 0 .75rem; }
.landing-article-card p { color: #cbd5e1; line-height: 1.75; margin: 0; }
.landing-cta-strip { align-items: center; background: linear-gradient(120deg,#1e293b,#111827); border: 1px solid #314259; border-radius: 1rem; display:flex; gap:1.5rem; justify-content:space-between; margin-top: 2rem; max-width:72rem; padding:2rem; }
.landing-cta-strip h2 { font-size: 1.65rem; margin: .7rem 0 0; }
.landing-cta-strip > a { background:#facc15; border-radius:.7rem; color:#111; font-weight:900; padding:.85rem 1.2rem; text-decoration:none; text-transform:uppercase; white-space:nowrap; }
.landing-login-layout { align-items: center; display: grid; gap: clamp(2rem,5vw,6rem); grid-template-columns: minmax(20rem,.9fr) minmax(24rem,1.1fr); max-width: 88rem; min-height: calc(100vh - 8rem); }
.landing-login-shell { max-width: 42rem; padding: clamp(3rem,8vw,6rem) 0; }
.landing-login-shell > h1 { font-size: clamp(2.7rem,5vw,4.8rem); letter-spacing: -.055em; line-height: 1.03; margin: 1.15rem 0; text-transform: uppercase; }
.landing-login-shell > .lead { color: #cbd5e1; font-size: 1.12rem; line-height: 1.65; }
.landing-body .login-card { background: #151b29; border-color: #314259; box-shadow: 0 18px 40px rgba(0,0,0,.32); }
.landing-body .login-card label { color: #f8fafc; }
.landing-body .login-card > p { color: #94a3b8; }
.landing-body .phone-field { background: #0f172a; border-color: #475569; }
.landing-body .phone-field span { background: #1e293b; border-color: #475569; color: #facc15; }
.landing-body .phone-field input { color: #f8fafc; }
.landing-body .phone-field input::placeholder { color: #94a3b8; }
.landing-body .primary-action { background: #facc15; color: #111827; }
.landing-login-art { background: transparent; overflow: visible; }
.landing-login-art img { display: block; filter: drop-shadow(0 20px 36px rgba(0,0,0,.45)); height: min(38rem,70vh); mask-image: radial-gradient(ellipse 76% 78% at 50% 50%, #000 57%, rgba(0,0,0,.88) 70%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 76% 78% at 50% 50%, #000 57%, rgba(0,0,0,.88) 70%, transparent 100%); object-fit: cover; width: 100%; }
@media (max-width: 800px) { .landing-sidebar { display:none; } .landing-main { padding: 1.2rem; } .landing-mobile-header { align-items:center; background:#111827; display:flex; justify-content:space-between; padding:.8rem 1rem; } .landing-mobile-header img { height:2.5rem; } .landing-mobile-header a:last-child { background:#facc15; border-radius:.55rem; color:#111; font-size:.78rem; font-weight:900; padding:.55rem .75rem; text-decoration:none; text-transform:uppercase; } .landing-hero { grid-template-columns:1fr; gap:2rem; min-height:0; padding-top:1.5rem; } .landing-copy h1 { font-size:clamp(2.4rem,12vw,4rem); } .landing-action-cards a { height:9.5rem; width:calc(50% - .6rem); } .landing-board { height:17rem; } .landing-about { grid-template-columns:1fr; padding:1.5rem; } .landing-login-layout { grid-template-columns:1fr; min-height:0; } .landing-login-art { display:none; } }
