@font-face {
    font-family: "heading-font";
    src: url(font/orbitron.ttf);
}

:root {
    --grid-primary: #00E5FF;
    --grid-secondary: #FF00C8;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;

}

body {
    background-color: #0D0D0E;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: "heading-font" !important;
}

::selection {
    background-color: var(--grid-primary);
    color: #000;
}

/* line-clamp utilities (kept identical to source usage) */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* subtle custom scrollbar to match the dark HUD aesthetic */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0D0D0E;
}

::-webkit-scrollbar-thumb {
    background: #27272A;
    border: 2px solid #0D0D0E;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--grid-primary);
}

/* mobile nav drawer */
#mobile-drawer {
    transition: max-height .35s ease, opacity .3s ease;
    overflow: hidden;
}

/* filter fade for service cards */
.svc-card {
    transition: opacity .35s ease, transform .35s ease;
}

.svc-card[data-hidden="true"] {
    opacity: 0;
    transform: scale(.96);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
    height: 0;
    margin: 0;
}

/* toast */
#toast {
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .35s ease;
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 2px solid var(--grid-primary);
    outline-offset: 2px;
}

/* ========== ADMIN CARD CSS */
/* =========================================================
   THE GRID // ADMIN LOGIN
   ========================================================= */

.grid-admin-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #0d0d0c;
    box-sizing: border-box;
    font-family: "Inter", Arial, sans-serif;
}

/* Main Card */
.grid-admin-card {
    width: 100%;
    max-width: 448px;
    min-height: 425px;
    box-sizing: border-box;

    padding: 32px;

    background: #151517;
    border: 1px solid #2b2b2e;
    border-radius: 8px;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.01);

    color: #fff;
}

/* Lock Icon Box */
.grid-admin-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid var(--grid-primary);
    color: var(--grid-primary);

    background: transparent;
}

.grid-admin-icon svg {
    width: 32px;
    height: 32px;
}

/* Small top label */
.grid-admin-label {
    margin-bottom: 12px;

    text-align: center;

    color: #71809a;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Main Heading */
.grid-admin-title {
    margin: 0;

    text-align: center;

    color: #f5f5f5;

    font-family:
        "Arial Black",
        "Inter",
        Arial,
        sans-serif;

    font-size: 23px;
    line-height: 1;

    font-weight: 900;
    font-style: italic;

    letter-spacing: -1.2px;
    text-transform: uppercase;
}

/* Description */
.grid-admin-description {
    max-width: 360px;

    margin: 12px auto 38px;

    text-align: center;

    color: #8490a5;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 12px;
    line-height: 1.35;

    font-weight: 700;
}

/* Form */
.grid-admin-form {
    width: 100%;
}

/* Label */
.grid-admin-form label {
    display: block;

    margin-bottom: 7px;

    color: #a4aabd;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 9px;
    line-height: 1;

    font-weight: 700;

    text-transform: uppercase;
}

/* Input */
.grid-admin-form input {
    width: 100%;
    height: 48px;

    box-sizing: border-box;

    padding: 0 15px;

    background: #030303;

    border: 1px solid #37373a;

    border-radius: 0;

    outline: none;

    color: #fff;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 12px;
    font-weight: 700;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.grid-admin-form input::placeholder {
    color: #687080;
    opacity: 1;
}

.grid-admin-form input:focus {
    border-color: var(--grid-primary);

    box-shadow:
        0 0 0 1px var(--grid-primary);
}

/* Verify Button */
.grid-admin-form button {
    width: 100%;
    height: 48px;

    margin-top: 16px;

    border: 1px solid var(--grid-primary);
    border-radius: 0;

    background: var(--grid-primary);
    color: #050505;

    cursor: pointer;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease;
}

.grid-admin-form button:hover {
    background: #fff;
    border-color: #fff;
}

.grid-admin-form button:active {
    transform: scale(0.98);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .grid-admin-section {
        min-height: 100vh;
        padding: 25px 16px;
    }

    .grid-admin-card {
        max-width: 100%;
        padding: 30px 28px;
    }

    .grid-admin-icon {
        width: 62px;
        height: 62px;
        margin-bottom: 29px;
    }

    .grid-admin-title {
        font-size: 21px;
    }

    .grid-admin-description {
        font-size: 11px;
        margin-bottom: 32px;
    }

}

/* =========== POPUP MODAL CSS */
/* =========================================================
   GRID RESERVATION MODAL
========================================================= */

#reservationModal {
    opacity: 0;
    transition: opacity 0.25s ease;
}

#reservationModal.grid-modal-visible {
    opacity: 1;
}

#reservationModal>div:nth-child(2) {
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

