/* =============================================
   TopHosting.pro - Luxury Dark Theme
   Color Palette:
   Primary: #081120  |  Accent: #6C4CFF
   Blue: #3B82F6     |  Success: #00D084
   BG: #050814       |  Cards: #0E1728
   Borders: rgba(255,255,255,0.08)
   Text: #fff / #AEB8D0
   ============================================= */

/* Modern Selection */
::selection {
    background-color: #6C4CFF;
    color: #fff;
}

.base-color {
    color: #6C4CFF !important;
}

/* =============================================
   Copy Animation
   ============================================= */
.copyInput {
    display: inline-block;
    line-height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: #AEB8D0;
}

.copied::after {
    position: absolute;
    top: 8px;
    right: 12%;
    width: 100px;
    display: block;
    content: "COPIED";
    font-size: 1em;
    padding: 5px 5px;
    color: #fff;
    background: linear-gradient(135deg, #6C4CFF, #3B82F6);
    border-radius: 8px;
    opacity: 0;
    will-change: opacity, transform;
    animation: showcopied 1.5s ease;
}

@keyframes showcopied {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    50% {
        opacity: 0.7;
        transform: translateX(40%);
    }
    70% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
    }
}

/* =============================================
   Gradient Backgrounds
   ============================================= */
.bg-gradient-blooker {
    background: linear-gradient(135deg, #6C4CFF 0%, #3B82F6 100%);
}

.bg-gradient-scooter {
    background: linear-gradient(135deg, #22D3EE 0%, #3B82F6 100%);
}

.bg-gradient-bloody {
    background: linear-gradient(135deg, #f5515f 0%, #a1051d 100%);
}

.bg-gradient-ohhappiness {
    background: linear-gradient(135deg, #00D084 0%, #0D9488 100%);
}

.bg-gradient-royal {
    background: linear-gradient(135deg, #081120 0%, #0E1728 100%);
}

.bg-gradient-sunset {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* =============================================
   Glassmorphism Utility
   ============================================= */
.glass {
    background: rgba(14,23,40,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
}

.glass-dark {
    background: rgba(5,8,20,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
}

.glass-card {
    background: rgba(14,23,40,0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
}

/* =============================================
   Cookie Card - Premium Dark
   ============================================= */
.cookies-card {
    width: 520px;
    padding: 30px;
    color: #AEB8D0;
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 999999;
    transition: all 0.5s;
    background: rgba(14,23,40,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.cookies-card.hide {
    bottom: -500px !important;
}

.radius--10px {
    border-radius: 10px;
}

.cookies-card__icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C4CFF 0%, #3B82F6 100%);
    color: #fff;
    font-size: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.cookies-card__content {
    margin-bottom: 0;
}

.cookies-btn {
    color: #fff;
    text-decoration: none;
    padding: 10px 35px;
    margin: 3px 5px;
    display: inline-block;
    border-radius: 999px;
    background: linear-gradient(135deg, #6C4CFF, #3B82F6);
    transition: all 0.3s;
}

.cookies-btn:hover {
    color: #fff;
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(108,76,255,0.4);
}

@media (max-width: 767px) {
    .cookies-card {
        width: 100%;
        left: 0;
        bottom: 0;
        font-size: 14px;
        padding: 15px;
        border-radius: 16px 16px 0 0;
    }
}

/* =============================================
   Custom Scrollbar - Dark Purple
   ============================================= */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(108,76,255,0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(108,76,255,0.5);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(108,76,255,0.3) transparent;
}

/* =============================================
   Skeleton Loading Animation - Dark
   ============================================= */
.skeleton {
    position: relative;
    overflow: hidden;
    background: #0E1728;
    border-radius: 4px;
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(108,76,255,0.08) 50%,
        transparent 100%
    );
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    width: 80%;
}

.skeleton-title {
    height: 22px;
    margin-bottom: 12px;
    width: 60%;
}

.skeleton-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-card {
    height: 120px;
    border-radius: 16px;
}

/* =============================================
   Input Popup - Dark Glass
   ============================================= */
.hover-input-popup {
    position: relative;
}

.input-popup {
    display: none;
}

.hover-input-popup .input-popup {
    display: block;
    position: absolute;
    bottom: 130%;
    left: 50%;
    width: 280px;
    background: rgba(14,23,40,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #AEB8D0;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    transform: translateX(-50%);
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.input-popup::after {
    position: absolute;
    content: '';
    bottom: -19px;
    left: 50%;
    margin-left: -5px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent rgba(14,23,40,0.95) transparent;
    transform: rotate(180deg);
}

.input-popup p {
    padding-left: 20px;
    position: relative;
}

.input-popup p::before {
    position: absolute;
    content: '';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    left: 0;
    top: 4px;
    line-height: 1;
    font-size: 18px;
}

.input-popup p.error {
    text-decoration: line-through;
}

.input-popup p.error::before {
    content: "\f057";
    color: #ef4444;
}

.input-popup p.success::before {
    content: "\f058";
    color: #00D084;
}

/* =============================================
   Filter Styles
   ============================================= */
.show-filter {
    display: none;
}

@media (max-width: 767px) {
    .responsive-filter-card {
        display: none;
        transition: none;
    }

    .show-filter {
        display: block;
    }
}

/* =============================================
   Premium Utility Classes
   ============================================= */
.premium-shadow {
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.premium-shadow-lg {
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.premium-shadow-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.premium-shadow-hover:hover {
    box-shadow: 0 12px 48px rgba(108,76,255,0.15);
    transform: translateY(-2px);
}

.premium-radius {
    border-radius: 16px;
}

.premium-radius-sm {
    border-radius: 10px;
}

.premium-radius-lg {
    border-radius: 24px;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #6C4CFF 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

/* =============================================
   Smooth Transitions
   ============================================= */
.transition-all {
    transition: all 0.3s ease;
}

.transition-fast {
    transition: all 0.15s ease;
}

.transition-slow {
    transition: all 0.5s ease;
}

/* =============================================
   Hover Effects - Premium Dark
   ============================================= */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(108,76,255,0.15);
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* =============================================
   Fade In Animation
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.fade-in-up-delay-1 {
    animation: fadeInUp 0.5s ease 0.1s forwards;
    opacity: 0;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 0.5s ease 0.2s forwards;
    opacity: 0;
}

.fade-in-up-delay-3 {
    animation: fadeInUp 0.5s ease 0.3s forwards;
    opacity: 0;
}

.fade-in-up-delay-4 {
    animation: fadeInUp 0.5s ease 0.4s forwards;
    opacity: 0;
}

/* =============================================
   Glow Effects
   ============================================= */
.glow-primary {
    box-shadow: 0 0 20px rgba(108,76,255,0.3);
}

.glow-primary-hover:hover {
    box-shadow: 0 0 30px rgba(108,76,255,0.4);
}

.glow-blue {
    box-shadow: 0 0 20px rgba(59,130,246,0.3);
}

.glow-success {
    box-shadow: 0 0 20px rgba(0,208,132,0.3);
}

/* =============================================
   Mouse-Following Glow Utility
   ============================================= */
.mouse-glow {
    position: relative;
    overflow: hidden;
}

.mouse-glow::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108,76,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mouse-glow:hover::before {
    opacity: 1;
}

/* =============================================
   Badge Styles - Dark
   ============================================= */
.badge-premium {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-success-soft {
    background: rgba(0,208,132,0.12);
    color: #00D084;
}

.badge-warning-soft {
    background: rgba(245,158,11,0.12);
    color: #f59e0b;
}

.badge-danger-soft {
    background: rgba(239,68,68,0.12);
    color: #ef4444;
}

.badge-info-soft {
    background: rgba(59,130,246,0.12);
    color: #3B82F6;
}

/* =============================================
   Dark Theme Global Overrides
   ============================================= */
.bg--light {
    background: #050814 !important;
}

.text-muted {
    color: #5A6478 !important;
}

.text-dark {
    color: #fff !important;
}

.border-bottom {
    border-bottom-color: rgba(255,255,255,0.06) !important;
}

.border-top {
    border-top-color: rgba(255,255,255,0.06) !important;
}
