﻿/**
 * Natrix Design System
 * Standalone silver/gray theme â€” drop into any project.
 * No framework dependency. Works with plain HTML or any JS framework.
 *
 * Usage:
 *   <link rel="stylesheet" href="natrix-theme.css">
 *   Then apply classes: .ntx-btn, .ntx-panel, .ntx-card, .ntx-input, etc.
 */

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   FONTS
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&display=swap');

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   TOKENS
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
    --ntx-accent-rgb:     210, 210, 220;
    --ntx-accent:         rgb(var(--ntx-accent-rgb));

    --ntx-accent-glow:    rgba(var(--ntx-accent-rgb), 0.08);
    --ntx-accent-border:  rgba(var(--ntx-accent-rgb), 0.18);
    --ntx-accent-bg:      rgba(var(--ntx-accent-rgb), 0.04);
    --ntx-accent-bg-md:   rgba(var(--ntx-accent-rgb), 0.08);

    --ntx-bg:             #030303;
    --ntx-surface-0:      #050505;
    --ntx-surface-1:      #0a0a0c;
    --ntx-surface-2:      #111114;
    --ntx-surface-3:      #181820;

    --ntx-text-hi:        #e0e0e0;
    --ntx-text-md:        #a0a0a8;
    --ntx-text-lo:        #606068;
    --ntx-text-dim:       #383840;

    --ntx-border-lo:      rgba(210, 210, 220, 0.06);
    --ntx-border-md:      rgba(210, 210, 220, 0.12);
    --ntx-border-hi:      rgba(210, 210, 220, 0.22);
    --ntx-border-bevel:   rgba(210, 210, 220, 0.32);

    --ntx-radius-sm:      0.25rem;
    --ntx-radius:         0.3rem;
    --ntx-radius-md:      0.4rem;
    --ntx-radius-lg:      0.6rem;

    --ntx-ease:           cubic-bezier(0.4, 0, 0.2, 1);
    --ntx-ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
    --ntx-ease-premium:   cubic-bezier(0.23, 1, 0.32, 1);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   RESET / BASE
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after {
    box-sizing: border-box;
}

.ntx-root,
.ntx-root * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body, body * {
    cursor: url('Natrix.cur') 0 0, auto !important;
}

html.fantasy-ii body,
html.fantasy-ii body * {
    cursor: url('darkfantasy.cur') 0 0, auto !important;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   BACKGROUND ATMOSPHERE
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ntx-atmosphere {
    position: relative;
}

.ntx-atmosphere::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 50% 0%,   rgba(100, 100, 120, 0.18), transparent 60%),
        radial-gradient(circle at 50% 70%,  rgba(80, 80, 100, 0.10),  transparent 50%),
        #030303;
    pointer-events: none;
}

.ntx-atmosphere::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 120px 120px;
    pointer-events: none;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   PANELS / CARDS
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ntx-panel {
    background: linear-gradient(180deg, #161618 0%, #0e0e10 100%);
    border: 1px solid #2a2a30;
    border-top: 2px solid #3a3a42;
    border-radius: var(--ntx-radius-md);
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.85),
        0 8px 25px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.ntx-card {
    background: linear-gradient(180deg, #141416 0%, #0c0c0e 100%);
    border: 1px solid #2a2a30;
    border-top: 2px solid #3a3a42;
    border-radius: var(--ntx-radius-md);
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.85),
        0 8px 25px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    transition: all 0.2s var(--ntx-ease);
}


/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   TILE  â€” hover lift + light-sweep shine for any clickable card
   Requires: position:relative; overflow:hidden on the element.
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ntx-popcard {
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1),
                border-color 0.5s ease;
}

.ntx-popcard::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(
        108deg,
        transparent 35%,
        rgba(255,255,255,0.07) 50%,
        transparent 65%
    );
    transform: translateX(-120%);
    transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}

.ntx-popcard:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: #3a3a44;
    border-top-color: #52525e;
}

.ntx-popcard:hover::before {
    transform: translateX(120%);
}

.ntx-panel::after,
.ntx-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

