:root {
    --fp-blue: #08a8ef;
    --fp-blue-dark: #046fb9;
    --fp-orange: #ff6038;
    --fp-ink: #101820;
    --fp-muted: #65717c;
    --fp-panel: #f3f6f8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.fp-page {
    margin: 0;
    background: #fff;
    color: var(--fp-ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}
body.fp-page img { max-width: 100%; }
body.fp-page a { color: inherit; }

.fp-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 82px;
    padding: 10px clamp(20px, 4vw, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    color: #fff;
    background: rgba(6, 13, 21, .78);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.fp-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    flex: 0 0 auto;
}
.fp-brand img,
.fp-footer-brand img {
    object-fit: cover;
    border-radius: 8px;
}
.fp-brand-copy { display: flex; flex-direction: column; line-height: 1; }
.fp-brand-copy strong {
    font: 400 25px/1 Anton, sans-serif;
    letter-spacing: 1.3px;
}
.fp-brand-copy small {
    margin-top: 5px;
    color: #b8c3cc;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.6px;
}
.fp-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 38px); }
.fp-nav a {
    position: relative;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.fp-nav a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--fp-blue);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.fp-nav a:hover::after { transform: scaleX(1); }
.fp-nav .fp-nav-play {
    padding: 10px 22px;
    border-radius: 4px;
    background: var(--fp-orange);
}
.fp-nav .fp-nav-play::after { display: none; }
.fp-menu-toggle { display: none; }

