/* ==========================================================================
   PINAYPAL INTERACTIVE RADAR & SCROLL DELIGHTS
   ========================================================================== */

/* 1. Constellation Canvas Overlay */
.pp-radar-constellation-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.pp-radar-constellation {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pp-discover__layout {
    position: relative;
    z-index: 1;
}

/* 2. Interactive 3D Tilt & Cursor Spotlight */
.pp-interactive-tilt {
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(var(--pp-tilt-rx, 0deg)) rotateY(var(--pp-tilt-ry, 0deg));
    transition: transform 180ms cubic-bezier(.2, .72, .2, 1), box-shadow 260ms ease !important;
    position: relative;
    overflow: hidden;
}

.pp-interactive-tilt::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle 240px at var(--pp-spotlight-x, 50%) var(--pp-spotlight-y, 50%), rgba(168, 85, 247, 0.16), transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
    z-index: 2;
}

.pp-interactive-tilt.is-hovered::after {
    opacity: 1;
}

/* 3. Bento Grid Interactive Widgets in Homepage Features */
.pp-bento-widget {
    margin-top: 20px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 246, 255, 0.88));
    border: 1px solid rgba(192, 132, 252, 0.32);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(65, 20, 95, 0.06);
    backdrop-filter: blur(10px);
}

.pp-bento-widget__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pp-bento-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #8b31d7;
    text-transform: uppercase;
}

.pp-bento-val {
    font-size: 15px;
    font-weight: 600;
    color: #2b193c;
}

.pp-bento-slider-wrap input[type="range"] {
    width: 100%;
    accent-color: #8b31d7;
    cursor: pointer;
    height: 6px;
    border-radius: 999px;
    background: #e9d5ff;
}

.pp-bento-radar-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    color: #6a5b75;
}

.pp-bento-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: ppPulseDot 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes ppPulseDot {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Biometric Laser Scanner */
.pp-bento-faceid-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 14px;
    background: #faf6fd;
    overflow: hidden;
}

.pp-bento-faceid-avatar {
    font-size: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    border: 2px solid #e9d5ff;
    box-shadow: 0 4px 12px rgba(112, 35, 173, 0.1);
}

.pp-bento-faceid-badge {
    font-size: 12px;
    font-weight: 600;
    color: #6a5b75;
    transition: color 240ms ease;
}

.pp-bento-faceid-badge.is-verifying {
    color: #8b31d7;
}

.pp-bento-faceid-badge.is-verified {
    color: #059669;
}

.pp-bento-faceid-laser {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #38bdf8, #a855f7, transparent);
    box-shadow: 0 0 12px #a855f7;
}

.pp-bento-faceid-laser.is-scanning {
    opacity: 1;
    animation: ppLaserSweep 1.5s ease-in-out infinite;
}

@keyframes ppLaserSweep {
    0% { top: 0%; }
    50% { top: 95%; }
    100% { top: 0%; }
}

.pp-bento-action-btn {
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-radius: 999px;
    background: #7023ad;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(112, 35, 173, 0.22);
    transition: background 180ms ease, transform 180ms ease;
}

.pp-bento-action-btn:hover {
    background: #57188d;
    transform: translateY(-2px);
}

/* Personality Matchmaker Tags */
.pp-bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pp-compat-tag {
    padding: 6px 14px;
    border: 1px solid #e9d5ff;
    border-radius: 999px;
    background: #fff;
    color: #6a5b75;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 180ms ease;
}

.pp-compat-tag:hover {
    border-color: #c084fc;
}

.pp-compat-tag.is-active {
    background: #8b31d7;
    border-color: #8b31d7;
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 49, 215, 0.25);
}

/* Encrypted Video Call Box */
.pp-bento-call-screen {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #ebdcf5;
}

.pp-bento-call-avatar {
    font-size: 28px;
}

.pp-bento-call-info {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.pp-bento-call-info strong {
    color: #2b193c;
    font-size: 13px;
}

.pp-bento-call-info span {
    color: #8b31d7;
    font-size: 11px;
    font-weight: 500;
}

.pp-btn-call-accept {
    padding: 8px 16px;
    border: none;
    border-radius: 999px;
    background: #10b981;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.pp-bento-connected-view {
    width: 100%;
}

.pp-bento-video-stream {
    position: relative;
    width: 100%;
    height: 110px;
    border-radius: 12px;
    background: linear-gradient(135deg, #372044, #57188d);
    display: grid;
    place-items: center;
    overflow: hidden;
    filter: blur(4px);
    transition: filter 300ms ease;
}

.pp-bento-video-stream.no-blur {
    filter: none;
}

.pp-video-face {
    font-size: 40px;
}

.pp-video-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.pp-video-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.pp-ctrl-btn {
    flex: 1;
    padding: 7px 12px;
    border: 1px solid #e9d5ff;
    border-radius: 999px;
    background: #fff;
    color: #2b193c;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.pp-ctrl-btn.pp-btn-end {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}
