body {
    background-color: #050505;
    background-image: radial-gradient(circle at 15% 50%, rgba(112, 0, 255, 0.08) 0%, transparent 25%), radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 25%);
    color: #e2e8f0;
    overflow-x: hidden;
    min-height: 100vh;
}

.glass-panel {
    background: rgba(21, 27, 43, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    background: rgba(21, 27, 43, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

.text-glow-primary {
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
}

.text-glow-gold {
    text-shadow: 0 0 15px rgba(250, 204, 21, 0.6);
}

.glow-primary {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.glow-gold {
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.15);
}

.glass-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.glass-input:focus {
    border-color: #00F0FF;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    outline: none;
}

/* Select inputs dark theme */
.glass-input option {
    background: #151B2B;
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #00F0FF 0%, #0099FF 100%);
    color: #000;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, #FACC15 0%, #CA8A04 100%);
    color: #000;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}

.btn-purple {
    background: linear-gradient(135deg, #7000FF 0%, #A855F7 100%);
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
}

.robot-eye {
    filter: drop-shadow(0 0 8px #00F0FF);
    animation: blink 4s infinite;
}

@keyframes blink {

    0%,
    96%,
    100% {
        transform: scaleY(1);
    }

    98% {
        transform: scaleY(0.1);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0B0F19;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Table hover effect */
table tbody tr {
    transition: background 0.15s ease;
}

/* Gold shimmer animation */
.gold-shimmer {
    background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

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

    100% {
        background-position: -200% 0;
    }
}

/* Pulse dot for active status */
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00FF94;
    box-shadow: 0 0 10px #00FF94;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Responsive fixes */
@media (max-width: 768px) {
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 12px;
    }

    table th,
    table td {
        padding: 8px 6px;
    }
}

/* SlideUp Fade animation for step transitions */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

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

/* Plan card selected state */
.plan-card-active {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.25);
}

.plan-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* New Animations for Professional Finish */
@keyframes animatePop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

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

.animate-pop {
    animation: animatePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(50px);
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.removed {
    animation: slideOut 0.5s ease-in-out forwards;
    pointer-events: none;
    overflow: hidden;
}

/* Highlight for newly added items */
@keyframes highlightNew {
    0% {
        background-color: rgba(0, 240, 255, 0.2);
    }

    100% {
        background-color: transparent;
    }
}

.highlight-new {
    animation: highlightNew 2s ease-out;
}

/* ==========================================
   PREMIUM SUPPORT SYSTEM — Bybit/Stake Style
   ========================================== */

/* Floating Button */
.support-float-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    border: none;
    background: linear-gradient(135deg, #00F0FF 0%, #0066FF 100%);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35), 0 0 0 0 rgba(0, 240, 255, 0.4);
    animation: supportBtnBreathe 3s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 240, 255, 0.5), 0 0 0 0 rgba(0, 240, 255, 0.5);
}

@keyframes supportBtnBreathe {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35), 0 0 0 0 rgba(0, 240, 255, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35), 0 0 0 8px rgba(0, 240, 255, 0);
    }
}

/* Support Badge */
.support-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #EF4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: 2px solid #050505;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

/* Modal Shell */
.support-modal-container {
    background: #080D1A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

/* Modal Header */
.support-header {
    background: linear-gradient(180deg, #0F1629 0%, #080D1A 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.support-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.support-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(0, 102, 255, 0.15));
    border: 1px solid rgba(0, 240, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00F0FF;
    font-size: 14px;
    flex-shrink: 0;
}

.support-online-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 6px #22C55E;
    display: inline-block;
    animation: pulseDot 2s infinite;
}

/* Ticket Cards */
.support-ticket-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.support-ticket-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 240, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Status Badges */
.support-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.support-status-open {
    background: rgba(34, 197, 94, 0.1);
    color: #4ADE80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.support-status-answered {
    background: rgba(251, 191, 36, 0.1);
    color: #FBBF24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.support-status-closed {
    background: rgba(107, 114, 128, 0.1);
    color: #9CA3AF;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

/* Category Tags */
.support-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(0, 240, 255, 0.08);
    color: rgba(0, 240, 255, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.1);
}

/* Chat Bubbles */
.support-bubble {
    width: fit-content;
    min-width: 30px;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: normal;
    position: relative;
}

.support-bubble-user {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 240, 255, 0.1));
    border: 1px solid rgba(0, 150, 255, 0.15);
    color: #E2E8F0;
    border-bottom-right-radius: 4px;
    margin-left: auto;
}

.support-bubble-admin {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #E2E8F0;
    border-bottom-left-radius: 4px;
}

/* Chat Avatar */
.support-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.support-avatar-user {
    background: linear-gradient(135deg, #0066FF, #00F0FF);
    color: white;
}

.support-avatar-admin {
    background: linear-gradient(135deg, #7C3AED, #A78BFA);
    color: white;
}

/* Chat Input Area */
.support-input-area {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s ease;
}

.support-input-area:focus-within {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.05);
}

.support-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #00F0FF, #0066FF);
    border: none;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.support-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(0, 240, 255, 0.3);
}

.support-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* CTA Button */
.support-btn-cta {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00F0FF 0%, #0066FF 100%);
    color: #000;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.support-btn-cta:hover {
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
    transform: translateY(-1px);
}

/* Message Slide-in Animation */
@keyframes slideInMessage {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

.support-msg-new {
    animation: slideInMessage 0.3s ease-out forwards;
}

/* Ticket info bar */
.support-ticket-bar {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px 14px;
}

/* =========================================
   TELEGRAM LANDING CTA BUTTON
   ========================================= */
.telegram-cta-container {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.telegram-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(34, 158, 217, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover effects */
.telegram-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(34, 158, 217, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Glow ring */
.telegram-glow-ring {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent 40%, #00F0FF, #2AABEE, transparent 60%);
    background-size: 200% 200%;
    border-radius: 22px;
    z-index: -1;
    animation: gradient-rotate 3s linear infinite;
    opacity: 0.7;
}

/* Icon pulse */
.telegram-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: icon-float-pulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes gradient-rotate {
    0% { background-position: 0% 50%; border-radius: 22px; }
    50% { background-position: 100% 50%; border-radius: 24px; }
    100% { background-position: 0% 50%; border-radius: 22px; }
}

@keyframes icon-float-pulse {
    0%, 100% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 5px rgba(255,255,255,0.3)); }
    50% { transform: scale(1.1) translateY(-2px); filter: drop-shadow(0 0 12px rgba(255,255,255,0.8)); }
}

/* Ripple effect over the button */
.telegram-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.telegram-btn:hover::after {
    transform: scale(1);
    opacity: 1;
}

/* Custom scrollbar for support chat */
.support-chat-scroll::-webkit-scrollbar {
    width: 4px;
}

.support-chat-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.support-chat-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}

.support-chat-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Closed ticket banner */
.support-closed-banner {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    color: #F87171;
    font-size: 12px;
}

/* Empty state */
.support-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.support-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: rgba(0, 240, 255, 0.4);
    font-size: 24px;
}

/* Form select */
.support-select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    color: white;
    font-size: 13px;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color 0.2s ease;
    cursor: pointer;
}

.support-select:focus {
    border-color: rgba(0, 240, 255, 0.3);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.05);
}

.support-select option {
    background: #0F1629;
    color: white;
}

/* Form input */
.support-form-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    color: white;
    font-size: 13px;
    width: 100%;
    transition: border-color 0.2s ease;
}

.support-form-input:focus {
    border-color: rgba(0, 240, 255, 0.3);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.05);
}

