/* ═══════════════════════════════════════
   GEORGE VIP — Premium Trading Profile
   Single-screen, cinematic dark theme
   ═══════════════════════════════════════ */

/* ── Variables ─────────────────────────── */
:root {
    --green: #00ff66;
    --blue: #0088ff;
    --cyan: #00e5ff;
    --purple: #9c27b0;
    --dark: #020610;
    --card: rgba(10, 17, 30, 0.65);
    --muted: #8b9bb4;
}

/* ── Reset ──────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── Body — Adaptable Viewport ───── */
html,
body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    background: var(--dark);
    color: #fff;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

/* ══════════════════════════════════════════
   CINEMATIC BACKGROUND
   ══════════════════════════════════════════ */
.bg-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Ambient glows */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.glow-green-left {
    width: 550px;
    height: 700px;
    left: -18%;
    top: 20%;
    background: rgba(0, 255, 102, 0.09);
    animation: glowMove1 20s infinite alternate ease-in-out;
}

.glow-blue-top {
    width: 600px;
    height: 600px;
    right: -15%;
    top: -10%;
    background: rgba(0, 136, 255, 0.10);
    animation: glowMove2 25s infinite alternate ease-in-out;
}

@keyframes glowMove1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(6%, 12%) scale(1.12); }
}

@keyframes glowMove2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10%, -6%) scale(1.08); }
}

.glow-blue-right {
    width: 320px;
    height: 320px;
    right: 2%;
    top: 42%;
    background: rgba(0, 180, 255, 0.13);
    border-radius: 50%;
    filter: blur(60px);
    animation: glowMove3 18s infinite alternate ease-in-out;
}

.glow-blue-bottom {
    width: 400px;
    height: 400px;
    right: -10%;
    bottom: -5%;
    background: rgba(0, 100, 255, 0.07);
    animation: glowMove4 22s infinite alternate ease-in-out;
}

@keyframes glowMove3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10%, -10%) scale(1.2); }
}

@keyframes glowMove4 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-5%, -8%) scale(1.15); }
}

/* Left candlestick chart */
.chart {
    position: absolute;
}

.chart-left {
    left: 0;
    top: 0;
    width: 22%;
    height: 100%;
    opacity: 0;
    animation: chartFadeIn 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.chart-right {
    right: 0;
    top: 0;
    width: 38%;
    height: 100%;
    opacity: 0;
    animation: chartFadeIn 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes chartFadeIn {
    to { opacity: 1; }
}

.trend-line-1 {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawLine 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

.trend-line-2 {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawLine 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1s;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* Grid */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 20%, black 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 20%, black 100%);
}

/* ══════════════════════════════════════════
   MAIN LAYOUT — single screen column
   ══════════════════════════════════════════ */
.app {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.6rem 1.1rem 1rem;
    margin: auto;
    gap: 1.5rem;
}

/* ── TOP BAR ───────────────────────────── */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(15, 25, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 0.38rem 0.85rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulseAnim 2s ease-in-out infinite;
}

@keyframes pulseAnim {

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

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

.icon-pill {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 25, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: border-color .25s;
}

.icon-pill:hover {
    border-color: var(--green);
}

/* ── PROFILE ───────────────────────────── */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    gap: 0;
}

.avatar-wrap {
    position: relative;
    width: 124px;
    height: 124px;
    margin-bottom: 0.85rem;
    flex-shrink: 0;
}

/* Outer animated ring */
.avatar-wrap {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-wrap:hover {
    transform: scale(1.08) rotate(4deg);
}

.avatar-ring-outer {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(var(--blue) 0deg,
            var(--green) 120deg,
            var(--blue) 240deg,
            var(--green) 360deg);
    animation: spinPulseRing 6s linear infinite;
    filter: blur(1px);
    opacity: 0.9;
}

@keyframes spinPulseRing {
    0% {
        transform: rotate(0deg) scale(1);
        filter: blur(1px) drop-shadow(0 0 5px rgba(0, 255, 102, 0.4));
    }
    50% {
        transform: rotate(180deg) scale(1.04);
        filter: blur(1.5px) drop-shadow(0 0 15px rgba(0, 136, 255, 0.6));
    }
    100% {
        transform: rotate(360deg) scale(1);
        filter: blur(1px) drop-shadow(0 0 5px rgba(0, 255, 102, 0.4));
    }
}

/* Inner dark mask */
.avatar-ring-inner {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--dark);
    z-index: 1;
}

.avatar-img {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    z-index: 2;
    border: 2.5px solid #040a17;
    display: block;
}

.avatar-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #040a17;
    border: 2px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 0.75rem;
    box-shadow: 0 0 12px rgba(0, 255, 102, 0.5);
}

.name {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    line-height: 1;
    margin-bottom: 0.45rem;
    background: linear-gradient(120deg, #fff 30%, #a2c4ff 42%, #fff 55%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 5s linear infinite;
}

@keyframes shineText {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.green {
    color: var(--green);
    -webkit-text-fill-color: var(--green);
    text-shadow: 0 0 18px rgba(0, 255, 102, 0.5);
}

.separator {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 280px;
    margin-bottom: 0.5rem;
}

.sep-line {
    height: 1px;
    flex: 1;
    box-shadow: 0 0 6px var(--green);
}

.sep-line.left {
    background: linear-gradient(90deg, transparent, var(--green));
}

.sep-line.right {
    background: linear-gradient(270deg, transparent, var(--green));
}

.sep-text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: #dde6f5;
    white-space: nowrap;
}

.tagline {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.4;
    margin: 1rem 0;
    padding: 0.8rem 1rem;
    background: rgba(0, 255, 102, 0.05);
    border: 1px solid rgba(0, 255, 102, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}

/* ── LINKS ─────────────────────────────── */
.links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex-shrink: 0;
}

.card {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 14px;
    padding: 0.75rem 1.1rem;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    /* 3D tilt setup */
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s;
    border: 1px solid transparent;
    z-index: 1;
}

.card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Border Beam - Conic gradient border spin beam on hover */
.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent 50%, 
        var(--theme-color, #00ff66) 80%, 
        transparent 100%
    );
    animation: borderSpin 4s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

/* Inner mask + Spotlight */
.card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: radial-gradient(320px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(255, 255, 255, 0.09), transparent 50%), var(--card);
    border-radius: 13px;
    z-index: -1;
    transition: background 0.3s;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    pointer-events: none;
}

.card:hover::after {
    background: radial-gradient(320px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(255, 255, 255, 0.13), transparent 50%), rgba(14, 24, 44, 0.95);
}

.card-blue {
    --theme-color: #0088ff;
    border-color: rgba(0, 136, 255, 0.22);
}

.card-purple {
    --theme-color: #9c27b0;
    border-color: rgba(156, 39, 176, 0.22);
}

.card-cyan {
    --theme-color: #00e5ff;
    border-color: rgba(0, 229, 255, 0.22);
}

/* Watermark icon */
.card-bg-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(-8deg);
    font-size: 5.5rem;
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
}

