/* ========================================================
   ZEROHAX MARKET - TELEGRAM VIP CYBER DOCK & COMMAND LOUNGE
   High-Tech Cyberpunk Aesthetic (Emerald #00e676, Obsidian #060b08)
   ======================================================== */

/* ──────────────────────────────────────────────────────────
   0. BACKDROP OVERLAY
   ────────────────────────────────────────────────────────── */
.zh-tg-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(3, 10, 6, 0.82) 0%, rgba(1, 4, 2, 0.94) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 999990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
    pointer-events: none;
}

.zh-tg-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#zhTgFloatingBadge {
    position: fixed;
    z-index: 999995;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

/* ──────────────────────────────────────────────────────────
   1. DOCKED STATE: CYBER VIP DOCK (Sol Taraftaki Şık Kart)
   ────────────────────────────────────────────────────────── */
#zhTgFloatingBadge.zh-tg-docked {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 104px;
    height: 154px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.88)) drop-shadow(0 0 18px rgba(0, 230, 118, 0.22));
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.32s ease;
    animation: zhDockLevitate 4.2s ease-in-out infinite;
}

#zhTgFloatingBadge.zh-tg-docked:hover {
    transform: translateY(-50%) translateX(6px) scale(1.03);
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 26px rgba(0, 230, 118, 0.45));
}

@keyframes zhDockLevitate {
    0%, 100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-54%);
    }
}

#zhTgFloatingBadge.zh-tg-docked .zh-tg-docked-content {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

#zhTgFloatingBadge.zh-tg-docked .zh-tg-modal-content,
#zhTgFloatingBadge.zh-tg-docked .zh-tg-close-btn {
    display: none;
}

/* The High-Tech Cyber Card */
.zh-dock-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(16, 28, 21, 0.94) 0%, rgba(8, 14, 10, 0.97) 50%, rgba(3, 7, 5, 0.99) 100%);
    border: 1px solid rgba(0, 230, 118, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.18),
        inset 0 0 18px rgba(0, 230, 118, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8px 10px;
    box-sizing: border-box;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#zhTgFloatingBadge.zh-tg-docked:hover .zh-dock-card {
    border-color: rgba(0, 230, 118, 0.75);
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 0 24px rgba(0, 230, 118, 0.22),
        0 0 18px rgba(0, 230, 118, 0.35);
}

/* Vertical Laser Beam along Left Margin */
.zh-dock-laser-bar {
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, transparent, #00e676, transparent);
    box-shadow: 0 0 8px #00e676;
    pointer-events: none;
}

/* Tech Corner Accents */
.zh-dock-corner {
    position: absolute;
    width: 6px;
    height: 6px;
    pointer-events: none;
}

.zh-dock-tr {
    top: 5px;
    right: 5px;
    border-top: 1px solid rgba(0, 230, 118, 0.8);
    border-right: 1px solid rgba(0, 230, 118, 0.8);
}

.zh-dock-bl {
    bottom: 5px;
    left: 5px;
    border-bottom: 1px solid rgba(0, 230, 118, 0.8);
    border-left: 1px solid rgba(0, 230, 118, 0.8);
}

/* Header Row: Status + Audio Equalizer Wave */
.zh-dock-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    box-sizing: border-box;
}

.zh-dock-live-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 230, 118, 0.14);
    border: 1px solid rgba(0, 230, 118, 0.45);
    padding: 2px 6px;
    border-radius: 10px;
}

.zh-dock-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 6px #00e676;
    animation: zhDotBlink 1.4s ease-in-out infinite;
}

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

.zh-dock-tag {
    font-size: 0.54rem;
    font-weight: 900;
    color: #00e676;
    letter-spacing: 0.6px;
    line-height: 1;
}

/* Equalizer Wave (Dancing green bars) */
.zh-dock-eq {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 10px;
}

.zh-dock-eq span {
    width: 2px;
    background: #00e676;
    border-radius: 1px;
    box-shadow: 0 0 4px rgba(0, 230, 118, 0.7);
    animation: zhEqJump 0.9s ease-in-out infinite alternate;
}

.zh-dock-eq span:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.zh-dock-eq span:nth-child(2) { height: 9px; animation-delay: 0.3s; }
.zh-dock-eq span:nth-child(3) { height: 6px; animation-delay: 0.2s; }
.zh-dock-eq span:nth-child(4) { height: 8px; animation-delay: 0.4s; }