.support-form-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* Promotions & News Banner */
.promo-banner {
    background: #0a0a0c;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.promo-banner:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.1);
}

.promo-banner video,
.promo-banner img {
    filter: brightness(0.7) contrast(1.1);
    transition: filter 0.5s ease;
}

.promo-banner:hover video,
.promo-banner:hover img {
    filter: brightness(0.9) contrast(1.15);
}

.promo-banner h2 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.promo-banner p {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(0, 240, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(0, 240, 255, 0.2);
    }
}

.cyber-primary-glow {
    animation: pulse-glow 2s infinite;
}

/* ==========================================
   PROMOTION CAROUSEL — Professional Slider
   ========================================== */
.promo-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0a0c;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.promo-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.promo-slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #0a0a0c;
}

.promo-media-container {
    position: relative;
    width: 100%;
    height: 300px;
    z-index: 10;
    overflow: hidden;
    background: #000;
}

.promo-media-container.promo-media-vertical {
    height: 480px;
}

@media (max-width: 768px) {
    .promo-media-container.promo-media-vertical {
        height: 400px;
    }
}

.promo-media-contain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

.promo-media-blur {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    filter: blur(20px) brightness(0.4);
    z-index: 1;
}

.promo-slide-content {
    position: relative;
    z-index: 20;
    padding: 1.5rem 2rem;
    width: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 1) 0%, rgba(10, 10, 12, 1) 100%);
    border-top: 1px solid rgba(0, 240, 255, 0.2);
}

