/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    color: #fff;
    background: #0a0a0a;
    overflow-x: hidden;
}

/* Header Section */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(145deg, #ff7eb3, #ffb347, #ff7eb3);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(255, 0, 127, 0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.header-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 5px #ff1493, 0 0 10px #ff1493;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    white-space: nowrap;
    overflow: hidden;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px #ff1493, 0 0 20px #ff1493;
}

.social-link:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px #ff1493, 0 0 40px #ff1493;
}

.social-link i {
    font-size: 25px;
    color: #ff1493;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
    color: #fff;
}

.social-link::after {
    content: attr(data-hover);
    position: absolute;
    bottom: -30px;
    font-size: 0.8rem;
    color: #ff1493;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::after {
    opacity: 1;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(145deg, #ff7eb3, #ffb347, #ff7eb3);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    animation: rotate 10s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff1493;
    text-shadow: 0 0 10px #ff1493, 0 0 20px #ff1493;
    animation: fadeIn 2s ease-in-out;
}

.hero-text {
    font-size: 1.2rem;
    margin-top: 20px;
    animation: fadeIn 3s ease-in-out;
    max-width: 900px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Interests Section */
.interests {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.icon-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.icon-box:hover {
    transform: scale(1.1);
}

.icon-box::after {
    content: attr(data-hover);
    position: absolute;
    bottom: -10px;
    font-size: 0.8rem;
    color: #ff1493;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap; /* Verhindert Umbrüche, Text bleibt in einer Zeile */
}

.icon-box:hover::after {
    opacity: 1;
}

.icon-box i {
    font-size: 50px;
    color: #ff1493;
    transition: transform 0.3s ease;
}

.icon-box i:hover {
    transform: rotate(15deg);
}

/* Container für QR-Codes und YouTube */
.preview-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* QR-Code Vorschaufenster (links) für Donations */
.qr-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 300px;
}

.qr-box {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(255, 0, 127, 0.5);
    background: rgba(255, 192, 203, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #ff1493;
}

.donation-link {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
}

.qr-icon {
    font-size: 16px;
    color: #ff1493;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.qr-box:hover .qr-icon {
    transform: scale(1.2);
}

.qr-text {
    margin: 0;
    transition: color 0.3s ease;
}

.qr-box:hover .qr-text {
    color: #ff1493;
}

/* YouTube Vorschaufenster (Mitte) */
.youtube-preview {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(255, 0, 127, 0.5);
    cursor: pointer;
}

.preview-video {
    width: 100%;
    height: 225px;
    display: block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.youtube-preview:hover .preview-video {
    transform: scale(1.1);
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 192, 203, 0.8);
    color: #fff;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.youtube-preview:hover .preview-overlay {
    opacity: 1;
}

.preview-text {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}

/* TikTok Section */
.tiktok-section {
    padding: 50px 20px;
    text-align: center;
    background: #0a0a0a;
}

.section-title {
    font-size: 2rem;
    color: #ff1493;
    text-shadow: 0 0 10px #ff1493, 0 0 20px #ff1493;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

.section-description {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 30px;
    animation: fadeIn 3s ease-in-out;
}

.tiktok-container {
    display: inline-block;
    border: 2px solid #ff1493;
    border-radius: 10px;
    box-shadow: 0 0 10px #ff1493, 0 0 20px #ff1493;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tiktok-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #ff1493, 0 0 40px #ff1493;
}

.tiktok-container iframe {
    width: 325px;
    height: 560px;
    border: none;
    border-radius: 10px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.arrow {
    width: 40px;
    height: 40px;
    background: #ff1493;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    box-shadow: 0 0 10px #ff1493, 0 0 20px #ff1493;
    animation: bounce 1.5s infinite ease-in-out, glitter 2s infinite alternate;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arrow:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px #ff1493, 0 0 40px #ff1493;
}

.arrow::after {
    content: attr(data-hover);
    position: absolute;
    bottom: -40px;
    font-size: 0.8rem;
    color: #ff1493;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arrow:hover::after {
    opacity: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

@keyframes glitter {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.5); }
}

/* Particle Animation */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Responsivität */
@media (max-width: 768px) {
    .preview-container {
        flex-direction: column;
        align-items: center;
    }
    .qr-preview {
        max-width: 100%;
    }
    .tiktok-container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 16;
    }
}

.social-media-section {
    display: flex;
    align-items: center;
    gap: 15px; /* Abstand zwischen Text und Symbolen */
}

.social-media-title {
    font-size: 1.2em;
    color: #fff; /* Passe die Farbe an dein Design an */
}

.social-links {
    display: flex;
    gap: 10px; /* Abstand zwischen den Symbolen */
}

.donation-link.disabled {
    pointer-events: none; /* Verhindert Klicks */
    cursor: not-allowed; /* Zeigt einen "verbotenen" Cursor */
}

/* YouTube Channel Preview Styling */
.channel-preview-img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 0, 127, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.channel-preview-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #ff1493, 0 0 40px #ff1493;
}

.channel-link {
    display: block;
    text-decoration: none;
    position: relative;
}

/* Optional: Lege zusätzliches Verhalten für Preview-Overlay fest, wenn Kanalbild verwendet wird */
.youtube-preview .preview-overlay {
    position: relative;
    background: rgba(255, 192, 203, 0.9);
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    color: #fff;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.youtube-preview:hover .preview-overlay {
    background: rgba(255, 105, 180, 0.9);
}
