/* =========================
🎨 ПЕРЕМЕННЫЕ (цвета/тени)
========================= */
:root {
--bg: #0b0b0b;
--panel: #121212;
--panel-2: #171717;
--border: #262626;
--text: #eaeaea;
--muted: #a3a3a3;


--accent: #ff2c2c;
--accent-2: #ff4545;

--green: #4caf50;

--radius: 14px;
--radius-sm: 10px;

--shadow-1: 0 8px 30px rgba(0,0,0,.35);
--shadow-2: 0 12px 40px rgba(0,0,0,.45);
--glow: 0 0 0 1px rgba(255,44,44,.25), 0 10px 30px rgba(255,44,44,.12);


}

/* =========================
🌑 БАЗА
========================= */

* { box-sizing: border-box; }

html, body {
margin: 0;
padding: 0;
background: radial-gradient(1200px 600px at 80% -10%, rgba(255,44,44,.08), transparent 60%),
radial-gradient(900px 500px at -10% 20%, rgba(255,44,44,.06), transparent 60%),
var(--bg);
color: var(--text);
font-family: Inter, Arial, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
transition:
    background 0.25s ease,
    color 0.25s ease;
}

#app {
min-height: 100vh;
}

/* =========================
🔝 TOP BAR
========================= */
.top-bar {
position: sticky;
top: 0;
z-index: 10;


display: flex;
align-items: center;
justify-content: space-between;

padding: 14px 18px;
background: linear-gradient(180deg, rgba(18,18,18,.95), rgba(18,18,18,.85));
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
box-shadow: var(--shadow-1);


}

/* =========================
🚗 LOGO
========================= */

.logo {


display: flex;
align-items: center;

height: 44px;


}

/* image */
.logo img {


height: 50px;

object-fit: contain;

user-select: none;

pointer-events: none;


}


.player-info {
display: flex;
align-items: center;
gap: 14px;
}

.money {
color: var(--green);
font-weight: 700;
}

.level {
color: var(--muted);
font-size: 13px;
}

.username {
padding: 6px 10px;
background: rgba(255,255,255,.04);
border: 1px solid var(--border);
border-radius: 999px;
font-weight: 600;
}

/* =========================
🧱 MAIN / PAGE
========================= */
.main {
padding: 22px;
padding-bottom: 90px; /* чтобы не перекрывалось меню */
}

.page {
max-width: 980px;
margin: 0 auto;
}

.page-title {
margin: 0 0 16px;
font-size: 20px;
font-weight: 800;
letter-spacing: .4px;
color: var(--accent);
}

/* =========================
📦 CARD
========================= */
.card {
position: relative;
background: linear-gradient(180deg, rgba(23,23,23,.9), rgba(18,18,18,.95));
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 16px;
box-shadow: var(--shadow-1);
transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-2);
border-color: rgba(255,44,44,.25);
}

/* лёгкая подсветка по краю */
.card::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
pointer-events: none;
box-shadow: var(--glow);
opacity: .35;
}

/* =========================
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 8px;

    cursor: pointer;

    transition: 0.25s ease;

    overflow: hidden;
}

/* угол как на скриншоте */
.menu-tab::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            transparent 0%,
            transparent 12%,
            rgba(255,255,255,0.02) 12%,
            rgba(255,255,255,0.02) 100%
        );

    pointer-events: none;
}

/* иконка */
.menu-tab i {
    font-size: 22px;

    transition: 0.25s ease;
}

/* текст */
.menu-tab span {
    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.5px;
}

/* hover */
.menu-tab:hover {
    color: #ffffff;

    background:
        linear-gradient(
            180deg,
            rgba(255,44,44,0.06),
            rgba(255,44,44,0.02)
        );
}

/* hover icon */
.menu-tab:hover i {
    transform: translateY(-2px);
}

/* =========================
   🔴 ACTIVE TAB
========================= */

.menu-tab.active {
    color: #ff2c2c;

    background:
        linear-gradient(
            180deg,
            rgba(255,44,44,0.14),
            rgba(255,44,44,0.03)
        );
}

/* нижняя красная линия */
.menu-tab.active::after {
    content: "";

    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 0;

    height: 3px;

    border-radius: 999px;

    background: #ff2c2c;

    box-shadow:
        0 0 12px rgba(255,44,44,0.7);
}

/* =========================
🔐 AUTH
========================= */
.auth-box {
width: min(360px, 92%);
margin: 110px auto;
padding: 22px;


background: linear-gradient(180deg, rgba(23,23,23,.92), rgba(18,18,18,.96));
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow-2);


}

.auth-title {
text-align: center;
font-weight: 900;
letter-spacing: .6px;
margin-bottom: 14px;
color: var(--accent);
}

/* =========================
🔤 INPUT
========================= */
.input {
width: 100%;
margin-top: 10px;
padding: 12px 12px;


background: var(--panel-2);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text);

outline: none;
transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;


}

.input::placeholder {
color: #6b6b6b;
}

.input:focus {
border-color: rgba(255,44,44,.6);
box-shadow: 0 0 0 3px rgba(255,44,44,.15);
background: #1a1a1a;
}

/* =========================
🔘 BUTTONS
========================= */
.btn-primary,
.btn-secondary {
width: 100%;
margin-top: 10px;
padding: 12px 12px;


border-radius: var(--radius-sm);
border: 1px solid transparent;
font-weight: 800;
letter-spacing: .3px;
cursor: pointer;

transition: transform .06s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;


}

