/* ============================================================
   SIGNUP PROMPT - INSERT EVERY 15 POSTS FOR NON-LOGGED-IN USERS
   ============================================================ */

.signup-prompt-card {
    /* Match meme card width exactly */
    width: 100%;
    max-width: none;
    
    background: linear-gradient(135deg, #2a9b8f 0%, #3aab9f 50%, #4abfb3 100%);
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border: 2px solid #09242b;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.signup-prompt-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   PARALLAX PARTICLES WITH BOKEH EFFECT
   ============================================================ */
.signup-prompt-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

/* Regular sharp particles */
.particle.sharp {
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.4) 40%,
        transparent 70%
    );
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Bokeh particles with soft blur */
.particle.bokeh {
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.2) 30%,
        transparent 70%
    );
    filter: blur(3px);
    opacity: 0.6;
}

/* Large bokeh particles */
.particle.bokeh-large {
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 60%
    );
    filter: blur(6px);
    opacity: 0.5;
}

/* Continuous drift animations for particles */
@keyframes drift1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -15px);
    }
    50% {
        transform: translate(-10px, -25px);
    }
    75% {
        transform: translate(-20px, 10px);
    }
}

@keyframes drift2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(-15px, 20px);
    }
    66% {
        transform: translate(15px, -10px);
    }
}

@keyframes drift3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-25px, -10px);
    }
    50% {
        transform: translate(10px, 20px);
    }
    75% {
        transform: translate(15px, -20px);
    }
}

@keyframes drift4 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-18px, 18px);
    }
}

@keyframes drift5 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(22px, -12px);
    }
}

.particle.drift-1 {
    animation: drift1 6s ease-in-out infinite;
}

.particle.drift-2 {
    animation: drift2 7s ease-in-out infinite;
}

.particle.drift-3 {
    animation: drift3 8s ease-in-out infinite;
}

.particle.drift-4 {
    animation: drift4 5s ease-in-out infinite;
}

.particle.drift-5 {
    animation: drift5 6.5s ease-in-out infinite;
}


/* Animated gradient overlay */
.signup-prompt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Mouse-tracking interactive gradient */
.signup-prompt-card::after {
    content: '';
    position: absolute;
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 30%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, left 0.15s ease, top 0.15s ease;
    z-index: 1;
}

.signup-prompt-card:hover::after {
    opacity: 1;
}

@keyframes shimmer {
    0% { 
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% { 
        left: 100%;
        opacity: 0;
    }
}

.signup-prompt-content {
    position: relative;
    z-index: 1;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.signup-prompt-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 24px;
    position: relative;
    width: 100%;
}

.welcome-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: absolute;
    top: -10px;
    left: 0;
    z-index: 3;
}

.welcome-logo {
    width: 280px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
    flex-shrink: 0;
}

.welcome-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: right;
    line-height: 1.3;
    flex: 1;
    max-width: 420px;
    font-style: italic;
}

.chaos-text {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #09242b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
    font-style: italic;
}

.signup-prompt-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.signup-prompt-title {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.signup-prompt-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

.signup-prompt-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
}

.signup-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

.signup-benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.signup-benefit-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.signup-benefit-text {
    color: white;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
}

.signup-prompt-cta {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 360px;
}

.signup-prompt-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
}

.signup-prompt-btn-primary {
    background: white;
    color: #0d3d4a;
}

.signup-prompt-btn-primary:hover {
    opacity: 0.9;
}

.signup-prompt-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.signup-prompt-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.signup-prompt-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 14px;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .signup-prompt-content {
        padding: 24px 20px;
    }
    
    .signup-prompt-welcome {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    
    .welcome-text {
        position: static;
        text-align: center;
    }
    
    .welcome-tagline {
        text-align: center;
        max-width: 100%;
    }
    
    .signup-prompt-benefits {
        grid-template-columns: 1fr;
    }
    
    .signup-prompt-title {
        font-size: 22px;
    }
    
    .signup-prompt-subtitle {
        font-size: 14px;
    }
    
    .signup-prompt-cta {
        flex-direction: column;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .signup-prompt-content {
        padding: 20px 16px;
    }
    
    .signup-prompt-title {
        font-size: 20px;
    }
    
    .signup-benefit-text {
        font-size: 12px;
    }
}
