/* 1. Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Use Apple's system font for Mac; Segoe UI is Windows-only */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 2. Desktop/Centering Logic (The Default) */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #3a0ca3, #240046, #10002b) no-repeat fixed;
    color: white;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* position: fixed is okay for Desktop Mac to stop trackpad bounce */
    position: fixed;
    top: 0;
    left: 0;
}

#gameCanvas {
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    border: 2px solid #00f2ff;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
    display: block;
    aspect-ratio: 1000 / 500;
    background-color: #000;
}

/* 3. Mobile/Small Screen Logic (Overrides go at the BOTTOM) */
@media (max-width: 768px) {
    .header-right {
        display: none;
    }

    body {
        /* This now successfully overrides the flex centering */
        display: block;
        position: relative; /* Must be relative to allow scrolling */
        overflow-y: auto;
        overflow-x: hidden;
        padding: 20px 0; /* Space for the game on mobile */
    }

    #gameCanvas {
        margin: 0 auto; /* Centers the canvas in 'block' mode */
        max-width: 95vw;
        height: auto;
    }
}

/* ================= HEADER ================= */

.top-header {
    position: fixed;
    top: 16px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 28px;
    z-index: 10;
    pointer-events: none;
    transition: transform 0.35s ease;
}

.top-header.hide-header {
    transform: translateY(-120%);
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 👈 THIS centers the nav box */
}

/* white box ONLY for logo */
.logo-box {
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    margin-bottom: clamp(6px, 1vw, 10px);

}

.logo-box img {
    height: 44px;
    display: block;
}

/* nav stays clean */
.main-nav {
    width: max-content;
    /* shrink to content width */
    text-align: center;
    font-size: clamp(11px, 1.1vw, 14px);
}

.main-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: clamp(11px, 1.1vw, 14px);
    padding: 2px 4px;
    position: relative;
    transition: color 0.25s ease, letter-spacing 0.25s ease;

}

.main-nav a.active {
    pointer-events: none;
    color: gold;
}

.main-nav a:hover {
    color: gold;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #ffffff;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav span {
    margin: 0 3px;
    color: rgba(255, 255, 255, 0.5);
}

.top-header {
    pointer-events: none;
}

.header-left,
.header-left *,
.header-right {
    pointer-events: auto;
}



.header-right {
    font-size: 24px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    height: 32px;

    color: #ffffff;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.7),
        0 0 18px rgba(199, 125, 255, 0.35);

}

/* blinking cursor */
.header-right::after {
    content: "|";
    margin-left: 4px;
    animation: cursorBlink 1s step-start infinite;
}

@keyframes cursorBlink {
    50% {
        opacity: 0;
    }
}

/* slide in */
.slogan-slide-in {
    animation: slideIn 0.6s ease-out forwards;
}

/* slide out + fade */
.slogan-slide-out {
    animation: slideOut 0.6s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}


/* ================= BACKGROUND OVERLAYS ================= */

.surveillance-grid {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(199, 125, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(199, 125, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.night-vision {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, transparent 55%, rgba(0, 0, 0, 0.7));
}

/* ================= MAIN LAYOUT ================= */

.frames {
    width: 94%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 44px;
    z-index: 3;
    margin-top: 80px;
}

.frame {
    position: relative;
    height: 380px;
    background: rgba(15, 10, 40, 0.85);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.35);
    overflow: hidden;
}

.frame h2 {
    text-align: center;
    margin-bottom: 14px;
}

/* ================= HUD ================= */

.frame-hud {
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 2px solid rgba(199, 125, 255, 0.35);
    opacity: 0.75;
}

/* ================= DRONE ================= */

.drone-mini {
    position: absolute;
    top: 55px;
    left: -200px;
    width: 130px;
    animation: droneFly 10s linear infinite;
}

@keyframes droneFly {
    to {
        left: 120%;
    }
}

.prop {
    fill: none;
    stroke: rgba(199, 125, 255, 0.6);
    stroke-width: 2;
    transform-origin: center;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.mission-text {
    position: absolute;
    top: 135px;
    left: 10px;
    /* left aligned with 10px spacing */
    font-size: 13px;
    line-height: 1.6;
    color: white;
    opacity: 0.9;
    text-align: left;
}

.mission-text div {
    padding-left: 10px;
    /* inner left padding */
    border-left: 2px solid rgba(255, 255, 255, 0.35);
    margin-bottom: 6px;
}

/* convoy */
.convoy-wrapper {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    height: 70px;
    overflow: hidden;
}

/* STATIC ROAD */
.road {
    position: absolute;
    bottom: 5px;
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(to right,
            rgba(199, 125, 255, 0.5) 0 30px,
            transparent 30px 60px);
}

/* moving convoy */
.convoy-mini {
    position: absolute;
    bottom: 0px;
    left: 110%;
    display: flex;
    gap: 60px;
    animation: convoyMove 14s linear infinite;
}

@keyframes convoyMove {
    to {
        left: -160%;
    }
}

.truck {
    width: 150px;
}

.truck svg {
    width: 100%;
    transform: scaleX(-1);
}


/* ================= CCTV ================= */

.cctv-simple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.cctv-cam {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.04),
            rgba(0, 0, 0, 0.55));
    border: 2px solid rgba(199, 125, 255, 0.45);
    border-radius: 14px;
    overflow: hidden;
}