.btn-primary {
background: linear-gradient(180deg, var(--accent), #e21f1f);
color: #fff;
box-shadow: 0 10px 25px rgba(255,44,44,.25);
}

.btn-primary:hover {
background: linear-gradient(180deg, var(--accent-2), #ff2c2c);
box-shadow: 0 14px 30px rgba(255,44,44,.35);
}

.btn-primary:active {
transform: translateY(1px);
}

.btn-secondary {
background: var(--panel);
color: var(--text);
border-color: var(--border);
}

.btn-secondary:hover {
background: #1a1a1a;
border-color: rgba(255,44,44,.35);
}

/* =========================
✨ МЕЛКИЕ УЛУЧШЕНИЯ
========================= */
hr {
border: none;
height: 1px;
background: var(--border);
margin: 16px 0;
}

small, .muted {
color: var(--muted);
}

/* Скролл (если появится) */
::-webkit-scrollbar {
height: 8px;
width: 8px;
}
::-webkit-scrollbar-thumb {
background: #2a2a2a;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #3a3a3a;
}
::selection {
background: rgba(255,44,44,.35);
}

/* ==================================================
🔔 TOAST
================================================== */

.toast {


position: fixed;

top: 24px;
right: 24px;

display: flex;

align-items: center;

gap: 14px;

min-width: 320px;

padding: 9px 11px;

border-radius: 18px;

backdrop-filter:
    blur(3px);

transform:
    translateX(120%);

opacity: 0;

transition:
    0.3s ease;

z-index: 999999;


}

/* show */
.toast.show {


transform:
    translateX(0);

opacity: 1;


}

/* ==================================================
✅ SUCCESS
================================================== */

.toast-success {


background:
    rgba(18,18,18,0.92);

border:
    1px solid rgba(51,212,91,0.3);


}

/* ==================================================
❌ ERROR
================================================== */

.toast-error {


background:
    rgba(18,18,18,0.92);

border:
    1px solid rgba(255,44,44,0.3);


}

/* ==================================================
🎯 ICON
================================================== */

.toast-icon {


width: 42px;
height: 42px;

border-radius: 50%;

display: flex;

align-items: center;

justify-content: center;

font-size: 18px;

flex-shrink: 0;


}

/* success */
.toast-success .toast-icon {


background:
    rgba(51,212,91,0.16);

color:
    #33d45b;


}

/* error */
.toast-error .toast-icon {


background:
    rgba(255,44,44,0.16);

color:
    #ff2c2c;


}

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

.toast-message {


color: #ffffff;

font-size: 15px;

line-height: 1.5;


}

/* ==================================================
📱 MOBILE
================================================== */

@media (max-width: 600px) {


.toast {

    top: 16px;
    right: 16px;
    left: 16px;

    min-width: auto;
}


}

/* =========================
👤 PROFILE (ЧИСТАЯ ВЕРСИЯ)
========================= */

.player-area {
display: flex;
align-items: center;
gap: 15px;
}

/* блок денег */
.player-stats {
display: flex;
gap: 10px;
align-items: center;
}

/* контейнер профиля */
.profile-menu {
position: relative;
padding-bottom: 10px; /* создаём hover-зону вниз */
}

/* кнопка профиля */
.profile-trigger {
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
}

/* =========================
👤 HEADER AVATAR
========================= */

.avatar {
width: 42px;
height: 42px;


min-width: 42px;
min-height: 42px;

border-radius: 50%;

border: 2px solid #ff2c2c;

background-color: #1a1a1a;

/* изображение */
background-size: cover;
background-position: center center;
background-repeat: no-repeat;

/* центрирование */
display: flex;
align-items: center;
justify-content: center;

overflow: hidden;

box-sizing: border-box;


}


/* имя */
.profile-trigger .username {
font-weight: 600;
}

/* =========================
📂 DROPDOWN
========================= */
.profile-dropdown {
position: absolute;
top: 100%;
right: 0;


background: #111;
border: 1px solid #222;
border-radius: 10px;

min-width: 160px;
overflow: hidden;

opacity: 0;
transform: translateY(10px);
pointer-events: none;

transition: 0.25s ease;


}

/* hover работает на ВСЮ область */
.profile-menu:hover .profile-dropdown {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
}

/* пункты */
.dropdown-item {
padding: 12px;
cursor: pointer;
transition: 0.2s;
}

.dropdown-item:hover {
background: #ff2c2c;
}

/* =========================
👤 PROFILE AVATAR
========================= */

.profile-avatar-wrapper {
cursor: pointer;
}

/* большой аватар */
.profile-avatar {
width: 100px;
height: 100px;


border-radius: 50%;

border: 3px solid #ff2c2c;

background: #1a1a1a;

background-size: cover;
background-position: center;


}

/* hover */
.profile-avatar:hover {
opacity: 0.8;
}

/* =========================
👤 PROFILE PAGE
========================= */

.profile-card {
margin-bottom: 20px;
}

.profile-header {
display: flex;
align-items: center;
gap: 20px;
}

/* avatar */
.profile-avatar-wrapper {
cursor: pointer;
}

.profile-avatar {
width: 100px;
height: 100px;

.avatar,
.profile-avatar {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

border-radius: 50%;

border: 3px solid #ff2c2c;

background: #1a1a1a;

background-size: cover;
background-position: center;


}

/* name */
.profile-name {
font-size: 24px;
font-weight: bold;
}

/* =========================
📅 MODERN DATE PICKER
========================= */

.date-input-wrapper {
position: relative;
margin-top: 12px;
}

/* icon */
.date-icon {
position: absolute;


left: 16px;
top: 50%;

transform: translateY(-50%);

color: #ff2c2c;

font-size: 14px;

pointer-events: none;

z-index: 2;


}

/* input */
.date-input {
width: 100%;
height: 52px;


padding-left: 46px;
padding-right: 14px;

background:
    linear-gradient(
        180deg,
        #1a1a1a,
        #151515
    );

border: 1px solid #2a2a2a;
border-radius: 14px;

color: #fff;

font-size: 14px;
font-weight: 500;

outline: none;

transition: 0.25s ease;

box-sizing: border-box;


}

/* hover */
.date-input:hover {
border-color: #ff2c2c;
}

/* focus */
.date-input:focus {


border-color: #ff2c2c;

box-shadow:
    0 0 0 3px rgba(255,44,44,0.12),
    0 10px 30px rgba(255,44,44,0.08);


}

/* picker icon */
.date-input::-webkit-calendar-picker-indicator {


opacity: 0;

position: absolute;

right: 0;

width: 100%;
height: 100%;

cursor: pointer;


}

/* text */
.date-input::-webkit-datetime-edit {
color: #fff;
}

/* placeholder */
.date-input::-webkit-datetime-edit-fields-wrapper {
color: #fff;
}

/* =========================
🎨 ICON INPUTS
========================= */

.input-wrapper {
position: relative;
margin-top: 12px;
}

/* icon */
.input-icon {
position: absolute;


left: 16px;
top: 50%;

transform: translateY(-50%);

color: #ff2c2c;

font-size: 14px;

z-index: 2;


}

/* input */
.input-modern {
width: 100%;
height: 52px;


padding-left: 46px;
padding-right: 14px;

background:
    linear-gradient(
        180deg,
        #1a1a1a,
        #151515
    );

border: 1px solid #2a2a2a;
border-radius: 14px;

color: #fff;

font-size: 14px;
font-weight: 500;

outline: none;

transition: 0.25s ease;

box-sizing: border-box;


}

/* hover */
.input-modern:hover {
border-color: #ff2c2c;
}

/* focus */
.input-modern:focus {


border-color: #ff2c2c;

box-shadow:
    0 0 0 3px rgba(255,44,44,0.12),
    0 10px 30px rgba(255,44,44,0.08);


}

/* =========================
🔐 AUTH ANIMATIONS
========================= */

/* контейнер */
.auth-container {
width: 100%;
display: flex;
justify-content: center;
}

/* окно */
.auth-box {
width: 420px;


background:
    linear-gradient(
        180deg,
        rgba(20,20,20,0.98),
        rgba(15,15,15,0.98)
    );

border: 1px solid #2a2a2a;
border-radius: 24px;

padding: 30px;

box-shadow:
    0 20px 60px rgba(0,0,0,0.45);

animation:
    authShow 0.35s ease;


}

/* title */
.auth-title {
font-size: 28px;
font-weight: 800;


text-align: center;

margin-bottom: 25px;

color: #ff2c2c;


}

/* footer */
.auth-switch {
margin-top: 18px;


text-align: center;

color: #999;

font-size: 14px;


}

/* button switch */
.auth-link {
color: #ff2c2c;


cursor: pointer;

font-weight: 600;

transition: 0.2s;


}

.auth-link:hover {
opacity: 0.8;
}

/* animation */
@keyframes authShow {


from {
    opacity: 0;
    transform:
        translateY(20px)
        scale(0.97);
}

to {
    opacity: 1;
    transform:
        translateY(0)
        scale(1);
}


}


/* =========================
📊 PLAYER HUD
========================= */

.player-hud {
display: flex;
align-items: center;
gap: 14px;
}

/* card */
.hud-card {
display: flex;
align-items: center;
gap: 12px;


min-width: 170px;

padding: 12px 16px;

background:
    linear-gradient(
        180deg,
        rgba(25,25,25,0.98),
        rgba(18,18,18,0.98)
    );

border: 1px solid #2a2a2a;
border-radius: 16px;

box-shadow:
    0 10px 30px rgba(0,0,0,0.25);

transition: 0.25s ease;


}

/* hover */
.hud-card:hover {


transform: translateY(-2px);

border-color: #ff2c2c;

box-shadow:
    0 15px 35px rgba(255,44,44,0.12);


}

/* icon */
.hud-icon {
width: 42px;
height: 42px;


border-radius: 12px;

display: flex;
align-items: center;
justify-content: center;

font-size: 16px;


}

/* money */
.money-icon {
background:
rgba(76,175,80,0.15);


color: #4caf50;


}

/* level */
.level-icon {
background:
rgba(255,44,44,0.15);


color: #ff2c2c;


}

/* info */
.hud-info {
flex: 1;
}

/* label */
.hud-label {
font-size: 11px;


color: #777;

letter-spacing: 1px;

margin-bottom: 4px;


}

/* value */
.hud-value {
font-size: 16px;
font-weight: 700;


color: #fff;


}

/* money text */
.money {
color: #4caf50;
}

/* =========================
⭐ XP BAR
========================= */

.xp-bar {
width: 100%;
height: 6px;


margin-top: 8px;

background: #111;

border-radius: 999px;

overflow: hidden;


}

/* fill */
.xp-fill {
height: 100%;


background:
    linear-gradient(
        90deg,
        #ff2c2c,
        #ff5e5e
    );

border-radius: 999px;


}

/* =========================
🧭 HEADER NAVIGATION
========================= */

.header-nav {


display: flex;
align-items: center;

gap: 8px;

margin-left: 70px;


}

/* =========================
🔘 NAV TAB
========================= */

.nav-tab {


position: relative;

width: 120px;
height: 78px;

display: flex;
flex-direction: column;

align-items: center;
justify-content: center;

gap: 8px;

color: #737373;

cursor: pointer;

transition: 0.22s ease;

overflow: hidden;


}

/* angled shape */
.nav-tab::before {


content: "";

position: absolute;

top: 0;
right: -32px;

width: 100%;
height: 100%;

background:
    linear-gradient(
        135deg,
        transparent 0%,
        transparent 52%,
        rgba(255,255,255,0.025) 52%,
        rgba(255,255,255,0.025) 100%
    );

transform: skewX(-28deg);

pointer-events: none;


}

/* separator */
.nav-tab:not(:last-child)::after {


content: "";

position: absolute;

top: 14px;
right: 0;

width: 1px;
height: 48px;

background:
    linear-gradient(
        180deg,
        transparent,
        rgba(255,255,255,0.06),
        transparent
    );


}

/* icon */
.nav-tab i {


font-size: 20px;

transition: 0.22s ease;


}

/* text */
.nav-tab span {


font-size: 12px;
font-weight: 700;

letter-spacing: 0.5px;


}

/* hover */
.nav-tab:hover {


color: #ffffff;


}

/* hover icon */
.nav-tab:hover i {


transform:
    translateY(-2px);


}

/* =========================
🔴 ACTIVE
========================= */

.nav-tab.active {


color: #ff2c2c;

background:
    linear-gradient(
        180deg,
        rgba(255,44,44,0.14),
        rgba(255,44,44,0.03)
    );


}

/* glow */
.nav-tab.active i {


text-shadow:
    0 0 12px rgba(255,44,44,0.45);


}

/* line */
.nav-line {


position: absolute;

left: 10px;
right: 10px;
bottom: 0;

height: 3px;

border-radius: 999px;

background: #ff2c2c;

box-shadow:
    0 0 10px rgba(255,44,44,0.9);

opacity: 0;

transition: 0.22s ease;


}

/* active line */
.nav-tab.active .nav-line {


opacity: 1;


}


/* =========================
🪙 GOLD
========================= */

.hud-gold {


margin-top: 6px;

display: flex;
align-items: center;

gap: 6px;

font-size: 12px;
font-weight: 700;

color: #f7c948;

text-shadow:
    0 0 10px rgba(247,201,72,0.35);


}

/* icon */
.hud-gold i {
font-size: 11px;
}


/* =========================
🎨 THEME SWITCHER
========================= */

.theme-switcher {
display: flex;
gap: 12px;


margin-top: 18px;


}

/* card */
.theme-card {
flex: 1;


height: 90px;

display: flex;
flex-direction: column;

align-items: center;
justify-content: center;

gap: 10px;

border-radius: 16px;

background:
    linear-gradient(
        180deg,
        #1a1a1a,
        #151515
    );

border: 1px solid #2a2a2a;

cursor: pointer;

transition: 0.25s ease;


}

/* icon */
.theme-card i {
font-size: 24px;
}

/* hover */
.theme-card:hover {


border-color: #ff2c2c;

transform: translateY(-2px);


}

/* active */
.active-theme {


border-color: #ff2c2c;

box-shadow:
    0 0 20px rgba(255,44,44,0.15);


}

/* =========================
🌑 DARK
========================= */

.theme-dark {
background:
linear-gradient(
180deg,
#080808,
#111111
);


color: #ffffff;


}

/* =========================
☀️ LIGHT THEME
========================= */

.theme-light {
background:
linear-gradient(
180deg,
#ececec,
#dddddd
);


color: #111111;


}

/* body */
.theme-light body {
color: #111111;
}

/* =========================
🔝 HEADER
========================= */

.theme-light .top-bar {


background:
    linear-gradient(
        180deg,
        rgba(255,255,255,0.96),
        rgba(240,240,240,0.96)
    );

border-bottom:
    1px solid #d5d5d5;


}

/* logo */
.theme-light .logo {
color: #ff2c2c;
}

/* =========================
📊 HUD
========================= */

.theme-light .hud-card {


background:
    linear-gradient(
        180deg,
        #ffffff,
        #f3f3f3
    );

border:
    1px solid #dddddd;

box-shadow:
    0 10px 25px rgba(0,0,0,0.08);


}

/* labels */
.theme-light .hud-label {
color: #666666;
}

/* value */
.theme-light .hud-value {
color: #111111;
}

/* =========================
👤 USERNAME
========================= */

.theme-light .username {


background:
    linear-gradient(
        180deg,
        #ffffff,
        #f0f0f0
    );

color: #111111;

border:
    1px solid #dddddd;


}

/* =========================
📦 CARDS
========================= */

.theme-light .card {


background:
    linear-gradient(
        180deg,
        #ffffff,
        #f7f7f7
    );

border:
    1px solid #dddddd;

box-shadow:
    0 10px 30px rgba(0,0,0,0.08);


}

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

.theme-light .input-modern,
.theme-light .date-input {


background:
    linear-gradient(
        180deg,
        #ffffff,
        #f6f6f6
    );

border:
    1px solid #d8d8d8;

color: #111111;


}

/* placeholder */
.theme-light .input-modern::placeholder {
color: #888888;
}

/* =========================
🔻 MENU
========================= */

.theme-light .game-menu {


background:
    linear-gradient(
        180deg,
        rgba(255,255,255,0.98),
        rgba(240,240,240,0.98)
    );

border-top:
    1px solid #d8d8d8;


}

/* tab */
.theme-light .game-tab {
color: #666666;
}

/* hover */
.theme-light .game-tab:hover {
color: #111111;
}

/* active */
.theme-light .game-tab.active {
color: #ff2c2c;
}

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

.theme-light .page-title {
color: #ff2c2c;
}

/* muted */
.theme-light .muted {
color: #777777;
}

/* =========================
☀️ LIGHT THEME
========================= */

.theme-light {
filter: brightness(1.08);
}

/* =========================
☀️ LIGHT THEME FIXES
========================= */

/* =========================
👤 PROFILE DROPDOWN
========================= */

.theme-light .profile-dropdown {


background:
    linear-gradient(
        180deg,
        #ffffff,
        #f3f3f3
    );

border:
    1px solid #dddddd;

box-shadow:
    0 10px 30px rgba(0,0,0,0.08);


}

/* dropdown items */
.theme-light .profile-dropdown a,
.theme-light .profile-dropdown button,
.theme-light .profile-dropdown div {


color: #111111;


}

/* hover */
.theme-light .profile-dropdown a:hover,
.theme-light .profile-dropdown button:hover {


background:
    rgba(0,0,0,0.04);


}

/* =========================
🎨 THEME SWITCHER
========================= */

.theme-light .theme-card {


background:
    linear-gradient(
        180deg,
        #ffffff,
        #f5f5f5
    );

border:
    1px solid #dcdcdc;

color: #111111;


}

/* icons */
.theme-light .theme-card i {
color: #111111;
}

/* active */
.theme-light .active-theme {


border-color: #ff2c2c;

box-shadow:
    0 0 18px rgba(255,44,44,0.15);


}

/* =========================
📅 DATE PICKER
========================= */

.theme-light .date-input {

    /* =========================
    📅 DATE TEXT FIX
    ========================= */

    /* text wrapper */
    .theme-light .date-input::-webkit-datetime-edit {
    color: #111111;
    }

    /* year */
    .theme-light .date-input::-webkit-datetime-edit-year-field {
    color: #111111;
    }

    /* month */
    .theme-light .date-input::-webkit-datetime-edit-month-field {
    color: #111111;
    }

    /* day */
    .theme-light .date-input::-webkit-datetime-edit-day-field {
    color: #111111;
    }

    /* separators */
    .theme-light .date-input::-webkit-datetime-edit-text {
    color: #555555;
    }

    /* calendar icon */
    .theme-light .date-input::-webkit-calendar-picker-indicator {


    filter: invert(0);

    opacity: 0.7;

    cursor: pointer;


    }


background:
    linear-gradient(
        180deg,
        #ffffff,
        #f5f5f5
    );

border:
    1px solid #d8d8d8;

color: #111111;


}

/* icon */
.theme-light .date-icon {
color: #ff2c2c;
}

/* text */
.theme-light .date-input::-webkit-datetime-edit {
color: #111111;
}

/* calendar icon */
.theme-light .date-input::-webkit-calendar-picker-indicator {
filter: invert(0);
}

/* ==================================================
📱 TABLET RESPONSIVE
================================================== */

@media (max-width: 1200px) {


/* nav */
.header-nav {

    margin-left: 30px;

    gap: 4px;
}

/* tabs */
.nav-tab {

    width: 95px;
    height: 72px;
}

/* HUD */
.player-hud {

    gap: 8px;
}

/* cards */
.hud-card {

    min-width: 130px;

    padding: 10px 14px;
}

/* username */
.username {

    max-width: 140px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


}

/* ==================================================
📱 MOBILE
================================================== */

@media (max-width: 900px) {


/* header */
.top-bar {

    height: auto;

    padding:
        12px 14px;

    flex-wrap: wrap;

    gap: 12px;
}

/* logo */
.logo {

    width: 100%;

    justify-content: center;
}

/* navigation */
.header-nav {

    width: 100%;

    margin-left: 0;

    justify-content: center;

    flex-wrap: wrap;
}

/* nav tabs */
.nav-tab {

    width: 82px;
    height: 68px;
}

/* nav icon */
.nav-tab i {

    font-size: 18px;
}

/* nav text */
.nav-tab span {

    font-size: 10px;
}

/* right side */
.header-right {

    width: 100%;

    justify-content: center;

    flex-wrap: wrap;
}

/* HUD */
.player-hud {

    justify-content: center;

    flex-wrap: wrap;
}

/* content */
.main-content {

    padding-top: 240px;
}

/* cards */
.card,
.profile-card {

    padding: 18px;
}

/* auth */
.auth-box {

    width: 95%;
}


}

/* ==================================================
📱 SMALL MOBILE
================================================== */

@media (max-width: 600px) {


/* top bar */
.top-bar {

    padding:
        10px;
}

/* logo */
.logo img {

    height: 28px;
}

/* nav */
.header-nav {

    gap: 2px;
}

/* tabs */
.nav-tab {

    width: 70px;
    height: 60px;

    gap: 5px;
}

/* icons */
.nav-tab i {

    font-size: 16px;
}

/* text */
.nav-tab span {

    font-size: 9px;
}

/* hud */
.hud-card {

    min-width: unset;

    width: 100%;
}

/* profile */
.profile-header {

    flex-direction: column;

    text-align: center;
}

/* avatar */
.profile-avatar {

    width: 80px;
    height: 80px;
}

/* content */
.main-content {

    padding:
        250px 12px 20px;
}

/* buttons */
.btn-primary,
.btn-secondary {

    height: 48px;

    font-size: 14px;
}

/* inputs */
.input-modern,
.date-input {

    height: 48px;

    font-size: 14px;
}

/* theme switcher */
.theme-switcher {

    flex-direction: column;
}


}

/* ==================================================
📱 MOBILE UI FIX
================================================== */

@media (max-width: 600px) {


/* =========================
   🔝 HEADER
========================= */

.top-bar {

    padding:
        10px 8px;

    gap: 10px;
}

/* logo */
.logo img {

    height: 24px;
}

/* =========================
   🧭 NAVIGATION
========================= */

.header-nav {

    width: 100%;

    justify-content: center;

    gap: 2px;
}

/* nav tab */
.nav-tab {

    width: 64px;
    height: 58px;

    gap: 4px;
}

/* icon */
.nav-tab i {

    font-size: 14px;
}

/* text */
.nav-tab span {

    font-size: 8px;
}

/* =========================
   📊 HUD
========================= */

.player-hud {

    width: 100%;

    justify-content: center;

    gap: 6px;
}

/* cards */
.hud-card {

    min-width: 115px;

    padding: 8px 10px;
}

/* label */
.hud-label {

    font-size: 9px;
}

/* value */
.hud-value {

    font-size: 14px;
}

/* gold */
.hud-gold {

    font-size: 10px;
}

/* =========================
   👤 HEADER PROFILE
========================= */

/* hide username */
.username {

    display: none;
}

/* avatar */
.header-avatar {

    width: 42px;
    height: 42px;

    min-width: 42px;
}

/* =========================
   📄 CONTENT
========================= */

.main-content {

    padding:
        220px 10px 20px;
}

/* title */
.page-title {

    font-size: 28px;

    text-align: center;
}

/* =========================
   👤 PROFILE CARD
========================= */

.profile-header {

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 14px;
}

/* profile avatar */
.profile-avatar {

    width: 92px;
    height: 92px;
}

/* profile info */
.profile-info {

    width: 100%;
}

/* hide fullname in card */
.profile-fullname {

    font-size: 15px;
}

/* =========================
   📦 CARDS
========================= */

.card,
.profile-card {

    padding: 16px;

    border-radius: 20px;
}

/* =========================
📝 MOBILE INPUTS
========================= */

.input-modern,
.date-input {


height: 46px;

font-size: 16px;


}

/* buttons */
.btn-primary,
.btn-secondary {


height: 46px;

font-size: 16px;


}


/* =========================
   🎨 THEME SWITCH
========================= */

.theme-switcher {

    flex-direction: column;
}

/* theme card */
.theme-card {

    height: 70px;
}


}


/* ==================================================
🚗 FULLSCREEN GARAGE
================================================== */

/* page */
.garage-page {


position: fixed;

top: 92px;
left: 0;

width: 100%;
height: calc(100vh - 92px);

overflow: hidden;

background-image:

    

    url('/assets/images/garage-bg.png');

background-size: cover;

background-position: center;

background-repeat: no-repeat;


}

/* ==================================================
📦 CONTENT
================================================== */

.garage-content {


position: relative;

width: 100%;
height: 100%;

padding: 24px;

z-index: 2;


}

/* ==================================================
🏁 TITLE
================================================== */

.garage-title {


font-size: 42px;
font-weight: 800;

color: #ff2c2c;

letter-spacing: 1px;

margin-bottom: 24px;

text-transform: uppercase;


}

/* ==================================================
🚘 PANEL
================================================== */

.garage-panel {


width: 100%;

min-height: 180px;

border-radius: 24px;

padding: 24px;

background:
    linear-gradient(
        180deg,
        rgba(18,18,18,0.84),
        rgba(10,10,10,0.92)
    );

border:
    1px solid rgba(255,44,44,0.18);

backdrop-filter: blur(6px);

box-shadow:
    0 10px 40px rgba(0,0,0,0.45);


}

/* text */
.garage-panel p {


font-size: 18px;

color: #d6d6d6;


}

/* ==================================================
📱 MOBILE
================================================== */

@media (max-width: 600px) {


/* page */
.garage-page {

    top: 210px;

    height:
        calc(100vh - 210px);
}

/* content */
.garage-content {

    padding: 14px;
}

/* title */
.garage-title {

    font-size: 28px;

    text-align: center;
}

/* panel */
.garage-panel {

    min-height: 140px;

    padding: 16px;

    border-radius: 18px;
}

/* text */
.garage-panel p {

    font-size: 14px;
}


}

/* ==================================================
🚘 GARAGE CAR PREVIEW
================================================== */

.garage-car-preview {


position: relative;

width: 100%;

height: 620px;

display: flex;

align-items: flex-end;

justify-content: center;

overflow: hidden;


}

/* ==================================================
🌑 SHADOW
================================================== */

.garage-car-shadow {


position: absolute;

bottom: 58px;

width: 620px;

height: 42px;

border-radius: 50%;

background:
    rgba(0,0,0,0.72);

filter:
    blur(14px);

opacity: 0.72;


}

/* ==================================================
🚗 CAR
================================================== */

.garage-car {


position: relative;

width: 100%;

max-width: 980px;

height: 420px;

z-index: 2;

filter:
    drop-shadow(
        0 20px 30px rgba(0,0,0,0.35)
    );


}

/* ==================================================
🚘 LAYERS
================================================== */

.garage-car-layer {


position: absolute;

inset: 0;

width: 100%;

height: 100%;

object-fit: contain;

pointer-events: none;

user-select: none;


}

/* ==================================================
📱 MOBILE
================================================== */

@media (max-width: 900px) {


.garage-car-preview {

    height: 420px;
}

.garage-car {

    max-width: 700px;

    height: 320px;
}

.garage-car-shadow {

    width: 420px;

    bottom: 44px;
}


}

@media (max-width: 600px) {


.garage-car-preview {

    height: 320px;
}

.garage-car {

    height: 220px;
}

.garage-car-shadow {

    width: 260px;

    height: 26px;

    bottom: 34px;
}


}


/* ==================================================
🚘 CAR PREVIEW
================================================== */

.car-preview {


position: relative;

width: 100%;

height: 100%;

min-height: 620px;

overflow: hidden;


}

/* ==================================================
🚗 CAR LAYER
================================================== */

.car-layer {


position: absolute;

left: 50%;

bottom: 40px;

transform:
    translateX(-50%);

width: 1000px;

max-width: none;

object-fit: contain;

pointer-events: none;

user-select: none;


}

/* ==================================================
📱 MOBILE CAR
================================================== */

@media (max-width: 900px) {


.car-preview {

    min-height: 420px;
}

.car-layer {

    width: 820px;

    bottom: 20px;
}


}

@media (max-width: 600px) {


.car-preview {

    min-height: 300px;
}

.car-layer {

    width: 560px;

    bottom: 10px;
}


}

/* ==================================================
🌑 CAR SHADOW
================================================== */

.car-shadow {


position: absolute;

left: 50%;

bottom: 52px;

top: 60%;

transform:
    translateX(-50%);

width: 760px;

height: 110px;

border-radius: 50%;

background:
    rgba(0, 0, 0, 0.973);

filter:
    blur(14px);

opacity: 1.72;

z-index: 1;

pointer-events: none;

user-select: none;


}


.car-layer {

    position: absolute;

    left: 50%;

    bottom: 40px;

    transform:
        translateX(-50%);

    width: 1000px;

    z-index: 2;

    pointer-events: none;

    user-select: none;
}

.car-preview {

    position: relative;
}


/* ==================================================
🚗 CAR
================================================== */

@media (max-width: 900px) {


.car-shadow {

    width: 680px;

    bottom: 8px;
}


}

@media (max-width: 600px) {


.car-shadow {

    width: 470px;

    bottom: 4px;
}


}


/* ==================================================
🛒 SHOWROOM
================================================== */

.shop-page {


position: fixed;

top: 92px;
left: 0;

width: 100%;
height: calc(100vh - 92px);

overflow: hidden;

padding: 32px;

background-image:

    linear-gradient(
        rgba(0,0,0,0.72),
        rgba(0,0,0,0.88)
    ),

    url('/assets/images/shop-bg.png');

background-size: cover;

background-position: center;

background-repeat: no-repeat;


}

/* ==================================================
🏁 TITLE
================================================== */

.page-title {


font-size: 42px;

font-weight: 900;

color: #ff2c2c;

margin-bottom: 30px;


}

/* ==================================================
🚘 LAYOUT
================================================== */

.showroom-layout {


display: flex;

align-items: center;

justify-content: space-between;

gap: 50px;

height: calc(100% - 80px);


}

/* ==================================================
🚗 CAR SIDE
================================================== */

.showroom-car-side {


flex: 1;

display: flex;

align-items: center;

justify-content: center;

gap: 24px;


}

/* ==================================================
🚘 PREVIEW
================================================== */

.showroom-preview {


position: relative;

width: 100%;

max-width: 1100px;

height: 520px;

display: flex;

align-items: center;

justify-content: center;


}

/* ==================================================
🌑 SHADOW
================================================== */

.showroom-shadow {


position: absolute;

bottom: 90px;

width: 720px;

height: 50px;

border-radius: 50%;

background:
    rgba(0,0,0,0.82);

filter:
    blur(14px);

opacity: 0.75;


}

/* ==================================================
🚗 SHOWROOM CAR
================================================== */

.showroom-car {


position: relative;

width: 100%;

max-width: 980px;

height: 420px;

z-index: 2;

filter:
    drop-shadow(
        0 20px 30px rgba(0,0,0,0.4)
    );


}

/* ==================================================
🚘 CAR LAYERS
================================================== */

.showroom-layer {


position: absolute;

inset: 0;

width: 100%;

height: 100%;

object-fit: contain;

pointer-events: none;

user-select: none;


}


/* ==================================================
🚗 CAR
================================================== */

.showroom-car {


position: relative;

width: 100%;

max-width: 980px;

object-fit: contain;

z-index: 2;

filter:
    drop-shadow(
        0 20px 30px rgba(0,0,0,0.4)
    );


}

/* ==================================================
🔘 NAV
================================================== */

.shop-nav-btn {


width: 62px;
height: 62px;

border-radius: 50%;

border: none;

background:
    rgba(18,18,18,0.84);

color: #ffffff;

font-size: 24px;

cursor: pointer;

transition: 0.2s ease;


}

/* hover */
.shop-nav-btn:hover {


background:
    #ff2c2c;

transform:
    scale(1.08);


}

/* ==================================================
📊 INFO
================================================== */

.showroom-info {


width: 420px;

border-radius: 28px;

padding: 34px;

background:
    rgba(12,12,12,0.82);

backdrop-filter:
    blur(10px);

border:
    1px solid rgba(255,44,44,0.16);


}

/* ==================================================
🏁 NAME
================================================== */

.showroom-info h2 {


font-size: 42px;

color: #ffffff;

margin-bottom: 30px;


}

/* ==================================================
📈 STATS
================================================== */

.showroom-stats {


display: flex;

flex-direction: column;

gap: 18px;


}

.showroom-stat {


display: flex;

align-items: center;

justify-content: space-between;

padding: 18px 20px;

border-radius: 18px;

background:
    rgba(255,255,255,0.04);


}

.showroom-stat span {


color: #9d9d9d;

font-size: 14px;


}

.showroom-stat strong {


color: #ffffff;

font-size: 22px;


}

/* ==================================================
💰 PRICE
================================================== */

.showroom-price {


margin-top: 30px;

font-size: 52px;

font-weight: 900;

color: #33d45b;


}

/* ==================================================
🔘 BUY
================================================== */

.showroom-buy {


margin-top: 26px;

width: 100%;


}

/* ==================================================
📱 MOBILE
================================================== */

@media (max-width: 1100px) {


.showroom-layout {

    flex-direction: column;

    justify-content: flex-start;

    overflow-y: auto;

    padding-bottom: 140px;
}

.showroom-info {

    width: 100%;

    max-width: 600px;
}

.showroom-preview {

    height: 320px;
}

.showroom-car {

    max-width: 100%;
}

.showroom-shadow {

    width: 420px;

    bottom: 50px;
}


}

@media (max-width: 700px) {


.shop-page {

    top: 210px;

    height:
        calc(100vh - 210px);

    padding: 18px;
}

.page-title {

    font-size: 28px;

    text-align: center;
}

.showroom-car-side {

    gap: 12px;
}

.shop-nav-btn {

    width: 52px;
    height: 52px;

    font-size: 18px;
}

.showroom-info {

    padding: 24px;
}

.showroom-info h2 {

    font-size: 28px;
}

.showroom-price {

    font-size: 38px;
}


}


/* ==================================================
🚗 CAR ANIMATION
================================================== */

.showroom-car.shop-animate {


animation:
    showroomCarFade 0.35s ease;


}

/* ==================================================
📊 INFO ANIMATION
================================================== */

.showroom-info.shop-animate {


opacity: 0;

animation:
    showroomInfoFade 0.35s ease forwards;

animation-delay: 0.18s;


}

/* ==================================================
🎞 CAR
================================================== */

@keyframes showroomCarFade {


0% {

    opacity: 0;

    transform:
        translateY(24px)
        scale(0.96);
}

100% {

    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


}

/* ==================================================
🎞 INFO
================================================== */

@keyframes showroomInfoFade {


0% {

    opacity: 0;

    transform:
        translateX(40px);
}

100% {

    opacity: 1;

    transform:
        translateX(0);
}


}


/* ==================================================
🎨 STYLING PAGE
================================================== */

.styling-page {


position: fixed;

top: 92px;
left: 0;

width: 100%;
height: calc(100vh - 92px);

overflow: hidden;

padding: 28px;

background-image:

    linear-gradient(
        rgba(0,0,0,0.74),
        rgba(0,0,0,0.88)
    ),

    url('/assets/images/garage-bg.png');

background-size: cover;

background-position: center;


}

/* ==================================================
🏁 LAYOUT
================================================== */

.styling-layout {


display: flex;

gap: 40px;

height: calc(100% - 80px);


}

/* ==================================================
🚘 PREVIEW
================================================== */

.styling-preview {


flex: 1;

position: relative;

display: flex;

align-items: flex-end;

justify-content: center;


}

/* ==================================================
🌑 SHADOW
================================================== */

.styling-shadow {


position: absolute;

bottom: 70px;

width: 620px;

height: 40px;

border-radius: 50%;

background:
    rgba(0,0,0,0.72);

filter:
    blur(14px);


}

/* ==================================================
🚗 CAR
================================================== */

.styling-car {


position: relative;

width: 100%;

max-width: 980px;

height: 420px;

z-index: 2;


}

/* ==================================================
🚘 LAYERS
================================================== */

.styling-layer {


position: absolute;

inset: 0;

width: 100%;

height: 100%;

object-fit: contain;


}

/* ==================================================
📊 PANEL
================================================== */

.styling-panel {


width: 420px;

overflow-y: auto;

border-radius: 28px;

padding: 28px;

background:
    rgba(12,12,12,0.84);

border:
    1px solid rgba(255,44,44,0.16);

backdrop-filter:
    blur(8px);


}

/* ==================================================
🔧 SECTION
================================================== */

.styling-section {


margin-bottom: 28px;


}

.styling-section h2 {


font-size: 22px;

color: #ffffff;

margin-bottom: 18px;


}

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

.styling-buttons {


display: flex;

gap: 12px;

flex-wrap: wrap;


}

/* ==================================================
📱 MOBILE
================================================== */

@media (max-width: 1000px) {


.styling-layout {

    flex-direction: column;
}

.styling-panel {

    width: 100%;
}

.styling-preview {

    min-height: 320px;
}

.styling-car {

    height: 260px;
}


}

@media (max-width: 700px) {


.styling-page {

    top: 210px;

    height:
        calc(100vh - 210px);

    padding: 16px;
}

.styling-panel {

    padding: 20px;
}

.styling-car {

    height: 200px;
}

.styling-shadow {

    width: 260px;

    bottom: 38px;
}


}
