@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bt-ink: #050b16;
    --bt-panel: #071321;
    --bt-cyan: #22cffd;
    --bt-pink: #ff2aa6;
    --bt-ice: #e7f9ff;
    --bt-muted: #7893a4;
    --bt-line: rgba(46, 182, 231, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bt-ink);
    color: var(--bt-ice);
    font-family: 'Chakra Petch', 'Inter', sans-serif;
}

#mainNav, body > .footer { display: none !important; }

.bt-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 78% 10%, rgba(255, 42, 166, 0.07), transparent 25rem),
        var(--bt-ink);
}

.bt-nav {
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.25rem, 5vw, 5.5rem);
    border-bottom: 1px solid rgba(126, 215, 246, 0.14);
}

.bt-nav a { text-decoration: none; }

.bt-nav-home {
    color: var(--bt-ice);
    font: 800 1.1rem/1 'Inter', sans-serif;
    letter-spacing: -0.04em;
}

.bt-nav-home span {
    margin-left: 0.35rem;
    color: var(--bt-muted);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
}

.bt-nav-play {
    color: var(--bt-cyan);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.bt-hero {
    min-height: 860px;
    height: 100svh;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(370px, 0.75fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 8rem);
    padding: 110px clamp(1.25rem, 7vw, 8.5rem) 55px;
    overflow: hidden;
}

.bt-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--bt-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--bt-line) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, transparent, black 18%, black 86%, transparent);
    opacity: 0.32;
    pointer-events: none;
}

.bt-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bt-ink), transparent 44%, rgba(5, 11, 22, 0.2));
}

.bt-hero-copy { position: relative; z-index: 2; }

