/* ========================================
   TARAMORI SHOP — BANK-STYLE DESIGN
   Inspired by: Т-Банк, Сбербанк, Альфа-Банк
   ======================================== */

:root {
    /* Основная палитра — тёмная тема в стиле Т-Банк */
    --black: #000000;
    --black-soft: #0d0d0d;
    --black-card: #1a1a1a;
    --black-elevated: #262626;
    --black-hover: #333333;
    
    /* Акцентный цвет — жёлтый как у Т-Банка */
    --yellow: #ffdd2d;
    --yellow-hover: #fcc521;
    --yellow-soft: rgba(255, 221, 45, 0.12);
    --yellow-glow: rgba(255, 221, 45, 0.3);
    
    /* Альтернативный акцент */
    --accent: var(--yellow);
    --accent-hover: var(--yellow-hover);
    --accent-soft: var(--yellow-soft);
    --accent-text: #000000;
    
    /* Дополнительные цвета */
    --green: #34d399;
    --green-soft: rgba(52, 211, 153, 0.12);
    --red: #f43f5e;
    --red-soft: rgba(244, 63, 94, 0.12);
    --blue: #3b82f6;
    --blue-soft: rgba(59, 130, 246, 0.12);
    
    /* Текст */
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    
    /* Границы */
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);
    
    /* Тени */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-accent: 0 8px 32px var(--yellow-glow);
    
    /* Размеры */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    --container-sm: 640px;
    --container-md: 960px;
    --container-lg: 1200px;
    --container-xl: 1400px;
    
    /* Типографика */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    
    /* Анимации */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-base: 250ms;
    --duration-slow: 400ms;
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
    color: var(--white);
    background: var(--black);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== УТИЛИТЫ ===== */
.container {
    width: 100%;
    max-width: var(--container-lg);
    margin: 0 auto;
    padding: 0 24px;
}

.container--sm { max-width: var(--container-sm); }
.container--md { max-width: var(--container-md); }
.container--xl { max-width: var(--container-xl); }

.muted { color: var(--gray-400); }
.text-accent { color: var(--accent); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }

/* ===== СНЕГ ===== */
#snow-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.snow-off #snow-canvas {
    display: none;
}

.snow-layer {
    display: none;
}

/* ===== HEADER — в стиле Т-Банка ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 10px 16px;
    color: var(--gray-300);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--ease);
    white-space: nowrap;
}

.nav__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav__link--accent {
    background: var(--accent-soft);
    color: var(--accent);
}

.nav__link--accent:hover {
    background: var(--accent);
    color: var(--accent-text);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
    transition: opacity var(--duration-fast) var(--ease);
}

.logo:hover {
    opacity: 0.8;
}

.logo__mark {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--accent-text);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 18px;
}

.logo__text {
    color: var(--white);
}

/* Legacy nav__links - удалено, используем nav__link */

/* Legacy nav__cta/nav__user - удалено, используем header__actions/header__user */

.snow-toggle {
    width: 40px;
    height: 40px;
    background: var(--black-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease);
    color: var(--white);
    font-weight: 500;
    transition: all var(--duration-fast) var(--ease);
}

.snow-toggle:hover {
    border-color: var(--border-strong);
    color: var(--white);
}

