/* =========================================================
   XMAN247 - Gaming theme overrides
   Loaded after styles-D5dM4G9Q.css. Colours, glow, buttons
   and cards only; layout and structure are unchanged.
========================================================= */

:root {
    --radius: .5rem;
    --background: #070812;
    --foreground: #dfe3f5;
    --surface: #0f1126;
    --surface-2: #161938;
    --card: #0f1126;
    --card-foreground: #f2f4ff;
    --popover: #0f1126;
    --popover-foreground: #f2f4ff;
    --primary: #00f0a8;
    --primary-foreground: #04110d;
    --secondary: #1a1d44;
    --secondary-foreground: #f2f4ff;
    --muted: #1a1d44;
    --muted-foreground: #9aa3c7;
    --accent: #b14dff;
    --accent-foreground: #ffffff;
    --border: #262a5c;
    --input: #262a5c;
    --ring: #00f0a8;
    --chrome: #7cf7ff;
    --gaming-pink: #ff2e93;
    --gaming-violet: #b14dff;
    --gaming-cyan: #22d3ee;
    --gaming-glow: 0 0 18px rgba(0, 240, 168, .45), 0 0 42px rgba(177, 77, 255, .25);
}

/* ---------- Page background ---------- */
body {
    background-color: #070812;
    background-image:
        radial-gradient(900px 500px at 12% -5%, rgba(177, 77, 255, .22), transparent 60%),
        radial-gradient(800px 520px at 95% 8%, rgba(0, 240, 168, .14), transparent 60%),
        radial-gradient(700px 500px at 50% 110%, rgba(255, 46, 147, .12), transparent 60%);
    background-attachment: fixed;
}

/* ---------- Header ---------- */
header.sticky {
    background: rgba(7, 8, 18, .88) !important;
    border-bottom: 1px solid rgba(0, 240, 168, .35) !important;
    box-shadow: 0 6px 30px rgba(0, 240, 168, .08);
}

