/* ===============================
   BUXNESIA GLOBAL STYLE V2
   Fresh Gaming Marketplace Base
================================ */

/* ===============================
   CSS RESET
================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* ===============================
   ROOT VARIABLES
================================ */

:root {
    --primary: #22d3ee;
    --primary-dark: #0891b2;
    --primary-soft: rgba(34, 211, 238, 0.14);

    --secondary: #8b5cf6;
    --secondary-soft: rgba(139, 92, 246, 0.16);

    --accent: #facc15;
    --accent-soft: rgba(250, 204, 21, 0.14);

    --danger: #fb7185;
    --success: #34d399;
    --warning: #fbbf24;

    --text-dark: #f8fafc;
    --text-main: #e5e7eb;
    --text-muted: #94a3b8;
    --text-soft: #64748b;

    --bg-light: #070b18;
    --bg-dark: #030712;
    --bg-soft: #0f172a;
    --bg-card: rgba(255, 255, 255, 0.055);
    --bg-card-solid: #111827;

    --border-light: rgba(255, 255, 255, 0.10);
    --border-soft: rgba(255, 255, 255, 0.06);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.32);
    --shadow-card: 0 22px 60px rgba(0, 0, 0, 0.38);
    --shadow-glow: 0 0 40px rgba(34, 211, 238, 0.22);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.28s ease;
}

/* ===============================
   GLOBAL BODY
================================ */

body {
    position: relative;
    min-height: 100vh;

    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;

    color: var(--text-main);

    background:
        radial-gradient(circle at 8% 8%, rgba(34, 211, 238, 0.20), transparent 28%),
        radial-gradient(circle at 88% 4%, rgba(139, 92, 246, 0.22), transparent 30%),
        radial-gradient(circle at 50% 90%, rgba(37, 99, 235, 0.16), transparent 38%),
        linear-gradient(180deg, #050816 0%, #070b18 44%, #030712 100%);

    background-attachment: fixed;
}

/* soft grid pattern */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;

    pointer-events: none;

    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);

    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 75%);
}

/* glow blur decoration */
body::after {
    content: "";
    position: fixed;
    width: 360px;
    height: 360px;
    right: -120px;
    top: 160px;
    z-index: -1;

    pointer-events: none;

    background: rgba(34, 211, 238, 0.14);
    filter: blur(90px);
    border-radius: 50%;
}

/* ===============================
   LINK & IMAGE
================================ */

a {
    color: inherit;
    text-decoration: none;
}

a,
button,
input,
textarea,
select {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    border: 0;
}

/* ===============================
   CONTAINER HELPER
================================ */

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 22px;
}

/* ===============================
   TYPOGRAPHY
================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;

    color: var(--text-dark);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.045em;
}

h1 {
    font-size: clamp(34px, 5vw, 68px);
}

h2 {
    font-size: clamp(28px, 3.6vw, 46px);
}

h3 {
    font-size: clamp(20px, 2.4vw, 28px);
}

p {
    margin: 0;
    color: var(--text-muted);
}

/* ===============================
   GLOBAL FORM STYLE
================================ */

input,
textarea,
select {
    color: #f8fafc;
    background: rgba(255,255,255,.055);

    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius-md);

    outline: none;

    transition: var(--transition-normal);
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(34,211,238,.55);
    box-shadow:
        0 0 0 4px rgba(34,211,238,.12),
        0 0 28px rgba(34,211,238,.12);
}

input::placeholder,
textarea::placeholder {
    color: #64748b;
}

/* ===============================
   GLOBAL BUTTON FEEL
================================ */

button {
    cursor: pointer;
}

.btn,
button[type="submit"] {
    transition: var(--transition-normal);
}

.btn:hover,
button[type="submit"]:hover {
    transform: translateY(-2px);
}

/* ===============================
   UTILITIES
================================ */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.text-gradient {
    color: transparent;
    background: linear-gradient(135deg, #22d3ee, #8b5cf6, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
}

.glass-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));

    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-card);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.hidden {
    display: none !important;
}

/* ===============================
   SELECTION
================================ */

::selection {
    background: rgba(34, 211, 238, 0.32);
    color: #ffffff;
}

/* ===============================
   SCROLLBAR
================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #030712;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #22d3ee, #8b5cf6);
    border-radius: 999px;
    border: 2px solid #030712;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #facc15, #22d3ee);
}

/* ===============================
   MOBILE RESPONSIVE
================================ */

@media (max-width: 768px) {

    body {
        font-size: 13px;
        background-attachment: scroll;
    }

    body::before {
        background-size: 36px 36px;
    }

    body::after {
        width: 260px;
        height: 260px;
        right: -120px;
        top: 120px;
        filter: blur(80px);
    }

    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: clamp(32px, 10vw, 46px);
    }

    h2 {
        font-size: clamp(26px, 8vw, 36px);
    }
}