@keyframes zhEqJump {
    0% { height: 3px; }
    100% { height: 10px; }
}

#zhTgFloatingBadge.zh-tg-docked:hover .zh-dock-eq span {
    animation-duration: 0.45s;
    background: #5eff8b;
}

/* Center Emblem: 3D Glossy Telegram Orb */
.zh-dock-emblem-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px 0;
}

.zh-dock-emblem-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(0, 230, 118, 0.4);
    animation: zhPulseRing 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes zhPulseRing {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.4); opacity: 0; }
}

.zh-dock-emblem-glow {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.55), transparent 70%);
    filter: blur(8px);
    pointer-events: none;
}

.zh-dock-emblem-core {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #00e676 0%, #00a844 55%, #005a22 100%);
    box-shadow: 
        0 6px 16px rgba(0, 230, 118, 0.45),
        inset 0 2px 4px rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#zhTgFloatingBadge.zh-tg-docked:hover .zh-dock-emblem-core {
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 
        0 8px 22px rgba(0, 230, 118, 0.7),
        inset 0 2px 4px rgba(255, 255, 255, 0.75);
}

/* Typography */
.zh-dock-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.15;
}

.zh-dock-title {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.7px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.zh-dock-subtitle {
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #00e676;
    text-transform: uppercase;
}

/* Bottom Action Button */
.zh-dock-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.22) 0%, rgba(0, 168, 68, 0.28) 100%);
    border: 1px solid rgba(0, 230, 118, 0.6);
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.54rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.4px;
    transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.zh-dock-action i.fa-bolt {
    color: #ffd600;
    font-size: 0.54rem;
}

.zh-dock-arrow {
    font-size: 0.48rem;
    color: #00e676;
    transition: transform 0.2s ease;
}

#zhTgFloatingBadge.zh-tg-docked:hover .zh-dock-action {
    background: linear-gradient(135deg, #00e676 0%, #00a844 100%);
    border-color: #5eff8b;
    color: #021208;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.5);
    transform: translateY(-1px);
}

#zhTgFloatingBadge.zh-tg-docked:hover .zh-dock-action i.fa-bolt {
    color: #021208;
}

#zhTgFloatingBadge.zh-tg-docked:hover .zh-dock-arrow {
    color: #021208;
    transform: translateX(2px);
}

/* ──────────────────────────────────────────────────────────
   2. CENTERED STATE: EXECUTIVE VIP COMMAND LOUNGE (Açılan Pencere)
   ────────────────────────────────────────────────────────── */
#zhTgFloatingBadge.zh-tg-centered {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: min(540px, 94vw);
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(0, 230, 118, 0.12) 0%, rgba(14, 22, 17, 0.98) 40%, rgba(6, 11, 8, 0.99) 100%);
    border: 1px solid rgba(0, 230, 118, 0.38);
    border-radius: 24px;
    box-shadow: 
        0 28px 80px rgba(0, 0, 0, 0.94),
        0 0 50px rgba(0, 230, 118, 0.22),
        inset 0 1px 1px rgba(255, 255, 255, 0.22),
        inset 0 0 25px rgba(0, 230, 118, 0.05);
    padding: 32px 28px 24px;
    box-sizing: border-box;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    cursor: default;
    filter: none;
    animation: zhModalPopIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#zhTgFloatingBadge.zh-tg-centered::-webkit-scrollbar {
    width: 5px;
}
#zhTgFloatingBadge.zh-tg-centered::-webkit-scrollbar-thumb {
    background: rgba(0, 230, 118, 0.35);
    border-radius: 4px;
}

@keyframes zhModalPopIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -46%) scale(0.92);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

#zhTgFloatingBadge.zh-tg-centered .zh-tg-docked-content {
    display: none;
}

#zhTgFloatingBadge.zh-tg-centered .zh-tg-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

/* Top Cyber Laser Beam */
.zh-modal-laser-top {
    position: absolute;
    top: -32px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00e676, transparent);
    filter: blur(1px);
    box-shadow: 0 0 14px #00e676;
}

/* Close Button */
.zh-tg-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.zh-tg-close-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.65);
    color: #ff6b6b;
    transform: rotate(90deg);
}

/* Modal HUD Header */
.zh-modal-hud-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-right: 36px; /* leave space for close button */
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 8px;
}

.zh-hud-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.4);
    padding: 4px 10px;
    border-radius: 12px;
}