#reservationModal.grid-modal-visible>div:nth-child(2) {
    transform: translateY(0) scale(1);
    opacity: 1;
}


/* Scrollbar */

#reservationModal>div:nth-child(2)::-webkit-scrollbar {
    width: 8px;
}

#reservationModal>div:nth-child(2)::-webkit-scrollbar-track {
    background: #111;
}

#reservationModal>div:nth-child(2)::-webkit-scrollbar-thumb {
    background: var(--grid-primary);
}


/* Inputs */

.grid-input::placeholder {
    color: #71717a;
}

.grid-input:focus {
    box-shadow: 0 0 0 1px var(--grid-primary);
}


/* Checkbox */

.grid-checkbox {
    accent-color: var(--grid-primary);
}


/* Prevent page scrolling while modal is open */

body.grid-modal-open {
    overflow: hidden;
}

/* =========== SOLD OUT PRODUCT CSS */
/* SOLD OUT CARD */
.soldOut {
    filter: grayscale(100%);
    opacity: 0.65;
    position: relative;
}

.soldOut img {
    filter: grayscale(100%);
}

.soldOut::after {
    content: "SOLD OUT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    z-index: 50;

    background: rgba(70, 70, 70, 0.95);
    border: 2px solid #999;
    color: #fff;

    padding: 10px 25px;

    font-family: "Space Mono", monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;
    white-space: nowrap;

    pointer-events: none;
}

.soldOut button {
    display: none;
}

.soldOut button:hover {
    cursor: not-allowed;
    opacity: .4;
}

.soldOut .inStockBadge {
    display: none;
}

/* =============== cursor css */
/* =========================================================
   GAMING CURSOR EFFECT
========================================================= */

#cursorTrail {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;

    pointer-events: none;
    z-index: 9997;
}

#gamingCursor {
    position: fixed;
    top: 0;
    left: 0;

    width: 0;
    height: 0;

    pointer-events: none;
    z-index: 9999;
}

/* Main glowing dot */
.cursor-dot {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--grid-primary);

    box-shadow:
        0 0 6px var(--grid-primary),
        0 0 14px var(--grid-primary),
        0 0 25px rgba(250, 204, 21, 0.45);

    transform: translate(-50%, -50%);

    transition:
        width 0.15s ease,
        height 0.15s ease;
}

/* Outer HUD ring */
.cursor-ring {
    position: absolute;

    width: 27px;
    height: 27px;

    border: 1px solid var(--grid-primary);

    border-radius: 50%;

    transform: translate(-50%, -50%);

    opacity: 0.55;

    box-shadow:
        0 0 8px var(--grid-primary),
        inset 0 0 8px rgba(250, 204, 21, 0.15);

    transition:
        width 0.2s ease,
        height 0.2s ease,
        opacity 0.2s ease;
}

/* Small targeting marks */
.cursor-ring::before,
.cursor-ring::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    background: var(--grid-primary);

    transform: translate(-50%, -50%);
}

.cursor-ring::before {
    width: 35px;
    height: 1px;
    opacity: 0.35;
}

.cursor-ring::after {
    width: 1px;
    height: 35px;
    opacity: 0.35;
}

/* Click animation */
.cursor-click {
    position: fixed !important;
    left: 0;
    top: 0;

    transform: translate(-50%, -50%);

    animation: cursorClick 0.45s ease-out forwards;
}

@keyframes cursorClick {

    0% {
        width: 27px;
        height: 27px;
        opacity: 0.8;
    }

    100% {
        width: 65px;
        height: 65px;
        opacity: 0;
    }
}

/* Click center flash */
.cursor-flash {
    position: fixed;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--grid-primary);

    pointer-events: none;

    z-index: 10000;

    transform: translate(-50%, -50%);

    animation: cursorFlash 0.3s ease-out forwards;
}

@keyframes cursorFlash {

    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        box-shadow: 0 0 5px var(--grid-primary);
    }

    100% {
        transform: translate(-50%, -50%) scale(5);
        opacity: 0;
        box-shadow: 0 0 25px var(--grid-primary);
    }
}

/* Don't show custom cursor on touch devices */
@media (hover: none),
(pointer: coarse) {

    #gamingCursor,
    #cursorTrail {
        display: none;
    }
}

/* page loader css */
/* =========================================================
   HIGH LEVEL GAMING LOADER
========================================================= */

#pageLoader {
    position: fixed;
    inset: 0;

    z-index: 999999;

    background: #09090b;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

#pageLoader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* Background grid */

.loader-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px);

    background-size: 50px 50px;

    mask-image:
        radial-gradient(circle at center,
            black 0%,
            transparent 75%);

    animation: loaderGridMove 8s linear infinite;
}

