/* Overlay */
.csp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.csp-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.csp-modal {
    width: 400px;
    background: #0f0f14;
    border-radius: 16px;
    padding: 28px;
    position: relative;

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow: 
        0 25px 80px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.05);

    transform: scale(0.9) translateY(30px);
    transition: all 0.4s ease;
}

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

/* Close button */
.csp-close {
    position: absolute;
    right: -5px;
    top: -5px;
    border: none;
    background: #1c1c24;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

.csp-close:hover {
    background: #FD0557;
}

/* Title */
.csp-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

/* Subtitle */
.csp-subtitle {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
}

/* Features */
.csp-features {
    margin-bottom: 18px;
}

.csp-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.csp-item span {
    font-size: 18px;
}

.csp-item strong {
    font-size: 14px;
    color: #fff;
}

.csp-item p {
    font-size: 12px;
    color: #aaa;
}

/* Gift */
.csp-gift {
    font-weight: 600;
    margin: 14px 0 6px;
    color: #FFC406;
}

.csp-small {
    font-size: 12px;
    color: #888;
    margin-bottom: 16px;
}

/* Primary Button (Gradient) */
.csp-primary {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    color: #000 ;

   
  background: linear-gradient(135deg,#ffd98f,#ffb347);

    transition: 0.3s ease;
}

.csp-primary:hover {
    transform: translateY(-2px);
     box-shadow: 0 12px 30px rgba(255,204,112,0.5);
}

/* Secondary Button */
.csp-secondary {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: #ddd;
    cursor: pointer;
    transition: 0.3s;
}

.csp-secondary:hover {
    border-color: #FB8330;
    color: #FB8330;
}

/* Alt text */
.csp-alt {
    text-align: center;
    font-size: 12px;
    margin: 12px 0;
    color: #777;
}

/* Accent glow line (top border effect) */
.csp-modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    border-radius: 16px 16px 0 0;

    background: linear-gradient(
        90deg,
        #FFC406,
        #FB8330,
        #FD0557,
        #F700C1,
        #0592FF,
        #0D29FE
    );
}

/* Smooth fade animation for content */
.csp-modal * {
    animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}