* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    background: url('../img/bg2.jpeg') fixed center/cover no-repeat;
    background-attachment: fixed;
}

/* Canvas Hintergrund mit Transparenz über dem Bild */
#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   HEADER STYLING
   ============================================ */
header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 3px solid #000;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.header-logo {
    max-width: 600px;
    height: auto;
    margin-bottom: 20px;
}

header h1 {
    font-size: 3em;
    color: black !important;
    margin-bottom: 10px;
    font-weight: 900;
}

header .tagline {
    font-size: 1.1em;
    opacity: 1;
    font-style: italic;
    color: black;
    font-weight: 600;
    text-shadow: none;
    -webkit-text-stroke: none;
}

header .tagline-small {
    font-size: 0.95em;
    opacity: 1;
    margin-top: 15px;
    color: black;
    font-weight: 500;
    text-shadow: none;
    -webkit-text-stroke: none;
}

header .tagline-small a {
    color: black;
    text-decoration: underline;
    transition: opacity 0.2s;
}

header .tagline-small a:hover {
    opacity: 0.7;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ============================================
   CATEGORY SECTIONS
   ============================================ */
section.category {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.5s ease-in;
    position: relative;
    z-index: 2;
    border-left: 5px solid #000;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

section.category:hover {
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

section.category:nth-child(odd) {
    border-left-color: #000;
}

section.category:nth-child(even) {
    border-left-color: #000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section.category h2 {
    color: #667eea;
    margin-bottom: 20px;
    border-bottom: 3px solid #000;
    padding-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8em;
    text-shadow: 
        -0.5px -0.5px 0 rgba(0, 0, 0, 0.4),
        0.5px -0.5px 0 rgba(0, 0, 0, 0.4),
        -0.5px 0.5px 0 rgba(0, 0, 0, 0.4),
        0.5px 0.5px 0 rgba(0, 0, 0, 0.4);
}

/* Regenbogen-Farben für Kategorietitel - abwechselnd */
section.category:nth-child(1) h2 {
    color: #AA7744; /* Orange */
}

section.category:nth-child(1) h2 i {
    color: #AA7744 !important;
}

section.category:nth-child(2) h2 {
    color: #AAAA44; /* Gelb */
}

section.category:nth-child(2) h2 i {
    color: #AAAA44 !important;
}

section.category:nth-child(3) h2 {
    color: #6677AA; /* Blau */
    text-shadow: none;
}

section.category:nth-child(3) h2 i {
    color: #6677AA !important;
    -webkit-text-stroke: none;
}

section.category:nth-child(4) h2 {
    color: #66AA66; /* Grün */
}

section.category:nth-child(4) h2 i {
    color: #66AA66 !important;
}

section.category:nth-child(5) h2 {
    color: #6655AA; /* Indigo */
}

section.category:nth-child(5) h2 i {
    color: #6655AA !important;
}

section.category:nth-child(6) h2 {
    color: #7755AA; /* Violett */
}

section.category:nth-child(6) h2 i {
    color: #7755AA !important;
}

section.category:nth-child(7) h2 {
    color: #AA6677; /* Pink */
}

section.category:nth-child(7) h2 i {
    color: #AA6677 !important;
}

section.category:nth-child(8) h2 {
    color: #AA5555; /* Rot */
}

section.category:nth-child(8) h2 i {
    color: #AA5555 !important;
}

section.category h2 i {
    margin-right: 10px;
    -webkit-text-stroke: 0.8px #000;
    text-stroke: 0.8px #000;
}

section.category h3 {
    color: #000;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3em;
    padding-left: 10px;
    font-weight: 600;
    text-shadow: none;
}

section.category h3 i {
    margin-right: 8px;
    color: #FF8C42;
    -webkit-text-stroke: 0.6px #000;
    text-stroke: 0.6px #000;
}

section.category h3:first-of-type {
    margin-top: 0;
}

/* Info Boxen */
.section-info {
    background: rgba(255, 255, 255, 0.3);
    padding: 10px 15px;
    border-radius: 8px;
    color: #000;
    font-size: 0.95em;
    margin-bottom: 20px;
    border-left: 4px solid #000;
}

.section-info i {
    margin-right: 8px;
    color: #FF8C42;
    -webkit-text-stroke: 0.6px #000;
}
    color: #667eea;
}

.info-box {
    background: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 8px;
    color: #000;
    margin-top: 15px;
    border-left: 4px solid #000;
    font-size: 0.95em;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-box i {
    margin-top: 2px;
    min-width: 20px;
    text-align: center;
    color: #FF6B35;
    -webkit-text-stroke: 0.6px #000;
}

.info-box strong {
    color: #000;
}

/* ============================================
   LINK LIST STYLING
   ============================================ */
.link-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.link-item {
    background: rgba(255, 255, 255, 0.3);
    padding: 18px;
    margin-bottom: 0;
    border-left: 5px solid #000;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.link-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    border-left-color: #000;
}

.link-item a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: none;
}

.link-item a i {
    min-width: 24px;
    text-align: center;
    font-size: 1.2em;
    -webkit-text-stroke: 0.8px #000;
    text-stroke: 0.8px #000;
    color: #FF6B35;
}

/* Brand-spezifische Icon-Farben */
.fab.fa-youtube { color: #FF0000 !important; }
.fab.fa-facebook { color: #1877F2 !important; }
.fab.fa-instagram { color: #E4405F !important; }
.fab.fa-tiktok { color: #000000 !important; }
.fab.fa-discord { color: #7289DA !important; }
.fab.fa-twitter { color: #1DA1F2 !important; }
.fab.fa-twitch { color: #9146FF !important; }
.fab.fa-reddit { color: #FF4500 !important; }
.fab.fa-github { color: #333333 !important; }
.fab.fa-linkedin { color: #0A66C2 !important; }

/* Default Icon Farben für Share/Info Icons */
.fas.fa-share-alt { color: #667eea !important; }
.fas.fa-shopping-cart { color: #FF6B35 !important; }
.fas.fa-book { color: #2D9D78 !important; }
.fas.fa-video { color: #FF6B35 !important; }
.fas.fa-camera { color: #667eea !important; }
.fas.fa-users { color: #2D9D78 !important; }

/* Autodarts spezifische Farben */
#autodarts a[href*="play.autodarts.io"] i.fas.fa-play-circle { color: #0052CC !important; }
#autodarts a[href*="docs.autodarts.io"] i.fas.fa-book { color: #0052CC !important; }
#autodarts a[href*="buy.autodarts.io"] i.fas.fa-shopping-cart { color: #0052CC !important; }

.link-item a:hover {
    color: white;
    text-decoration: none;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    -webkit-text-stroke: 0.5px #000;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.link-item a:hover i {
    color: inherit;
    transform: rotate(10deg) scale(1.1);
}

.link-description {
    color: #555;
    font-size: 0.95em;
    margin-top: 8px;
    line-height: 1.4;
}

/* ============================================
   FOOTER STYLING
   ============================================ */
footer {
    text-align: center;
    color: black;
    margin-top: 50px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 3px solid #000;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

footer p {
    margin: 5px 0;
    opacity: 1;
    color: black;
    font-weight: 500;
    text-shadow: none;
}

footer small {
    opacity: 1;
    display: block;
    color: black;
    text-shadow: none;
}

footer a {
    color: black;
    text-decoration: underline;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

footer a:hover {
    opacity: 0.8;
}

footer a i {
    font-size: 0.9em;
}

/* ============================================
   ACCENT COLORS & CREATIVE EFFECTS
   ============================================ */

/* Hover Effects mit Orange-Grün Mischung */
.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.05) 0%, rgba(45, 157, 120, 0.05) 100%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.link-item:hover::before {
    opacity: 1;
}

/* Icon-Farben für unterschiedliche Links */
.fas, .fab {
    transition: all 0.3s ease;
}

/* Gradient Text für wichtige Headlines */
h1 {
}

/* Smooth Color Transitions */
a {
    position: relative;
    z-index: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header .tagline {
        font-size: 1em;
    }

    section.category {
        padding: 20px;
    }

    section.category h2 {
        font-size: 1.5em;
    }

    section.category h3 {
        font-size: 1.1em;
    }

    .link-item {
        padding: 15px;
    }

    .link-item a {
        font-size: 1em;
    }
}
/* ============================================
   COLLAPSE/EXPAND FUNKTIONALITÄT
   ============================================ */

section.category h2 {
    position: relative;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.collapse-toggle {
    background: none;
    border: none;
    color: #000;
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.collapse-toggle i {
    transition: transform 0.3s ease;
}

section.category.collapsed .collapse-toggle i {
    transform: rotate(-90deg);
}

.section-content {
    max-height: 10000px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

section.category.collapsed .section-content {
    max-height: 0;
    opacity: 0;
}

/* VIDEO PAGE STYLES */
.video-page header {
    margin-bottom: 40px;
}

.btn-youtube {
    display: inline-block;
    background: #FF0000;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s;
    border: 2px solid #FF0000;
}

.btn-youtube:hover {
    background: transparent;
    color: #FF0000;
    transform: translateX(5px);
}

.btn-youtube i {
    margin-right: 8px;
}

.back-link {
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-back {
    display: inline-block;
    color: #000;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-back:hover {
    color: white;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    transform: translateX(-5px);
}

.btn-back i {
    margin-right: 8px;
}

section.category.collapsed h2 {
    border-bottom: none;
    margin-bottom: 0;
}