/* Icon circle */
.card-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    margin-right: 1rem;
    position: relative;
    z-index: 1;
}

.telegram-icon {
    background: linear-gradient(135deg, #2aabee, #1a86c6);
    box-shadow: 0 0 14px rgba(42, 171, 238, 0.45);
}

.instagram-icon {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    box-shadow: 0 0 14px rgba(214, 36, 159, 0.45);
}

.tiktok-icon {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.25);
}

.tiktok-icon i {
    text-shadow: -2px -2px 0 #00f2fe, 2px 2px 0 #fe0979;
}

.card-text {
    flex: 1;
    z-index: 1;
}

.card-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 0.1rem;
}

.card-text p {
    font-size: 0.72rem;
    color: var(--muted);
}

.card-arrow {
    color: var(--green);
    font-size: 1rem;
    z-index: 1;
}

/* ── STATS ─────────────────────────────── */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(8, 13, 24, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 0.9rem 0.4rem;
    backdrop-filter: blur(14px);
    position: relative;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    margin-top: 1.5rem; /* Espacio extra después de los links */
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.stat i {
    color: var(--green);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    filter: drop-shadow(0 0 6px rgba(0, 255, 102, 0.45));
}

.stat-val {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.18rem;
    letter-spacing: 0.5px;
}

.stat-lbl {
    font-size: 0.46rem;
    color: var(--muted);
    letter-spacing: 1px;
    font-weight: 600;
}

/* ── FOOTER ────────────────────────────── */
.foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.motto {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #dde6f5;
    text-align: center;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.motto .green {
    color: var(--green);
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
}

.dot-sep {
    color: var(--muted);
    font-size: 0.45rem;
    opacity: 0.6;
}

.wave-bar {
    filter: drop-shadow(0 0 6px rgba(0, 255, 102, 0.55));
    margin: 0;
}

.wave-bar svg rect {
    transform-origin: bottom;
    animation: eqAnim 1s ease-in-out infinite alternate;
}

.wave-bar svg rect:nth-child(1) { animation-delay: 0.1s; animation-duration: 0.8s; }
.wave-bar svg rect:nth-child(2) { animation-delay: 0.3s; animation-duration: 1.1s; }
.wave-bar svg rect:nth-child(3) { animation-delay: 0.5s; animation-duration: 0.9s; }
.wave-bar svg rect:nth-child(4) { animation-delay: 0.2s; animation-duration: 1.2s; }
.wave-bar svg rect:nth-child(5) { animation-delay: 0.6s; animation-duration: 0.7s; }
.wave-bar svg rect:nth-child(6) { animation-delay: 0.1s; animation-duration: 1.0s; }
.wave-bar svg rect:nth-child(7) { animation-delay: 0.4s; animation-duration: 1.1s; }
.wave-bar svg rect:nth-child(8) { animation-delay: 0.2s; animation-duration: 0.8s; }
.wave-bar svg rect:nth-child(9) { animation-delay: 0.5s; animation-duration: 1.2s; }

@keyframes eqAnim {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1.5); }
}