@keyframes loaderGridMove {

    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(50px);
    }

}


/* Subtle scanline */

#pageLoader::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 3px,
            rgba(255, 255, 255, 0.015) 4px);

    pointer-events: none;
}


/* Main content */

.loader-content {
    position: relative;

    width: min(520px, 85vw);

    text-align: center;

    font-family: "Space Mono", monospace;
}


/* SYSTEM header */

.loader-logo {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-bottom: 22px;
}

.loader-logo-text {
    color: var(--grid-primary);

    font-family: "Orbitron", sans-serif;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 5px;

    text-shadow:
        0 0 10px var(--grid-primary),
        0 0 25px var(--grid-primary);
}

.loader-logo-line {
    width: 45px;
    height: 1px;

    background: var(--grid-primary);

    box-shadow:
        0 0 8px var(--grid-primary);
}


/* Title */

.loader-title {
    color: #fff;

    font-family: "Orbitron", sans-serif;

    font-size: clamp(22px, 4vw, 34px);

    font-weight: 900;

    letter-spacing: 6px;

    margin-bottom: 12px;
}


/* Percentage */

.loader-percent {
    color: var(--grid-primary);

    font-family: "Orbitron", sans-serif;

    font-size: clamp(45px, 8vw, 72px);

    line-height: 1;

    font-weight: 900;

    text-shadow:
        0 0 10px var(--grid-primary),
        0 0 30px var(--grid-primary);

    margin-bottom: 25px;
}


/* Progress */

.loader-progress {
    position: relative;

    width: 100%;
    height: 4px;

    background: #27272a;

    overflow: hidden;

    box-shadow:
        0 0 10px rgba(0, 0, 0, 0.5);
}

.loader-progress-bar {
    width: 0%;
    height: 100%;

    background: var(--grid-primary);

    box-shadow:
        0 0 8px var(--grid-primary),
        0 0 20px var(--grid-primary);

    transition: width 0.12s linear;
}

.loader-progress::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 80px;
    height: 100%;

    background: #fff;

    opacity: 0.35;

    filter: blur(8px);

    animation: loaderBeam 1.5s linear infinite;
}

@keyframes loaderBeam {

    from {
        transform: translateX(-100px);
    }

    to {
        transform: translateX(600px);
    }

}


/* Status */

.loader-status {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 9px;

    margin-top: 18px;

    color: #71717a;

    font-size: 10px;

    letter-spacing: 2px;
}

.status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--grid-primary);

    box-shadow:
        0 0 7px var(--grid-primary);

    animation: statusPulse 1s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }

}


/* System stats */

.loader-stats {
    display: flex;

    justify-content: center;

    gap: 28px;

    margin-top: 25px;

    color: #52525b;

    font-size: 9px;

    letter-spacing: 1.5px;
}

.loader-stats b {
    color: var(--grid-primary);

    font-weight: 700;

    margin-left: 4px;
}


/* Corner HUD brackets */

.loader-corner {
    position: absolute;

    width: 45px;
    height: 45px;

    border-color: var(--grid-primary);

    opacity: 0.65;

    filter:
        drop-shadow(0 0 5px var(--grid-primary));
}

.loader-corner-tl {
    top: 35px;
    left: 35px;

    border-top: 1px solid;
    border-left: 1px solid;
}

.loader-corner-tr {
    top: 35px;
    right: 35px;

    border-top: 1px solid;
    border-right: 1px solid;
}

.loader-corner-bl {
    bottom: 35px;
    left: 35px;

    border-bottom: 1px solid;
    border-left: 1px solid;
}

.loader-corner-br {
    bottom: 35px;
    right: 35px;

    border-bottom: 1px solid;
    border-right: 1px solid;
}


/* Mobile */

@media (max-width: 600px) {

    .loader-stats {
        gap: 12px;
        font-size: 8px;
    }

    .loader-corner {
        width: 25px;
        height: 25px;
    }

    .loader-corner-tl,
    .loader-corner-tr {
        top: 20px;
    }

    .loader-corner-bl,
    .loader-corner-br {
        bottom: 20px;
    }

    .loader-corner-tl,
    .loader-corner-bl {
        left: 20px;
    }

    .loader-corner-tr,
    .loader-corner-br {
        right: 20px;
    }

}

/* =========================================================
   GLOBAL SCROLL REVEALS
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity 0.8s cubic-bezier(.16, 1, .3, 1),
        transform 0.8s cubic-bezier(.16, 1, .3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* From left */

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);

    transition:
        opacity 0.9s cubic-bezier(.16, 1, .3, 1),
        transform 0.9s cubic-bezier(.16, 1, .3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}


