/* ============================================
   CSS-Generated Decorative Images & Patterns
   Premium visual elements without image files
   ============================================ */

/* Newsletter Hero Image - Sunset Drive Scene */
.image-placeholder.sunset-drive {
    background:
        /* Sky gradient */
        linear-gradient(180deg,
            #87CEEB 0%,
            #FFB347 20%,
            #FF6B6B 40%,
            #c44569 60%,
            #1e3799 85%,
            #0c1445 100%
        );
    position: relative;
    overflow: hidden;
}

.image-placeholder.sunset-drive::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.image-placeholder.sunset-drive::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: #111;
    border-radius: 5px 5px 0 0;
    box-shadow:
        -60px 0 0 0 #111,
        60px 0 0 0 #111;
}

.sunset-drive .road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: #333;
}

.sunset-drive .road::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(90deg,
        #FFD700 0px,
        #FFD700 30px,
        transparent 30px,
        transparent 60px
    );
}

/* Tech Corner - Circuit Pattern */
.image-placeholder.tech-talk {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.image-placeholder.tech-talk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.image-placeholder.tech-talk::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    box-shadow:
        0 0 0 10px rgba(255,255,255,0.1),
        0 0 0 20px rgba(255,255,255,0.05);
}

/* Member Spotlight - Portrait Frame */
.image-placeholder.member-spotlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    position: relative;
    overflow: hidden;
}

.image-placeholder.member-spotlight::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
}

.image-placeholder.member-spotlight::after {
    content: '';
    position: absolute;
    top: calc(50% + 35px);
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 35px;
    background: rgba(255,255,255,0.2);
    border-radius: 35px 35px 0 0;
}

/* Upcoming Events - Calendar */
.image-placeholder.upcoming-events {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
    overflow: hidden;
}

.image-placeholder.upcoming-events::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.image-placeholder.upcoming-events::after {
    content: '15';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #4facfe;
}

/* Decorative Shapes for Landing Page */
.decorative-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle {
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.2) 0%,
        rgba(236, 72, 153, 0.2) 100%
    );
    filter: blur(40px);
}

.shape-blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg,
        rgba(255, 107, 107, 0.15) 0%,
        rgba(155, 89, 182, 0.15) 100%
    );
    animation: blob-morph 8s ease-in-out infinite;
}

@keyframes blob-morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

/* Newsletter Preview Cards for CTA */
.cta-card .card-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
}

.cta-card .card-preview::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 10px;
    right: 10px;
    height: 100px;
    background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    border-radius: 8px;
}

.cta-card.c1 .card-preview::after {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-card.c2 .card-preview::after {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cta-card.c3 .card-preview::after {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Feature Card Visual Enhancement */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent, #6366F1) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Format Card Decorative Elements */
.format-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle,
        rgba(99, 102, 241, 0.05) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.format-card.featured::after {
    background: radial-gradient(circle,
        rgba(99, 102, 241, 0.1) 0%,
        transparent 70%
    );
}

/* Mercedes Star Pattern (for club demo) */
.mercedes-star {
    position: relative;
    width: 60px;
    height: 60px;
}

.mercedes-star::before,
.mercedes-star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mercedes-star::before {
    width: 100%;
    height: 100%;
    border: 3px solid #C0C0C0;
    border-radius: 50%;
}

.mercedes-star::after {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid #C0C0C0;
    transform: translate(-50%, -60%);
}

/* Animated Background Patterns */
.pattern-dots {
    background-image: radial-gradient(
        circle at 1px 1px,
        rgba(99, 102, 241, 0.15) 1px,
        transparent 0
    );
    background-size: 24px 24px;
}

.pattern-grid {
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.pattern-waves {
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(99, 102, 241, 0.03) 10px,
            rgba(99, 102, 241, 0.03) 20px
        );
}

/* Gradient Text Variations */
.gradient-text-warm {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-cool {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-sunset {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-dark {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Shimmer Effect for Loading States */
.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Neon Glow Effects */
.neon-primary {
    box-shadow:
        0 0 5px rgba(99, 102, 241, 0.5),
        0 0 20px rgba(99, 102, 241, 0.3),
        0 0 40px rgba(99, 102, 241, 0.1);
}

.neon-accent {
    box-shadow:
        0 0 5px rgba(236, 72, 153, 0.5),
        0 0 20px rgba(236, 72, 153, 0.3),
        0 0 40px rgba(236, 72, 153, 0.1);
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Floating Animation */
.float {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
.pulse {
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}
