:root {
    --bg-primary: #0A0A0B;
    --bg-secondary: #121214;
    --bg-tertiary: #1A1A1E;
    --bg-card: #161618;
    --bg-card-hover: #1C1C20;
    --bg-input: #1A1A1E;
    --orange: #FF6B2B;
    --orange-hover: #FF8150;
    --orange-glow: rgba(255, 107, 43, 0.15);
    --orange-light: rgba(255, 107, 43, 0.08);
    --white: #FFFFFF;
    --white-90: rgba(255, 255, 255, 0.90);
    --white-70: rgba(255, 255, 255, 0.70);
    --white-50: rgba(255, 255, 255, 0.50);
    --white-30: rgba(255, 255, 255, 0.30);
    --white-10: rgba(255, 255, 255, 0.10);
    --white-05: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.06);
    --legendary: #FFB800;
    --legendary-bg: rgba(255, 184, 0, 0.10);
    --ultra-rare: #C06BFF;
    --ultra-rare-bg: rgba(192, 107, 255, 0.10);
    --rare: #4D94FF;
    --rare-bg: rgba(77, 148, 255, 0.10);
    --common: #6B7280;
    --common-bg: rgba(107, 114, 128, 0.10);
    --success: #34C759;
    --danger: #FF453A;
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    --transition: 0.2s cubic-bezier(0.22, 0.61, 0.36, 1);
    --transition-slow: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    --font-mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--white-90);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    letter-spacing: -0.01em;
}
::selection {
    background: var(--orange);
    color: white;
}
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--white-30);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--white-50);
}
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.82);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid var(--border);
    height: 60px;
    display: flex;
    align-items: center;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}
.logo svg {
    width: 34px;
    height: 34px;
}
.logo-text {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    letter-spacing: -0.03em;
}
.header-search {
    flex: 1;
    max-width: 440px;
    position: relative;
}
.header-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--white-50);
    pointer-events: none;
}
.header-search input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
    letter-spacing: -0.01em;
}
.header-search input::placeholder {
    color: var(--white-30);
}
.header-search input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px var(--orange-glow);
    background: var(--bg-tertiary);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: -0.01em;
    text-decoration: none;
}
.btn-primary {
    background: var(--orange);
    color: white;
    box-shadow: 0 2px 8px var(--orange-glow);
}
.btn-primary:hover {
    background: var(--orange-hover);
    box-shadow: 0 4px 16px var(--orange-glow);
    transform: translateY(-1px);
}
.btn-secondary {
    background: var(--white-10);
    color: var(--white);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: var(--white-05);
    border-color: var(--white-30);
}
.btn-ghost {
    background: transparent;
    color: var(--white-70);
    padding: 8px 10px;
    border-radius: var(--radius-full);
}
.btn-ghost:hover {
    background: var(--white-05);
    color: var(--white);
}
.btn-sm {
    padding: 7px 14px;
    font-size: 0.8rem;
}
.btn-lg {
    padding: 14px 24px;
    font-size: 0.95rem;
}
.btn-block {
    width: 100%;
}
.btn:disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}
.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    border: none;
    color: var(--white-70);
    position: relative;
}
.icon-btn svg {
    width: 18px;
    height: 18px;
}
.icon-btn:hover {
    background: var(--white-05);
    color: var(--white);
}

.settings-btn svg {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.settings-btn:hover {
    color: var(--white);
    background: var(--white-05);
}
.settings-btn:hover svg {
    transform: rotate(90deg);
}

.badge-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 9px;
    height: 9px;
    background: var(--orange);
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
}
.avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #FF6B2B, #FF8C42);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    flex-shrink: 0;
}
.avatar-md {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #FF6B2B, #FF8C42);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
}
.avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #FF6B2B, #FF8C42);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.6rem;
}

/* MAIN */
.main {
    padding: 32px 0 60px;
}