/* From right */

.reveal-right {
    opacity: 0;
    transform: translateX(60px);

    transition:
        opacity 0.9s cubic-bezier(.16, 1, .3, 1),
        transform 0.9s cubic-bezier(.16, 1, .3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}


/* Scale */

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);

    transition:
        opacity 0.9s cubic-bezier(.16, 1, .3, 1),
        transform 0.9s cubic-bezier(.16, 1, .3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.7s cubic-bezier(.16, 1, .3, 1),
        transform 0.7s cubic-bezier(.16, 1, .3, 1);
}

.reveal-stagger.active>*:nth-child(1) {
    transition-delay: 0.05s;
}

.reveal-stagger.active>*:nth-child(2) {
    transition-delay: 0.12s;
}

.reveal-stagger.active>*:nth-child(3) {
    transition-delay: 0.19s;
}

.reveal-stagger.active>*:nth-child(4) {
    transition-delay: 0.26s;
}

.reveal-stagger.active>* {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   HERO ENTRANCE
========================================================= */

.hero-reveal {
    opacity: 1;
}


/* Heading */

.hero-reveal h1 {
    opacity: 0;
    transform: translateY(45px);
}


/* Paragraph */

.hero-reveal p {
    opacity: 0;
    transform: translateY(30px);
}


/* Buttons */

.hero-reveal>div:last-child {
    opacity: 0;
    transform: translateY(25px);
}


/* Activated */

.hero-reveal.hero-loaded h1 {
    animation:
        heroFadeUp 0.9s cubic-bezier(.16, 1, .3, 1) 0.05s forwards;
}

.hero-reveal.hero-loaded p {
    animation:
        heroFadeUp 0.8s cubic-bezier(.16, 1, .3, 1) 0.25s forwards;
}

.hero-reveal.hero-loaded>div:last-child {
    animation:
        heroFadeUp 0.8s cubic-bezier(.16, 1, .3, 1) 0.4s forwards;
}


@keyframes heroFadeUp {

    from {
        opacity: 0;
        transform: translateY(45px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =========================================================
   GAMING CARD HOVER
========================================================= */

.gaming-hover {
    position: relative;

    overflow: hidden;

    transition:
        transform 0.45s cubic-bezier(.16, 1, .3, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.gaming-hover::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.08),
            transparent);

    transform: skewX(-20deg);

    transition: left 0.7s ease;

    pointer-events: none;

    z-index: 5;
}

.gaming-hover:hover {
    transform: translateY(-8px);

    border-color: var(--grid-primary);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.45),
        0 0 25px color-mix(in srgb,
            var(--grid-primary) 18%,
            transparent);
}

.gaming-hover:hover::before {
    left: 140%;
}

.gaming-image {
    overflow: hidden;
}

.gaming-image img {
    transition:
        transform 0.8s cubic-bezier(.16, 1, .3, 1),
        filter 0.5s ease;
}

.gaming-image:hover img {
    transform: scale(1.06);

    filter:
        brightness(1.08) saturate(1.1);
}

/* GAMING BUTONNS */
.gaming-btn {
    position: relative;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gaming-btn::before {
    content: "";

    position: absolute;

    inset: 0;

    background: #FF00C8;

    transform: translateX(-101%);

    transition:
        transform 0.35s cubic-bezier(.16, 1, .3, 1);

    z-index: -1;
}

.gaming-btn:hover::before {
    transform: translateX(0);
}

.gaming-btn:hover {
    transform: translateY(-2px);
    color: #fff !important;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35);
}

.gaming-btn>* {
    position: relative;
    z-index: 1;
}

/* == CARD TITL ANIMATION CSS */

.tilt-card {
    transition:
        transform 0.15s ease-out;
    transform-style: preserve-3d;
}

/* =========================================
   COMING SOON EFFECT
========================================= */

.coming-soon-card {
    position: relative;
    overflow: hidden;
}

/* Grey / disabled card */
.coming-soon-card>*:not(.coming-soon-overlay) {
    filter: grayscale(100%);
    opacity: 0.55;
    transition: all 0.3s ease;
}

/* Dark grey layer */
.coming-soon-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 22, 0.30);
    pointer-events: none;
    z-index: 5;
}

/* Coming Soon center badge */
.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 20;

    padding: 10px 18px;

    background: #27272a;
    border: 1px solid #52525b;

    color: #f4f4f5;

    font-family: "Space Mono", monospace;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    white-space: nowrap;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);

    pointer-events: none;
}

/* Disabled button */
.coming-soon-btn {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}