.snow-toggle__state {
    padding: 2px 8px;
    background: var(--green-soft);
    color: var(--green);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.snow-off .snow-toggle__state {
    background: var(--border);
    color: var(--gray-500);
}

/* ===== КНОПКИ — Т-Банк стиль ===== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: var(--accent);
    color: var(--accent-text);
    border: none;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease);
    white-space: nowrap;
}

.button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.button:active {
    transform: translateY(0);
}

.button--ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-strong);
}

.button--ghost:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    box-shadow: none;
}

.button--secondary {
    background: var(--black-card);
    color: var(--white);
    border: 1px solid var(--border);
}

.button--secondary:hover {
    background: var(--black-elevated);
    border-color: var(--border-strong);
    box-shadow: none;
}

.button--large {
    padding: 18px 36px;
    font-size: 17px;
    border-radius: var(--radius-lg);
}

.button--small {
    padding: 10px 18px;
    font-size: 14px;
}

/* ===== PAGE ===== */
.page {
    padding-top: 72px;
}

/* ===== HERO — Крупный стиль Т-Банка ===== */
.hero {
    padding: 80px 0 100px;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, var(--yellow-soft) 0%, transparent 60%);
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero__badge {
    display: inline-flex;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero__title {
    font-size: clamp(48px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero__title span {
    color: var(--accent);
}

.hero__lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--gray-300);
    max-width: 480px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

/* ===== STAT CARD — Банковский стиль ===== */
.stat-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--duration-base) var(--ease);
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.stat-card__icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.stat-card__label {
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.stat-card__value {
    font-size: 32px;
    font-weight: 700;
    margin: 8px 0;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.stat-card__trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--green-soft);
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}

.stat-card__trend--down {
    background: var(--red-soft);
    color: var(--red);
}

.stat-card__meta {
    font-size: 12px;
    color: var(--gray-600);
}

/* ===== HERO PANEL ===== */
.hero__panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: border-color var(--duration-base) var(--ease);
}

.panel-card:hover {
    border-color: var(--border-strong);
}

.panel-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== NEWS MINI ===== */
.news-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.news-mini::-webkit-scrollbar {
    width: 4px;
}

.news-mini::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 2px;
}

.news-mini__item {
    padding: 16px;
    background: var(--black-elevated);
    border-radius: var(--radius-md);
    display: grid;
    gap: 10px;
    transition: background var(--duration-fast) var(--ease);
}

.news-mini__item:hover {
    background: var(--black-hover);
}

.news-mini__title {
    font-weight: 600;
    font-size: 14px;
}

.news-mini__excerpt {
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.5;
}

.news-mini__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--gray-600);
}

.news-mini__link {
    color: var(--accent);
    font-weight: 600;
}

.news-mini__link:hover {
    text-decoration: underline;
}

/* ===== ICON LIST ===== */
.icon-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.icon-list__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.icon-list__icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 22px;
    flex-shrink: 0;
}

.icon-list__content {
    display: grid;
    gap: 4px;
}

.icon-list__title {
    font-weight: 600;
    font-size: 15px;
}

.icon-list__text {
    color: var(--gray-500);
    font-size: 13px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section--dark {
    background: var(--black);
}

.section--card {
    background: var(--black-soft);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 18px;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ===== CHIP ===== */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-300);
}

.chip--accent {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--accent);
}

.chip--success {
    background: var(--green-soft);
    border-color: transparent;
    color: var(--green);
}

/* ===== INFO GRID ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--duration-base) var(--ease);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--duration-base) var(--ease);
}

.info-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.info-card:hover::before {
    transform: scaleY(1);
}

.info-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card p {
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.7;
}

.info-card ul {
    color: var(--gray-400);
    font-size: 15px;
}

.info-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}

.info-card ul li:last-child {
    border-bottom: none;
}

.info-card ul li strong {
    color: var(--accent);
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    background: linear-gradient(135deg, var(--accent) 0%, var(--yellow-hover) 100%);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--black);
}

.promo-banner__content {
    display: grid;
    gap: 4px;
}

.promo-banner__title {
    font-size: 18px;
    font-weight: 700;
}

.promo-banner__desc {
    font-size: 15px;
    opacity: 0.8;
}

.promo-banner .button {
    background: var(--black);
    color: var(--white);
}

.promo-banner .button:hover {
    background: var(--black-card);
    box-shadow: var(--shadow-lg);
}

/* ===== NEWS SLIDER ===== */
.news-slider {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 8px 0;
}

.news-track::-webkit-scrollbar {
    display: none;
}

.news-card {
    min-width: 320px;
    max-width: 360px;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    scroll-snap-align: start;
    transition: all var(--duration-base) var(--ease);
}

.news-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.news-card__head {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.news-card__tag {
    padding: 6px 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
}

.news-card__tag--ghost {
    background: var(--border);
    color: var(--gray-500);
}

.news-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--gray-600);
}

.news-card__meta a {
    color: var(--accent);
    font-weight: 600;
}

.slider-btn {
    width: 48px;
    height: 48px;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    display: grid;
    place-items: center;
    transition: all var(--duration-fast) var(--ease);
    flex-shrink: 0;
}

.slider-btn:hover {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent);
}

