/* ==========================================================================
   VORTEX HACKS - CYBER LUXURY HIGH PERFORMANCE STYLESHEET
   Paleta: Celeste Neón (#00f2fe, #38bdf8), Azul Tech (#0284c7), Deep Space (#040711)
   Cero Lag, 60 FPS en móviles, Interfaces 100% Ricas & Completas
   ========================================================================== */

:root {
    --bg-deep: #040711;
    --bg-surface: #070d1d;
    --bg-card: rgba(10, 18, 35, 0.78);
    --bg-card-hover: rgba(14, 25, 48, 0.92);
    --bg-input: #060b17;
    
    --celeste: #38bdf8;
    --celeste-neon: #00f2fe;
    --celeste-glow: rgba(0, 242, 254, 0.35);
    --azul-primary: #0284c7;
    --azul-dark: #034f7c;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --border: rgba(56, 189, 248, 0.18);
    --border-hover: rgba(0, 242, 254, 0.55);

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Duration Selectors for iOS and PC */
.dur-pill-option {
    background: #040814;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 4px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dur-pill-option:hover {
    border-color: var(--celeste);
    background: rgba(56, 189, 248, 0.08);
}

.dur-pill-option.active {
    background: rgba(0, 242, 254, 0.16);
    border: 1.5px solid var(--celeste-neon);
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.35);
}

.dur-pill-option .d-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.dur-pill-option.active .d-name {
    color: #fff;
}

.dur-pill-option .d-cost {
    font-size: 13px;
    font-weight: 900;
    color: var(--celeste-neon);
    font-family: var(--font-mono);
}

/* Recharge Amount Chips */
.amount-chip-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: #fff;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: var(--transition);
}

.amount-chip-btn:hover {
    border-color: var(--celeste);
    background: rgba(56, 189, 248, 0.08);
}

.amount-chip-btn.active {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(2, 132, 199, 0.3));
    border-color: var(--celeste-neon);
    color: var(--celeste-neon);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

/* Category Filter active pill */
.btn-ghost.active-filter {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--celeste-neon);
    color: var(--celeste-neon);
}

/* Modal Overlay & Box */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 5, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-box {
    animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* License Active Card */
.license-active-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 14px;
    transition: var(--transition);
}

.license-active-card:hover {
    border-color: var(--celeste);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.lic-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.lic-key-box {
    background: #040814;
    border: 1px dashed var(--celeste);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 14.5px;
    font-weight: 900;
    color: var(--celeste-neon);
    letter-spacing: 1px;
    margin-bottom: 14px;
    word-break: break-all;
}

/* History Row */
.history-item-row {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.history-item-row .h-desc {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.history-item-row .h-meta {
    font-size: 11.5px;
    color: var(--text-dim);
}

.history-item-row .h-amount {
    font-size: 15px;
    font-weight: 900;
    font-family: var(--font-mono);
    white-space: nowrap;
}

/* Toast item */
.toast-item {
    background: #081126;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 18px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: toastSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-item.success {
    border-color: #10b981;
}

.toast-item.danger {
    border-color: #ef4444;
}

.toast-item.info {
    border-color: var(--celeste-neon);
}

@keyframes toastSlide {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: #111d38;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--azul-primary);
}


/* ==========================================================================
   VORTEX HACKS - ENHANCED CYBER LUXURY DECORATIONS & VISUAL POLISH
   ========================================================================== */

/* Neon Text Gradient */
.text-cyber-glow {
    background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.4));
}

/* Pulsing Badge & Orb Animation */
@keyframes cyberPulse {
    0% {
        box-shadow: 0 0 15px rgba(0, 242, 254, 0.3), inset 0 0 10px rgba(0, 242, 254, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 242, 254, 0.6), inset 0 0 18px rgba(0, 242, 254, 0.4);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 242, 254, 0.3), inset 0 0 10px rgba(0, 242, 254, 0.2);
    }
}

.brand-logo-img, .orb-center-logo {
    animation: cyberPulse 3.5s infinite ease-in-out;
}

/* Enhanced Neon Button with Shimmer */
.btn-neon {
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-neon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(25deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.btn-neon:hover::after {
    left: 130%;
}

.btn-neon:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.6), 0 8px 20px rgba(0, 0, 0, 0.6) !important;
}

/* Enhanced Cards Glassmorphism */
.door-card, .shop-product-card, .diamond-card {
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid rgba(56, 189, 248, 0.16) !important;
    background: linear-gradient(180deg, rgba(10, 18, 38, 0.85) 0%, rgba(6, 11, 24, 0.95) 100%) !important;
    backdrop-filter: blur(14px) !important;
}

.door-card:hover, .shop-product-card:hover, .diamond-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(0, 242, 254, 0.6) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 242, 254, 0.25) !important;
}

/* Status indicator badge */
.badge-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: liveBlink 1.8s infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}
