/* =========================================================
   WEB TCG - DESIGN SYSTEM
   Black / Yellow / Premium TCG
   ========================================================= */

:root {
    /* =====================================================
       COLORS
       ===================================================== */

    --color-primary-dark: #080808;
    --color-primary-yellow: #f4c430;
    /* Backgrounds */
    --color-background: #080808;
    --color-surface: #101010;
    --color-surface-light: #151515;
    --color-surface-hover: #1a1a1a;
    /* Dark scale */
    --color-dark-50: #f5f5f5;
    --color-dark-100: #e5e5e5;
    --color-dark-200: #cccccc;
    --color-dark-300: #a3a3a3;
    --color-dark-400: #737373;
    --color-dark-500: #525252;
    --color-dark-600: #3f3f3f;
    --color-dark-700: #292929;
    --color-dark-800: #1a1a1a;
    --color-dark-900: #080808;
    /* Yellow scale */
    --color-yellow-50: #fffbea;
    --color-yellow-100: #fff4c2;
    --color-yellow-200: #ffe98a;
    --color-yellow-300: #fadd6e;
    --color-yellow-400: #f7d13d;
    --color-yellow-500: #f4c430;
    --color-yellow-600: #d4a700;
    --color-yellow-700: #a67f00;
    --color-yellow-800: #805f00;
    --color-yellow-900: #664d00;
    /* Semantic */
    --color-success: #22c55e;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    /* Text */
    --color-text: #f5f5f5;
    --color-text-secondary: #a3a3a3;
    --color-text-muted: #737373;
    --color-white: #ffffff;
    /* Borders */
    --color-border: rgba(255, 255, 255, 0.07);
    --color-border-hover: rgba(255, 255, 255, 0.13);
    --color-border-yellow: rgba(244, 196, 48, 0.25);
    /* =====================================================
       TYPOGRAPHY
       ===================================================== */

    --font-family: 'Roboto', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    /* =====================================================
       SPACING
       ===================================================== */

    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    /* =====================================================
       BORDER RADIUS
       ===================================================== */

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    /* =====================================================
       SHADOWS
       ===================================================== */

    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.30);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.45);
    --shadow-yellow: 0 0 20px rgba(244, 196, 48, 0.12);
    /* =====================================================
       TRANSITIONS
       ===================================================== */

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    /* =====================================================
       Z INDEX
       ===================================================== */

    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}


/* =========================================================
   GLOBAL
   ========================================================= */

html {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    background: var(--color-background);
}

body {
    margin: 0;
    color: var(--color-text);
    background: radial-gradient( circle at 80% 0%, rgba(244, 196, 48, 0.025), transparent 30% ), var(--color-background);
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: 1.5;
}


/* =========================================================
   TITLES
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    line-height: 1.2;
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}


/* =========================================================
   TEXT
   ========================================================= */

p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
}


/* =========================================================
   LINKS
   ========================================================= */

a {
    color: var(--color-primary-yellow);
    text-decoration: none;
    transition: color var(--transition-fast);
}

    a:hover {
        color: var(--color-yellow-300);
    }


/* =========================================================
   BUTTONS
   ========================================================= */

button,
[type="button"],
[type="submit"],
[type="reset"] {
    font-family: var(--font-family);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    border-radius: var(--radius-lg);
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}


/* =========================================================
   INPUTS
   ========================================================= */

input,
textarea,
select {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
}

    input::placeholder,
    textarea::placeholder {
        color: var(--color-text-muted);
    }


    /* =========================================================
   FOCUS
   ========================================================= */

    input:focus,
    textarea:focus,
    select:focus {
        outline: none;
        border-color: var(--color-primary-yellow) !important;
        box-shadow: 0 0 0 2px rgba(244, 196, 48, 0.12), 0 0 15px rgba(244, 196, 48, 0.06);
    }


/* =========================================================
   SELECTION
   ========================================================= */

::selection {
    color: var(--color-primary-dark);
    background: var(--color-primary-yellow);
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: var(--color-background);
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--color-yellow-700);
    }