.promo-glass-overlay {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    animation: glass-in 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes glass-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

@media (max-width: 768px) {
    .promo-media-container {
        height: 220px;
    }

    .promo-slide-content {
        padding: 1.25rem;
    }

    .promo-glass-overlay {
        padding: 1.25rem;
    }
}

/* Pagination Dots */
.promo-dots {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    z-index: 30;
}

.promo-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-dot.active {
    width: 24px;
    background: #00F0FF;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

@media (max-width: 640px) {
    .promo-slide {
        min-height: 180px;
    }

    .promo-slide-content {
        padding: 1.5rem;
    }

    .promo-dots {
        bottom: 1rem;
        right: 1.5rem;
    }
}

/* ═══════════════════════════════════════════
   HEADER HISTORY DROPDOWN BUTTONS & PANEL
   ═══════════════════════════════════════════ */

.history-header-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.25s ease;
}

.history-header-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
    color: #00F0FF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.15);
}

.history-header-btn.active {
    background: rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.5);
    color: #00F0FF;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.history-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 380px;
    max-height: 420px;
    overflow-y: auto;
    background: rgba(13, 17, 30, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.05);
    z-index: 50;
    animation: historySlideDown 0.25s ease-out;
}

.history-dropdown-panel::-webkit-scrollbar {
    width: 4px;
}

.history-dropdown-panel::-webkit-scrollbar-track {
    background: transparent;
}

.history-dropdown-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

@keyframes historySlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }

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

.history-dropdown-header {
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.history-dropdown-header h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
}

.history-dropdown-body {
    padding: 12px 16px 16px;
}

.history-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.history-entry:last-child {
    margin-bottom: 0;
}

.history-entry:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
    .history-dropdown-panel {
        width: calc(100vw - 32px);
        right: -60px;
    }
}

/* ─── Crypto Ticker Marquee ─── */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.crypto-ticker-track {
    animation: ticker-scroll 30s linear infinite;
    will-change: transform;
}

.crypto-ticker-track:hover {
    animation-play-state: paused;
}

.ticker-coin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    color: #9ca3af;
    flex-shrink: 0;
}

.ticker-coin .coin-symbol {
    font-weight: 700;
    color: #e5e7eb;
    font-size: 11px;
}

.ticker-coin .coin-price {
    font-family: 'JetBrains Mono', monospace;
    color: #d1d5db;
    font-size: 11px;
}

.ticker-coin .coin-change {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
}

.ticker-coin .coin-change.positive {
    color: #00FF94;
}

.ticker-coin .coin-change.negative {
    color: #FF0055;
}

.ticker-separator {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ─── Hero Media Responsive Fit ─── */
.hero-media-fit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%; /* Focus on the top area where faces usually are */
    transition: object-position 0.5s ease;
}

/* On mobile portrait or very narrow screens, ensure faces are still prioritized */
@media (max-width: 640px) {
    .hero-media-fit {
        object-position: center 15%;
    }
}

/* Professional blurred backdrop for videos that should be 'contained' */
.hero-backdrop-blur {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    filter: blur(40px) brightness(0.4) saturate(1.2);
    z-index: 0;
    opacity: 0.8;
}

/* The actual video when contained */
.hero-media-contain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

/* ─── Ken Burns Slow Zoom Animation ─── */
@keyframes hero-ken-burns {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.hero-ken-burns {
    animation: hero-ken-burns 20s ease-in-out infinite;
    will-change: transform;
}

/* ─── Hero Slide Transitions ─── */
.hero-carousel-slide {
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel-slide[style*="opacity: 0"],
.hero-carousel-slide[style*="opacity:0"] {
    transform: scale(1.03);
}

.hero-carousel-slide[style*="opacity: 1"],
.hero-carousel-slide[style*="opacity:1"] {
    transform: scale(1);
}

/* Notification Animations */
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUpBounce {
    0% { opacity: 0; transform: scale(0.8); }
    70% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.notif-item {
    transition: all 0.3s ease;
}

.notif-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.notif-dot-urgent { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
.notif-dot-important { background: #f97316; }
.notif-dot-normal { background: #00F0FF; }

/* Custom Scrollbar for dropdowns */
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }