/**
 * WESTELECOM HYPER-CYBER FINAL
 * Complete Visual Effects & Micro-Animations Bible
 * Circuitry · Data Flow · Glitch Protocol · Holographic Widgets
 */

@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Orbitron:wght@400;500;600;700;800;900&family=Space+Mono:wght@400;700&display=swap');

/* ═══════════════════════════════════════════════════════════════
   HYPER-CYBER COLOR PROTOCOL
   ═══════════════════════════════════════════════════════════════ */
:root {
    --hc-bg: #050505;
    --hc-bg-light: #0D0F12;
    --hc-bg-panel: #1A1D23;
    
    --hc-cyan: #00F2FF;
    --hc-magenta: #FF00E5;
    --hc-lime: #00FF66;
    --hc-orange: #FF6B00;
    --hc-white: #FFFFFF;
    
    --hc-glass: rgba(20, 28, 40, 0.85);
    
    --hc-glow-cyan: 0 0 20px rgba(0, 242, 255, 0.6);
    --hc-glow-magenta: 0 0 20px rgba(255, 0, 229, 0.6);
    --hc-glow-lime: 0 0 15px rgba(0, 255, 102, 0.5);
    
    --clip-chamfer: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

/* ═══════════════════════════════════════════════════════════════
   1. CIRCUITRY BACKGROUND - Bionic Foundation
   ═══════════════════════════════════════════════════════════════ */
.cyber-dashboard {
    background: var(--hc-bg);
    min-height: 100vh;
    padding: 100px 20px 40px;
    position: relative;
    overflow: hidden;
    font-family: 'Space Mono', monospace;
}

/* Geometry: 0.5px vector grid */
.cyber-dashboard::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(90deg, 
            transparent 0, 
            transparent 99.5px, 
            rgba(0, 242, 255, 0.02) 99.5px, 
            rgba(0, 242, 255, 0.02) 100px
        ),
        repeating-linear-gradient(0deg, 
            transparent 0, 
            transparent 99.5px, 
            rgba(0, 242, 255, 0.02) 99.5px, 
            rgba(0, 242, 255, 0.02) 100px
        );
    background-size: 100px 100px;
    animation: ambientPulse 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Ambient Pulse: opacity 0.02 -> 0.08 every 10s */
@keyframes ambientPulse {
    0%, 100% { opacity: 0.02; }
    50% { opacity: 0.04; }
}

/* Data Flow Animation - Light segments moving along lines */
.cyber-dashboard::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        /* Horizontal flowing segments */
        linear-gradient(90deg,
            transparent 0%,
            transparent 45%,
            rgba(0, 242, 255, 0.3) 48%,
            rgba(0, 242, 255, 0.3) 50%,
            rgba(0, 242, 255, 0.3) 52%,
            transparent 55%,
            transparent 100%
        ),
        /* Vertical flowing segments */
        linear-gradient(0deg,
            transparent 0%,
            transparent 45%,
            rgba(255, 0, 229, 0.15) 48%,
            rgba(255, 0, 229, 0.3) 50%,
            rgba(255, 0, 229, 0.15) 52%,
            transparent 55%,
            transparent 100%
        );
    background-size: 200px 1px, 1px 200px;
    background-position: 0 50px, 50px 0;
    animation: dataFlow 2s linear infinite;
    filter: blur(2px);
    pointer-events: none;
    z-index: 2;
}

@keyframes dataFlow {
    0% { background-position: 0 50px, 50px 0; }
    100% { background-position: 200px 50px, 50px 200px; }
}

/* Scanlines overlay 3% */
.cyber-noise {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(255, 255, 255, 0.015) 2px,
        rgba(255, 255, 255, 0.015) 4px
    );
    pointer-events: none;
    z-index: 1000;
}

/* Vignette */
.cyber-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cyber-container::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 20%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
    z-index: -1;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER - Identity Module
   ═══════════════════════════════════════════════════════════════ */
.cyber-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 28px 40px;
    background: var(--hc-glass);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    clip-path: var(--clip-chamfer);
    border: 1px solid rgba(0, 242, 255, 0.25);
    position: relative;
    will-change: transform;
}

.cyber-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hc-cyan), transparent);
    box-shadow: var(--hc-glow-cyan);
}

.cyber-greeting {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Hexagonal Avatar */
.cyber-avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--hc-magenta), var(--hc-cyan), var(--hc-lime));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Michroma', sans-serif;
    font-size: 22px;
    color: var(--hc-bg);
    animation: avatarGlow 3s ease-in-out infinite;
    will-change: filter;
}

