/* Randomizer page — demo stage + emoji logo (extends shared style.css) */

.hero-logo-emoji {
    font-size: 72px;
    line-height: 1;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 22px rgba(255, 0, 200, 0.55));
    animation: logoBob 4s ease-in-out infinite;
}

.demo-stage {
    position: relative;
    max-width: 720px;
    height: 200px;
    margin: 0 auto 2.4rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 0, 200, 0.3);
    background:
        radial-gradient(400px 200px at 50% 120%, rgba(123, 47, 247, 0.25), transparent 70%),
        linear-gradient(160deg, #0d0d14 0%, #16162a 100%);
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 0, 200, 0.18),
        0 0 100px rgba(123, 47, 247, 0.1);
    animation: breatheGlow 4s ease-in-out infinite;
}

.comp-mock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rlayer {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    transition: transform 1s cubic-bezier(0.34, 1.4, 0.5, 1), opacity 1s ease;
    will-change: transform, opacity;
}

.rlayer.r1 { background: linear-gradient(135deg, #ff00c8, #ff6b6b); }
.rlayer.r2 { background: linear-gradient(135deg, #7b2ff7, #ff00c8); width: 56px; height: 56px; }
.rlayer.r3 { background: linear-gradient(135deg, #2dd4ff, #7b2ff7); width: 34px; height: 34px; border-radius: 50%; }
.rlayer.r4 { background: linear-gradient(135deg, #fbbf24, #ff00c8); width: 38px; height: 38px; }
.rlayer.r5 { background: linear-gradient(135deg, #4ade80, #2dd4ff); width: 30px; height: 30px; border-radius: 50%; }
.rlayer.r6 { background: linear-gradient(135deg, #ff6b6b, #7b2ff7); width: 48px; height: 26px; }

.rnd-flash {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.4);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 2px;
    color: #fff;
    background: var(--grad-tt);
    border-radius: 60px;
    padding: 13px 40px;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 18px 55px rgba(255, 0, 200, 0.55);
    z-index: 2;
}

.rnd-flash.zap {
    animation: rndZap 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes rndZap {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4) rotate(-6deg); }
    30% { opacity: 1; transform: translate(-50%, -50%) scale(1.06) rotate(2deg); }
    65% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.04); }
}

@media (max-width: 720px) {
    .demo-stage { height: 160px; }
}
