/* ==========================================================================
   Industry Gaming Center — GameX-style theme
   Palette and type taken from the GameX theme: #1D1D1D background, #BDBDBD text,
   #FF6321 accent, Titillium Web headings, Rubik body text.
   ========================================================================== */

:root {
    --gx-bg: #1d1d1d;
    --gx-bg-deep: #171717;
    --gx-surface: #262626;
    --gx-card: #2a2a2a;
    --gx-line: #343434;
    --gx-line-soft: rgba(255, 255, 255, 0.07);
    --gx-text: #bdbdbd;
    --gx-muted: #8f8f8f;
    --gx-head: #ffffff;
    --gx-accent: #ff6321;
    --gx-accent-dark: #e04f12;
    --gx-accent-glow: rgba(255, 99, 33, 0.35);
    --gx-radius: 8px;
    --gx-radius-lg: 14px;
    --gx-font-head: 'Titillium Web', sans-serif;
    --gx-font-body: 'Rubik', sans-serif;
    --gx-container: 1240px;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
    background: var(--gx-bg) !important;
    color: var(--gx-text) !important;
    font-family: var(--gx-font-body) !important;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .gx-head {
    font-family: var(--gx-font-head) !important;
    color: var(--gx-head);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.1;
}
h5, h6 { font-family: var(--gx-font-head) !important; color: var(--gx-head); }
a { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
::selection { background: var(--gx-accent); color: #1d1d1d; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--gx-bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gx-line); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gx-accent); }

/* ---------- layout helpers ---------- */
.gx-container { width: 100%; max-width: var(--gx-container); margin: 0 auto; padding: 0 20px; }
.gx-section { padding: 110px 0; position: relative; }
.gx-section--tight { padding: 80px 0; }
.gx-section--deep { background: var(--gx-bg-deep); }
.gx-kicker {
    display: inline-block;
    font-family: var(--gx-font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gx-accent);
    margin-bottom: 14px;
}
.gx-title { font-size: clamp(32px, 4vw, 48px); font-weight: 700; margin: 0 0 18px; }
.gx-lead { font-size: 17px; line-height: 1.7; color: var(--gx-text); max-width: 640px; }
.gx-center { text-align: center; }
.gx-center .gx-lead { margin-left: auto; margin-right: auto; }
.gx-accent { color: var(--gx-accent) !important; }
.gx-two-col { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 60px; align-items: start; }
@media (max-width: 860px) { .gx-two-col { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- buttons ---------- */
.gx-btn, .gx-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--gx-font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 15px 28px;
    border-radius: var(--gx-radius);
    cursor: pointer;
    border: 0;
    position: relative;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}
.gx-btn {
    background: var(--gx-accent);
    color: #1d1d1d;
    box-shadow: 0 0 0 3px var(--gx-bg), 0 0 0 4px var(--gx-accent);
}
.gx-btn:hover { background: #fff; color: var(--gx-accent); box-shadow: 0 0 0 3px var(--gx-bg), 0 0 0 4px #fff; }
.gx-btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.gx-btn-outline:hover { color: var(--gx-accent); box-shadow: inset 0 0 0 1px var(--gx-accent); }
.gx-btn--sm { padding: 10px 18px; font-size: 13px; }
.gx-btn--block { width: 100%; }

/* ---------- header ---------- */
.gx-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 40;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding: 22px 0;
}
.gx-header.is-scrolled {
    background: rgba(23, 23, 23, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--gx-line);
    padding: 14px 0;
}
.gx-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gx-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.gx-logo img { width: 34px; height: 34px; }
.gx-logo__text { font-family: var(--gx-font-head); font-weight: 900; font-size: 24px; letter-spacing: 0.02em; color: #fff; text-transform: uppercase; line-height: 1; }
.gx-logo__text b { color: var(--gx-accent); font-weight: 900; }
.gx-nav { display: flex; align-items: center; gap: 34px; }
.gx-nav a, .gx-nav button {
    font-family: var(--gx-font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
}
.gx-nav a:hover, .gx-nav a.is-active, .gx-nav button:hover { color: var(--gx-accent); }
.gx-header__actions { display: flex; align-items: center; gap: 22px; }
.gx-header__sep { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.25); }
.gx-burger { display: none; width: 42px; height: 42px; border-radius: var(--gx-radius); background: var(--gx-surface); color: #fff; border: 0; cursor: pointer; }
@media (max-width: 991px) {
    .gx-nav { display: none; }
    .gx-burger { display: inline-flex; align-items: center; justify-content: center; }
    .gx-header.menu-open .gx-nav {
        display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
        position: absolute; top: 100%; left: 0; right: 0; padding: 22px 20px;
        background: rgba(23, 23, 23, 0.98); border-top: 1px solid var(--gx-line);
    }
    .gx-header__actions .gx-hide-sm { display: none; }
}

/* ---------- hero ---------- */
.gx-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 110px;
    overflow: hidden;
    background:
        radial-gradient(60% 70% at 78% 45%, rgba(255, 99, 33, 0.20) 0%, rgba(255, 99, 33, 0) 60%),
        radial-gradient(45% 55% at 12% 80%, rgba(255, 99, 33, 0.08) 0%, rgba(255, 99, 33, 0) 70%),
        linear-gradient(180deg, #141414 0%, #1d1d1d 100%);
}
.gx-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.45; }
.gx-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #1d1d1d 15%, rgba(29, 29, 29, 0.55) 55%, rgba(29, 29, 29, 0.2) 100%); }
.gx-hero__grid {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(70% 70% at 60% 45%, #000 0%, transparent 75%);
}
.gx-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.gx-hero h1 { font-size: clamp(44px, 6.2vw, 84px); font-weight: 700; line-height: 1.02; margin: 0 0 24px; }
.gx-hero p { font-size: 17px; line-height: 1.75; max-width: 560px; margin: 0 0 38px; }
.gx-hero__ctas { display: flex; flex-wrap: wrap; gap: 22px; }
.gx-hero__art { position: relative; height: 560px; }
.gx-hero__art img.gx-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 2; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)); }
@media (max-width: 991px) {
    .gx-hero { min-height: auto; padding-top: 130px; }
    .gx-hero__inner { grid-template-columns: 1fr; }
    .gx-hero__art { height: 380px; }
}

/* GameX signature outline shapes */
.gx-ring {
    position: absolute; border-radius: 50%;
    border: 10px solid var(--gx-accent);
    box-shadow: 0 0 40px var(--gx-accent-glow), inset 0 0 30px rgba(255, 99, 33, 0.15);
}
.gx-tri { position: absolute; width: 120px; height: 120px; }
.gx-tri svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 18px var(--gx-accent-glow)); }
.gx-float { animation: gx-float 7s ease-in-out infinite; }
.gx-float--slow { animation-duration: 10s; }
.gx-spin { animation: gx-spin 40s linear infinite; }
@keyframes gx-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(6deg); } }
@keyframes gx-spin { to { transform: rotate(360deg); } }