.socials {
    display: flex;
    gap: 1rem;
}

.soc-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 25, 42, 0.5);
    color: var(--muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color .25s, border-color .25s, transform .25s;
}

.soc-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.copy {
    font-size: 0.6rem;
    color: rgba(139, 155, 180, 0.5);
    letter-spacing: 0.3px;
}

/* ══════════════════════════════════════════
   RESPONSIVE & ADAPTIVE STYLES
   ══════════════════════════════════════════ */
@media (max-height: 800px) {
    .app {
        padding: 1.2rem 1.1rem 1rem;
        gap: 1.2rem;
    }
    .avatar-wrap {
        width: 110px;
        height: 110px;
        margin-bottom: 0.6rem;
    }
    .name {
        font-size: 1.7rem;
    }
    .tagline {
        margin: 0.6rem 0;
        padding: 0.6rem 0.8rem;
    }
    .stats {
        margin-top: 1rem;
    }
}

@media (max-height: 700px), (max-width: 380px) {
    .app {
        padding: 1rem 0.8rem;
        gap: 0.8rem;
    }
    .avatar-wrap {
        width: 90px;
        height: 90px;
        margin-bottom: 0.4rem;
    }
    .name {
        font-size: 1.5rem;
    }
    .separator {
        margin-bottom: 0.3rem;
    }
    .tagline {
        font-size: 0.75rem;
        margin: 0.5rem 0;
        padding: 0.5rem 0.7rem;
    }
    .links {
        gap: 0.5rem;
    }
    .card {
        padding: 0.5rem 0.8rem;
    }
    .card-icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        margin-right: 0.6rem;
    }
    .card-text h3 {
        font-size: 0.85rem;
    }
    .card-text p {
        font-size: 0.65rem;
    }
    .stats {
        padding: 0.6rem 0.2rem;
        margin-top: 0.5rem;
    }
    .stat-val {
        font-size: 0.9rem;
    }
    .stat-lbl {
        font-size: 0.42rem;
    }
    .motto {
        font-size: 0.65rem;
        gap: 0.4rem;
    }
    .wave-bar svg {
        transform: scale(0.8);
    }
    .socials {
        gap: 0.8rem;
    }
    .soc-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* ================= STAGGERED REVEAL ON LOAD ================= */
.top-bar, 
.profile, 
.links .card, 
.stats, 
.foot {
    opacity: 0;
    animation: revealIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.top-bar { animation-delay: 0.15s; }
.profile { animation-delay: 0.35s; }
.links .card:nth-child(1) { animation-delay: 0.55s; }
.links .card:nth-child(2) { animation-delay: 0.65s; }
.links .card:nth-child(3) { animation-delay: 0.75s; }
.stats { animation-delay: 0.9s; }
.foot { animation-delay: 1.1s; }

@keyframes revealIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Premium Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 102, 0.2);
    border-radius: 4px;
    transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 102, 0.4);
}

/* ================= BORDER BEAM ROTATION KEYFRAMES ================= */
@keyframes borderSpin {
    100% {
        transform: rotate(360deg);
    }
}

/* ================= GLOW AURA INTERACTIVA DEL CURSOR ================= */
.cursor-glow {
    position: fixed;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.07) 0%, rgba(0, 136, 255, 0.03) 50%, transparent 100%);
    pointer-events: none;
    z-index: 2; /* sits right above the canvas background and behind main content card */
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
    mix-blend-mode: screen;
}

/* ================= AUTO-DRAW TREND LINE ================= */
.anim-draw {
    animation: dash-draw 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.anim-draw-delay {
    animation: dash-draw 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.7s;
}

@keyframes dash-draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* ================= MOBILE TOUCH ENHANCEMENTS ================= */
@media (pointer: coarse) {
    /* Hide cursor aura on mobile as there's no cursor */
    .cursor-glow {
        display: none !important;
    }

    /* Add an elegant pulse effect to cards so they look alive without hover */
    .card {
        animation: pulse-glow-mobile 4s infinite alternate;
    }

    .card:nth-child(2) {
        animation-delay: 1.3s;
    }

    .card:nth-child(3) {
        animation-delay: 2.6s;
    }

    /* Active state (touch press) simulation */
    .card:active {
        transform: scale(0.97) !important;
        transition: transform 0.1s ease-out;
    }
}

@keyframes pulse-glow-mobile {
    0% {
        box-shadow: inset 0 0 0px rgba(0, 255, 102, 0), 0 4px 20px rgba(0, 0, 0, 0.4);
    }
    100% {
        box-shadow: inset 0 0 15px rgba(0, 255, 102, 0.08), 0 4px 24px rgba(0, 255, 102, 0.1);
    }
}

/* ================= SIMPLE VIEWER MODAL ================= */
.viewer-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(11, 14, 20, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.viewer-modal.active {
    opacity: 1;
    pointer-events: all;
}

.close-modal-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    z-index: 10;
}

.close-modal-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.modal-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    object-fit: contain;
    animation: zoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}