@keyframes avatarGlow {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(255, 0, 229, 0.5)); }
    50% { filter: drop-shadow(0 0 25px rgba(0, 242, 255, 0.7)); }
}

.cyber-greeting-text h1 {
    font-family: 'Michroma', sans-serif;
    font-size: 12px; font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    margin-bottom: 6px;
}

.cyber-greeting-text h1 .name {
    display: block;
    font-size: 32px; font-weight: 900;
    color: var(--hc-white);
    margin-top: 4px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.cyber-account-id {
    margin-top: 10px;
}

.cyber-account-id span {
    font-size: 12px; font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
}

.cyber-account-id code {
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid rgba(0, 242, 255, 0.3);
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--hc-cyan);
    text-shadow: var(--hc-glow-cyan);
    margin-left: 8px;
}

.cyber-ip-display {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 6px;
}

.cyber-ip-display span {
    color: var(--hc-lime);
    text-shadow: var(--hc-glow-lime);
}

/* Status */
.cyber-status {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    background: rgba(0, 255, 102, 0.04);
    border: 1px solid rgba(0, 255, 102, 0.15);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-status:hover {
    background: rgba(0, 255, 102, 0.08);
    box-shadow: var(--hc-glow-lime);
}

.cyber-status.online .status-indicator {
    width: 12px;
    height: 12px;
    background: var(--hc-lime);
    border-radius: 50%;
    animation: breathe 2s ease-in-out infinite;
    box-shadow: var(--hc-glow-lime);
}

@keyframes breathe {
    0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(0,255,102,0.4); }
    50% { transform: scale(1.15); box-shadow: 0 0 20px rgba(0,255,102,0.8); }
}

.cyber-status .status-text {
    font-size: 11px;
    color: var(--hc-lime);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   2. THE CORE MODULE - Central Billing Blade
   ═══════════════════════════════════════════════════════════════ */
.cyber-billing {
    /* Liquid Surface - parallax gradient */
    background: linear-gradient(45deg, var(--hc-bg-panel), var(--hc-bg-light));
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    clip-path: var(--clip-chamfer);
    padding: 44px 52px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 36px;
    position: relative;
    will-change: transform;
    transition: background-position 0.3s ease;
}

/* Neon Glow Border - outer blurred + inner sharp */
.cyber-billing::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--hc-magenta), var(--hc-cyan), var(--hc-magenta));
    clip-path: var(--clip-chamfer);
    z-index: -2;
    filter: blur(8px);
    opacity: 0.6;
}

.cyber-billing::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--hc-magenta), var(--hc-white), var(--hc-cyan)) 1;
    clip-path: var(--clip-chamfer);
    pointer-events: none;
}

.cyber-billing-info { flex: 1; }

.cyber-billing-tariff {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.cyber-billing-tariff span {
    color: var(--hc-white);
    font-weight: 700;
}

/* Amount - Orbitron with outer glow */
.cyber-billing-amount {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.cyber-billing-amount .value {
    font-family: 'Orbitron', sans-serif;
    font-size: 64px;
    font-weight: 800;
    color: var(--hc-white);
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 25px rgba(0, 242, 255, 0.5),
        0 0 50px rgba(0, 242, 255, 0.3);
    animation: valueGlow 2.5s ease-in-out infinite;
}

@keyframes valueGlow {
    0%, 100% { text-shadow: 0 0 8px rgba(255,255,255,0.9), 0 0 25px rgba(0,242,255,0.4); }
    50% { text-shadow: 0 0 12px rgba(255,255,255,1), 0 0 40px rgba(0,242,255,0.7), 0 0 70px rgba(0,242,255,0.4); }
}

.cyber-billing-amount .currency {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.35);
}

.cyber-billing-deadline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 18px;
}

.cyber-billing-deadline .date {
    color: var(--hc-cyan);
    font-weight: 700;
    text-shadow: var(--hc-glow-cyan);
}

/* Pay Button - Mercury Idle + Cyan Halo Hover + Digital Explosion Click */
.cyber-billing-pay {
    text-align: center;
    position: relative;
}

.cyber-billing-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0088AA, var(--hc-cyan), #0088AA);
    background-size: 200% 100%;
    color: var(--hc-bg);
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 20px 56px;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    will-change: transform, box-shadow;
    /* Idle: mercury flow */
    animation: mercuryFlow 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes mercuryFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hover: Cyan halo effect */
.cyber-billing-btn:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 0 4px rgba(0, 242, 255, 0.2),
        0 0 30px rgba(0, 242, 255, 0.6),
        0 0 60px rgba(0, 242, 255, 0.3);
}