.cctv-ui {
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 11px;
    color: white;
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 3;
}

.rec-dot {
    width: 7px;
    height: 7px;
    background: red;
    border-radius: 50%;
    animation: blinkRec 1s infinite;
}

@keyframes blinkRec {
    50% {
        opacity: 0;
    }
}

/* ================= CAM 1 PEOPLE ================= */

.person-walk {
    position: absolute;
    bottom: 12px;
    left: -30px;
    width: 18px;
    height: 44px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 9px;
    animation: walkPerson 8s linear infinite;
}

@keyframes walkPerson {
    to {
        left: 110%;
    }
}

.detect-person {
    position: absolute;
    bottom: 10px;
    left: -30px;
    width: 28px;
    height: 56px;
    border: 2px solid #c77dff;
    animation: walkPerson 8s linear infinite;
}

/* ================= CAM 2 VEHICLES ================= */

.vehicle {
    position: absolute;
    bottom: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
}

.vehicle::before,
.vehicle::after {
    content: "";
    position: absolute;
    bottom: -6px;
    width: 8px;
    height: 8px;
    background: #111;
    border-radius: 50%;
}

/* CAR */
.car {
    width: 36px;
    height: 14px;
    left: -60px;
    animation: carMove 12s linear infinite;
}

.car::before {
    left: 4px;
}

.car::after {
    right: 4px;
}