.zh-hud-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 8px #00e676;
    animation: zhDotBlink 1.4s infinite;
}

.zh-hud-txt {
    font-size: 0.65rem;
    font-weight: 800;
    color: #00e676;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.zh-hud-ping {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.66rem;
    font-weight: 800;
    color: rgba(200, 240, 220, 0.75);
    letter-spacing: 0.4px;
}

.zh-hud-ping i {
    color: #00e676;
    font-size: 0.65rem;
}

/* Hero Agent Spotlight */
.zh-modal-hero {
    width: 100%;
    background: linear-gradient(135deg, rgba(20, 34, 25, 0.75) 0%, rgba(12, 22, 16, 0.85) 100%);
    border: 1px solid rgba(0, 230, 118, 0.28);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    box-sizing: border-box;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: border-color 0.25s ease;
}

.zh-modal-hero:hover {
    border-color: rgba(0, 230, 118, 0.55);
}

.zh-hero-avatar-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}

.zh-hero-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 230, 118, 0.6);
    animation: zhOrbitSpin 10s linear infinite;
}

@keyframes zhOrbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.zh-hero-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00e676;
    box-shadow: 0 4px 14px rgba(0, 230, 118, 0.35);
}

.zh-hero-tg-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00e676 0%, #009624 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    border: 1px solid #ffffff;
}

.zh-hero-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.zh-hero-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.zh-hero-name {
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.3px;
    margin: 0;
}

.zh-hero-role {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 230, 118, 0.18);
    border: 1px solid rgba(0, 230, 118, 0.45);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.64rem;
    font-weight: 800;
    color: #00e676;
}

.zh-hero-sub {
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(220, 240, 230, 0.8);
    margin: 2px 0 4px;
}

.zh-hero-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    color: rgba(180, 220, 200, 0.7);
}

.zh-hero-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 8px #00e676;
    animation: zhDotBlink 1.4s infinite;
}

.zh-hero-stat-text strong {
    color: #00e676;
    font-weight: 800;
}

/* 3 Core VIP Highlights (Cards) */
.zh-modal-features {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.zh-feat-card {
    background: rgba(14, 25, 19, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    transition: transform 0.22s, border-color 0.22s;
}

.zh-feat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 230, 118, 0.4);
}

.zh-feat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.zh-icon-green {
    background: rgba(0, 230, 118, 0.16);
    color: #00e676;
}

.zh-icon-blue {
    background: rgba(0, 176, 255, 0.16);
    color: #00b0ff;
}

.zh-icon-gold {
    background: rgba(255, 193, 7, 0.16);
    color: #ffd600;
}

.zh-feat-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.zh-feat-text strong {
    font-size: 0.78rem;
    font-weight: 800;
    color: #ffffff;
}

.zh-feat-text span {
    font-size: 0.65rem;
    color: rgba(200, 230, 215, 0.65);
    line-height: 1.35;
}

/* Games Quick Selector */
.zh-modal-games {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
}

.zh-games-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(180, 220, 195, 0.75);
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.zh-games-header i {
    color: #00e676;
}

.zh-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}

.zh-game-card {
    background: rgba(14, 25, 19, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 6px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.zh-game-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 230, 118, 0.5);
    background: rgba(0, 230, 118, 0.12);
}