/* Gloss sweep */
.cyber-billing-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.cyber-billing-btn:hover::before {
    left: 150%;
}

/* Digital Explosion on click */
.cyber-billing-btn:active {
    transform: scale(0.98);
}

.cyber-billing-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
}

.cyber-billing-btn:active::after {
    animation: digitalExplosion 0.5s ease-out forwards;
}

@keyframes digitalExplosion {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 400px; height: 400px; opacity: 0; }
}

.cyber-billing-methods {
    display: block;
    font-size: 12px; font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 14px;
}

/* Progress bar */
.cyber-billing-progress {
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 2px;
}

.cyber-billing-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--hc-lime), var(--hc-cyan));
    border-radius: 2px;
    box-shadow: 0 0 8px var(--hc-cyan);
}

/* ═══════════════════════════════════════════════════════════════
   3. DATA GRID - Holographic Widget Panels
   ═══════════════════════════════════════════════════════════════ */
.cyber-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.cyber-tech-card {
    background: var(--hc-glass);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.cyber-tech-card:hover {
    transform: translateY(-8px);
    border-color: var(--hc-cyan);
    box-shadow: var(--hc-glow-cyan), inset 0 0 25px rgba(0, 242, 255, 0.08);
}

/* Holographic shimmer */
.cyber-tech-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(0,242,255,0.02) 45%, rgba(255,0,229,0.02) 50%, transparent 55%);
    animation: holoShimmer 6s linear infinite;
    pointer-events: none;
}

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

/* ═══════════════════════════════════════════════════════════════
   3.1 WIDGET: DEVICES - Active Radar Sweep
   ═══════════════════════════════════════════════════════════════ */
.cyber-tech-card:first-child .cyber-tech-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    position: relative;
    border: 2px solid var(--hc-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Radar rings */
.cyber-tech-card:first-child .cyber-tech-icon::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 50%;
}

/* Sweep beam - 2 second rotation */
.cyber-tech-card:first-child .cyber-tech-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--hc-cyan), transparent);
    transform-origin: left center;
    animation: radarSweep 2s linear infinite;
    box-shadow: 0 0 8px var(--hc-cyan), 0 0 15px var(--hc-cyan);
}

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

/* Center dot with point glow on sweep */
.cyber-tech-card:first-child .radar-center {
    width: 6px;
    height: 6px;
    background: var(--hc-cyan);
    border-radius: 50%;
    animation: pointGlow 2s ease-in-out infinite;
    box-shadow: var(--hc-glow-cyan);
}

@keyframes pointGlow {
    0%, 90%, 100% { opacity: 0.5; transform: scale(1); }
    95% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 20px var(--hc-cyan); }
}

.cyber-tech-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--hc-cyan);
    fill: none;
    filter: drop-shadow(0 0 6px var(--hc-cyan));
}

.cyber-tech-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--hc-cyan);
    text-shadow: var(--hc-glow-cyan);
    margin-bottom: 8px;
}

.cyber-tech-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   3.2 WIDGET: SPEED - Dynamic Wave with Jitter
   ═══════════════════════════════════════════════════════════════ */
.cyber-tech-card:nth-child(2) .cyber-tech-icon {
    height: 45px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyber-tech-card:nth-child(2) .cyber-tech-icon svg {
    width: 90px;
    height: 45px;
}

/* SVG waveform animation via stroke-dashoffset */
.speed-wave {
    stroke: var(--hc-cyan);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 6px var(--hc-cyan));
    animation: waveFlow 3s ease-in-out infinite, waveJitter 0.2s ease-in-out infinite;
}

@keyframes waveFlow {
    0%, 100% { 
        stroke: var(--hc-cyan);
        d: path("M0,22 Q22,8 45,22 T90,22");
    }
    50% { 
        stroke: var(--hc-magenta);
        d: path("M0,22 Q22,36 45,22 T90,22");
    }
}

@keyframes waveJitter {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(0.5px); }
    75% { transform: translateX(-0.5px); }
}

.cyber-tech-card:nth-child(2) .cyber-tech-value {
    color: var(--hc-magenta);
    text-shadow: var(--hc-glow-magenta);
}

/* ═══════════════════════════════════════════════════════════════
   3.3 WIDGET: GPON - Holographic Jitter + Scanlines
   ═══════════════════════════════════════════════════════════════ */
.cyber-tech-card:nth-child(3) {
    /* Flicker effect on entire widget */
    animation: holoFlicker 4s ease-in-out infinite;
}