/* ===== REVIEWS TICKER ===== */
.ticker {
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.ticker__track {
    display: flex;
    gap: 16px;
    animation: ticker 40s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    white-space: nowrap;
    font-size: 15px;
    transition: border-color var(--duration-fast) var(--ease);
}

.review-pill:hover {
    border-color: var(--accent);
}

.review-pill__text {
    color: var(--gray-300);
}

.review-pill__author {
    color: var(--accent);
    font-weight: 600;
}

.review-pill__link {
    color: var(--gray-500);
    font-size: 13px;
}

/* ===== CATALOG ===== */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.catalog-grid > div > .section__subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 20px;
    text-align: left;
}

.card-grid {
    display: grid;
    gap: 16px;
}

.catalog-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--duration-base) var(--ease);
}

.catalog-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.catalog-card--promo {
    background: linear-gradient(135deg, var(--black-card), rgba(255, 221, 45, 0.05));
    border-color: rgba(255, 221, 45, 0.2);
}

.catalog-card__tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 8px;
}

.catalog-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.catalog-card p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 12px;
}

.catalog-card__price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    gap: 20px;
    transition: all var(--duration-base) var(--ease);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border-radius: var(--radius-lg);
    display: grid;
    place-items: center;
    font-size: 26px;
    flex-shrink: 0;
}

.feature-card__content {
    display: grid;
    gap: 8px;
}

.feature-card__title {
    font-size: 18px;
    font-weight: 700;
}

.feature-card__desc {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    transition: all var(--duration-base) var(--ease);
}

.team-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.team-card__avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--border);
    transition: border-color var(--duration-base) var(--ease);
}

.team-card:hover .team-card__avatar {
    border-color: var(--accent);
}

.team-card__role {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
}

.team-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.team-card p {
    color: var(--gray-500);
    font-size: 14px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
}

.cta-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-card__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-card__desc {
    color: var(--gray-400);
    font-size: 17px;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cabinet-cta {
    margin-top: 40px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--black-soft);
    border-top: 1px solid var(--border);
    padding: 60px 0 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    font-weight: 700;
    margin-bottom: 16px;
}

.footer__links {
    display: grid;
    gap: 12px;
}

.footer__links a {
    color: var(--gray-400);
    font-size: 15px;
    transition: color var(--duration-fast) var(--ease);
}

.footer__links a:hover {
    color: var(--white);
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 40px 0;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-600);
    font-size: 14px;
}

.footer__status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
}

/* ===== STATUS ===== */
.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.status__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-500);
    position: relative;
}

.status__dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.4); opacity: 0; }
}

.status--online .status__dot { background: var(--green); }
.status--offline .status__dot { background: var(--red); }
.status--unknown .status__dot { background: var(--yellow); }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== AUTH CARD ===== */
.auth-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
}

.auth-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.auth-card p {
    color: var(--gray-400);
    margin-bottom: 24px;
}

/* ===== PROFILE PAGE ===== */
.profile-hero {
    padding: 120px 0 60px;
    background: var(--black);
}

.profile-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    border: 4px solid var(--accent);
    object-fit: cover;
    flex-shrink: 0;
}

.profile-info {
    display: grid;
    gap: 8px;
    flex: 1;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
}

.profile-discord {
    color: var(--gray-400);
    font-size: 15px;
}

.profile-discord span {
    color: var(--accent);
}

.profile-badges {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.profile-badge {
    background: var(--accent-soft);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.profile-actions {
    display: flex;
    gap: 12px;
}

/* ===== PROFILE METRICS ===== */
.profile-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.metric-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--duration-base) var(--ease);
}

.metric-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.metric-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'JetBrains Mono', monospace;
}

