/* ═══════════════════════════════════════════════════
   Mafia Mask — Public Site
   RTL, Modern, Dark Theme with Gold Accent
   ═══════════════════════════════════════════════════ */

:root {
    --gold: #d4af37;
    --gold-light: #f0d877;
    --dark: #0a0a0f;
    --dark-2: #14141a;
    --dark-3: #1a1a22;
    --dark-4: #22222c;
    --text: #e6e6e6;
    --text-muted: #9a9a9a;
    --text-dim: #6a6a6a;
    --red: #dc2626;
    --green: #10b981;
    --blue: #3b82f6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: 'font-primary', 'IRANSansX', Tahoma, sans-serif;
    background: var(--dark);
    color: var(--text);
    direction: rtl;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.2s;
}

a:hover {
    color: var(--gold-light);
}

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

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 0.75rem 0;
    transition: all 0.3s;
}

.site-nav.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.nav-brand i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 4rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(212, 175, 55, 0.02) 50px, rgba(212, 175, 55, 0.02) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(212, 175, 55, 0.02) 50px, rgba(212, 175, 55, 0.02) 51px);
    pointer-events: none;
}

.hero-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.05);
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease;
}

.hero-badge i {
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-tagline strong {
    color: var(--gold);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: 0;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(212, 175, 55, 0.4);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-color: var(--gold);
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.hero-stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section {
    padding: 6rem 0;
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-title span {
    color: var(--gold);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--dark-3);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(100%);
    transition: transform 0.5s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
}

.feature-card:hover::before {
    transform: translateX(-100%);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-radius: 15px;
    margin-bottom: 1.5rem;
    color: var(--gold);
    font-size: 1.8rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Roles */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.role-chip {
    background: var(--dark-3);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
}

.role-chip:hover {
    border-color: var(--gold);
    background: var(--dark-4);
    transform: scale(1.05);
}

.role-chip-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.role-chip-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

/* Download */
.download-section {
    background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-4) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.download-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background: var(--dark-2);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1.5rem 0;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        background: var(--dark-2);
        padding: 1.5rem;
        gap: 1rem;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-stat-value {
        font-size: 1.8rem;
    }

    .section {
        padding: 4rem 0;
    }
}

/* ═══════════════════════════════════════════
   ONLINE DOT (چشمک زن)
   ═══════════════════════════════════════════ */
.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: pulseDot 1.5s infinite;
    box-shadow: 0 0 10px var(--green);
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* ═══════════════════════════════════════════
   SCENARIOS GRID
   ═══════════════════════════════════════════ */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.scenario-card {
    background: var(--dark-3);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.scenario-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.12);
}

.scenario-card:hover::before {
    opacity: 1;
}

.scenario-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.scenario-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border-radius: 12px;
    color: var(--gold);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.scenario-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.scenario-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.scenario-meta i {
    color: var(--gold);
    margin-left: 3px;
}

.scenario-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    min-height: 3.4em;
}

.scenario-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.role-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.role-tag small {
    color: var(--text-dim);
    font-size: 0.7rem;
}

.role-tag.role-town {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.role-tag.role-mafia {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.3);
    color: #fca5a5;
}

.role-tag.role-independent {
    background: rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.3);
    color: #d8b4fe;
}

.role-tag.role-more {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--gold);
}

/* ═══════════════════════════════════════════
   STEPS
   ═══════════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--dark-3);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.12);
}

.step-number {
    position: absolute;
    top: -18px;
    right: 50%;
    transform: translateX(50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

.step-icon {
    font-size: 3rem;
    color: var(--gold);
    margin: 1rem 0 1.5rem;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   DOWNLOAD INFO
   ═══════════════════════════════════════════ */
.download-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.download-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.download-info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.download-info-item i {
    color: var(--gold);
}

.footer-desc {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════
   USER CHIP (Navbar + Hero)
   ═══════════════════════════════════════════ */

.user-chip-login {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.15rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50px;
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.user-chip-login:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: var(--gold);
    transform: translateY(-1px);
}

/* ═══ Compact (navbar) ═══ */
.user-chip-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.3rem 0.4rem 0.3rem 0.35rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50px;
    transition: all 0.2s;
}

.user-chip-compact:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.12);
}

.user-chip-avatar-link {
    text-decoration: none;
    display: block;
}

.user-chip-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(212, 175, 55, 0.4);
    transition: all 0.2s;
}

.user-chip-avatar:hover {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.user-chip-avatar i {
    color: var(--gold);
    font-size: 1.1rem;
}

.user-chip-img {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
}

.user-chip-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.user-chip-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.user-chip-balance {
    display: flex;
    gap: 0.4rem;
    margin-top: 2px;
}

.chip-balance-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 50px;
}

.chip-balance-item.coin {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
}

.chip-balance-item.gem {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
}

.user-chip-logout-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.user-chip-logout {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 50%;
    color: #fca5a5;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    padding: 0;
    font-family: inherit;
}

.user-chip-logout:hover {
    background: rgba(220, 38, 38, 0.35);
    border-color: #dc2626;
    color: #fff;
    transform: scale(1.05);
}

/* ═══ Full (کارت بزرگ) ═══ */
.user-chip-full {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.user-chip-full::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.6;
}

.user-chip-full-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.user-chip-full-avatar {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.25);
}

.user-chip-full-avatar i {
    color: var(--gold);
    font-size: 2.5rem;
}

.user-chip-full-img {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
}

.user-chip-level {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3px;
    border: 2px solid var(--dark-3);
}

.user-chip-level i {
    color: var(--dark);
    font-size: 0.7rem;
}

.user-chip-full-info {
    flex-grow: 1;
    min-width: 0;
}

.user-chip-full-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.user-chip-full-username {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.user-chip-full-wallet {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.wallet-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    border: 1px solid;
    min-width: 110px;
}

.wallet-card-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.wallet-card-info { line-height: 1.15; }

.wallet-card-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
}

.wallet-card-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.wallet-coin {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(251, 191, 36, 0.03));
    border-color: rgba(251, 191, 36, 0.25);
}

.wallet-coin .wallet-card-icon {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.wallet-gem {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(56, 189, 248, 0.03));
    border-color: rgba(56, 189, 248, 0.25);
}

.wallet-gem .wallet-card-icon {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.wallet-logout-form {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(220, 38, 38, 0.03));
    border-color: rgba(220, 38, 38, 0.3);
    padding: 0;
}

.wallet-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: transparent;
    border: 0;
    color: #fca5a5;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    height: 100%;
    transition: all 0.2s;
}

.wallet-logout-btn:hover {
    color: #fff;
    background: rgba(220, 38, 38, 0.15);
}

.wallet-logout-btn i { font-size: 1.1rem; }

/* ═══ Mobile ═══ */
@media (max-width: 640px) {
    .user-chip-info { display: none; }
    .user-chip-compact { padding: 0.3rem; gap: 0.3rem; }
    .user-chip-full {
        flex-direction: column;
        text-align: center;
    }
    .user-chip-full-wallet { justify-content: center; }
    .wallet-card { min-width: 0; }
}