@keyframes holoFlicker {
    0%, 92%, 94%, 96%, 98%, 100% { opacity: 1; }
    93% { opacity: 0.85; }
    95% { opacity: 0.95; }
    97% { opacity: 0.9; }
}

/* Internal scanlines moving top to bottom */
.cyber-tech-card:nth-child(3)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 3px,
        rgba(0, 255, 102, 0.03) 3px,
        rgba(0, 255, 102, 0.03) 6px
    );
    animation: scanlineMove 8s linear infinite;
    pointer-events: none;
}

@keyframes scanlineMove {
    from { background-position: 0 0; }
    to { background-position: 0 100px; }
}

.cyber-tech-card:nth-child(3) .cyber-tech-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border: 3px solid var(--hc-lime);
    border-radius: 50%;
    position: relative;
    box-shadow: var(--hc-glow-lime);
    animation: signalPulse 1.5s ease-in-out infinite;
}

@keyframes signalPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.cyber-tech-card:nth-child(3) .cyber-tech-icon::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 2px solid rgba(0, 255, 102, 0.3);
    border-radius: 50%;
}

.cyber-tech-card:nth-child(3) .cyber-tech-icon::after {
    content: "";
    position: absolute;
    inset: 14px;
    background: var(--hc-lime);
    border-radius: 50%;
    box-shadow: var(--hc-glow-lime);
}

.cyber-tech-card:nth-child(3) .cyber-tech-value {
    color: var(--hc-lime);
    text-shadow: var(--hc-glow-lime);
    font-size: 16px;
}

.cyber-tech-card:nth-child(3) .cyber-tech-label {
    color: var(--hc-lime);
}

/* ═══════════════════════════════════════════════════════════════
   3.4 WIDGET: PHONE - Retro Hologram Flicker
   ═══════════════════════════════════════════════════════════════ */
.cyber-tech-card:nth-child(4) {
    cursor: pointer;
}

.cyber-tech-card:nth-child(4):hover {
    border-color: var(--hc-orange);
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.4), inset 0 0 25px rgba(255, 107, 0, 0.08);
}

.cyber-tech-card:nth-child(4) .cyber-tech-icon svg {
    stroke: var(--hc-orange);
    filter: drop-shadow(0 0 8px var(--hc-orange));
    animation: retroFlicker 0.1s ease-in-out infinite;
}

@keyframes retroFlicker {
    0%, 88%, 100% { opacity: 1; }
    90% { opacity: 0.75; }
    92% { opacity: 1; }
    94% { opacity: 0.85; }
}

.cyber-tech-card:nth-child(4) .cyber-tech-value {
    color: var(--hc-orange);
    text-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

/* ═══════════════════════════════════════════════════════════════
   4. GLITCH PROTOCOL - RGB Split + Pixel Shift
   ═══════════════════════════════════════════════════════════════ */
.glitch-hover {
    position: relative;
}

.glitch-hover:hover {
    animation: glitchShift 0.3s ease-in-out;
}

@keyframes glitchShift {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(3px); }
    20% { transform: translateX(-3px); }
    30% { transform: translateX(2px); }
    40% { transform: translateX(-2px); }
}

/* RGB Split on critical elements */
.glitch-rgb {
    position: relative;
}

.glitch-rgb:hover::before,
.glitch-rgb:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-rgb:hover::before {
    color: var(--hc-cyan);
    transform: translateX(-2px);
    opacity: 0.7;
    animation: rgbSplitCyan 0.15s ease-in-out infinite;
}

.glitch-rgb:hover::after {
    color: var(--hc-magenta);
    transform: translateX(2px);
    opacity: 0.7;
    animation: rgbSplitMagenta 0.15s ease-in-out infinite;
}

@keyframes rgbSplitCyan {
    0%, 100% { transform: translateX(-2px); }
    50% { transform: translateX(-3px); }
}

@keyframes rgbSplitMagenta {
    0%, 100% { transform: translateX(2px); }
    50% { transform: translateX(3px); }
}

/* Low balance warning glitch */
.low-balance .cyber-billing-amount .value {
    animation: valueGlow 2.5s ease-in-out infinite, glitchShift 0.5s ease-in-out infinite;
    color: var(--hc-magenta);
}

/* ═══════════════════════════════════════════════════════════════
   ACTION BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.cyber-actions {
    background: var(--hc-glass);
    backdrop-filter: blur(25px) saturate(180%);
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    margin-bottom: 28px;
}

.cyber-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 28px;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    will-change: transform;
}

.cyber-btn:last-child { border-right: none; }

.cyber-btn:hover {
    background: rgba(0, 242, 255, 0.06);
    color: var(--hc-cyan);
    text-shadow: var(--hc-glow-cyan);
}

.cyber-btn-icon { font-size: 18px; }

/* ═══════════════════════════════════════════════════════════════
   PROMO BANNER
   ═══════════════════════════════════════════════════════════════ */
