/**
 * MG ShareUnlocker - Frontend CSS
 * Professionelles Design - Zentrierte Headlines
 */

/* VERSTECKE Content */
.mg-su-locked-content {
    display: none !important;
}

.mg-su-locked-content[style*="display: block"] {
    display: block !important;
    animation: mgSuFadeIn 0.5s ease-out;
}

/* ShareUnlocker Box */
.mg-su-wrapper {
    margin: 48px 0;
    clear: both;
}

.mg-su-container {
    padding: 48px 24px;
    border-radius: 20px;
    margin: 0 auto;
    max-width: 700px;
}

.mg-su-box {
    text-align: center;
    padding: 56px 40px;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.mg-su-box:hover {
    transform: translateY(-4px);
}

/* Lock Icon */
.mg-su-lock-icon {
    font-size: 64px;
    margin: 0 auto 24px auto;
    line-height: 1;
    text-align: center;
}

/* Headline - IMMER zentriert */
.mg-su-headline {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 auto 16px auto;
    letter-spacing: -0.02em;
    text-align: center !important;
    width: 100%;
}

/* Subheadline - IMMER zentriert */
.mg-su-subheadline {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto 32px auto;
    opacity: 0.85;
    text-align: center !important;
    width: 100%;
}

/* Buttons Container */
.mg-su-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

/* Share Buttons - Professionell */
.mg-su-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.mg-su-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.mg-su-share-btn:active {
    transform: translateY(0);
}

/* Button Icons */
.mg-su-btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* WhatsApp */
.mg-su-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.mg-su-btn-whatsapp:hover {
    background: linear-gradient(135deg, #20BD5A 0%, #0F7A6C 100%);
}

/* Facebook */
.mg-su-btn-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.mg-su-btn-facebook:hover {
    background: linear-gradient(135deg, #166FE5 0%, #0A57BF 100%);
}

/* X (Twitter) */
.mg-su-btn-twitter {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.mg-su-btn-twitter:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Instagram */
.mg-su-btn-instagram {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 50%, #833AB4 100%);
}

.mg-su-btn-instagram:hover {
    background: linear-gradient(135deg, #D93A56 0%, #B32E77 50%, #7532A3 100%);
}

/* Info Text */
.mg-su-info-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    opacity: 0.7;
    margin: 0;
    text-align: center;
}

.mg-su-info-icon {
    width: 16px;
    height: 16px;
}

/* Blur-Overlay */
.mg-su-blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999998;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: mgSuOverlayFadeIn 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

.mg-su-blur-text {
    background: white;
    color: #0f172a;
    padding: 32px 48px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: mgSuTextBounce 0.5s ease-out;
    max-width: 90%;
}

/* Success Message */
.mg-su-success {
    position: fixed;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    z-index: 99999;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    animation: mgSuSlideIn 0.3s ease-out;
}

/* Animations */
@keyframes mgSuFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mgSuOverlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mgSuTextBounce {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    60% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes mgSuSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .mg-su-container {
        padding: 32px 16px;
    }
    
    .mg-su-box {
        padding: 40px 24px;
    }
    
    .mg-su-lock-icon {
        font-size: 56px;
    }
    
    .mg-su-headline {
        font-size: 24px;
        text-align: center !important;
    }
    
    .mg-su-subheadline {
        font-size: 15px;
        text-align: center !important;
    }
    
    .mg-su-buttons {
        flex-direction: column;
    }
    
    .mg-su-share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .mg-su-blur-text {
        padding: 24px 32px;
        font-size: 16px;
    }
    
    .mg-su-success {
        left: 16px;
        right: 16px;
        top: 16px;
    }
}

/* Print */
@media print {
    .mg-su-wrapper {
        display: none !important;
    }
    
    .mg-su-locked-content {
        display: block !important;
    }
}