/* Grund-Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a0a0a;
    color: white;
    overflow-x: hidden;
	margin: 0;
    padding: 0;
}

/* Header & Navigation */
.header-container {
    position: sticky;
    /* Wir ziehen ihn aktiv über den Rand hinaus, um den Rahmen-Puffer zu löschen */
    top: -1px !important; 
    
    z-index: 1000;
    width: 98%;
    max-width: 1100px;
    margin: 0 auto;
    
    /* WICHTIG: Falls der Body ein Padding hat, ignorieren wir es hier */
}

#header-border-wrap {
    position: relative;
    padding: 2px; /* Dein Leuchtrahmen */
    border-radius: 12px;
    overflow: hidden;
    display: block;
    /* Verhindert, dass zusätzliche Abstände entstehen */
    line-height: 0; 
}

.tile-nav {
    /* Exakt derselbe Glas-Effekt wie Content und Footer */
    background: rgba(0, 0, 0, 0.7) !important; 
    backdrop-filter: blur(15px); /* Die Unschärfe, die den Hintergrund weich macht */
    
    /* Rahmen entfernen, da wir jetzt den leuchtenden Wrapper nutzen */
    border: none !important; 
    border-radius: 10px;
    padding: 8px 15px;
    display: flex;
    justify-content: center;
    line-height: normal; /* Korrektur für den line-height: 0 vom Wrapper */
}

/* Der Wrapper, der den RGB-Rahmen hält */
#header-border-wrap {
    position: relative;
    padding: 2px; /* Rahmen-Dicke */
    border-radius: 12px;
    overflow: hidden;
    display: block;
    background: rgba(255, 255, 255, 0.05); /* Sehr dezenter Rahmen-Grundzustand */
}

.tile-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Den normalen Button-Zustand vorbereiten */
.tile-nav a {
    text-decoration: none;
    color: #e0e0e0;
    padding: 10px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative; /* Wichtig für den Pseudo-Element-Rahmen */
    z-index: 1;
}

/* Der Hover-Effekt mit 1px RGB Rahmen */
.tile-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00fbff;
    transform: translateY(-2px);
}