/* ---------- Headings ---------- */
.chrome-text {
    background: linear-gradient(90deg, #ffffff 0%, #7cf7ff 45%, #b14dff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    letter-spacing: .01em;
}

h1 .text-primary {
    background: linear-gradient(90deg, #00f0a8, #22d3ee 60%, #b14dff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 14px rgba(0, 240, 168, .45));
}

/* ---------- Hero grid pattern ---------- */
.pattern-grid {
    background-image:
        linear-gradient(rgba(0, 240, 168, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 168, .06) 1px, transparent 1px) !important;
    background-size: 38px 38px !important;
}

/* ---------- Buttons (angular, neon) ---------- */
a.bg-primary,
button.bg-primary {
    background: linear-gradient(135deg, #00f0a8 0%, #22d3ee 100%) !important;
    color: #04110d !important;
    border-radius: .375rem !important;
    box-shadow: 0 0 0 1px rgba(0, 240, 168, .6), 0 6px 24px rgba(0, 240, 168, .35);
    text-shadow: none;
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

a.bg-primary:hover,
button.bg-primary:hover {
    box-shadow: 0 0 0 1px rgba(0, 240, 168, .9), 0 8px 34px rgba(0, 240, 168, .6);
    filter: brightness(1.08);
}

a.border-border,
button.border-border {
    border-color: rgba(177, 77, 255, .65) !important;
    color: #f2f4ff;
    border-radius: .375rem !important;
    background: rgba(177, 77, 255, .08);
    transition: background .2s ease, box-shadow .2s ease;
}

a.border-border:hover,
button.border-border:hover {
    background: rgba(177, 77, 255, .22) !important;
    box-shadow: 0 0 18px rgba(177, 77, 255, .45);
}

/* ---------- Cards / panels ---------- */
.bg-surface,
.card-hard,
.panel {
    background: linear-gradient(160deg, rgba(22, 25, 56, .95), rgba(10, 12, 30, .95)) !important;
    border: 1px solid rgba(124, 247, 255, .18) !important;
    border-radius: .75rem !important;
    box-shadow: 0 0 0 1px rgba(177, 77, 255, .08), 0 10px 30px rgba(0, 0, 0, .45);
}

.card-hard:hover,
.panel:hover,
div.bg-surface.p-6:hover {
    border-color: rgba(0, 240, 168, .7) !important;
    box-shadow: var(--gaming-glow);
}

footer.bg-surface {
    background: #05060e !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(0, 240, 168, .35) !important;
    box-shadow: 0 -8px 40px rgba(0, 240, 168, .06);
}

/* ---------- Inputs ---------- */
input.bg-background {
    background: #0a0c20 !important;
    border-color: #2b3070 !important;
    border-radius: .375rem !important;
    color: #f2f4ff;
}

input.bg-background:focus {
    border-color: #00f0a8 !important;
    box-shadow: 0 0 0 3px rgba(0, 240, 168, .2), 0 0 18px rgba(0, 240, 168, .3);
}

/* ---------- Section numbers (01, 02 ...) ---------- */
.font-display.text-secondary {
    color: transparent !important;
    -webkit-text-stroke: 1.5px rgba(0, 240, 168, .55);
    text-shadow: 0 0 22px rgba(0, 240, 168, .35);
}

/* ---------- Step badges ---------- */
.rounded-full.bg-primary\/10 {
    background: rgba(0, 240, 168, .12) !important;
    color: #00f0a8 !important;
    box-shadow: 0 0 14px rgba(0, 240, 168, .45);
}

/* ---------- Trust bar ---------- */
.border-b.bg-surface\/60 {
    background: linear-gradient(90deg, rgba(177, 77, 255, .14), rgba(0, 240, 168, .12), rgba(255, 46, 147, .12)) !important;
    border-color: rgba(0, 240, 168, .3) !important;
}

/* ---------- Links ---------- */
a.hover\:text-primary:hover,
.hover\:text-primary:hover {
    color: #00f0a8 !important;
    text-shadow: 0 0 10px rgba(0, 240, 168, .55);
}

/* ---------- FAQ ---------- */
details.group[open] {
    background: rgba(0, 240, 168, .04);
    border-radius: .5rem;
    padding-left: .75rem;
    padding-right: .75rem;
}

/* ---------- Gaming extras (new homepage blocks) ---------- */
.gx-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

@media (min-width: 768px) {
    .gx-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.gx-stat {
    padding: 1rem;
    text-align: center;
    border-radius: .75rem;
    border: 1px solid rgba(124, 247, 255, .2);
    background: linear-gradient(160deg, rgba(22, 25, 56, .95), rgba(10, 12, 30, .95));
}

.gx-stat strong {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #00f0a8;
    text-shadow: 0 0 14px rgba(0, 240, 168, .5);
}

.gx-stat span {
    display: block;
    margin-top: .25rem;
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #9aa3c7;
}

.gx-answer {
    border-left: 3px solid #00f0a8;
    padding: 1rem 1.25rem;
    border-radius: 0 .75rem .75rem 0;
    background: linear-gradient(90deg, rgba(0, 240, 168, .1), rgba(177, 77, 255, .05));
    color: #dfe3f5;
}

.gx-pill {
    display: inline-block;
    padding: .25rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 46, 147, .55);
    background: rgba(255, 46, 147, .1);
    color: #ff7ab8;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.gx-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: .75rem;
    border: 1px solid rgba(124, 247, 255, .2);
    font-size: .875rem;
}

.gx-table th,
.gx-table td {
    padding: .75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(124, 247, 255, .12);
}

.gx-table th {
    width: 38%;
    color: #7cf7ff;
    font-weight: 600;
    background: rgba(124, 247, 255, .05);
}

.gx-table td { color: #dfe3f5; }
.gx-table tr:last-child th,
.gx-table tr:last-child td { border-bottom: 0; }

/* Soft pulse on hero glow */
@keyframes gx-glow {
    0%, 100% { opacity: .45; }
    50% { opacity: .85; }
}

.absolute.-inset-1.blur-xl {
    background: linear-gradient(90deg, #00f0a8, #b14dff, #ff2e93) !important;
    animation: gx-glow 3.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .absolute.-inset-1.blur-xl { animation: none; }
}

/* ---------- Numbered step lists ---------- */
ol.gx-steps {
    list-style: none;
    counter-reset: gx;
    display: grid;
    gap: .5rem;
    padding: 0;
    margin: 0 0 1.5rem;
}

ol.gx-steps + img { margin-top: .5rem; }

ol.gx-steps > li {
    counter-increment: gx;
    position: relative;
    padding-left: 2.25rem;
    min-height: 1.5rem;
}

ol.gx-steps > li::before {
    content: counter(gx);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: #00f0a8;
    background: rgba(0, 240, 168, .12);
    box-shadow: 0 0 10px rgba(0, 240, 168, .4);
}
