/* Unlock Popup Anywhere - Enhanced Modal CSS */
.unlockafe-popup-anywhere-modal-overlay {
    z-index: 9999;
    position: fixed;
    left: 0; right: 0;
    top: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
    transition: background 0.3s;
}
/* Prevent body scrolling when modal is open */
body.unlockafe-modal-open {
    overflow: hidden !important;
    height: 100vh !important;
}
/* Ensure modal overlay always appears as overlay */
.unlockafe-popup-anywhere-modal-overlay {
    pointer-events: auto !important;
    visibility: visible !important;
}
.unlockafe-popup-anywhere-modal-overlay[style*="display: flex"] {
    display: flex !important;
}
/* Force proper positioning for modal container */
.unlockafe-popup-anywhere-modal-container[style*="display: block"] {
    display: flex !important;
    flex-direction: column !important;
}
/* Additional safety for modal display */
.unlockafe-popup-anywhere-wrapper {
    position: relative;
    z-index: 1;
}
/* Ensure modal doesn't get affected by theme container styles */
.unlockafe-popup-anywhere-modal-overlay * {
    box-sizing: border-box;
}
.unlockafe-popup-anywhere-modal-container {
    /* Reset any inherited positioning */
    float: none !important;
    clear: both !important;
    position: relative !important;
}
/* Elementor Editor Specific - Force modal to show */
.elementor-editor-active .unlockafe-popup-anywhere-modal-overlay,
.elementor-edit-mode .unlockafe-popup-anywhere-modal-overlay {
    display: flex !important;
    z-index: 999999 !important;
}
.elementor-editor-active .unlockafe-popup-anywhere-modal-container,
.elementor-edit-mode .unlockafe-popup-anywhere-modal-container {
    display: block !important;
}
.unlockafe-popup-anywhere-modal-container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
    max-width: 420px;
    width: 90vw;
    padding: 32px 28px 28px 28px;
    position: relative;
    animation: unlockafe-popup-scale-in 0.45s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    z-index: 99999;
}
/* Disable animation in editor for immediate preview */
.elementor-editor-active .unlockafe-popup-anywhere-modal-container,
.elementor-edit-mode .unlockafe-popup-anywhere-modal-container {
    animation: none !important;
}
@keyframes unlockafe-popup-scale-in {
    0% { opacity: 0; transform: scale(0.85) translateY(40px); }
    80% { opacity: 1; transform: scale(1.03) translateY(-8px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.unlockafe-popup-anywhere-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 28px;
    color: #bdbdbd;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 9999;
}
.unlockafe-popup-anywhere-modal-close:hover {
    color: #4054b2;
}

.unlockafe-popup-anywhere-modal-content {
    width: 100%;
    text-align: center;
}
.popup-image img {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin-bottom: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
/* Responsive image sizing for different screen sizes */
@media (max-width: 480px) {
    .popup-image img {
        max-width: 250px;
    }
}

/* Template-specific image sizing */
.template-promotion .popup-image img,
.template-offer .popup-image img,
.template-newsletter .popup-image img {
    max-width: 300px;
}

.template-counter .popup-image img,
.template-black_friday .popup-image img {
    max-width: 260px;
}

.template-minimal_zen .popup-image img {
    max-width: 220px;
}

.template-social_media .popup-image img {
    max-width: 320px;
    border-radius: 12px;
}

/* Ensure images don't break template layouts */
.glassmorphism-template .popup-image img,
.neon-cyber-template .popup-image img,
.crypto-template .popup-image img,
.gradient-mesh-template .popup-image img,
.neumorphism-template .popup-image img,
.gaming-template .popup-image img {
    max-width: 280px;
}

.popup-title {
    font-size: 2rem;
    font-weight: 700;
    color: #4054b2;
    margin-bottom: 8px;
}

.popup-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
}

.popup-description {
    font-size: 1rem;
    color: #444;
    margin-bottom: 22px;
}

.popup-cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #4054b2 0%, #7f53ac 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(64,84,178,0.08);
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    margin-top: 8px;
}

.popup-cta-button:hover {
    background: linear-gradient(90deg, #7f53ac 0%, #4054b2 100%);
    box-shadow: 0 4px 16px rgba(64,84,178,0.16);
    transform: translateY(-2px) scale(1.04);
}

/* =================================
   PROMOTION TEMPLATE STYLES
   ================================= */

.template-promotion {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    max-width: 480px;
}

.promotion-template .offer-badge {
    background: #ff6b6b;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: inline-block;
    animation: bounce 2s infinite;
}

.promotion-template .popup-title {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.promotion-template .popup-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.promotion-template .popup-description {
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
}

.promotion-template .benefits-list {
    text-align: left;
    margin: 20px 0;
    padding: 0 20px;
}

.promotion-template .benefit-item {
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.promotion-template .promotion-btn {
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a24 100%);
    padding: 14px 36px;
    font-size: 1.2rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}

.promotion-template .promotion-btn:hover {
    background: linear-gradient(90deg, #ee5a24 0%, #ff6b6b 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

/* =================================
   OFFER TEMPLATE STYLES
   ================================= */

.template-offer {
    background: white;
    border: 3px solid #ff9500;
    max-width: 450px;
}

.offer-template .offer-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.offer-template .discount-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff9500 0%, #ff6b00 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.offer-template .discount-percentage {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.offer-template .discount-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.offer-template .offer-text {
    text-align: left;
    flex: 1;
}

.offer-template .popup-title {
    color: #ff6b00;
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.offer-template .popup-subtitle {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0;
}

.offer-template .popup-description {
    margin-bottom: 20px;
    color: #555;
}

.offer-template .price-section {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.offer-template .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
    margin-right: 10px;
}

.offer-template .sale-price {
    color: #ff6b00;
    font-size: 1.6rem;
    font-weight: 700;
    margin-right: 10px;
}

.offer-template .savings {
    background: #4CAF50;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.offer-template .urgency-text {
    color: #e74c3c;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.offer-template .offer-btn {
    background: linear-gradient(90deg, #ff9500 0%, #ff6b00 100%);
    padding: 14px 32px;
    font-size: 1.15rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255,149,0,0.3);
}

.offer-template .offer-btn:hover {
    background: linear-gradient(90deg, #ff6b00 0%, #ff9500 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255,149,0,0.4);
}

/* =================================
   COUNTER TEMPLATE STYLES
   ================================= */

.template-counter {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
    max-width: 500px;
}

.counter-template .urgency-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    gap: 12px;
}

.counter-template .flash-icon {
    font-size: 2rem;
    animation: flash 1.5s infinite;
}

.counter-template .popup-title {
    color: white;
    font-size: 2rem;
    margin: 0;
}

.counter-template .popup-subtitle {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.counter-template .countdown-container {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.counter-template .countdown-title {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.counter-template .countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.counter-template .time-unit {
    background: rgba(255,255,255,0.15);
    padding: 12px;
    border-radius: 8px;
    min-width: 60px;
    text-align: center;
}

.counter-template .time-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
}

.counter-template .time-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    margin-top: 4px;
}

.counter-template .time-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
}

.counter-template .popup-description {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.counter-template .scarcity-indicators {
    background: rgba(0,0,0,0.15);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.counter-template .stock-indicator,
.counter-template .viewer-count {
    margin-bottom: 8px;
}

.counter-template .stock-text,
.counter-template .viewers {
    color: #ffd700;
    font-weight: 600;
    font-size: 0.9rem;
}

.counter-template .counter-btn {
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 16px 36px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}

.counter-template .counter-btn:hover {
    background: linear-gradient(90deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255,215,0,0.5);
}

/* =================================
   ANIMATIONS
   ================================= */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

.pulse-animation {
    animation: pulse 2s infinite;
}
/* =================================
   EXIT INTENT TEMPLATE STYLES
   ================================= */

.template-exit_intent {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    max-width: 500px;
}

.exit-intent-template .exit-header {
    text-align: center;
    margin-bottom: 16px;
}

.exit-intent-template .stop-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    animation: shake 1s infinite;
}

.exit-intent-template .popup-title {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.exit-intent-template .popup-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.exit-intent-template .popup-description {
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
}

.exit-intent-template .exit-offer {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.exit-intent-template .last-chance-badge {
    background: #ffd700;
    color: #333;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: inline-block;
    animation: pulse 2s infinite;
}

.exit-intent-template .discount-highlight {
    margin-bottom: 16px;
}

.exit-intent-template .discount-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1;
}

.exit-intent-template .discount-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

.exit-intent-template .exit-code {
    background: rgba(255,215,0,0.2);
    padding: 12px;
    border-radius: 8px;
    border: 2px dashed #ffd700;
}

.exit-intent-template .code-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    display: block;
    margin-bottom: 4px;
}

.exit-intent-template .code-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 2px;
}

.exit-intent-template .exit-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exit-intent-template .exit-btn-primary {
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.exit-intent-template .exit-btn-primary:hover {
    background: linear-gradient(90deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}

.exit-intent-template .exit-btn-secondary {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: none;
    padding: 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.exit-intent-template .exit-btn-secondary:hover {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px currentColor; }
    50% { box-shadow: 0 0 20px currentColor; }
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */

@media (max-width: 600px) {
    .unlockafe-popup-anywhere-modal-container {
        max-width: 98vw;
        padding: 18px 6vw 18px 6vw;
    }
    
    .popup-image img {
        max-width: 240px !important;
    }
    
    .popup-title {
        font-size: 1.3rem;
    }
    
    .popup-description {
        font-size: 0.98rem;
    }
    
    .offer-template .offer-header {
        flex-direction: column;
        text-align: center;
    }
    
    .offer-template .offer-text {
        text-align: center;
    }
    
    .counter-template .countdown-timer {
        gap: 4px;
    }
    
    .counter-template .time-unit {
        min-width: 50px;
        padding: 8px;
    }
    
    .counter-template .time-number {
        font-size: 1.2rem;
    }
    
    .newsletter-template .newsletter-email {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .newsletter-template .newsletter-btn {
        padding: 12px;
        font-size: 1rem;
    }
    
    .exit-intent-template .exit-buttons {
        gap: 8px;
    }
    
    .exit-intent-template .exit-btn-primary {
        padding: 14px 24px;
        font-size: 1.1rem;
    }
    
    .exit-intent-template .discount-amount {
        font-size: 2rem;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* =================================
   GLASSMORPHISM TEMPLATE STYLES
   ================================= */

.template-glassmorphism {
    background: linear-gradient(135deg, 
        rgba(30, 30, 50, 0.9) 0%, 
        rgba(60, 60, 80, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

.glassmorphism-template .glass-backdrop {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(100, 50, 200, 0.3) 0%, 
        rgba(50, 150, 255, 0.3) 25%,
        rgba(150, 100, 255, 0.3) 50%,
        rgba(255, 100, 150, 0.3) 75%,
        rgba(100, 200, 255, 0.3) 100%);
    animation: glassRotate 20s linear infinite;
    z-index: -1;
}

.glassmorphism-template .glass-content {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.95);
}

.glassmorphism-template .crystal-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: crystalFloat 3s ease-in-out infinite;
}

.glassmorphism-template .popup-title {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(150, 100, 255, 0.6);
}

.glassmorphism-template .popup-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.glassmorphism-template .popup-description {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.glassmorphism-template .glass-features {
    margin-bottom: 25px;
}

.glassmorphism-template .feature-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    margin-bottom: 8px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.glassmorphism-template .glass-btn {
    background: linear-gradient(135deg, 
        rgba(150, 100, 255, 0.4) 0%, 
        rgba(100, 150, 255, 0.4) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 16px 32px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.glassmorphism-template .glass-btn:hover {
    background: linear-gradient(135deg, 
        rgba(150, 100, 255, 0.6) 0%, 
        rgba(100, 150, 255, 0.6) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(150, 100, 255, 0.4);
}

@keyframes glassRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* =================================
   NEON CYBER TEMPLATE STYLES
   ================================= */

.template-neon_cyber {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #00ffff;
    max-width: 520px;
    border: 2px solid #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.neon-cyber-template .cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridMove 10s linear infinite;
    z-index: 0;
}

.neon-cyber-template .neon-content {
    position: relative;
    z-index: 1;
}

.neon-cyber-template .neon-icon {
    font-size: 3rem;
    text-shadow: 0 0 20px #00ffff;
    animation: neonPulse 2s ease-in-out infinite;
}

.neon-cyber-template .neon-title {
    color: #00ffff;
    font-family: 'Courier New', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 0 0 20px #00ffff;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.neon-cyber-template .neon-subtitle {
    color: #ff0080;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 15px #ff0080;
    margin-bottom: 20px;
}

.neon-cyber-template .cyber-description {
    color: rgba(0, 255, 255, 0.8);
    margin-bottom: 25px;
}

.neon-cyber-template .cyber-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    background: rgba(0, 255, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.neon-cyber-template .stat-item {
    text-align: center;
}

.neon-cyber-template .stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.neon-cyber-template .stat-label {
    font-size: 0.8rem;
    color: rgba(0, 255, 255, 0.7);
}

.neon-cyber-template .cyber-btn {
    background: linear-gradient(90deg, #00ffff 0%, #ff0080 100%);
    color: #000;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.neon-cyber-template .cyber-btn:hover {
    background: linear-gradient(90deg, #ff0080 0%, #00ffff 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 0, 128, 0.7);
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

@keyframes neonPulse {
    0%, 100% { text-shadow: 0 0 20px #00ffff; }
    50% { text-shadow: 0 0 30px #00ffff, 0 0 40px #00ffff; }
}

/* =================================
   MINIMAL ZEN TEMPLATE STYLES
   ================================= */

.template-minimal_zen {
    background: #fafafa;
    color: #333;
    max-width: 400px;
    border-radius: 2px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.minimal-zen-template .zen-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.minimal-zen-template .zen-title {
    color: #2c2c2c;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.minimal-zen-template .zen-subtitle {
    color: #666;
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 25px;
    line-height: 1.4;
}

.minimal-zen-template .zen-description {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 300;
}

.minimal-zen-template .zen-divider {
    width: 60px;
    height: 1px;
    background: #ddd;
    margin: 25px auto;
}

.minimal-zen-template .zen-btn {
    background: #2c2c2c;
    color: white;
    padding: 14px 32px;
    border-radius: 2px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #2c2c2c;
}

.minimal-zen-template .zen-btn:hover {
    background: transparent;
    color: #2c2c2c;
    transform: translateY(-2px);
}

/* =================================
   GAMING TEMPLATE STYLES
   ================================= */

.template-gaming {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    border: 3px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.gaming-template .gaming-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 215, 0, 0.2) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: 0;
}

.gaming-template .gaming-content {
    position: relative;
    z-index: 1;
}

.gaming-template .game-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.gaming-template .gaming-title {
    color: #ffd700;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 16px;
}

.gaming-template .level-bar {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.gaming-template .level-progress {
    background: linear-gradient(90deg, #00ff00 0%, #ffd700 100%);
    height: 8px;
    width: 85%;
    border-radius: 4px;
    animation: progressFill 3s ease-in-out infinite;
}

.gaming-template .level-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.gaming-template .gaming-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.gaming-template .gaming-description {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.gaming-template .gaming-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
}

.gaming-template .gaming-stat {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.gaming-template .stat-icon {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.gaming-template .stat-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.gaming-template .gaming-btn {
    background: linear-gradient(90deg, #ff6b6b 0%, #ffd700 100%);
    color: #000;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 25px;
    text-transform: uppercase;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.gaming-template .gaming-btn:hover {
    background: linear-gradient(90deg, #ffd700 0%, #ff6b6b 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 85%; }
    100% { width: 85%; }
}

/* =================================
   SOCIAL MEDIA TEMPLATE STYLES
   ================================= */

.template-social_media {
    background: white;
    color: #333;
    max-width: 460px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #dbdbdb;
}

.social-media-template .profile-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.social-media-template .profile-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff9a00 0%, #ff0080 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-media-template .profile-info {
    flex: 1;
}

.social-media-template .social-username {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.social-media-template .verified-badge {
    color: #1da1f2;
    font-size: 0.8rem;
    font-weight: 600;
}

.social-media-template .social-engagement {
    margin-bottom: 16px;
}

.social-media-template .engagement-stats {
    display: flex;
    gap: 16px;
}

.social-media-template .likes,
.social-media-template .comments,
.social-media-template .shares {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.social-media-template .social-caption {
    color: #333;
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.social-media-template .social-description {
    color: #333;
    margin-bottom: 16px;
    line-height: 1.4;
}

.social-media-template .social-hashtags {
    margin-bottom: 20px;
}

.social-media-template .hashtag {
    color: #1da1f2;
    margin-right: 8px;
    font-size: 0.9rem;
}

.social-media-template .social-btn {
    background: linear-gradient(45deg, #ff9a00 0%, #ff0080 100%);
    color: white;
    padding: 12px 32px;
    border-radius: 20px;
    font-weight: 600;
    width: 100%;
}

.social-media-template .social-btn:hover {
    background: linear-gradient(45deg, #ff0080 0%, #ff9a00 100%);
    transform: translateY(-2px);
}

/* =================================
   BLACK FRIDAY TEMPLATE STYLES
   ================================= */

.template-black_friday {
    background: linear-gradient(135deg, #000000 0%, #434343 100%);
    color: white;
    max-width: 520px;
    border: 3px solid #ff6b6b;
    position: relative;
    overflow: hidden;
}

.black-friday-template .bf-background-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.black-friday-template .bf-content {
    position: relative;
    z-index: 1;
}

.black-friday-template .bf-logo {
    font-size: 3rem;
    margin-bottom: 12px;
}

.black-friday-template .bf-title {
    color: #ff6b6b;
    font-size: 2.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.black-friday-template .bf-mega-discount {
    text-align: center;
    margin-bottom: 20px;
    background: rgba(255, 107, 107, 0.1);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #ff6b6b;
}

.black-friday-template .bf-discount-text {
    display: block;
    font-size: 1rem;
    color: #ffd700;
    font-weight: 600;
}

.black-friday-template .bf-discount-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: #ff6b6b;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.black-friday-template .bf-discount-off {
    display: block;
    font-size: 1.5rem;
    color: #ffd700;
    font-weight: 700;
}

.black-friday-template .bf-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.black-friday-template .bf-description {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.black-friday-template .bf-timer {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #ff6b6b;
}

.black-friday-template .bf-timer-label {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.black-friday-template .bf-countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.black-friday-template .bf-time-unit {
    background: rgba(255, 107, 107, 0.2);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
}

.black-friday-template .bf-time-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
}

.black-friday-template .bf-time-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

.black-friday-template .bf-btn {
    background: linear-gradient(90deg, #ff6b6b 0%, #ffd700 100%);
    color: #000;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.black-friday-template .bf-btn:hover {
    background: linear-gradient(90deg, #ffd700 0%, #ff6b6b 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* =================================
   CRYPTO TEMPLATE STYLES
   ================================= */

.template-crypto {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    max-width: 520px;
    border: 2px solid #00d4aa;
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.3);
    position: relative;
    overflow: hidden;
}

.crypto-template .crypto-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.crypto-template .crypto-content {
    position: relative;
    z-index: 1;
}

.crypto-template .crypto-icon {
    font-size: 3rem;
    color: #ffc107;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
    margin-bottom: 16px;
}

.crypto-template .crypto-title {
    color: #00d4aa;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 212, 170, 0.5);
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
}

.crypto-template .crypto-price-ticker {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.crypto-template .price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.crypto-template .price-item:last-child {
    margin-bottom: 0;
}

.crypto-template .crypto-symbol {
    font-weight: 700;
    color: #ffc107;
}

.crypto-template .crypto-price {
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.crypto-template .crypto-price.green {
    color: #00d4aa;
}

.crypto-template .crypto-change {
    font-size: 0.8rem;
    color: #00d4aa;
    background: rgba(0, 212, 170, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

.crypto-template .crypto-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.crypto-template .crypto-description {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.crypto-template .crypto-features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
}

.crypto-template .crypto-feature {
    text-align: center;
    background: rgba(0, 212, 170, 0.1);
    padding: 12px 8px;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.crypto-template .feature-icon {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.crypto-template .feature-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.crypto-template .crypto-bonus {
    background: rgba(255, 193, 7, 0.1);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 193, 7, 0.3);
    text-align: center;
}

.crypto-template .bonus-badge {
    background: #ffc107;
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
}

.crypto-template .bonus-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffc107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.crypto-template .crypto-btn {
    background: linear-gradient(90deg, #00d4aa 0%, #ffc107 100%);
    color: #000;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
}

.crypto-template .crypto-btn:hover {
    background: linear-gradient(90deg, #ffc107 0%, #00d4aa 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

/* =================================
   GRADIENT MESH TEMPLATE STYLES
   ================================= */

.template-gradient_mesh {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    color: white;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gradient-mesh-template .mesh-background {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: meshFloat 15s ease-in-out infinite;
    z-index: 0;
}

.gradient-mesh-template .mesh-content {
    position: relative;
    z-index: 1;
}

.gradient-mesh-template .mesh-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: rainbowPulse 3s ease-in-out infinite;
}

.gradient-mesh-template .mesh-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gradient-mesh-template .mesh-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-style: italic;
}

.gradient-mesh-template .mesh-description {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    line-height: 1.6;
}

.gradient-mesh-template .mesh-features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    gap: 12px;
}

.gradient-mesh-template .mesh-feature {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px 12px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-mesh-template .feature-gradient {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 auto 8px;
    animation: colorRotate 4s linear infinite;
}

.gradient-mesh-template .feature-1 {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
}

.gradient-mesh-template .feature-2 {
    background: linear-gradient(45deg, #6bcf7f, #4facfe);
}

.gradient-mesh-template .feature-3 {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
}

.gradient-mesh-template .mesh-feature span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.gradient-mesh-template .mesh-btn {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 16px 32px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gradient-mesh-template .mesh-btn:hover {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes rainbowPulse {
    0%, 100% { 
        filter: hue-rotate(0deg) brightness(1); 
        transform: scale(1);
    }
    50% { 
        filter: hue-rotate(180deg) brightness(1.2); 
        transform: scale(1.1);
    }
}

@keyframes colorRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* =================================
   NEUMORPHISM TEMPLATE STYLES
   ================================= */

.template-neumorphism {
    background: #e0e5ec;
    color: #333;
    max-width: 480px;
    border-radius: 20px;
    box-shadow: 
        20px 20px 60px #bebebe,
        -20px -20px 60px #ffffff;
    border: none;
    position: relative;
}

.neumorphism-template .neuro-content {
    padding: 40px 35px;
}

.neumorphism-template .neuro-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(190, 190, 190, 0.5));
}

.neumorphism-template .neuro-title {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.neumorphism-template .neuro-subtitle {
    color: #666;
    margin-bottom: 20px;
    font-weight: 400;
}

.neumorphism-template .neuro-description {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.neumorphism-template .neuro-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    gap: 16px;
}

.neumorphism-template .neuro-stat {
    background: #e0e5ec;
    padding: 20px 16px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 
        inset 8px 8px 15px #bebebe,
        inset -8px -8px 15px #ffffff;
    flex: 1;
    transition: all 0.3s ease;
}

.neumorphism-template .neuro-stat:hover {
    box-shadow: 
        inset 12px 12px 20px #bebebe,
        inset -12px -12px 20px #ffffff;
    transform: translateY(-2px);
}

.neumorphism-template .stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.neumorphism-template .stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.neumorphism-template .neuro-btn {
    background: #e0e5ec;
    color: #333;
    padding: 16px 32px;
    border-radius: 15px;
    font-weight: 600;
    border: none;
    box-shadow: 
        8px 8px 15px #bebebe,
        -8px -8px 15px #ffffff;
    transition: all 0.3s ease;
    position: relative;
}

.neumorphism-template .neuro-btn:hover {
    box-shadow: 
        inset 8px 8px 15px #bebebe,
        inset -8px -8px 15px #ffffff;
    transform: translateY(2px);
}

.neumorphism-template .neuro-btn:active {
    box-shadow: 
        inset 12px 12px 20px #bebebe,
        inset -12px -12px 20px #ffffff;
    transform: translateY(4px);
}

/* Soft pulsing animation for neumorphism elements */
.neumorphism-template .neuro-icon {
    animation: softPulse 4s ease-in-out infinite;
}

@keyframes softPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(2px 2px 4px rgba(190, 190, 190, 0.5));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(4px 4px 8px rgba(190, 190, 190, 0.7));
    }
} 