/* Custom Styles */

/* Page Load Fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Typography Polish */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* Premium Card Hover Effects */
.group:hover .group-hover\:translate-y-n5 {
    transform: translateY(-5px);
}

/* Glassmorphism Refinements */
header,
footer {
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

/* Animation for background blobs */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Smooth Transitions for all interactive elements */
a,
button,
.group {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* AdSense Placeholders */
.schweis-ad-unit {
    display: block;
    width: 100%;
    margin: 2rem 0;
    overflow: hidden;
    position: relative;
    background: transparent;
}

.schweis-ad-unit::before {
    content: "Advertisement";
    position: absolute;
    top: -1.25rem;
    left: 0;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    /* Slate 400 */
    font-weight: 600;
}

.ad-banner-footer {
    height: 90px;
    max-width: 728px;
    margin: 2rem auto;
}

.ad-in-article {
    min-height: 250px;
}

.sponsored-card {
    min-height: 400px;
}

@media (max-width: 768px) {
    .schweis-ad-unit {
        margin: 1.5rem 0;
    }

    .schweis-ad-unit::before {
        top: -1.1rem;
        font-size: 9px;
    }

    .ad-banner-footer {
        height: 100px;
        max-width: 320px;
    }
}