/* placeholder art (shown until the purchased images are dropped into /assets/img/gx/) */
.gx-placeholder-pc { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: 78%; max-width: 470px; z-index: 2; }
.gx-placeholder-pc .screen {
    aspect-ratio: 16 / 10; border-radius: 16px; background: #0f0f0f; padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px #2c2c2c;
}
.gx-placeholder-pc .screen > div {
    width: 100%; height: 100%; border-radius: 9px; position: relative; overflow: hidden;
    background: radial-gradient(70% 90% at 70% 100%, rgba(255, 99, 33, 0.85) 0%, rgba(255, 99, 33, 0) 60%), linear-gradient(160deg, #1b1b1b, #2a1408 70%, #4a1d05);
    display: flex; align-items: center; justify-content: center;
}
.gx-placeholder-pc .screen img { width: 34%; opacity: 0.95; filter: drop-shadow(0 0 30px rgba(255, 99, 33, 0.7)); }
.gx-placeholder-pc .neck { width: 14%; height: 38px; margin: 0 auto; background: linear-gradient(#202020, #2d2d2d); }
.gx-placeholder-pc .base { width: 44%; height: 12px; margin: 0 auto; border-radius: 8px; background: #2d2d2d; }

/* ---------- marquee ---------- */
.gx-marquee { overflow: hidden; border-top: 1px solid var(--gx-line); border-bottom: 1px solid var(--gx-line); background: var(--gx-bg-deep); padding: 22px 0; }
.gx-marquee__track { display: flex; gap: 46px; width: max-content; animation: gx-marquee 28s linear infinite; }
.gx-marquee__item { font-family: var(--gx-font-head); font-weight: 900; font-size: 42px; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35); display: flex; align-items: center; gap: 46px; white-space: nowrap; }
.gx-marquee__item i { color: var(--gx-accent); -webkit-text-stroke: 0; font-size: 22px; }
.gx-marquee__item:nth-child(2n) { color: #fff; -webkit-text-stroke: 0; }
@keyframes gx-marquee { to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.gx-card {
    background: var(--gx-surface);
    border: 1px solid var(--gx-line-soft);
    border-radius: var(--gx-radius-lg);
    padding: 36px 32px;
    position: relative;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.gx-card:hover { transform: translateY(-6px); border-color: rgba(255, 99, 33, 0.55); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35); }
.gx-card h3 { font-size: 22px; margin: 18px 0 12px; }
.gx-card p { line-height: 1.7; margin: 0; }
.gx-card__num { font-family: var(--gx-font-head); font-weight: 900; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 99, 33, 0.7); position: absolute; top: 22px; right: 26px; }
.gx-icon {
    width: 64px; height: 64px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 99, 33, 0.12); color: var(--gx-accent); font-size: 26px;
    box-shadow: inset 0 0 0 1px rgba(255, 99, 33, 0.35);
}
.gx-grid { display: grid; gap: 28px; }
.gx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gx-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .gx-grid--3, .gx-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gx-grid--3, .gx-grid--4 { grid-template-columns: 1fr; } .gx-section { padding: 80px 0; } }

/* product-style reward cards */
.gx-product { background: var(--gx-surface); border-radius: var(--gx-radius-lg); overflow: hidden; border: 1px solid var(--gx-line-soft); transition: transform 0.35s ease, border-color 0.35s ease; display: flex; flex-direction: column; }
.gx-product:hover { transform: translateY(-6px); border-color: rgba(255, 99, 33, 0.55); }
.gx-product__media { aspect-ratio: 1 / 1; background: radial-gradient(70% 70% at 50% 60%, rgba(255, 99, 33, 0.16), rgba(255, 99, 33, 0) 70%), #202020; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.gx-product__media img { max-width: 78%; max-height: 78%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.55)); transition: transform 0.45s ease; }
.gx-product:hover .gx-product__media img { transform: scale(1.07) rotate(-2deg); }
.gx-product__media .fa-solid, .gx-product__media .fas { font-size: 64px; color: var(--gx-accent); opacity: 0.85; }
.gx-product__tag { position: absolute; top: 14px; left: 14px; background: var(--gx-accent); color: #1d1d1d; font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; }
.gx-product__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gx-product__body h3 { font-size: 20px; margin: 0; }
.gx-product__price { font-family: var(--gx-font-head); font-weight: 700; font-size: 22px; color: var(--gx-accent); }
.gx-product__price small { font-size: 14px; color: var(--gx-muted); font-weight: 600; margin-left: 4px; }
.gx-product__body .gx-btn, .gx-product__body .gx-btn-outline { margin-top: auto; }

/* dashboard reward image stage: whole product visible, glow behind, shadow follows the cut-out */
.gx-reward-stage { height: 210px; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(62% 66% at 50% 58%, rgba(255, 99, 33, 0.2), rgba(255, 99, 33, 0) 72%), #1c1c1c; border: 1px solid rgba(255, 255, 255, 0.04); }
.gx-reward-stage img { max-width: 86%; max-height: 86%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.6)); transition: transform 0.45s ease; }
.card-hover:hover .gx-reward-stage img { transform: scale(1.06) rotate(-2deg); }
.gx-reward-stage--sm { height: 160px; }

/* admin header menu: keep each item on one line; wrap to a second row instead of squashing */
header nav.space-x-2 { flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
header nav.space-x-2 > a { white-space: nowrap; }
@media (max-width: 1500px) { header nav.space-x-2 > a { padding-left: 10px; padding-right: 10px; } }

/* admin: time-tracking request badge, pop-up and "turn on alerts" button (assets/js/admin-alerts.js) */
.gx-tt-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: #ff6321; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; vertical-align: middle; box-shadow: 0 0 0 0 rgba(255, 99, 33, 0.7); animation: gx-badge-pulse 1.6s infinite; }
.gx-tt-badge[hidden] { display: none; }
@keyframes gx-badge-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 99, 33, 0.7); } 70% { box-shadow: 0 0 0 9px rgba(255, 99, 33, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 99, 33, 0); } }
.gx-alert-stack { position: fixed; top: 20px; right: 20px; z-index: 9999; width: min(420px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 12px; }
.gx-alert-toast { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 44px 16px 16px; background: #262626; color: #e0e0e0; border: 1px solid rgba(255, 99, 33, 0.55); border-left: 4px solid #ff6321; border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); animation: gx-toast-in 0.35s ease; font-family: Rubik, sans-serif; }
.gx-alert-toast__icon { flex: 0 0 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 99, 33, 0.15); color: #ff6321; font-size: 18px; animation: gx-bell 1s ease 2; }
.gx-alert-toast__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.gx-alert-toast__body strong { color: #fff; font-family: "Titillium Web", sans-serif; text-transform: uppercase; letter-spacing: 0.03em; font-size: 15px; }
.gx-alert-toast__body span { overflow: hidden; text-overflow: ellipsis; }
.gx-alert-toast__close { position: absolute; top: 6px; right: 10px; background: none; border: 0; color: #9e9e9e; font-size: 22px; line-height: 1; cursor: pointer; }
.gx-alert-toast__close:hover { color: #fff; }
.gx-alert-pill { position: fixed; left: 20px; bottom: 20px; z-index: 9998; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255, 99, 33, 0.6); background: #262626; color: #fff; font: 600 14px Rubik, sans-serif; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.gx-alert-pill i { color: #ff6321; }
.gx-alert-pill:hover { background: #ff6321; }
.gx-alert-pill:hover i { color: #fff; }
@keyframes gx-toast-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes gx-bell { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-18deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }

/* ---------- stats band ---------- */
.gx-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--gx-line); border-radius: var(--gx-radius-lg); overflow: hidden; background: var(--gx-bg-deep); }
.gx-stat { padding: 34px 28px; border-right: 1px solid var(--gx-line); }
.gx-stat:last-child { border-right: 0; }
.gx-stat strong { display: block; font-family: var(--gx-font-head); font-weight: 900; font-size: 44px; color: #fff; line-height: 1; }
.gx-stat strong em { font-style: normal; color: var(--gx-accent); }
.gx-stat span { display: block; margin-top: 10px; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 860px) { .gx-stats { grid-template-columns: repeat(2, 1fr); } .gx-stat:nth-child(2) { border-right: 0; } .gx-stat:nth-child(-n+2) { border-bottom: 1px solid var(--gx-line); } }

/* ---------- FAQ ---------- */
.gx-faq { display: flex; flex-direction: column; gap: 14px; }
.gx-faq__item { background: var(--gx-surface); border-radius: var(--gx-radius); border: 1px solid var(--gx-line-soft); overflow: hidden; }
.gx-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; background: none; border: 0; color: #fff; cursor: pointer; text-align: left; font-family: var(--gx-font-head); font-weight: 700; font-size: 18px; text-transform: uppercase; }
.gx-faq__q i { color: var(--gx-accent); transition: transform 0.3s ease; }
.gx-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.gx-faq__a p { padding: 0 26px 24px; margin: 0; line-height: 1.75; }
.gx-faq__item.is-open { border-color: rgba(255, 99, 33, 0.5); }
.gx-faq__item.is-open .gx-faq__q i { transform: rotate(45deg); }

/* ---------- CTA banner ---------- */
.gx-cta { position: relative; border-radius: 20px; overflow: hidden; padding: 80px 60px; background: radial-gradient(70% 120% at 85% 50%, rgba(255, 99, 33, 0.45), rgba(255, 99, 33, 0) 60%), #232323; border: 1px solid var(--gx-line); }
.gx-cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.35; }
.gx-cta > * { position: relative; }
.gx-cta h2 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 16px; }
@media (max-width: 640px) { .gx-cta { padding: 56px 26px; } }

/* ---------- footer ---------- */
.gx-footer { background: var(--gx-bg-deep); border-top: 1px solid var(--gx-line); padding: 90px 0 0; }
.gx-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.gx-footer h4 { font-size: 18px; margin: 0 0 22px; }
.gx-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gx-footer a { color: var(--gx-text); text-decoration: none; }
.gx-footer a:hover { color: var(--gx-accent); }
.gx-footer__social { display: flex; gap: 12px; margin-top: 22px; }
.gx-footer__social a { width: 42px; height: 42px; border-radius: 8px; background: var(--gx-surface); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.gx-footer__social a:hover { background: var(--gx-accent); color: #1d1d1d; }
.gx-footer__bottom { margin-top: 70px; padding: 26px 0; border-top: 1px solid var(--gx-line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 860px) { .gx-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gx-footer__cols { grid-template-columns: 1fr; } }

/* ---------- reveal + letter animations ---------- */
.gx-reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.gx-reveal.is-in { opacity: 1; transform: none; }
.gx-split .gx-ch { display: inline-block; opacity: 0; transform: translateY(-0.6em) rotate(-8deg); transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.3, 1.6, 0.5, 1); }
.gx-split.is-in .gx-ch { opacity: 1; transform: none; }
.gx-split .gx-word { display: inline-block; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
    .gx-reveal, .gx-split .gx-ch { opacity: 1 !important; transform: none !important; transition: none !important; }
    .gx-float, .gx-spin, .gx-marquee__track { animation: none !important; }
}

/* ---------- auth modal ---------- */
.gx-modal-card { background: var(--gx-surface) !important; border: 1px solid var(--gx-line) !important; border-radius: 16px !important; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6); }
.gx-modal-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gx-accent); border-radius: 16px 16px 0 0; }

/* ==========================================================================
   Shared overrides for the existing dashboard / admin markup (Tailwind pages)
   ========================================================================== */
.hero-gradient, .admin-gradient {
    background:
        radial-gradient(60% 120% at 85% 0%, rgba(255, 99, 33, 0.22), rgba(255, 99, 33, 0) 60%),
        linear-gradient(180deg, #151515, #1d1d1d) !important;
    border-bottom: 1px solid var(--gx-line);
}
.points-gradient { background: var(--gx-accent) !important; color: #1d1d1d !important; }
.glass-card, .form-gradient {
    background: var(--gx-surface) !important;
    border: 1px solid var(--gx-line-soft) !important;
    backdrop-filter: none !important;
}
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea {
    background-color: var(--gx-bg-deep) !important;
    border-color: var(--gx-line) !important;
    color: #fff !important;
    border-radius: var(--gx-radius) !important;
}
input:focus, select:focus, textarea:focus { border-color: var(--gx-accent) !important; box-shadow: 0 0 0 3px rgba(255, 99, 33, 0.2) !important; outline: none !important; }
input::placeholder, textarea::placeholder { color: #6f6f6f !important; }
label { color: #d9d9d9; }
table thead, table thead tr, table th { font-family: var(--gx-font-head); text-transform: uppercase; letter-spacing: 0.04em; }
nav a, header nav a, header nav button { font-family: var(--gx-font-body); }
.rounded-lg, .rounded-xl, .rounded-2xl { border-radius: var(--gx-radius-lg); }
button.bg-blue-600, button.bg-indigo-600, button.bg-purple-600, a.bg-blue-600, a.bg-indigo-600, a.bg-purple-600,
button[class*="from-blue-"], button[class*="from-indigo-"], button[class*="from-purple-"],
a[class*="from-blue-"], a[class*="from-indigo-"], a[class*="from-purple-"] {
    color: #1d1d1d !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
button.bg-blue-600:hover, button.bg-indigo-600:hover, button.bg-purple-600:hover,
a.bg-blue-600:hover, a.bg-indigo-600:hover, a.bg-purple-600:hover { background: #fff !important; color: var(--gx-accent) !important; }

/* ---------- app pages (dashboard / admin) ---------- */
.gx-header--app { position: sticky; top: 0; background: rgba(23, 23, 23, 0.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--gx-line); padding: 14px 0; }
.gx-header--app .gx-nav { gap: 30px; }
.gx-points-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--gx-radius); background: rgba(255, 99, 33, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 99, 33, 0.4); color: #fff; font-weight: 600; font-size: 14px; }
.gx-points-pill i { color: var(--gx-accent); }
@media (max-width: 480px) {
    .gx-header--app .gx-logo__text { display: none; }
    .gx-points-pill { padding: 6px 10px; font-size: 13px; white-space: nowrap; }
}
.gx-tile { background: var(--gx-surface) !important; border: 1px solid var(--gx-line-soft); transition: border-color 0.3s ease, transform 0.3s ease; }
.gx-tile:hover { border-color: rgba(255, 99, 33, 0.45); }
.gx-tile h3 { font-size: 32px !important; }
.gx-tile__desc { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: #9e9e9e; }
.gx-tile__desc b { color: #fff; }
.gx-tile__desc a { text-decoration: underline; text-underline-offset: 3px; }
.gx-tile__note { margin: 12px 0 0; padding: 8px 10px; border-radius: 8px; background: rgba(255, 99, 33, 0.12); color: #ffb08a; font-size: 13px; font-weight: 600; line-height: 1.4; }
.gx-tile__note i { color: #ff6321; margin-right: 4px; }
/* time tracking is desktop-only: phones/tablets see a note instead of the request button */
.gx-tt-mobile-note { display: none; }
.gx-no-tt .gx-tt-mobile-note { display: block; }
.gx-no-tt .gx-tt-desktop-note, .gx-no-tt #request-time-tracking { display: none !important; }
/* reward claim buttons + "you can afford this" highlight in GameX orange */
.claim-btn { background: var(--gx-accent) !important; color: #1d1d1d !important; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600 !important; border-radius: var(--gx-radius) !important; }
.claim-btn:hover:not(:disabled) { background: #fff !important; color: var(--gx-accent) !important; }
.claim-btn:disabled { opacity: 0.6; cursor: wait; }
.card-hover.ring-green-500 { --tw-ring-color: rgba(255, 99, 33, 0.55) !important; }
.card-hover { background-color: var(--gx-surface) !important; border: 1px solid var(--gx-line-soft); }
/* statistics page: leftover light-theme classes */
.stat-card, .stats-section { background: var(--gx-surface) !important; border: 1px solid var(--gx-line-soft); box-shadow: none !important; }
.stat-number.blue, .stat-number.purple { color: var(--gx-accent) !important; }
.stat-label { color: var(--gx-text) !important; }
.section-header { background: var(--gx-bg-deep) !important; border-bottom-color: var(--gx-line) !important; }
.section-header h2 { color: #fff !important; }
.chart-container { background: var(--gx-bg-deep) !important; border: 1px solid var(--gx-line); }
.chart-bar { background: linear-gradient(to top, var(--gx-accent-dark), var(--gx-accent)) !important; }
.activity-table th { background: var(--gx-bg-deep) !important; color: #fff !important; }
.activity-table th, .activity-table td, .top-users-list li { border-bottom-color: var(--gx-line) !important; }
.user-rank { background: var(--gx-accent) !important; color: #1d1d1d !important; }
/* header login link (desktop) / inside the mobile menu */
.gx-login-link { background: none; border: 0; cursor: pointer; color: #fff; font-family: var(--gx-font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.gx-login-link:hover { color: var(--gx-accent); }
.gx-show-sm { display: none !important; }
@media (max-width: 991px) {
    .gx-header__actions .gx-hide-sm { display: none !important; }
    .gx-header.menu-open .gx-nav .gx-show-sm { display: block !important; }
}

/* High rewards: locked card on the player dashboard + grand-prize cards on the homepage */
.gx-unlock { background: rgba(255, 99, 33, 0.08); border: 1px dashed rgba(255, 99, 33, 0.45); border-radius: 10px; padding: 12px 14px; }
.gx-unlock__text { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: #e6e6e6; }
.gx-unlock__text strong { color: var(--gx-accent); }
.gx-unlock__bar { background: var(--gx-accent); transition: width 0.3s ease; }
.gx-grid--2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
@media (max-width: 640px) { .gx-grid--2 { grid-template-columns: 1fr; } }
.gx-product__unlock { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--gx-muted); }
.gx-product__unlock i { color: var(--gx-accent); margin-right: 6px; }

/* Mystery gift: a locked high reward shows a glowing gift box with a "?" instead of its picture */
.gx-mystery { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 180px; }
.gx-mystery__glow { position: absolute; left: 50%; top: 52%; width: 240px; height: 240px; margin: -120px 0 0 -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 99, 33, 0.45), rgba(255, 99, 33, 0) 100%); animation: gx-mystery-pulse 2.8s ease-in-out infinite; }
.gx-mystery__box { position: relative; display: inline-block; line-height: 1; animation: gx-prize 2.6s ease-in-out infinite; }
.gx-mystery .gx-mystery__box i.fas { font-size: 104px; color: var(--gx-accent); opacity: 1; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.6)); }
.gx-mystery__q { position: absolute; top: -16px; right: -24px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #1d1d1d; font-family: var(--gx-font-head); font-weight: 900; font-size: 30px; line-height: 46px; text-align: center; box-shadow: 0 0 0 6px rgba(255, 99, 33, 0.35), 0 8px 18px rgba(0, 0, 0, 0.5); }
.gx-product:hover .gx-mystery__box { animation-duration: 0.9s; }
@keyframes gx-mystery-pulse { 0%, 100% { opacity: 0.6; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .gx-mystery__glow, .gx-mystery__box { animation: none !important; } }

/* Email verification step in the login / sign-up box */
.gx-spam-note { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 99, 33, 0.1); border: 1px solid rgba(255, 99, 33, 0.45); border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.55; color: #e6e6e6; text-align: left; }
.gx-spam-note i { color: var(--gx-accent); font-size: 20px; margin-top: 2px; }
.gx-spam-note strong { display: block; color: #fff; margin-bottom: 2px; }
.gx-spam-note b { color: #fff; }
.gx-verify-msg { margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 1.5; background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.45); color: #fecaca; }
.gx-verify-msg--ok { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.45); color: #bbf7d0; }
#verifyResendBtn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Popups: "You won" gifts, invite friends, reward specs (dashboard + homepage) */
body.gx-pop-open { overflow: hidden; }
.gx-pop { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(3px); }
.gx-pop[hidden] { display: none; }
.gx-pop__card { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; background: #1e1e1e; border: 1px solid rgba(255, 99, 33, 0.35); border-radius: 16px; padding: 30px 26px 26px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); animation: gx-pop-in 0.35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes gx-pop-in { from { opacity: 0; transform: scale(0.85) translateY(20px); } to { opacity: 1; transform: none; } }
.gx-pop__close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; color: #9e9e9e; background: transparent; border: 0; cursor: pointer; }
.gx-pop__close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.gx-pop__title { font-size: 26px; line-height: 1.2; font-weight: 700; margin: 6px 0 10px; color: #fff; }
.gx-pop__text { font-size: 15px; line-height: 1.6; color: #cfcfcf; margin: 0 0 22px; }
.gx-pop__small { font-size: 13px; color: #9e9e9e; margin: 14px 0 18px; }
.gx-pop__small b { color: #fff; }
.gx-pop__prize { height: 170px; margin: 12px 0 10px; display: flex; align-items: center; justify-content: center; background: radial-gradient(55% 60% at 50% 55%, rgba(255, 99, 33, 0.35), rgba(255, 99, 33, 0) 70%); }
.gx-pop__prize img { max-height: 160px; max-width: 70%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.6)); animation: gx-prize 2.4s ease-in-out infinite; }
@keyframes gx-prize { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.gx-pop__card--win { overflow: hidden; border-color: rgba(255, 99, 33, 0.7); }
.gx-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gx-confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; opacity: 0.9; animation: gx-confetti 3.2s linear infinite; }
.gx-confetti i:nth-child(3n) { background: #ff6321; } .gx-confetti i:nth-child(3n+1) { background: #ffd23f; } .gx-confetti i:nth-child(3n+2) { background: #4ade80; }
.gx-confetti i:nth-child(1) { left: 4%; animation-delay: 0s; } .gx-confetti i:nth-child(2) { left: 10%; animation-delay: 1.1s; } .gx-confetti i:nth-child(3) { left: 16%; animation-delay: 0.5s; }
.gx-confetti i:nth-child(4) { left: 22%; animation-delay: 2.2s; } .gx-confetti i:nth-child(5) { left: 28%; animation-delay: 1.6s; } .gx-confetti i:nth-child(6) { left: 34%; animation-delay: 0.2s; }
.gx-confetti i:nth-child(7) { left: 40%; animation-delay: 2.7s; } .gx-confetti i:nth-child(8) { left: 46%; animation-delay: 0.9s; } .gx-confetti i:nth-child(9) { left: 52%; animation-delay: 1.9s; }
.gx-confetti i:nth-child(10) { left: 58%; animation-delay: 0.4s; } .gx-confetti i:nth-child(11) { left: 64%; animation-delay: 2.4s; } .gx-confetti i:nth-child(12) { left: 70%; animation-delay: 1.3s; }
.gx-confetti i:nth-child(13) { left: 76%; animation-delay: 0.7s; } .gx-confetti i:nth-child(14) { left: 82%; animation-delay: 2s; } .gx-confetti i:nth-child(15) { left: 88%; animation-delay: 1s; }
.gx-confetti i:nth-child(16) { left: 93%; animation-delay: 2.9s; } .gx-confetti i:nth-child(17) { left: 13%; animation-delay: 3s; } .gx-confetti i:nth-child(18) { left: 61%; animation-delay: 1.5s; }
@keyframes gx-confetti { 0% { transform: translateY(0) rotate(0); } 100% { transform: translateY(620px) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { .gx-confetti, .gx-pop__prize img, .gx-pop__card { animation: none !important; } .gx-confetti { display: none; } }
.gx-invite-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 99, 33, 0.15); border: 1px solid rgba(255, 99, 33, 0.6); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s ease; }
.gx-invite-btn:hover { background: rgba(255, 99, 33, 0.3); }
.gx-invite-btn i { color: var(--gx-accent); }
.gx-invite-list { list-style: none; margin: 4px 0 20px; padding: 0; text-align: left; }
.gx-invite-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 14px; line-height: 1.55; color: #cfcfcf; }
.gx-invite-list li i { color: var(--gx-accent); font-size: 18px; margin-top: 2px; width: 20px; text-align: center; }
.gx-invite-list b { color: #fff; }
.gx-invite-label { display: block; text-align: left; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #9e9e9e; margin: 12px 0 6px; }
.gx-copy-row { display: flex; gap: 8px; align-items: center; }
.gx-copy-row code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; background: #141414; border: 1px dashed rgba(255, 99, 33, 0.5); border-radius: 8px; padding: 10px 12px; font-size: 14px; color: #fff; text-align: left; }
.gx-free-note { display: flex; gap: 10px; align-items: flex-start; background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.5); border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.5; color: #d9f99d; }
.gx-free-note i { color: #4ade80; font-size: 18px; margin-top: 1px; }
.gx-free-note b { color: #fff; }
.gx-specs-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.gx-specs-btn:hover { border-color: var(--gx-accent); color: var(--gx-accent); }
.gx-specs { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 0; margin: 8px 0 22px; text-align: left; font-size: 14px; }
.gx-specs dt, .gx-specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.gx-specs dt { color: #9e9e9e; padding-right: 14px; }
.gx-specs dd { color: #fff; font-weight: 600; }