.metric-label {
    color: var(--gray-500);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== PROFILE CONTENT ===== */
.profile-content {
    padding: 40px 0 80px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.profile-section {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.profile-section__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-section__title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--accent);
    border-radius: 2px;
}

/* ===== ORDERS TABLE ===== */
.orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.orders-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.orders-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.orders-table tbody tr {
    transition: background var(--duration-fast) var(--ease);
}

.orders-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.order-status--completed {
    background: rgba(52, 211, 153, 0.15);
    color: var(--green);
}

.order-status--pending {
    background: rgba(255, 221, 45, 0.15);
    color: var(--accent);
}

.order-status--cancelled {
    background: rgba(244, 63, 94, 0.15);
    color: var(--red);
}

/* ===== RECENT ACTIVITY ===== */
.activity-list {
    display: grid;
    gap: 16px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--black-elevated);
    border-radius: var(--radius-md);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.activity-content {
    display: grid;
    gap: 4px;
    flex: 1;
}

.activity-title {
    font-size: 14px;
    font-weight: 600;
}

.activity-desc {
    color: var(--gray-500);
    font-size: 13px;
}

.activity-time {
    color: var(--gray-600);
    font-size: 12px;
}

/* ===== RULES PAGE ===== */
.rules-section {
    padding: 40px 0 80px;
}

.rules-grid {
    display: grid;
    gap: 24px;
}

.rule-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--duration-base) var(--ease);
}

.rule-card:hover {
    border-color: var(--accent);
}

.rule-card__header {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.rule-card__number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--black);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.rule-card__title {
    font-size: 18px;
    font-weight: 700;
    flex: 1;
}

.rule-card__content {
    padding: 24px 32px;
}

.rule-card__content p {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 16px;
}

.rule-card__content p:last-child {
    margin-bottom: 0;
}

.rule-card__content ul {
    color: var(--gray-400);
    padding-left: 20px;
}

.rule-card__content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ===== INFO BANNER ===== */
.info-banner {
    background: linear-gradient(135deg, var(--accent-soft), rgba(255, 221, 45, 0.02));
    border: 1px solid rgba(255, 221, 45, 0.2);
    border-radius: var(--radius-xl);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.info-banner--warning {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.02));
    border-color: rgba(251, 191, 36, 0.3);
}

.info-banner--danger {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), rgba(244, 63, 94, 0.02));
    border-color: rgba(244, 63, 94, 0.3);
}

.info-banner__icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-banner__content {
    display: grid;
    gap: 4px;
}

.info-banner__title {
    font-size: 16px;
    font-weight: 700;
}

.info-banner__text {
    color: var(--gray-400);
    font-size: 14px;
}

/* ===== ADMIN PAGE ===== */
.admin-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 40px 0;
}

.admin-sidebar {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.admin-nav {
    display: grid;
    gap: 8px;
}

.admin-nav__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--gray-400);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--duration-fast) var(--ease);
}

.admin-nav__item:hover {
    background: var(--black-elevated);
    color: var(--white);
}

.admin-nav__item--active {
    background: var(--accent-soft);
    color: var(--accent);
}

.admin-content {
    display: grid;
    gap: 24px;
}

.admin-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.admin-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-card__title {
    font-size: 18px;
    font-weight: 700;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    background: var(--black-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: var(--white);
    font-size: 15px;
    font-family: inherit;
    transition: all var(--duration-fast) var(--ease);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--black-card);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-600);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 6px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .site-header {
        padding: 12px 0;
    }
    
    .nav {
        display: none;
    }
    
    .header__actions {
        gap: 12px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero__title {
        font-size: 32px;
    }
    
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section__title {
        font-size: 28px;
    }
    
    .panel-card {
        padding: 24px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-actions {
        justify-content: center;
    }
    
    .profile-metrics {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-card {
        padding: 40px 24px;
    }
    
    .info-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .rule-card__header {
        padding: 16px 20px;
    }
    
    .rule-card__content {
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 26px;
    }
    
    .stat-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        width: 100%;
    }
    
    .profile-metrics {
        grid-template-columns: 1fr;
    }
    
    .chips {
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 5px;
    border: 2px solid var(--black);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(255, 221, 45, 0.3);
    color: var(--white);
}

/* ===== GLOW EFFECT ===== */
.glow {
    position: relative;
}

.glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    opacity: 0.15;
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
}

/* ===== LOADING SKELETON ===== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--black-card) 0%,
        var(--black-elevated) 50%,
        var(--black-card) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 24px;
}

.empty-state__icon {
    font-size: 64px;
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-state__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.empty-state__desc {
    color: var(--gray-500);
    max-width: 320px;
    margin: 0 auto;
}

/* ===== TOOLTIP ===== */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--black-elevated);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-fast) var(--ease);
    pointer-events: none;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ===== BADGE ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--accent-soft);
    color: var(--accent);
}