/* Das Pseudo-Element für den 1px Rahmen (nur beim Hover sichtbar) */
.tile-nav a:hover::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.7px; /* Die Rahmendicke */
    border-radius: 10px; 
    
    /* RGB Verlauf */
    background: linear-gradient(90deg, #00fbff, #007bff, #ff00c1, #00fbff);
    background-size: 200% auto;
    
    /* Maskierungs-Trick wie bei Content & Footer */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    
    animation: borderFlow 3s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.nav-apply {
    background: rgba(0, 251, 255, 0.1) !important;
    border: 1px solid rgba(0, 251, 255, 0.3);
}

/* --- VOTE BUTTON (GELB) --- */
.nav-vote {
    position: relative;
    z-index: 1;
}

/* Der gelbe Rahmen - dauerhaft oder nur beim Hover */
.nav-vote::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px; /* Die 1px Umrandung */
    border-radius: 10px;
    background: linear-gradient(90deg, #ffcc00, #ffee00, #ffaa00, #ffcc00);
    background-size: 200% auto;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderFlow 4s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.nav-vote:hover {
    color: #ffcc00 !important;
}

/* --- BANS BUTTON (ROT) --- */
.nav-bans {
    position: relative;
    z-index: 1;
}

/* Der rote Rahmen */
.nav-bans::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 10px;
    background: linear-gradient(90deg, #ff0000, #cc0000, #ff4444, #ff0000);
    background-size: 200% auto;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderFlow 4s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.nav-bans:hover {
    color: #ff4444 !important;
}

/* Hero Bereich */
.hero-section {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    text-align: center;
    padding-top: 20px;
    margin-bottom: 100px; /* Erzeugt 100px echten Platz UNTER dem Regenbogen-Text */
}

.hero-logo {
    width: 180px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(0,251,255,0.5));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-rgb {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 900;
    background: linear-gradient(to right, #fff, #00fbff, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    margin-bottom: 10px;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Content Box */
.wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
	transform: translateY(50px);
}

/* Main Content Box mit 1px RGB Rahmen */
.main-content-box {
    position: relative; /* Wichtig für den Rahmen */
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    margin-top: 50px;
    z-index: 1;
    /* Den alten grauen Border entfernen wir */
    border: none; 
}

/* Der versteckte 1px RGB-Rahmen */
.main-content-box::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px; /* Die Rahmendicke */
    border-radius: 20px; 
    
    /* RGB Verlauf passend zum Design */
    background: linear-gradient(90deg, #00fbff, #007bff, #ff00c1, #00fbff);
    background-size: 200% auto;
    
    /* Maskierung: Lässt nur die 1px Kante durchscheinen */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    
    animation: borderFlow 5s linear infinite;
    pointer-events: none;
    z-index: -1;
}

/* Die Animation teilen sich jetzt alle RGB-Rahmen */
@keyframes borderFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
    
    /* ÄNDERUNG HIER: */
    margin-top: 50px; /* Ein positiver Wert schiebt die Box nach unten */
    /* Oder 0, wenn sie direkt unter dem Hero-Text starten soll */
}

.content-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #00fbff, transparent);
    margin-bottom: 30px;
}

/* Footer mit verstecktem RGB (nur 1px Kante sichtbar) */
footer {
    max-width: 1100px;
    margin: 80px auto 40px auto;
    padding: 40px 20px;
    text-align: center;
    position: relative; /* Wichtig für den Rahmen */
    background: rgba(0, 0, 0, 0.75); /* Dein Original-Farbton */
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1;
    overflow: hidden; /* Schneidet alles ab, was über den 1px Rand hinausgeht */
}

/* Der eigentliche 1px RGB-Rahmen im Hintergrund */
footer::before {
    content: '';
    position: absolute;
    inset: 0; /* Füllt die Fläche aus */
    padding: 1px; /* Die Dicke deines Rahmens */
    border-radius: 20px; 
    
    /* Der RGB Verlauf */
    background: linear-gradient(90deg, #00fbff, #007bff, #ff00c1, #00fbff);
    background-size: 200% auto;
    
    /* Maskierung: Zeigt den Hintergrund NUR am Rand (1px) */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    
    animation: borderFlow 5s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes borderFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    width: 80px;
    filter: drop-shadow(0 0 10px rgba(0, 251, 255, 0.3));
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.1);
}

/* 1. Der normale Text-Bereich (OPGAMING) */
.footer-text p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
}

/* Das Highlight im Text (wie vorher) */
.highlight {
    color: #00fbff;
    font-weight: bold;
}

/* 2. Nur die Navigations-Links als Pills */
.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.footer-nav a {
    font-family: 'Oswald', sans-serif;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* RGB Rahmen NUR beim Hovern der Links */
.footer-nav a:hover::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: 50px;
    background: linear-gradient(90deg, #00fbff, #007bff, #ff00c1, #00fbff);
    background-size: 200% auto;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderFlow 3s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.footer-nav a:hover {
    color: #00fbff;
    background: rgba(255, 255, 255, 0.1);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-text {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    width: 100%;
}

.footer-text p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
}

.highlight {
    color: #00fbff;
    font-weight: bold;
}

.disclaimer {
    font-size: 0.75rem !important;
    color: #555 !important;
    max-width: 600px;
    margin: 10px auto 0 auto;
}

/* Scroll Top Button */
/* Scroll Top Button mit 1px RGB Rahmen */
#scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    
    /* Hintergrund & Glas-Effekt passend zum Rest */
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: #00fbff; /* Icon-Farbe Türkis */
    
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none; /* Wird via JS eingeblendet */
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Der 1px RGB Rahmen für den runden Button */
#scrollTop::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px; /* Die Rahmendicke */
    border-radius: 50%; /* Wichtig: Kreisform! */
    
    /* RGB Verlauf */
    background: linear-gradient(90deg, #00fbff, #007bff, #ff00c1, #00fbff);
    background-size: 200% auto;
    
    /* Maskierungs-Trick */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    
    animation: borderFlow 3s linear infinite;
    pointer-events: none;
}

#scrollTop:hover {
    transform: translateY(-5px);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 251, 255, 0.4);
}