@keyframes carMove {
    0% {
        left: -60px;
        opacity: 1;
    }

    30% {
        left: 110%;
        opacity: 1;
    }

    31% {
        left: 120%;
        opacity: 0;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}


.car-box {
    position: absolute;
    bottom: 28px;
    width: 44px;
    height: 22px;
    border: 2px solid #ff4d4d;
    animation: carMove 12s linear infinite;
}

/* ================= REALISTIC JEEP (CAM-02) ================= */

.jeep {
    position: absolute;
    bottom: 32px;
    width: 52px;
    height: 22px;
    background: linear-gradient(to top,
            #cfcfcf,
            #ffffff);
    border-radius: 4px;
    animation: jeepMove 12s linear infinite;
}

/* wheels */
.jeep::before,
.jeep::after {
    content: "";
    position: absolute;
    bottom: -8px;
    width: 12px;
    height: 12px;
    background: #111;
    border-radius: 50%;
}

/* roof / cabin */
.jeep span {
    display: none;
}

/* roof block */
.jeep::marker {
    display: none;
}

/* cabin + windows */
.jeep::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 10px;
    width: 24px;
    height: 8px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 2px;
}

/* spare wheel hint (rear) */
.jeep i {
    display: none;
}

@keyframes jeepMove {
    0% {
        opacity: 0;
        left: -80px;
    }

    34% {
        opacity: 0;
        left: -80px;
    }

    35% {
        opacity: 1;
        left: -80px;
    }

    65% {
        opacity: 1;
        left: 110%;
    }

    66% {
        opacity: 0;
        left: 120%;
    }

    100% {
        opacity: 0;
        left: 120%;
    }
}

.jeep-box {
    position: absolute;
    bottom: 24px;
    width: 64px;
    height: 30px;
    border: 2px solid #ffd000;
    /* yellow */
    animation: jeepMove 12s linear infinite;
}

/* ================= BUS BODY ================= */

.bus {
    position: absolute;
    bottom: 32px;
    width: 110px;
    height: 26px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    left: -130px;
    animation: busMove 12s linear infinite;
    z-index: 2;
    /* body above wheels */
    overflow: visible;
    /* IMPORTANT */
}

/* ================= BUS TIRES ================= */

.bus::before,
.bus::after {
    content: "";
    position: absolute;
    bottom: -10px;
    /* push wheels below body */
    width: 12px;
    /* bigger wheels */
    height: 12px;
    background: #111;
    border-radius: 50%;
    z-index: 1;
    /* wheels under body */
}

/* front & rear wheel positions */
.bus::before {
    left: 18px;
}

.bus::after {
    right: 18px;
}


/* BUS WINDOWS (subtle) */
.bus::marker {
    display: none;
}

/* BUS BOUNDING BOX */
.bus-box {
    position: absolute;
    bottom: 28px;
    width: 126px;
    height: 34px;
    border: 2px solid #00c2ff;
    /* cyan-blue to differentiate */
    left: -130px;
    animation: busMove 12s linear infinite;
}

/* BUS ANIMATION TIMING (replaces truckMove) */
@keyframes busMove {
    0% {
        opacity: 0;
        left: -140px;
    }

    69% {
        opacity: 0;
        left: -140px;
    }

    70% {
        opacity: 1;
        left: -140px;
    }

    95% {
        opacity: 1;
        left: 110%;
    }

    96% {
        opacity: 0;
        left: 120%;
    }

    100% {
        opacity: 0;
        left: 120%;
    }
}


/* ================= FOOTER ================= */

.site-footer {
    position: fixed;
    bottom: 18px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

.footer-brand {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    animation: brandGlow 3s ease-in-out infinite;
}

.footer-copy {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.75;
}

.footer-copy a {
    color: #ffffff;
    /* white */
    text-decoration: none;
    /* no underline */
    transition: color 0.25s ease;
}

.footer-copy a:hover {
    color: gold;
    /* hover golden */
    text-decoration: none;
}

.footer-sep {
    margin: 0 6px;
    opacity: 0.6;
}

@keyframes brandGlow {

    0%,
    100% {
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
    }

    50% {
        text-shadow: 0 0 14px rgba(255, 255, 255, 0.85);
    }
}

.cctv-status {
    position: absolute;
    top: 30px;
    left: 10px;
    font-size: 11px;
    color: #ffffff;
    opacity: 0.8;
}

@media (max-width: 768px) {

    .frames-container,
    .frames-wrapper,
    .main-content {
        display: block;
    }

    footer,
    .site-footer {
        position: relative;
        margin-top: 24px;
    }
}

/* ================= TRACKING TEXT ================= */

.cctv-status {
    position: absolute;
    top: 30px;
    left: 10px;
    font-size: 11px;
    color: white;
}

.cctv-status span {
    position: absolute;
    opacity: 0;
}

/* timing synced with vehicles */
.track-car {
    animation: trackCar 12s linear infinite;
}

.track-jeep {
    animation: trackJeep 12s linear infinite;
}

.track-bus {
    animation: trackBus 12s linear infinite;
}

@keyframes trackCar {
    0% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    34% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes trackJeep {
    0% {
        opacity: 0;
    }

    34% {
        opacity: 1;
    }

    66% {
        opacity: 1;
    }

    67% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes trackBus {
    0% {
        opacity: 0;
    }

    67% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.bus-box {
    position: absolute;
    bottom: 26px;
    width: 74px;
    height: 30px;
    border: 2px solid #4da3ff;
    /* blue */
    animation: buskMove 12s linear infinite;
}

/* ================= PEOPLE BASE ================= */

.person {
    position: absolute;
    bottom: 16px;
    left: -40px;
    background: white;
    animation-name: roam;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* ================= MEN ================= */

.man {
    width: 18px;
    height: 48px;
    border-radius: 4px 4px 6px 6px;
}

/* head */
.man::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 3px;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

/* ================= WOMEN ================= */

.woman {
    width: 16px;
    height: 44px;
    border-radius: 4px 4px 10px 10px;
    clip-path: polygon(30% 0%,
            70% 0%,
            100% 100%,
            0% 100%);
}

/* head */
.woman::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 2px;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

/* ================= KIDS ================= */

.kid {
    width: 12px;
    height: 30px;
    border-radius: 6px;
}

/* head */
.kid::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 1px;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

/* ================= MOVEMENT ================= */

.m1 {
    animation-duration: 8s;
    animation-delay: 0s;
}

.m2 {
    animation-duration: 10s;
    animation-delay: 2s;
}

.w1 {
    animation-duration: 9s;
    animation-delay: 1s;
}

.w2 {
    animation-duration: 11s;
    animation-delay: 3s;
}

.k1 {
    animation-duration: 6s;
    animation-delay: 0.5s;
}

.k2 {
    animation-duration: 7s;
    animation-delay: 1.5s;
}

.k3 {
    animation-duration: 8s;
    animation-delay: 2.5s;
}

.k4 {
    animation-duration: 9s;
    animation-delay: 3.5s;
}

/* ================= ROAMING PATHS ================= */

/* Path A: diagonal down */
@keyframes roamA {
    0% {
        left: -40px;
        top: 120px;
    }

    40% {
        left: 40%;
        top: 110px;
    }

    70% {
        left: 70%;
        top: 140px;
    }

    100% {
        left: 110%;
        top: 130px;
    }
}

/* Path B: diagonal up */
@keyframes roamB {
    0% {
        left: -40px;
        top: 140px;
    }

    40% {
        left: 45%;
        top: 100px;
    }

    70% {
        left: 75%;
        top: 120px;
    }

    100% {
        left: 110%;
        top: 90px;
    }
}

/* Path C: zig-zag */
@keyframes roamC {
    0% {
        left: -40px;
        top: 130px;
    }

    30% {
        left: 30%;
        top: 110px;
    }

    60% {
        left: 60%;
        top: 150px;
    }

    100% {
        left: 110%;
        top: 125px;
    }
}

/* Path D: slow curve */
@keyframes roamD {
    0% {
        left: -40px;
        top: 150px;
    }

    50% {
        left: 55%;
        top: 115px;
    }

    100% {
        left: 110%;
        top: 140px;
    }
}


/* ================= TRACKING BOX ================= */

.person-box {
    position: absolute;
    bottom: 14px;
    left: -40px;
    width: 28px;
    height: 56px;
    border: 2px solid #c77dff;
    animation: roam 8s linear infinite;
}

/* ================= CAM-01 BOUNDING BOXES ================= */

.box-man,
.box-woman,
.box-kid {
    position: absolute;
    bottom: 14px;
    left: -40px;
    opacity: 0.9;
    animation-name: roam;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* MEN BOX (BLUE) */
.box-man {
    width: 30px;
    height: 56px;
    border: 2px solid #4da3ff;
    animation-duration: 8s;
}

/* WOMEN BOX (PINK) */
.box-woman {
    width: 28px;
    height: 54px;
    border: 2px solid #ff7ac8;
    animation-duration: 9s;
    animation-delay: 1s;
}

/* KIDS BOX (GREEN) */
.box-kid {
    width: 22px;
    height: 36px;
    border: 2px solid #4dff88;
    animation-duration: 6s;
    animation-delay: 0.5s;
}

/* ================= PEOPLE COUNT TEXT ================= */
.cam-block {
    display: flex;
    flex-direction: column;
}

.people-count {
    margin-top: 26px;
    padding-left: 6px;
    font-size: 11px;
    line-height: 1.4;
    color: white;
    opacity: 0.85;
}


/* MEN */
.m1 {
    animation: roamA 8s linear infinite;
}

.m2 {
    animation: roamB 10s linear infinite;
}

/* WOMEN */
.w1 {
    animation: roamC 9s linear infinite;
}

.w2 {
    animation: roamD 11s linear infinite;
}

/* KIDS (faster, playful movement) */
.k1 {
    animation: roamB 6s linear infinite;
}

.k2 {
    animation: roamC 7s linear infinite;
}

.k3 {
    animation: roamA 8s linear infinite;
}

.k4 {
    animation: roamD 9s linear infinite;
}

.box-man {
    animation: roamA 8s linear infinite;
}

.box-woman {
    animation: roamC 9s linear infinite;
}

.box-kid {
    animation: roamB 6s linear infinite;
}

/* ================= BUS WINDOWS ================= */

.bus {
    overflow: hidden;
}

/* window strip */
.bus::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 6px;
    width: calc(100% - 12px);
    height: 10px;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.25),
            rgba(255, 255, 255, 0.25),
            rgba(0, 0, 0, 0.25));
    border-radius: 3px;
    animation: busWindows 2.5s linear infinite;
}

/* window light movement */
@keyframes busWindows {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.road-vehicle {
    position: absolute;
    bottom: 26px;
    width: 100%;
    height: 3px;
    background: repeating-linear-gradient(to right,
            rgba(255, 255, 255, 0.45) 0 32px,
            transparent 32px 64px);
}

.bus-box {
    position: absolute;
    bottom: 28px;
    width: 126px;
    height: 34px;
    border: 2px solid #4da3ff;
    animation: busMove 12s linear infinite;
}





.cctv-simple {
    display: flex;
    gap: 10px;
}

.cam-column {
    display: flex;
    flex-direction: column;
}

.cam-features {
    margin-top: 6px;
    padding-left: 15px;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.cam-features div {
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    padding-left: 8px;
    margin-bottom: 4px;
}

@media (max-width: 768px) {

    /* center the entire frames block */
    .frames {
        width: 100%;
        max-width: 360px;
        /* hard mobile width */
        margin-left: auto;
        margin-right: auto;
    }
}


@media (max-width: 768px) {

    /* unlock scrolling */
    body {
        display: block;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: auto;
    }

    /* hide slogan */
    .header-right {
        display: none;
    }

    /* push frames below fixed header */
    .frames {
        margin-top: 120px;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* mobile frame feel */
    .frame {
        width: 100%;
    }

    /* footer flows naturally */
    .site-footer {
        position: relative;
        bottom: auto;
        margin-top: 32px;
    }
}

.contact-email a {
    color: #c77dff;
    text-decoration: none;
    font-weight: 500;
}

.contact-email a:hover {
    text-decoration: underline;
}

.footer-email a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-email a:hover {
    color: #c77dff;
    text-decoration: underline;
}

/* ============================= */
/* PRONTO ARCADE THIN BAR */
/* ============================= */
/* ============================= */
/* DIVIDER */
/* ============================= */

.section-divider {

    grid-column: 1 / -1;

    height: 1px;

    background: linear-gradient(90deg,
            transparent,
            rgba(199, 125, 255, .4),
            transparent);

    margin-top: 10px;

}


/* ============================= */
/* PRONTO ARCADE BAR */
/* ============================= */

.arcade-bar {

    grid-column: 1 / -1;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 16px 24px;

    margin-top: 1px;

    border-radius: 16px;

    background: rgba(15, 10, 40, .85);

    border: 1px solid rgba(199, 125, 255, .25);

    box-shadow:
        0 12px 35px rgba(168, 85, 247, .25),
        inset 0 0 15px rgba(199, 125, 255, .08);

}


/* LEFT SIDE */

.arcade-left {

    display: flex;

    align-items: center;

    gap: 55px;

}

.arcade-icon {

    font-size: 52px;

}

.arcade-text {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 30px;

    font-size: 14px;

    text-align: center;

    flex: 1;

}

.arcade-sep {
    opacity: .6;
}

.arcade-text strong {

    font-size: 24px;

}

.arcade-text span {

    font-size: 22px;

    opacity: .75;

}


/* BUTTON */

.arcade-enter {

    padding: 10px 18px;

    border-radius: 20px;

    background: #c77dff;

    color: black;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition: .25s;

}

.arcade-enter:hover {

    background: #b15cff;

    transform: translateY(-2px);

}

.arcade-title {

    font-weight: 800;

    color: white;

    text-shadow:
        0 0 6px rgba(199, 125, 255, .55),
        0 0 14px rgba(199, 125, 255, .35);

}

/* optional gentle pulse */

@keyframes arcadeGlow {

    0%,
    100% {
        text-shadow:
            0 0 6px rgba(199, 125, 255, .55),
            0 0 14px rgba(199, 125, 255, .35);
    }

    50% {
        text-shadow:
            0 0 50px rgba(199, 125, 255, .8),
            0 0 22px rgba(199, 125, 255, .55);
    }

}

.arcade-title {
    animation: arcadeGlow 4s ease-in-out infinite;
}

.neon-heading {
    font-size: 2.5rem;
    margin: 5px 0;
    font-weight: 800;
    font-family: 'Arial Rounded MT Bold', 'Helvetica', sans-serif;

    /* 1. Solid Black Text */
    color: #000;

    /* 2. Neon Halo Effect */
    text-shadow:
        0 0 10px var(--neon-yellow),
        0 0 20px var(--neon-yellow),
        0 0 40px var(--neon-yellow),
        0 0 60px var(--neon-yellow),
        0 0 80px var(--neon-yellow);

    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;

    /* 3. Force No Background Box */
    background: transparent !important;
    display: block;
    width: 100%;
}

:root {
    --neon-yellow: #fffb00;
}

kbd {
    background: #222;
    border: 1px solid #444;
    padding: 2px 6px;
    color: #00ff88;
    border-radius: 3px;
}

.instructions {
    margin-top: 20px;
    text-align: center;
    color: #666;
    line-height: 1.6;
}