/* HERO */
.hero {
    text-align: center;
    padding: 28px 0 36px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--orange-light);
    border: 1px solid rgba(255, 107, 43, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.hero-badge svg {
    width: 16px;
    height: 16px;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
    color: var(--white);
    line-height: 1.1;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #FF6B2B, #FF9A5C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    color: var(--white-50);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.hero-search-wrap {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}
.hero-search-wrap svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    color: var(--white-30);
    pointer-events: none;
}
.hero-search-wrap input {
    width: 100%;
    padding: 15px 20px 15px 52px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
}
.hero-search-wrap input:focus {
    border-color: var(--orange);
    box-shadow: 0 4px 32px var(--orange-glow), 0 4px 24px rgba(0, 0, 0, 0.3);
}
.hero-search-wrap input::placeholder {
    color: var(--white-30);
}

/* SECTION */
.section {
    margin-bottom: 40px;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.section-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-header h2 svg {
    width: 24px;
    height: 24px;
    color: var(--orange);
}
.section-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}
.section-link:hover {
    color: var(--orange-hover);
}
.section-link svg {
    width: 16px;
    height: 16px;
}

/* CAROUSEL */
.carousel-wrap {
    position: relative;
}
.carousel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 0 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar {
    display: none;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--white);
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.carousel-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--white-30);
}
.carousel-btn.prev {
    left: -8px;
}
.carousel-btn.next {
    right: -8px;
}
.carousel-btn svg {
    width: 20px;
    height: 20px;
}

/* CARD */
.card {
    min-width: 270px;
    max-width: 270px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-slow);
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}
.card:hover {
    border-color: var(--white-10);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    background: var(--bg-card-hover);
}
.card-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.card-image .bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}
.card-image .item-emoji {
    font-size: 3.5rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}
.card-image.legendary {
    background: linear-gradient(135deg, #1A1408, #2A1F0A, #1A1408);
}
.card-image.ultra-rare {
    background: linear-gradient(135deg, #150B1E, #1F0F2E, #150B1E);
}
.card-image.rare {
    background: linear-gradient(135deg, #08101E, #0A1830, #08101E);
}
.card-image.common {
    background: linear-gradient(135deg, #101012, #18181C, #101012);
}
.card-rarity {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}
.rarity-legendary {
    background: var(--legendary-bg);
    color: var(--legendary);
    border: 1px solid rgba(255, 184, 0, 0.3);
}
.rarity-ultra-rare {
    background: var(--ultra-rare-bg);
    color: var(--ultra-rare);
    border: 1px solid rgba(192, 107, 255, 0.3);
}
.rarity-rare {
    background: var(--rare-bg);
    color: var(--rare);
    border: 1px solid rgba(77, 148, 255, 0.3);
}
.rarity-common {
    background: var(--common-bg);
    color: var(--common);
    border: 1px solid rgba(107, 114, 128, 0.3);
}
.card-body {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-game {
    font-size: 0.72rem;
    color: var(--white-50);
    font-weight: 500;
    margin-bottom: 3px;
    letter-spacing: 0.01em;
}
.card-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}
.card-search {
    font-size: 0.74rem;
    color: var(--white-50);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
    gap: 8px;
}
.card-stats {
    display: flex;
    gap: 12px;
    font-size: 0.74rem;
    color: var(--white-50);
    font-weight: 500;
}
.card-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.card-stats svg {
    width: 14px;
    height: 14px;
}
.card-like-btn {
    cursor: pointer;
    background: none;
    border: none;
    color: var(--white-30);
    padding: 4px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    display: flex;
    align-items: center;
}
.card-like-btn:hover {
    color: #FF453A;
}
.card-like-btn.liked {
    color: #FF453A;
}
.card-like-btn.liked svg {
    fill: #FF453A;
}
.card-like-btn svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}
@keyframes heartPop {
    0%,
    100% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.35);
    }
}
.card-like-btn.just-liked svg {
    animation: heartPop 0.4s ease;
}

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.grid-3 .card {
    min-width: auto;
    max-width: none;
}

/* DETAIL PAGE REDESIGN */
.detail-hero-card {
    margin-bottom: 32px;
}
.detail-image-lg {
    height: 320px;
    border-radius: var(--radius-2xl);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    background-size: cover;
    background-position: center;
}
.item-emoji-lg {
    font-size: 8rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}
.detail-rarity-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.detail-header-info {
    padding: 0 4px;
}
.detail-game-label {
    font-size: 0.85rem;
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.detail-title-lg {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 12px;
}
.detail-meta-row {
    display: flex;
    gap: 20px;
    color: var(--white-50);
    font-size: 0.85rem;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.detail-content-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.detail-description-text {
    color: var(--white-70);
    line-height: 1.7;
    font-size: 0.95rem;
}
.highlight-box {
    background: var(--bg-tertiary);
    padding: 24px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    margin-top: 24px;
}
.search-for-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--orange);
}
.search-for-text {
    color: var(--white-90);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* SIDEBAR REFINEMENTS */
.sidebar-card {
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.seller-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.seller-meta .seller-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 2px;
}
.seller-rating {
    font-size: 0.8rem;
    color: var(--white-50);
    display: flex;
    align-items: center;
    gap: 4px;
}
.seller-rating svg {
    width: 14px;
    height: 14px;
    color: var(--legendary);
}
.seller-rating .dot {
    opacity: 0.3;
}
.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white-50);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.sidebar-stats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}
.stat-label {
    color: var(--white-50);
}
.stat-value {
    color: var(--white);
    font-weight: 600;
}
.status-online {
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 6px;
}
.status-online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
}