.bt-eyebrow, .bt-section-number {
    color: var(--bt-cyan);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.bt-eyebrow { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.5rem; }
.bt-eyebrow span { width: 32px; height: 2px; background: var(--bt-cyan); box-shadow: 0 0 10px var(--bt-cyan); }

.bt-hero h1 {
    margin: 0;
    line-height: 0;
}

.bt-hero h1 img {
    display: block;
    width: min(100%, 38rem);
    height: auto;
}

.bt-lede {
    max-width: 620px;
    margin: 2.6rem 0 2rem;
    color: #acc4d1;
    font: 500 clamp(1rem, 1.7vw, 1.3rem)/1.65 'Inter', sans-serif;
}

.bt-hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.bt-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    padding: 0 1.5rem;
    border: 1px solid rgba(34, 207, 253, 0.4);
    color: var(--bt-ice);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.bt-button:hover { color: white; transform: translateY(-3px); }
.bt-button-primary { background: var(--bt-cyan); color: #04101a; border-color: var(--bt-cyan); box-shadow: 5px 5px 0 var(--bt-pink); }
.bt-button-primary:hover { color: #04101a; box-shadow: 8px 8px 0 var(--bt-pink), 0 0 28px rgba(34, 207, 253, 0.25); }
.bt-button-quiet { background: rgba(5, 11, 22, 0.7); }
.bt-button-quiet:hover { background: rgba(34, 207, 253, 0.08); }

.bt-free-note {
    margin-top: 1.25rem;
    color: #537080;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bt-hero-arena {
    position: relative;
    z-index: 2;
    justify-self: center;
    width: min(410px, 90vw);
    aspect-ratio: 0.66;
    border: 2px solid rgba(86, 66, 131, 0.85);
    background:
        linear-gradient(rgba(7, 19, 33, 0.35), rgba(2, 7, 16, 0.82)),
        repeating-linear-gradient(0deg, transparent 0 55px, rgba(36, 133, 180, 0.16) 56px),
        repeating-linear-gradient(90deg, transparent 0 55px, rgba(36, 133, 180, 0.16) 56px);
    box-shadow: 0 0 45px rgba(34, 207, 253, 0.08), inset 0 0 70px rgba(0, 0, 0, 0.35);
    transform: perspective(1000px) rotateY(-7deg) rotateX(1deg);
}

.bt-score { position: absolute; right: 5%; font-size: 0.78rem; font-weight: 700; }
.bt-score-pink { top: 3%; color: var(--bt-pink); }
.bt-score-cyan { bottom: 3%; color: var(--bt-cyan); }
.bt-paddle { position: absolute; right: 8%; width: 34%; height: 13px; border: 2px solid var(--bt-ice); }
.bt-paddle-pink { top: 10%; background: var(--bt-pink); box-shadow: 0 0 14px var(--bt-pink); }
.bt-paddle-cyan { bottom: 10%; background: var(--bt-cyan); box-shadow: 0 0 14px var(--bt-cyan); }

.bt-ball { position: absolute; width: 17px; height: 17px; border: 4px solid white; border-radius: 50%; }
.bt-ball::after { content: ''; position: absolute; width: 66px; height: 4px; top: 4px; right: 5px; transform-origin: right; opacity: 0.3; }
.bt-ball-pink { right: 19%; top: 25%; background: var(--bt-pink); box-shadow: 0 0 24px 8px rgba(255, 42, 166, 0.35); animation: bt-float-pink 4s ease-in-out infinite; }
.bt-ball-pink::after { background: linear-gradient(90deg, transparent, var(--bt-pink)); transform: rotate(-34deg); }
.bt-ball-cyan { left: 28%; bottom: 24%; background: var(--bt-cyan); box-shadow: 0 0 24px 8px rgba(34, 207, 253, 0.35); animation: bt-float-cyan 4.5s ease-in-out infinite; }
.bt-ball-cyan::after { background: linear-gradient(90deg, transparent, var(--bt-cyan)); transform: rotate(43deg); }

.bt-blocks {
    position: absolute;
    inset: 42% 8% auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    transform: skewY(-1deg);
}

.bt-block { height: 28px; border: 2px solid rgba(34, 207, 253, 0.45); background: rgba(34, 207, 253, 0.05); }
.bt-block-2 { border-color: rgba(255, 42, 166, 0.7); background: rgba(255, 42, 166, 0.16); }
.bt-block-3 { border-color: rgba(255, 205, 63, 0.75); background: rgba(255, 205, 63, 0.15); }
.bt-block-4 { border-color: rgba(93, 255, 161, 0.7); background: rgba(93, 255, 161, 0.1); }

.bt-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.18; }
.bt-orb-cyan { width: 260px; height: 260px; background: var(--bt-cyan); right: 31%; bottom: -130px; }
.bt-orb-pink { width: 220px; height: 220px; background: var(--bt-pink); right: -100px; top: 12%; }

.bt-duel, .bt-downloads {
    position: relative;
    display: grid;
    grid-template-columns: minmax(150px, 0.42fr) minmax(280px, 1fr) minmax(290px, 0.8fr);
    gap: clamp(2rem, 5vw, 6rem);
    padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8.5rem);
    border-top: 1px solid var(--bt-line);
}

.bt-duel-copy h2, .bt-download-copy h2, .bt-rhythm-heading h2, .bt-final-cta h2 {
    margin: 0;
    font: 800 clamp(2.8rem, 6vw, 6rem)/0.9 'Inter', sans-serif;
    letter-spacing: -0.065em;
}

.bt-duel-copy h2 span, .bt-download-copy h2 span, .bt-rhythm-heading h2 span, .bt-final-cta h2 span { color: var(--bt-pink); }
.bt-duel-copy p, .bt-download-copy > p:not(.bt-section-number):not(.bt-version) { margin: 2rem 0 0; color: #8ca6b5; font: 400 1rem/1.8 'Inter', sans-serif; }

.bt-duel-features { display: grid; border-top: 1px solid var(--bt-line); }
.bt-duel-features div { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--bt-line); }
.bt-duel-features strong { color: var(--bt-cyan); font-size: 1.35rem; }
.bt-duel-features span { color: #8ca6b5; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

.bt-rhythm {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8.5rem);
    background: #06101d;
    border-top: 1px solid var(--bt-line);
}

.bt-rhythm-heading {
    display: grid;
    grid-template-columns: 0.35fr 1fr 0.7fr;
    align-items: end;
    gap: clamp(2rem, 5vw, 6rem);
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.bt-rhythm-heading h2 { font-size: clamp(2.8rem, 6vw, 6rem); }
.bt-rhythm-heading > p:last-child { margin: 0; color: #8ca6b5; font: 400 1rem/1.75 'Inter', sans-serif; }
.bt-rhythm-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--bt-line); border-left: 1px solid var(--bt-line); }

.bt-rhythm-card {
    position: relative;
    min-height: 340px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-right: 1px solid var(--bt-line);
    border-bottom: 1px solid var(--bt-line);
    background: linear-gradient(145deg, rgba(34, 207, 253, 0.035), transparent 55%);
}

.bt-rhythm-card > span { color: #526f7f; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; }
.bt-rhythm-card h3 { margin: 1.3rem 0 0.9rem; color: var(--bt-ice); font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; }
.bt-rhythm-card p { margin: 0; color: #7993a2; font: 400 0.9rem/1.7 'Inter', sans-serif; }

.bt-rhythm-icon { margin-bottom: 2rem; }

.bt-rhythm-icon img {
    display: block;
    width: 100%;
    height: auto;
}

.bt-downloads { grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1fr); background: linear-gradient(120deg, rgba(255, 42, 166, 0.045), transparent 45%); }
.bt-download-copy h2 { margin-top: 1rem; }
.bt-version { margin-top: 2rem; color: #607d8d; font-size: 0.7rem; letter-spacing: 0.14em; }
.bt-version strong { color: var(--bt-cyan); }
.bt-download-grid { display: grid; gap: 0.75rem; }

.bt-download-card {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 1rem;
    min-height: 86px;
    padding: 1rem 1.4rem;
    border: 1px solid var(--bt-line);
    background: rgba(7, 19, 33, 0.75);
    color: var(--bt-ice);
    text-decoration: none;
    transition: transform 180ms ease, border 180ms ease, background 180ms ease;
}

.bt-download-card:hover { color: white; transform: translateX(6px); border-color: var(--bt-cyan); background: rgba(34, 207, 253, 0.07); }
.bt-download-web { border-color: rgba(255, 42, 166, 0.55); }
.bt-download-disabled { opacity: 0.42; cursor: not-allowed; }
.bt-download-disabled:hover { transform: none; border-color: var(--bt-line); background: rgba(7, 19, 33, 0.75); }
.bt-download-card strong, .bt-download-card small { display: block; }
.bt-download-card strong { font-size: 0.85rem; letter-spacing: 0.1em; }
.bt-download-card small { margin-top: 0.25rem; color: #66808f; font: 400 0.75rem/1.3 'Inter', sans-serif; }
.bt-download-card i { color: var(--bt-cyan); font-style: normal; font-size: 1.2rem; }
.bt-platform-icon { display: grid; place-items: center; color: var(--bt-pink); text-align: center; }
.bt-platform-icon svg { width: 31px; height: 31px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bt-platform-windows { color: #3bd4ff; }
.bt-platform-windows svg, .bt-platform-macos svg { fill: currentColor; stroke: none; }
.bt-platform-macos { color: #e8f8ff; }
.bt-platform-linux { color: #ffdb45; }

.bt-final-cta {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.25rem;
    text-align: center;
    background:
        radial-gradient(circle, rgba(34, 207, 253, 0.09), transparent 30rem),
        repeating-linear-gradient(0deg, transparent 0 71px, rgba(34, 207, 253, 0.05) 72px),
        repeating-linear-gradient(90deg, transparent 0 71px, rgba(34, 207, 253, 0.05) 72px);
    border-top: 1px solid var(--bt-line);
}

.bt-final-cta > p { color: var(--bt-cyan); font-size: 0.72rem; letter-spacing: 0.25em; }
.bt-final-cta h2 { margin: 1.2rem 0 2.5rem; }

.bt-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 2rem clamp(1.25rem, 5vw, 5.5rem);
    border-top: 1px solid var(--bt-line);
    color: #526f7f;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bt-footer p { margin: 0; text-align: center; }
.bt-footer a { color: #718c9b; text-decoration: none; font-weight: 700; }
.bt-footer a:hover { color: var(--bt-cyan); }
.bt-footer a span { color: var(--bt-cyan); margin-left: 0.25rem; }
.bt-footer > a:last-child { justify-self: end; }

@keyframes bt-float-pink { 50% { transform: translate(-10px, 16px); } }
@keyframes bt-float-cyan { 50% { transform: translate(14px, -12px); } }

@media (max-width: 950px) {
    .bt-hero { height: auto; grid-template-columns: 1fr; padding-top: 145px; }
    .bt-hero-copy { text-align: center; }
    .bt-hero h1 img { margin-inline: auto; }
    .bt-eyebrow, .bt-hero-actions { justify-content: center; }
    .bt-lede { margin-left: auto; margin-right: auto; }
    .bt-hero-arena { width: min(370px, 82vw); transform: none; }
    .bt-duel { grid-template-columns: 1fr 1.5fr; }
    .bt-duel > .bt-section-number { grid-column: 1 / -1; }
    .bt-rhythm-heading { grid-template-columns: 1fr 1.5fr; }
    .bt-rhythm-heading > .bt-section-number { grid-column: 1 / -1; }
    .bt-rhythm-heading > p:last-child { grid-column: 2; }
    .bt-rhythm-grid { grid-template-columns: 1fr; }
    .bt-rhythm-card { min-height: 260px; }
}

@media (max-width: 680px) {
    .bt-nav { height: 68px; }
    .bt-hero { min-height: 0; padding-top: 120px; padding-bottom: 5rem; gap: 3.5rem; }
    .bt-lede { font-size: 0.96rem; }
    .bt-button { width: 100%; }
    .bt-hero-arena { width: min(340px, 90vw); }
    .bt-duel, .bt-downloads { grid-template-columns: 1fr; gap: 2rem; }
    .bt-duel > .bt-section-number { grid-column: auto; }
    .bt-rhythm-heading { grid-template-columns: 1fr; }
    .bt-rhythm-heading > .bt-section-number, .bt-rhythm-heading > p:last-child { grid-column: auto; }
    .bt-rhythm-card { min-height: 0; }
    .bt-footer { grid-template-columns: 1fr; text-align: center; }
    .bt-footer > a:last-child { justify-self: center; }
    .bt-final-cta { min-height: 520px; }
}

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