.ntx-card:hover {
    background: linear-gradient(180deg, #181820 0%, #101014 100%);
    border-color: rgba(210, 210, 220, 0.20);
    border-top-color: rgba(210, 210, 220, 0.30);
    transform: translateY(-1px);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8), 0 12px 32px rgba(0, 0, 0, 0.85);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   BUTTON
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ntx-btn,
.ntx-btn--ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--ntx-radius);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.15s var(--ntx-ease);
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(180deg, #161618 0%, #0e0e10 100%);
    border: 1px solid #2a2a30;
    color: #606068;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 2px 6px rgba(0, 0, 0, 0.4);
}

.ntx-btn:hover,
.ntx-btn--ghost:hover {
    background: linear-gradient(180deg, #1e1e22 0%, #141418 100%);
    border-color: #3a3a44;
    color: #e0e0e0;
    box-shadow:
        inset 0 1px 0 rgba(210, 210, 210, 0.07),
        0 4px 12px rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
}

.ntx-btn:active,
.ntx-btn--ghost:active {
    transform: translateY(0.5px) scale(0.98);
    transition-duration: 0.08s;
}

/* Icon button */
.ntx-icon-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ntx-radius);
    background: rgba(var(--ntx-accent-rgb), 0.03);
    border: 1px solid rgba(var(--ntx-accent-rgb), 0.08);
    color: var(--ntx-text-lo);
    cursor: pointer;
    transition: all 0.2s var(--ntx-ease-premium);
    flex-shrink: 0;
}

.ntx-icon-btn:hover {
    background: rgba(var(--ntx-accent-rgb), 0.08);
    border-color: rgba(var(--ntx-accent-rgb), 0.18);
    color: var(--ntx-accent);
    transform: scale(1.08) translateY(-1px);
}

.ntx-icon-btn:active {
    transform: scale(0.95);
    transition-duration: 0.08s;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   CHECKBOX
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ntx-checkbox-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    user-select: none;
}

.ntx-checkbox-wrap input {
    display: none;
}

.ntx-checkbox {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    border: 1px solid #2a2a30;
    background: linear-gradient(180deg, #161618 0%, #0e0e10 100%);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.6);
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.ntx-checkbox::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 4px;
    width: 5px;
    height: 8px;
    border: 2px solid transparent;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) scale(0);
    transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}

.ntx-checkbox-wrap input:checked + .ntx-checkbox {
    background: linear-gradient(180deg, #d8d8e8 0%, #b8b8cc 100%);
    border-color: rgba(210,210,210,0.5);
    box-shadow: 0 0 8px rgba(210,210,210,0.15), inset 0 1px 0 rgba(255,255,255,0.3);
}

.ntx-checkbox-wrap input:checked + .ntx-checkbox::after {
    border-color: #080808;
    transform: rotate(45deg) scale(1);
}

.ntx-checkbox-wrap:hover .ntx-checkbox {
    border-color: #3a3a44;
}

.ntx-checkbox-wrap input:disabled + .ntx-checkbox {
    opacity: 0.3;
    cursor: not-allowed;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   INPUT
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ntx-input {
    width: 100%;
    background: linear-gradient(180deg, #141416 0%, #0e0e10 100%);
    border: 1px solid #2a2a30;
    border-radius: var(--ntx-radius);
    padding: 0.65rem 1rem;
    font-size: 12px;
    color: #c8c8c8;
    font-family: inherit;
    outline: none;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.50);
    transition: border-color 0.15s var(--ntx-ease), box-shadow 0.15s var(--ntx-ease);
}

.ntx-input::placeholder {
    color: #5a5a5a;
}

.ntx-input:focus {
    border-color: rgba(210, 210, 210, 0.40);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.50), 0 0 0 2px rgba(210, 210, 210, 0.08);
}

.ntx-input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   DROPDOWN
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ntx-dropdown {
    position: relative;
}

.ntx-dropdown-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.875rem;
    background: linear-gradient(180deg, #141416 0%, #0e0e10 100%);
    border: 1px solid #2a2a30;
    border-radius: var(--ntx-radius);
    color: #c8c8c8;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    white-space: nowrap;
    font-family: inherit;
    width: 100%;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.50);
}