/* SAFETY CARD */
.safety-tip-card {
    background: rgba(52, 199, 89, 0.05);
    border-color: rgba(52, 199, 89, 0.15);
}
.safety-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--success);
    margin-bottom: 8px;
}
.safety-text {
    font-size: 0.78rem;
    color: var(--white-50);
    line-height: 1.5;
}

/* ICON WRAPPERS */
.icon-wrap-sm {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--white-05);
    flex-shrink: 0;
}
.icon-wrap-sm svg {
    width: 16px;
    height: 16px;
}
.icon-wrap-md {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--orange-light);
    color: var(--orange);
    flex-shrink: 0;
}
.icon-wrap-md svg {
    width: 20px;
    height: 20px;
}
.icon-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}
.icon-inline svg {
    width: 1.2em;
    height: 1.2em;
}

/* UTILS */
.empty-msg {
    color: var(--white-30);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
    width: 100%;
}



/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
    backdrop-filter: blur(4px);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 28px 30px;
    max-width: 520px;
    width: 92%;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
}
@keyframes slideUp {
    from { transform: translateY(30px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--white);
    letter-spacing: -0.02em;
}
.modal .subtitle {
    color: var(--white-50);
    font-size: 0.85rem;
    margin-bottom: 18px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 6px;
    color: var(--white-70);
    letter-spacing: -0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    letter-spacing: -0.01em;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--white-30);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px var(--orange-glow);
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}
.form-group textarea {
    resize: vertical;
    min-height: 90px;
}
.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* PROFILE PAGE */
.profile-header-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 32px;
    text-align: center;
    margin-bottom: 28px;
}
.profile-stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}
.profile-stat {
    text-align: center;
}
.profile-stat .val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}
.profile-stat .lbl {
    font-size: 0.8rem;
    color: var(--white-50);
    margin-top: 2px;
}
.trade-history-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
    transition: var(--transition);
}
.trade-history-item:hover {
    border-color: var(--white-10);
}
.trade-arrow {
    color: var(--orange);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* MESSAGES */
.msg-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
}
.msg-preview:hover {
    border-color: var(--white-10);
    background: var(--bg-card-hover);
}
.msg-preview.unread {
    border-left: 3px solid var(--orange);
}
.msg-thread {
    max-height: 360px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0;
}
.msg-bubble {
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    max-width: 78%;
    font-size: 0.88rem;
    line-height: 1.45;
    letter-spacing: -0.01em;
}
.msg-bubble.sent {
    background: var(--orange);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.msg-bubble.received {
    background: var(--bg-tertiary);
    color: var(--white-90);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.msg-bubble .time {
    font-size: 0.68rem;
    opacity: 0.6;
    margin-top: 4px;
}

/* TOAST */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 300;
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
}
.toast {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: toastIn 0.35s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
@keyframes toastIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* STEPPER */
.stepper {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
}
.step-dot {
    flex: 1;
    height: 4px;
    background: var(--white-10);
    border-radius: 2px;
    transition: var(--transition);
}
.step-dot.active {
    background: var(--orange);
}
.step-dot.done {
    background: var(--success);
}

.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.explore-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}
.filter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
}
.filter-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white-50);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.filter-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.filter-item {
    cursor: pointer;
    font-size: 0.875rem;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    color: var(--white-50);
    font-weight: 500;
}
.filter-item:hover {
    background: var(--white-05);
    color: var(--white);
}
.filter-item.active {
    background: var(--orange-light);
    color: var(--orange);
    font-weight: 700;
}

