/* Sandbox Intercept Premium Modal Styling */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.sandbox-intercept-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 15, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 24px;
    box-sizing: border-box;
}

.sandbox-intercept-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sandbox-intercept-modal {
    background: rgba(20, 24, 33, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    text-align: center;
    color: #ffffff;
}

.sandbox-intercept-overlay.active .sandbox-intercept-modal {
    transform: scale(1) translateY(0);
}

/* Close Button */
.sandbox-intercept-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 0;
}

.sandbox-intercept-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: rotate(90deg);
}

/* Glowing Icon Circle */
.sandbox-intercept-icon-wrapper {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #c084fc;
    position: relative;
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.12);
}

.sandbox-intercept-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
    opacity: 0.5;
    animation: sandbox-pulse-glow 2.5s infinite alternate ease-in-out;
}

@keyframes sandbox-pulse-glow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.04); }
}

/* Badge Tag */
.sandbox-intercept-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

/* Title */
.sandbox-intercept-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.3;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Description Text */
.sandbox-intercept-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 0 32px;
}

.sandbox-intercept-desc strong {
    color: #e9d5ff;
    font-weight: 600;
}

/* Action button */
.sandbox-intercept-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.sandbox-intercept-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.45);
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
}

.sandbox-intercept-cta:active {
    transform: translateY(0);
}

/* Secondary Dismiss Link */
.sandbox-intercept-dismiss {
    display: inline-block;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    font-family: inherit;
}

.sandbox-intercept-dismiss:hover {
    color: rgba(255, 255, 255, 0.8);
}
