html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,0,255,0.25), rgba(0,255,255,0.1));
    z-index: -1;
    pointer-events: none;
}

body {
    margin-bottom: 60px;
    background: url('/images/background3.jpg') center center / cover no-repeat fixed;
    color: #ccc; /* silbrig/grau – idealer Kontrast auf dunklem BG */
    background-color: #000; /* Fallback */
    font-family: 'Orbitron', sans-serif;
}

.hero-banner-glitch {
    background: url('/images/banner.jpg') center center / cover no-repeat;
    color: white;
    padding: 3rem 1rem;
    clip-path: polygon( 0% 0%, 2% 10%, 0% 20%, 3% 30%, 0% 40%, 2% 50%, 0% 60%, 3% 70%, 0% 80%, 2% 90%, 0% 100%, 100% 100%, 98% 90%, 100% 80%, 97% 70%, 100% 60%, 98% 50%, 100% 40%, 97% 30%, 100% 20%, 98% 10%, 100% 0% );
}

.hero-banner {
    background: url('/images/banner.jpg') center center / cover no-repeat;
    color: white;
    padding: 3rem 1rem;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 10% 100%, 0 90%);
    text-align: center;
}

/* Cyberpunk Styles + Glitch Effect */

.card-silver, 
.card-silver .card-title,
.card-silver .card-text {
    background-color: #e6e6e6;
    color: #000;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 5px rgba(200, 200, 200, 0.3);
    overflow: hidden; /* ganz wichtig, verhindert das Überstehen */
}

.card-silver:hover {
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4), 0 0 25px rgba(0, 255, 255, 0.3), 0 0 40px rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.01);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #f5f5f5;
}

.cyber-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 4rem;
    letter-spacing: 1px;
    color: black;
    position: relative;
    display: inline-block;
}

    .cyber-title::before,
    .cyber-title::after {
        content: 'Fomo Link';
        position: absolute;
        left: 0;
        width: 100%;
        overflow: hidden;
        color: white;
    }

    .cyber-title::before {
        animation: glitchTop 2s infinite linear alternate-reverse;
        color: #00ffff;
        top: -2px;
        z-index: -1;
    }

    .cyber-title::after {
        animation: glitchBottom 2s infinite linear alternate-reverse;
        color: #ff00ff;
        top: 2px;
        z-index: -1;
    }

.cyber-subline {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #000000;
    text-shadow: 0 0 5px rgba(0,255,255,0.4);
}

.orbitron-text, p, h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    color: #ccc;
}

@keyframes glitchTop {
    0% {
        clip-path: inset(0 0 90% 0);
        transform: translate(-2px, -1px);
    }

    20% {
        clip-path: inset(10% 0 85% 0);
        transform: translate(2px, 1px);
    }

    40% {
        clip-path: inset(20% 0 70% 0);
        transform: translate(-1px, 2px);
    }

    60% {
        clip-path: inset(30% 0 60% 0);
        transform: translate(1px, -1px);
    }

    80% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(2px, 0);
    }

    100% {
        clip-path: inset(0 0 90% 0);
        transform: translate(-2px, 1px);
    }
}

@keyframes glitchBottom {
    0% {
        clip-path: inset(80% 0 10% 0);
        transform: translate(1px, 1px);
    }

    20% {
        clip-path: inset(60% 0 20% 0);
        transform: translate(-2px, -1px);
    }

    40% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(2px, 2px);
    }

    60% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(-1px, -2px);
    }

    80% {
        clip-path: inset(20% 0 60% 0);
        transform: translate(1px, 1px);
    }

    100% {
        clip-path: inset(80% 0 10% 0);
        transform: translate(2px, -1px);
    }
}