.zh-game-card img {
    width: 38px;
    height: 46px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.zh-game-card span {
    font-size: 0.56rem;
    font-weight: 700;
    color: rgba(220, 240, 230, 0.85);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Mega High-Impact CTA Button */
.zh-modal-cta-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(135deg, #00e676 0%, #00c853 55%, #009624 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #02140a;
    padding: 14px 20px;
    border-radius: 16px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 
        0 10px 28px rgba(0, 230, 118, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.zh-cta-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-25deg);
    animation: zhCtaShimmer 3s infinite;
}

@keyframes zhCtaShimmer {
    0% { left: -100%; }
    40%, 100% { left: 160%; }
}

.zh-modal-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 14px 36px rgba(0, 230, 118, 0.65),
        0 0 24px rgba(0, 230, 118, 0.45);
    filter: brightness(1.05);
    color: #02140a;
}

.zh-cta-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(2, 20, 10, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #02140a;
    flex-shrink: 0;
}

.zh-cta-labels {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.zh-cta-main {
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #02140a;
    line-height: 1.2;
}

.zh-cta-sub {
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(2, 20, 10, 0.8);
    margin-top: 2px;
}

.zh-cta-arrow-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(2, 20, 10, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #02140a;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.zh-modal-cta-btn:hover .zh-cta-arrow-circle {
    transform: translateX(4px);
    background: rgba(2, 20, 10, 0.35);
}

/* Footer Security Trust */
.zh-modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    color: rgba(180, 220, 195, 0.65);
    text-align: center;
    line-height: 1.4;
    padding: 0 10px;
}

.zh-modal-footer i {
    color: #00e676;
    font-size: 0.72rem;
    flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────
   3. RESPONSIVE OPTIMIZATIONS
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    #zhTgFloatingBadge.zh-tg-docked {
        position: fixed !important;
        left: 14px !important;
        bottom: 24px !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        animation: none !important;
        z-index: 99990 !important;
    }
    #zhTgFloatingBadge.zh-tg-docked:hover {
        transform: scale(1.04) !important;
    }
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-card {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
        height: 44px !important;
        padding: 5px 14px 5px 8px !important;
        border-radius: 28px !important;
        gap: 8px !important;
        background: linear-gradient(135deg, rgba(8, 22, 16, 0.96) 0%, rgba(5, 12, 9, 0.98) 100%) !important;
        border: 1.5px solid rgba(0, 230, 118, 0.5) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 16px rgba(0, 230, 118, 0.35) !important;
    }
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-laser-bar,
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-corner,
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-eq,
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-subtitle {
        display: none !important;
    }
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-header {
        width: auto !important;
        margin: 0 !important;
        order: 3;
    }
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-tag {
        font-size: 0.55rem !important;
        padding: 2px 6px !important;
        border-radius: 6px !important;
    }
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-emblem-wrap {
        width: 32px !important;
        height: 32px !important;
        margin: 0 !important;
        order: 1;
    }
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-emblem-core {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.95rem !important;
    }
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-meta {
        margin: 0 !important;
        text-align: left !important;
        order: 2;
    }
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-title {
        font-size: 0.78rem !important;
        letter-spacing: 0.5px !important;
        color: #fff !important;
        white-space: nowrap !important;
        font-weight: 800 !important;
    }
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-action {
        margin: 0 !important;
        padding: 3px 9px !important;
        font-size: 0.65rem !important;
        border-radius: 12px !important;
        order: 4;
        display: flex !important;
        align-items: center !important;
        gap: 3px !important;
    }

    #zhTgFloatingBadge.zh-tg-centered {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: min(500px, 94vw) !important;
        max-width: 94vw !important;
        max-height: 85vh !important;
        max-height: 85dvh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        overscroll-behavior: contain !important;
        padding: 22px 14px 18px !important;
        border-radius: 20px !important;
    }
    .zh-tg-close-btn {
        top: 10px !important;
        right: 12px !important;
        width: 36px !important;
        height: 36px !important;
        z-index: 100 !important;
    }
    .zh-modal-hero {
        padding: 12px 14px;
        gap: 12px;
    }
    .zh-hero-avatar-wrap {
        width: 48px;
        height: 48px;
    }
    .zh-hero-name {
        font-size: 1rem;
    }
    .zh-hero-sub {
        font-size: 0.74rem;
    }
    .zh-modal-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .zh-feat-card {
        flex-direction: row;
        text-align: left;
        padding: 10px 12px;
        gap: 10px;
    }
    .zh-games-grid,
    .zh-modal-games-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
    .zh-game-card {
        padding: 6px 4px !important;
    }
    .zh-game-card img {
        width: 44px !important;
        height: 52px !important;
    }
    .zh-modal-cta-btn {
        padding: 12px 14px;
        gap: 10px;
    }
    .zh-cta-main {
        font-size: 0.86rem;
    }
    .zh-cta-sub {
        font-size: 0.62rem;
    }
}

@media (max-width: 480px) {
    #zhTgFloatingBadge.zh-tg-docked {
        left: 10px !important;
        bottom: 20px !important;
    }
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-card {
        height: 40px !important;
        padding: 4px 10px 4px 6px !important;
        gap: 6px !important;
    }
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-action {
        display: none !important;
    }
    #zhTgFloatingBadge.zh-tg-docked .zh-dock-title {
        font-size: 0.74rem !important;
    }
}

/* ──────────────────────────────────────────────────────────
   LIGHT THEME ADAPTATION FOR TELEGRAM VIP DOCK & MODAL
   ────────────────────────────────────────────────────────── */