.fp-main { min-height: 44vh; }
.fp-home-hero {
    position: relative;
    min-height: min(800px, 92vh);
    padding: 150px clamp(26px, 9vw, 170px) 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(2, 11, 20, .92) 0%, rgba(3, 20, 34, .67) 44%, rgba(2, 14, 26, .2) 74%),
        linear-gradient(0deg, rgba(0, 11, 21, .46), transparent 46%),
        url('../html5/img/lobby/title-pool-arena.jpg') center/cover no-repeat;
}
.fp-home-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(circle at 78% 52%, rgba(0, 172, 255, .2), transparent 31%);
    pointer-events: none;
}
.fp-home-hero-content { position: relative; z-index: 1; max-width: 690px; }
.fp-eyebrow,
.fp-section-label {
    margin: 0 0 13px;
    color: var(--fp-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
}
.fp-home-hero h1 {
    margin: 0;
    font: 400 clamp(88px, 12vw, 180px)/.79 Anton, Impact, sans-serif;
    letter-spacing: -2px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .35);
}
.fp-hero-copy {
    max-width: 540px;
    margin: 30px 0 32px;
    color: #e9f2f8;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
}
.fp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fp-button {
    display: inline-flex;
    min-height: 52px;
    padding: 0 26px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .4px;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease;
}
.fp-button:hover { transform: translateY(-2px); }
.fp-button-primary { background: var(--fp-orange); color: #fff; }
.fp-button-ghost { border-color: rgba(255, 255, 255, .65); color: #fff; background: rgba(0, 0, 0, .14); }
.fp-scroll-hint {
    position: absolute;
    z-index: 2;
    right: clamp(25px, 4vw, 70px);
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .72);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}
.fp-scroll-hint span { width: 42px; height: 1px; background: var(--fp-blue); }

.fp-product {
    max-width: 1500px;
    margin: 0 auto;
    padding: clamp(80px, 10vw, 150px) clamp(24px, 6vw, 90px);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    align-items: center;
    gap: clamp(58px, 8vw, 130px);
}
.fp-product-visual { position: relative; min-height: 515px; display: flex; align-items: center; }
.fp-product-visual::before {
    position: absolute;
    width: 78%;
    aspect-ratio: 1;
    left: -10%;
    content: "";
    border-radius: 50%;
    background: #eaf7fd;
}
.fp-device-desktop {
    position: relative;
    z-index: 1;
    width: 92%;
    padding: 10px;
    border: 7px solid #202831;
    border-radius: 18px;
    background: #111820;
    box-shadow: 0 30px 65px rgba(15, 38, 55, .23);
}
.fp-device-desktop img { display: block; width: 100%; border-radius: 4px; }
.fp-device-bar { height: 14px; display: flex; align-items: flex-start; gap: 5px; }
.fp-device-bar i { width: 5px; height: 5px; border-radius: 50%; background: #526170; }
.fp-device-phone {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 5%;
    width: 30%;
    padding: 9px 7px 13px;
    border: 5px solid #171d24;
    border-radius: 22px;
    background: #171d24;
    box-shadow: 0 18px 40px rgba(10, 27, 39, .35);
    transform: rotate(2deg);
}
.fp-device-phone span { display: block; width: 24%; height: 3px; margin: 0 auto 7px; border-radius: 3px; background: #3c4650; }
.fp-device-phone img { display: block; width: 100%; min-height: 150px; object-fit: cover; border-radius: 11px; }
.fp-product-copy h2,
.fp-news h2 {
    margin: 0 0 24px;
    font: 400 clamp(50px, 6vw, 82px)/1 Anton, Impact, sans-serif;
    letter-spacing: .3px;
}
.fp-product-copy > p:not(.fp-section-label) {
    margin: 0 0 32px;
    color: #4f5e69;
    font-size: 18px;
    line-height: 1.75;
}
.fp-platforms { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 22px; }
.fp-platform {
    width: 168px;
    height: 56px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #a6a6a6;
    border-radius: 8px;
    color: #fff;
    background: #000;
    text-decoration: none;
}
.fp-page a.fp-platform-web { color: #fff; transition: transform .2s ease; }
.fp-platform-web:hover { transform: translateY(-2px); }
.fp-platform-web:focus-visible { outline: 3px solid var(--fp-blue); outline-offset: 4px; }
.fp-platform-windows { width: 190px; }
.fp-platform-option { display: flex; flex-direction: column; align-items: center; }
.fp-platform-status { margin-top: 14px; color: var(--fp-muted); font-size: 11px; }
.fp-platform-icon { width: 32px; height: 32px; flex: 0 0 32px; }
.fp-platform > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.fp-platform small { margin-bottom: 3px; font: 11px/1.1 Arial, sans-serif; }
.fp-platform strong { font: 24px/1 Arial, sans-serif; }
.fp-store-badges { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin-top: 20px; }
.fp-store-badge { display: flex; flex-direction: column; align-items: center; }
.fp-store-badge img { display: block; width: auto; height: 56px; margin: 14px 0; }
.fp-store-badge-google img { height: 84px; margin: 0; }
.fp-store-badge small { color: var(--fp-muted); font-size: 11px; }

.fp-features {
    padding: clamp(70px, 8vw, 120px) clamp(24px, 8vw, 150px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    color: #fff;
    background: #080c11;
}
.fp-features article { padding: clamp(28px, 4vw, 60px); border-left: 1px solid #283039; }
.fp-features article:first-child { border-left: 0; }
.fp-features article > span { color: var(--fp-blue); font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.fp-features h3 { margin: 14px 0 10px; font: 400 34px/1.1 Anton, sans-serif; }
.fp-features p { max-width: 360px; margin: 0; color: #9da9b4; }

.fp-news { max-width: 1260px; min-height: 230px; margin: 0 auto; padding: 85px 28px 100px; }
.fp-news h2 { font-size: clamp(45px, 5vw, 66px); }
.fp-news-content { color: #4f5e69; }

.fp-page-hero {
    min-height: 390px;
    padding: 130px 28px 65px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(rgba(2, 13, 23, .48), rgba(2, 13, 23, .87)),
        url('../html5/img/lobby/title-pool-arena.jpg') center/cover no-repeat;
}
.fp-page-hero > div { max-width: 850px; }
.fp-page-hero p { margin: 0 0 4px; color: var(--fp-blue); font-size: 11px; font-weight: 800; letter-spacing: 4px; }
.fp-page-hero h1 { margin: 0 0 12px; font: 400 clamp(46px, 7vw, 86px)/1 Anton, sans-serif; }
.fp-page-hero span { color: #cad5dd; }
.fp-page:not(.fp-page-index) .fp-main {
    max-width: 1200px;
    min-height: 360px;
    margin: 0 auto;
    padding: 60px 24px 90px;
    overflow-x: auto;
}
.fp-page:not(.fp-page-index) .fp-main > .container,
.fp-page:not(.fp-page-index) .fp-main .container { width: 100%; max-width: 1150px; margin-right: auto; margin-left: auto; }

.fp-footer {
    min-height: 470px;
    padding: 80px 28px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #000;
}
.fp-footer-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 46px; }
.fp-footer-brand div { display: flex; flex-direction: column; }
.fp-footer-brand strong { font: 400 34px/1 Anton, sans-serif; letter-spacing: 1px; }
.fp-footer-brand span { margin-top: 7px; color: #89949e; font-size: 9px; font-weight: 700; letter-spacing: 2px; }
.fp-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 44px; }
.fp-footer-nav a,
.fp-footer-legal a { color: #fff; font-size: 13px; text-decoration: none; }
.fp-footer-nav a:hover,
.fp-footer-legal a:hover { color: var(--fp-blue); }
.fp-socials { display: flex; gap: 18px; margin: 44px 0; }
.fp-socials a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #49515a;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}
.fp-socials a:hover { border-color: var(--fp-blue); background: var(--fp-blue); }
.fp-footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; color: #7f8a94; font-size: 11px; }

@media (max-width: 1000px) {
    .fp-menu-toggle {
        width: 44px;
        height: 44px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }
    .fp-menu-toggle span { display: block; width: 100%; height: 2px; background: #fff; }
    .fp-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        padding: 16px 24px 24px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        background: rgba(6, 13, 21, .97);
    }
    .fp-nav.is-open { display: flex; }
    .fp-nav a { padding: 12px; text-align: center; }
    .fp-product { grid-template-columns: 1fr; }
    .fp-product-visual { max-width: 760px; width: 100%; margin: 0 auto; }
    .fp-product-copy { max-width: 720px; margin: 0 auto; }
}

@media (max-width: 700px) {
    .fp-header { min-height: 70px; padding: 8px 18px; }
    .fp-brand img { width: 48px; height: 48px; }
    .fp-brand-copy strong { font-size: 21px; }
    .fp-brand-copy small { font-size: 7px; }
    .fp-home-hero { min-height: 720px; padding: 125px 24px 72px; background-position: 57% center; }
    .fp-home-hero h1 { font-size: clamp(82px, 27vw, 120px); }
    .fp-scroll-hint { display: none; }
    .fp-product { padding: 78px 20px; gap: 45px; }
    .fp-product-visual { min-height: 330px; }
    .fp-device-desktop { width: 96%; border-width: 4px; border-radius: 12px; }
    .fp-device-phone { width: 33%; right: -2px; padding: 6px 5px 9px; border-width: 3px; border-radius: 14px; }
    .fp-device-phone img { min-height: 90px; }
    .fp-platforms { grid-template-columns: 1fr; }
    .fp-features { grid-template-columns: 1fr; }
    .fp-features article { border-top: 1px solid #283039; border-left: 0; }
    .fp-features article:first-child { border-top: 0; }
    .fp-footer { min-height: 430px; padding-top: 65px; }
    .fp-footer-nav { gap: 16px 24px; }
    .fp-footer-legal { flex-direction: column; align-items: center; }
}