.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.gap-2 { gap: 8px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }

@media (max-width: 960px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .detail-layout { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .header-search { display: none; }
    .carousel-btn { display: none; }
}
@media (max-width: 600px) {
    .grid-3 { grid-template-columns: 1fr; }
    .container { padding: 0 14px; }
    .hero h1 { font-size: 1.6rem; }
    .profile-stats-row { gap: 20px; }
    .card { min-width: 240px; max-width: 240px; }
}

/* PREMIUM STYLES */
.premium-header-btn {
    color: #FFD700;
    font-weight: 700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}
.premium-header-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #FFD700;
    color: #000;
    border-radius: 50%;
    margin-left: 6px;
    font-size: 10px;
    vertical-align: middle;
}
.premium-badge svg {
    width: 10px;
    height: 10px;
    stroke-width: 3;
}

.animated-pseudo {
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientText 3s linear infinite;
    font-weight: 900;
}
.anim-gold { background-image: linear-gradient(90deg, #FF6B2B, #FFD700, #FF6B2B); }
.anim-rgb { background-image: linear-gradient(90deg, #ff0000, #00ff00, #0000ff, #ff0000); }
.anim-purple { background-image: linear-gradient(90deg, #A23AFF, #FF6B2B, #A23AFF); }
.anim-ocean { background-image: linear-gradient(90deg, #00C9FF, #92FE9D, #00C9FF); }

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


.premium-card {
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.1);
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(255, 215, 0, 0.03) 100%);
}
.premium-card:hover {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.premium-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, rgba(162, 58, 255, 0.05) 0%, transparent 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(162, 58, 255, 0.2);
    margin-bottom: 40px;
}
.pricing-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(162, 58, 255, 0.05) 100%);
    border: 1px solid rgba(162, 58, 255, 0.3);
    border-radius: var(--radius-2xl);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(162, 58, 255, 0.1);
    transition: all 0.4s ease;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #A23AFF, #FF6B2B);
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(162, 58, 255, 0.2);
    border-color: rgba(162, 58, 255, 0.6);
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}
.pricing-price span {
    font-size: 1rem;
    color: var(--white-50);
    font-weight: 500;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--white-90);
}
.pricing-features li svg {
    color: #A23AFF;
    flex-shrink: 0;
}
.btn-purple {
    background: linear-gradient(90deg, #A23AFF, #8E24DD);
    color: #fff;
    border: none;
    width: 100%;
}
.btn-purple:hover {
    background: linear-gradient(90deg, #8E24DD, #A23AFF);
    box-shadow: 0 0 15px rgba(162, 58, 255, 0.4);
}