html.light-theme #zhTgFloatingBadge.zh-tg-docked,
body.light-theme #zhTgFloatingBadge.zh-tg-docked {
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.1)) drop-shadow(0 0 14px rgba(0, 168, 70, 0.15));
}

html.light-theme #zhTgFloatingBadge.zh-tg-docked:hover,
body.light-theme #zhTgFloatingBadge.zh-tg-docked:hover {
    filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.15)) drop-shadow(0 0 20px rgba(0, 168, 70, 0.3));
}

html.light-theme .zh-dock-card,
body.light-theme .zh-dock-card {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(0, 168, 70, 0.38) !important;
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 14px rgba(0, 168, 70, 0.1) !important;
}

html.light-theme .zh-dock-title,
body.light-theme .zh-dock-title {
    color: #0f172a !important;
    text-shadow: none !important;
}

html.light-theme .zh-dock-subtitle,
body.light-theme .zh-dock-subtitle {
    color: #008f3a !important;
}

html.light-theme .zh-dock-action,
body.light-theme .zh-dock-action {
    background: linear-gradient(135deg, rgba(0, 168, 70, 0.15) 0%, rgba(0, 143, 58, 0.22) 100%) !important;
    border: 1px solid rgba(0, 168, 70, 0.45) !important;
    color: #0f172a !important;
}

html.light-theme #zhTgFloatingBadge.zh-tg-docked:hover .zh-dock-action,
body.light-theme #zhTgFloatingBadge.zh-tg-docked:hover .zh-dock-action {
    background: linear-gradient(135deg, #00a846 0%, #008f3a 100%) !important;
    color: #ffffff !important;
}

html.light-theme #zhTgFloatingBadge.zh-tg-docked:hover .zh-dock-action .zh-dock-arrow,
body.light-theme #zhTgFloatingBadge.zh-tg-docked:hover .zh-dock-action .zh-dock-arrow,
html.light-theme #zhTgFloatingBadge.zh-tg-docked:hover .zh-dock-action i.fa-bolt,
body.light-theme #zhTgFloatingBadge.zh-tg-docked:hover .zh-dock-action i.fa-bolt {
    color: #ffffff !important;
}

html.light-theme .zh-tg-overlay,
body.light-theme .zh-tg-overlay {
    background: rgba(15, 23, 42, 0.45) !important;
}

html.light-theme #zhTgFloatingBadge.zh-tg-centered,
body.light-theme #zhTgFloatingBadge.zh-tg-centered {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 
        0 24px 70px rgba(0, 0, 0, 0.16),
        0 0 35px rgba(0, 168, 70, 0.1) !important;
}

html.light-theme .zh-tg-close-btn,
body.light-theme .zh-tg-close-btn {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

html.light-theme .zh-hud-badge,
body.light-theme .zh-hud-badge {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #15803d !important;
}

html.light-theme .zh-hud-txt,
body.light-theme .zh-hud-txt {
    color: #15803d !important;
}

html.light-theme .zh-hud-ping,
body.light-theme .zh-hud-ping {
    color: #475569 !important;
}

html.light-theme .zh-modal-hero,
body.light-theme .zh-modal-hero {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

html.light-theme .zh-hero-name,
body.light-theme .zh-hero-name {
    color: #0f172a !important;
}

html.light-theme .zh-hero-role,
body.light-theme .zh-hero-role {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    color: #15803d !important;
}

html.light-theme .zh-hero-sub,
body.light-theme .zh-hero-sub {
    color: #475569 !important;
}

html.light-theme .zh-hero-status-row,
body.light-theme .zh-hero-status-row {
    color: #64748b !important;
}

html.light-theme .zh-feat-card,
body.light-theme .zh-feat-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

html.light-theme .zh-feat-text strong,
body.light-theme .zh-feat-text strong {
    color: #0f172a !important;
}

html.light-theme .zh-feat-text span,
body.light-theme .zh-feat-text span {
    color: #64748b !important;
}

html.light-theme .zh-games-header,
body.light-theme .zh-games-header {
    color: #475569 !important;
}

html.light-theme .zh-game-card,
body.light-theme .zh-game-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

html.light-theme .zh-game-card span,
body.light-theme .zh-game-card span {
    color: #1e293b !important;
}

html.light-theme .zh-modal-footer,
body.light-theme .zh-modal-footer {
    color: #64748b !important;
}