.cyber-promo {
    background: linear-gradient(135deg, var(--hc-glass), rgba(255, 107, 0, 0.06));
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 107, 0, 0.2);
    padding: 28px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cyber-promo-text { font-family: 'Michroma', sans-serif; }

.cyber-promo-text strong {
    color: var(--hc-white);
    font-size: 18px;
}

.cyber-promo-text span {
    color: var(--hc-orange);
    text-shadow: 0 0 12px rgba(255, 107, 0, 0.4);
}

.cyber-promo-text p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    margin-top: 6px;
}

.cyber-promo-cta {
    background: var(--hc-orange);
    color: var(--hc-bg);
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cyber-promo-cta:hover {
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.5);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.cyber-footer-links {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-top: 44px;
}

.cyber-footer-links a {
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cyber-footer-links a:hover {
    color: var(--hc-cyan);
    text-shadow: var(--hc-glow-cyan);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .cyber-tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .cyber-header { flex-direction: column; text-align: center; gap: 20px; }
    .cyber-greeting { flex-direction: column; }
    .cyber-billing { flex-direction: column; text-align: center; }
    .cyber-billing-amount .value { font-size: 48px; }
    .cyber-actions { flex-wrap: wrap; }
    .cyber-btn { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .cyber-promo { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 480px) {
    .cyber-tech-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════
   BALANCE INFO CARD - Hyper-Cyber Style
   ═══════════════════════════════════════════════════════════════ */
.cyber-balance-card {
    background: var(--hc-glass);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(0, 255, 102, 0.2);
    padding: 24px 32px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

/* Glow accent */
.cyber-balance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hc-lime), transparent);
    box-shadow: 0 0 15px var(--hc-lime);
}

.cyber-balance-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cyber-balance-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 102, 0.1);
    border: 2px solid var(--hc-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation: balanceGlow 2s ease-in-out infinite;
}

@keyframes balanceGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 102, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 102, 0.6); }
}

.cyber-balance-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--hc-lime);
    text-shadow: var(--hc-glow-lime);
}

.cyber-balance-amount.negative {
    color: var(--hc-magenta);
    text-shadow: var(--hc-glow-magenta);
}

.cyber-balance-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.cyber-balance-right {
    text-align: right;
}

.cyber-balance-until {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.cyber-balance-date {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--hc-cyan);
    text-shadow: var(--hc-glow-cyan);
    margin-top: 4px;
}

.cyber-balance-date.warning {
    color: var(--hc-orange);
    text-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
    animation: warningPulse 1s ease-in-out infinite;
}

.cyber-balance-date.critical {
    color: var(--hc-magenta);
    text-shadow: var(--hc-glow-magenta);
    animation: warningPulse 0.5s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.cyber-balance-days {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SKELETON LOADER */
/* ═══════════════════════════════════════════════════════════════ */
#cyber-skeleton {
    min-height: 500px;
    background: linear-gradient(135deg, #0a0c10 0%, #0d1018 100%);
    padding: 20px;
}
.skeleton-container {
    max-width: 480px;
    margin: 0 auto;
}
.skeleton-header {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: rgba(18, 22, 30, 0.85);
    border: 1px solid rgba(0, 242, 255, 0.1);
    margin-bottom: 16px;
}
.skeleton-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(90deg, #1a1f2e 25%, #252b3d 50%, #1a1f2e 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
}
.skeleton-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, #1a1f2e 25%, #252b3d 50%, #1a1f2e 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}
.skeleton-line.w70 { width: 70%; }
.skeleton-line.w50 { width: 50%; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w30 { width: 30%; }
.skeleton-billing {
    padding: 24px;
    background: rgba(18, 22, 30, 0.85);
    border: 1px solid rgba(0, 242, 255, 0.1);
    margin-bottom: 16px;
}
.skeleton-amount {
    width: 120px;
    height: 48px;
    margin: 16px 0;
    background: linear-gradient(90deg, #1a1f2e 25%, #252b3d 50%, #1a1f2e 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}
.skeleton-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.skeleton-widget {
    height: 80px;
    background: linear-gradient(90deg, #1a1f2e 25%, #252b3d 50%, #1a1f2e 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border: 1px solid rgba(0, 242, 255, 0.1);
}
.skeleton-pulse {
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.5), transparent);
    animation: skeleton-pulse 2s infinite;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes skeleton-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