.ntx-dropdown-btn:hover {
    background: linear-gradient(180deg, #1c1c20 0%, #141418 100%);
    border-color: rgba(210, 210, 220, 0.28);
    color: #e0e0e0;
}

.ntx-dropdown-list {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #161618 0%, #0e0e10 100%);
    border: 1px solid #2a2a30;
    border-radius: var(--ntx-radius);
    padding: 0.25rem;
    z-index: 1000;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
    animation: ntx-dropdown-appear 0.15s var(--ntx-ease-out);
}

.ntx-dropdown-list--open {
    display: block;
}

@keyframes ntx-dropdown-appear {
    from { opacity: 0; transform: translateY(-4px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ntx-dropdown-opt {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    border-radius: var(--ntx-radius-sm);
    color: var(--ntx-text-md);
    font-size: 11px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
    font-family: inherit;
}

.ntx-dropdown-opt:hover {
    background: rgba(var(--ntx-accent-rgb), 0.06);
    color: #fff;
}

.ntx-dropdown-opt--active,
.ntx-dropdown-opt[aria-selected="true"] {
    color: var(--ntx-accent);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   TAB BAR
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ntx-tab-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem;
    background: linear-gradient(180deg, #141416 0%, #0e0e10 100%);
    border: 1px solid #2a2a30;
    border-radius: var(--ntx-radius-md);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(210, 210, 220, 0.03),
        0 4px 20px rgba(0, 0, 0, 0.5);
}

.ntx-tab {
    padding: 0.5rem 1.1rem;
    border-radius: var(--ntx-radius-sm);
    font-size: 10px;
    font-weight: 600;
    color: #505050;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.18s var(--ntx-ease);
    letter-spacing: 0.07em;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: inherit;
}

.ntx-tab:hover {
    color: #b0b0b0;
    background: rgba(210, 210, 210, 0.06);
    border-color: rgba(210, 210, 220, 0.14);
}

.ntx-tab--active {
    color: #e8e8e8;
    background: linear-gradient(160deg, rgba(var(--ntx-accent-rgb), 0.12) 0%, rgba(var(--ntx-accent-rgb), 0.05) 100%);
    border-color: rgba(var(--ntx-accent-rgb), 0.26);
    box-shadow:
        inset 0 1px 0 rgba(var(--ntx-accent-rgb), 0.10),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.5),
        0 0 12px rgba(var(--ntx-accent-rgb), 0.08);
    text-shadow: 0 0 10px rgba(var(--ntx-accent-rgb), 0.25);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   NAV BAR
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ntx-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1.5rem;
    margin: 1.25rem auto;
    width: 95%;
    max-width: 1000px;
    border-radius: var(--ntx-radius-sm);
    position: sticky;
    top: 1.5rem;
    z-index: 100;
    background: linear-gradient(180deg, #161618 0%, #0e0e10 100%);
    border: 1px solid #2a2a30;
    border-top-color: #3a3a42;
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.70),
        0 8px 32px rgba(0, 0, 0, 0.65);
}

.ntx-nav-link {
    font-size: 11px;
    font-weight: 600;
    color: var(--ntx-text-lo);
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.15s;
}

.ntx-nav-link:hover {
    color: var(--ntx-text-hi);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   POPUP / CONTEXT MENU
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ntx-menu {
    position: absolute;
    z-index: 9999;
    min-width: 180px;
    background: rgba(12, 12, 14, 0.98);
    backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(var(--ntx-accent-rgb), 0.12);
    border-radius: var(--ntx-radius);
    padding: 0.35rem;
    box-shadow:
        0 24px 48px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(var(--ntx-accent-rgb), 0.05);
    animation: ntx-menu-appear 0.18s var(--ntx-ease-out);
}

@keyframes ntx-menu-appear {
    from { opacity: 0; transform: scale(0.96) translateY(-4px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.ntx-menu-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    background: transparent;
    border: none;
    border-radius: var(--ntx-radius-sm);
    color: var(--ntx-text-md);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    text-align: left;
    font-family: inherit;
}

.ntx-menu-item:hover {
    background: rgba(var(--ntx-accent-rgb), 0.06);
    color: var(--ntx-text-hi);
}

.ntx-menu-divider {
    height: 1px;
    background: rgba(var(--ntx-accent-rgb), 0.07);
    margin: 0.3rem 0;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   SCROLLBAR
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--ntx-accent-rgb), 0.14);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--ntx-accent-rgb), 0.26);
}

.ntx-no-scrollbar {
    scrollbar-width: none;
}
.ntx-no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   SELECTION
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
::selection {
    background: rgba(var(--ntx-accent-rgb), 0.20);
    color: inherit;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DARK FANTASY THEME
   Opt-in: add class="fantasy-ii" to <html> to activate.
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

html.fantasy-ii {
    --ntx-accent-rgb:    196, 136, 80;
    --ntx-accent:        rgb(196, 136, 80);

    --ntx-bg:            #050304;
    --ntx-surface-0:     #0a0806;
    --ntx-surface-1:     #110a08;
    --ntx-surface-2:     #1c1410;
    --ntx-surface-3:     #281810;

    --ntx-text-hi:       #d1beaa;
    --ntx-text-md:       #b8a898;
    --ntx-text-lo:       #9c8a7c;
    --ntx-text-dim:      #6b5444;
}

html.fantasy-ii body {
    background: #050304 !important;
    color: #b8a898 !important;
}

html.fantasy-ii .ntx-root,
html.fantasy-ii .ntx-root * {
    font-family: 'Cinzel', 'Times New Roman', serif !important;
}

html.fantasy-ii .ntx-atmosphere::before {
    background:
        radial-gradient(circle at 50% 0%,  rgba(180, 50, 10, 0.25), transparent 60%),
        radial-gradient(circle at 50% 70%, rgba(140, 30,  5, 0.15), transparent 50%),
        #050304;
}

/* â”€â”€ Panel â”€â”€ */
html.fantasy-ii .ntx-panel {
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E"),
        linear-gradient(180deg, #211816 0%, #130f0d 100%);
    background-size: 180px 180px, 100% 100%;
    border: 1px solid #4a3228;
    border-top: 2px solid #7a5f48;
    overflow: visible;
}

html.fantasy-ii .ntx-panel::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 26px; height: 26px;
    border-top:  2px solid rgba(196, 136, 80, 0.95);
    border-left: 2px solid rgba(196, 136, 80, 0.95);
    border-radius: 6px 0 0 0;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 6px rgba(196, 136, 80, 0.60));
}

html.fantasy-ii .ntx-panel::after {
    content: '';
    position: absolute;
    inset: auto;
    bottom: -1px; right: -1px;
    top: auto; left: auto;
    width: 26px; height: 26px;
    border-radius: 0 0 6px 0;
    border-bottom: 2px solid rgba(196, 136, 80, 0.95);
    border-right:  2px solid rgba(196, 136, 80, 0.95);
    border-top: none; border-left: none;
    background-image: none;
    background-size: auto;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 6px rgba(196, 136, 80, 0.60));
}

/* â”€â”€ Card â”€â”€ */
html.fantasy-ii .ntx-card {
    background: linear-gradient(180deg, #211816 0%, #130f0d 100%);
    border: 1px solid #4a3228;
    border-top: 2px solid #7a5f48;
}

html.fantasy-ii .ntx-card:hover {
    background: linear-gradient(180deg, #2a1e1a 0%, #181008 100%);
    border-color: rgba(196, 136, 80, 0.35);
    border-top-color: rgba(196, 136, 80, 0.55);
}

/* â”€â”€ Button â”€â”€ */
html.fantasy-ii .ntx-btn,
html.fantasy-ii .ntx-btn--ghost {
    background: linear-gradient(180deg, #211816 0%, #130f0d 100%);
    border: 1px solid #4a3228;
    color: #6b5444;
    box-shadow: inset 0 1px 0 rgba(196,136,80,0.03), 0 2px 6px rgba(0,0,0,0.5);
}

html.fantasy-ii .ntx-btn:hover,
html.fantasy-ii .ntx-btn--ghost:hover {
    background: linear-gradient(180deg, #2a1e1a 0%, #181008 100%);
    border-color: rgba(196, 136, 80, 0.45);
    color: #d1beaa;
    box-shadow: inset 0 1px 0 rgba(196,136,80,0.10), 0 4px 12px rgba(0,0,0,0.6);
}

/* â”€â”€ Input â”€â”€ */
html.fantasy-ii .ntx-input {
    background: linear-gradient(180deg, #1a100a 0%, #110a06 100%);
    border: 1px solid #4a3228;
    color: #d1beaa;
}

html.fantasy-ii .ntx-input::placeholder {
    color: #6b5444;
}

html.fantasy-ii .ntx-input:focus {
    border-color: rgba(196, 136, 80, 0.55);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.60), 0 0 0 2px rgba(196,136,80,0.10);
}

/* â”€â”€ Dropdown â”€â”€ */
html.fantasy-ii .ntx-dropdown-btn {
    background: linear-gradient(180deg, #1a100a 0%, #110a06 100%);
    border: 1px solid #4a3228;
    color: #b8a898;
}

html.fantasy-ii .ntx-dropdown-btn:hover {
    background: linear-gradient(180deg, #241610 0%, #18100c 100%);
    border-color: rgba(196, 136, 80, 0.40);
    color: #d1beaa;
}

html.fantasy-ii .ntx-dropdown-list {
    background: linear-gradient(180deg, #1c1410 0%, #110a08 100%);
    border: 1px solid #4a3228;
}

html.fantasy-ii .ntx-dropdown-opt--active,
html.fantasy-ii .ntx-dropdown-opt[aria-selected="true"] {
    color: rgb(196, 136, 80);
}

/* â”€â”€ Tab bar â”€â”€ */
html.fantasy-ii .ntx-tab-bar {
    background: linear-gradient(180deg, #1a1210 0%, #100c08 100%);
    border: 1px solid #4a3228;
}

html.fantasy-ii .ntx-tab {
    color: #6b5444;
}

html.fantasy-ii .ntx-tab:hover {
    color: #b8a898;
    background: rgba(196, 136, 80, 0.06);
    border-color: rgba(196, 136, 80, 0.14);
}

html.fantasy-ii .ntx-tab--active {
    color: #d1beaa;
    background: linear-gradient(160deg, rgba(196, 136, 80, 0.12) 0%, rgba(20, 8, 8, 0.20) 100%);
    border-color: rgba(196, 136, 80, 0.28);
    text-shadow: 0 0 12px rgba(196, 136, 80, 0.45), 0 1px 3px rgba(0,0,0,0.9);
    box-shadow:
        inset 0 1px 0 rgba(196, 136, 80, 0.10),
        inset 0 -1px 0 rgba(0,0,0,0.5),
        0 4px 16px rgba(0,0,0,0.5),
        0 0 12px rgba(196, 136, 80, 0.08);
}

/* â”€â”€ Nav bar â”€â”€ */
html.fantasy-ii .ntx-nav {
    background: linear-gradient(180deg, #1e1612 0%, #120e0a 100%);
    border: 1px solid #4a3228;
    border-top-color: #7a5f48;
}

html.fantasy-ii .ntx-nav-link:hover {
    color: #f0c080;
    text-shadow: 0 0 8px rgba(240, 190, 120, 0.40);
}

/* â”€â”€ Context menu â”€â”€ */
html.fantasy-ii .ntx-menu {
    background: rgba(28, 20, 16, 0.98);
    border-color: #4a3228;
}

html.fantasy-ii .ntx-menu-item:hover {
    background: rgba(196, 136, 80, 0.09);
    color: #d1beaa;
}

/* â”€â”€ Scrollbar â”€â”€ */
html.fantasy-ii ::-webkit-scrollbar-thumb {
    background: rgba(120, 80, 50, 0.50);
}

html.fantasy-ii ::-webkit-scrollbar-track {
    background: rgba(8, 5, 3, 0.80);
}

/* â”€â”€ Watch page: episode/season buttons â”€â”€ */
html.fantasy-ii .episode-btn,
html.fantasy-ii .season-btn {
    background: linear-gradient(180deg, #1c130a 0%, #110d06 100%);
    border-color: #3d2e1c;
    color: #8a7060;
}
html.fantasy-ii .episode-btn:hover,
html.fantasy-ii .season-btn:hover {
    border-color: #c49060;
    color: #e8c898;
    background: linear-gradient(180deg, #261a0e 0%, #1a1008 100%);
}
html.fantasy-ii .episode-btn.active,
html.fantasy-ii .season-btn.active {
    background: linear-gradient(160deg, #2a1c0e 0%, #1a1008 100%);
    border-color: rgba(196,144,80,0.5);
    color: #e8c898;
    box-shadow: inset 0 1px 0 rgba(196,144,80,0.1), 0 4px 12px rgba(0,0,0,0.6);
}

/* â”€â”€ Watch page: source dropdown â”€â”€ */
html.fantasy-ii .source-menu {
    background: linear-gradient(180deg, #1c130a 0%, #110d06 100%);
    border-color: #3d2e1c;
}

/* â”€â”€ Episode badge (Continue Watching) â”€â”€ */
html.fantasy-ii .episode-badge {
    background: rgba(40, 22, 8, 0.85);
    color: #c49060;
    border: 1px solid rgba(196, 144, 80, 0.25);
}

/* â”€â”€ Featured badge â”€â”€ */
html.fantasy-ii .featured-badge {
    background: linear-gradient(180deg, #1c130a 0%, #110d06 100%);
    border-color: #3d2e1c;
    color: #8a6040;
}

/* â”€â”€ Genre pills â”€â”€ */
html.fantasy-ii .genre-pill {
    color: #8a6040;
    border-color: #3d2e1c;
    background: rgba(60,35,15,0.4);
}
html.fantasy-ii .genre-pill:hover {
    color: #e8c898;
    border-color: #c49060;
    background: rgba(80,50,20,0.5);
}

/* â”€â”€ Selection â”€â”€ */
html.fantasy-ii ::selection {
    background: rgba(196, 136, 80, 0.28);
    color: #ebd2be;
}



/* ─────────────────────────────────────────────────────────────────────────
   NTX LOADER
   Auto-injected and dismissed by ntx-scroll.js / ntx-scroll.ts.
   Drop <div id="ntx-loader"></div> manually if not using ntx-scroll,
   then call ntxLoaderDismiss() when ready.
───────────────────────────────────────────────────────────────────────── */
#ntx-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 0%,  rgba(100, 100, 120, 0.18), transparent 60%),
        radial-gradient(circle at 50% 70%, rgba(80,  80,  100, 0.10), transparent 50%),
        #030303;
    transition: opacity 0.5s ease;
}

#ntx-loader::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 120px 120px;
    pointer-events: none;
}

.ntx-loader-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(6px);
    animation: ntx-loader-brand-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.ntx-loader-brand img {
    height: 42px;
    width: 42px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.ntx-loader-brand span {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #d8d8d8;
}

.ntx-loader-bar-wrap {
    position: relative;
    z-index: 1;
    width: 180px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 2px;
    overflow: hidden;
}

.ntx-loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.85), rgba(255,255,255,0.3));
    border-radius: 2px;
    transition: width 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes ntx-loader-brand-in {
    to { opacity: 1; transform: translateY(0); }
}

html.fantasy-ii #ntx-loader {
    background:
        radial-gradient(circle at 50% 0%,  rgba(120, 80, 40, 0.20), transparent 60%),
        radial-gradient(circle at 50% 70%, rgba(90,  60, 30, 0.12), transparent 50%),
        #050304;
}

html.fantasy-ii .ntx-loader-bar {
    background: linear-gradient(90deg, rgba(196,136,80,0.4), rgba(196,136,80,0.9), rgba(196,136,80,0.4));
}