.badge--success {
    background: rgba(52, 211, 153, 0.15);
    color: var(--green);
}

.badge--error {
    background: rgba(244, 63, 94, 0.15);
    color: var(--red);
}

.badge--info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-accent { color: var(--accent); }
.text-muted { color: var(--gray-500); }
.text-success { color: var(--green); }
.text-error { color: var(--red); }

.font-mono { font-family: 'JetBrains Mono', monospace; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: 9999px; }

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: all var(--duration-fast) var(--ease);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
}

/* ===== PAGE TITLE ===== */
.page-title {
    padding: 120px 0 40px;
    text-align: center;
}

.page-title h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.page-title p {
    color: var(--gray-400);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--duration-base) var(--ease);
}

.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.product-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--black-elevated);
}

.product-card__content {
    padding: 24px;
}

.product-card__category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-card p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card__price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
}

.product-card__price span {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 400;
}

/* ===== SNOW TOGGLE ===== */
.snow-toggle {
    width: 40px;
    height: 40px;
    background: var(--black-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease);
}

.snow-toggle:hover {
    background: var(--black-hover);
    border-color: var(--accent);
}

/* ===== SNOW CANVAS ===== */
#snow-canvas {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.8;
}

.snow-off #snow-canvas {
    display: none;
}

/* ===== HEADER USER ===== */
.header__user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    transition: all var(--duration-fast) var(--ease);
    text-decoration: none;
    color: var(--white);
}

.header__user:hover {
    border-color: var(--accent);
    background: var(--black-elevated);
}

.header__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.header__username {
    font-size: 14px;
    font-weight: 500;
}

/* ===== FIX PAGE TITLE ===== */
.page-title {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--black);
}

.page-title .chip {
    margin-bottom: 16px;
}

.page-title h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--white), var(--gray-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title p {
    color: var(--gray-400);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PROFILE FIXES ===== */
.profile-content {
    padding: 0 0 80px;
    background: var(--black);
}

.profile-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    border: 3px solid var(--accent);
    object-fit: cover;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-discord {
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 12px;
}

.profile-discord span {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-badge {
    background: var(--accent-soft);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.profile-actions {
    flex-shrink: 0;
}

/* ===== METRIC CARDS FIX ===== */
.profile-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.metric-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--duration-base) var(--ease);
}

.metric-card:hover {
    border-color: var(--accent);
}

.metric-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin: 0 auto 16px;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'JetBrains Mono', monospace;
}

.metric-label {
    color: var(--gray-500);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== PROFILE GRID FIX ===== */
.profile-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}

.profile-section {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.profile-section__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-section__title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--accent);
    border-radius: 2px;
}

/* ===== ORDERS TABLE FIX ===== */
.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    text-align: left;
    padding: 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.orders-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    vertical-align: middle;
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.orders-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.order-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.order-status--completed {
    background: rgba(52, 211, 153, 0.15);
    color: var(--green);
}

.order-status--pending {
    background: rgba(255, 221, 45, 0.15);
    color: var(--accent);
}

/* ===== ACTIVITY LIST FIX ===== */
.activity-list {
    display: grid;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--black-elevated);
    border-radius: var(--radius-md);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.activity-desc {
    color: var(--gray-500);
    font-size: 13px;
}

/* ===== CHIPS IN PROFILE ===== */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-actions {
        width: 100%;
    }
    
    .profile-actions .btn {
        width: 100%;
    }
    
    .profile-metrics {
        grid-template-columns: 1fr 1fr;
    }
    
    .header__username {
        display: none;
    }
    
    .header__user {
        padding: 4px;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .profile-metrics {
        grid-template-columns: 1fr;
    }
}

/* ===== ORDER STATUS CLOSED ===== */
.order-status--closed {
    background: rgba(115, 115, 115, 0.15);
    color: var(--gray-400);
}

/* ===== TEXT UTILITIES ===== */
.text-success {
    color: var(--green) !important;
}

.text-accent {
    color: var(--accent) !important;
}

/* ===== AVATAR FIX ===== */
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    border: 3px solid var(--accent);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--black-elevated);
}

.profile-avatar[src=""],
.profile-avatar:not([src]) {
    background: var(--accent-soft);
}
