@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
--bg-main: #141211;
--bg-card: rgba(38, 34, 32, 0.75);
--bg-card-hover: rgba(50, 45, 42, 0.9);
--text-primary: #F4EBE1;
--text-secondary: #A89B8E;
--accent-blue: #70A9DB;
--accent-blue-hover: #548DBE;

/* Ränge-Farben */
--rank-owner: #ff4757;
--rank-admin: #ffa502;
--rank-dev: #a55eea;
--rank-builder: #70a1ff;
--rank-supporter: #2ed573;

--border-radius: 20px;
--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);


}

{
box-sizing: border-box;
margin: 0;
padding: 0;
-webkit-tap-highlight-color: transparent;
}

body {
font-family: 'Inter', sans-serif;
background: var(--bg-main) radial-gradient(circle at 50% 0%, #2b231d 0%, #141211 70%);
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
overflow-x: hidden;
}

/* STREAMING_CHUNK:Configuring navigation bar and responsive menu... */
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 24px;
background: rgba(20, 18, 17, 0.85);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
position: sticky;
top: 0;
z-index: 100;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-brand {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: #fff;
font-family: 'Fredoka', cursive;
font-size: 1.3rem;
}

.nav-brand img {
height: 34px;
width: auto;
filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.nav-links {
display: flex;
gap: 10px;
list-style: none;
}

.nav-links a {
color: var(--text-secondary);
text-decoration: none;
font-weight: 600;
transition: var(--transition);
padding: 8px 14px;
border-radius: 10px;
font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
color: #fff;
background: rgba(255, 255, 255, 0.1);
}

/* STREAMING_CHUNK:Styling layout containers and hero header... */
.container {
max-width: 1140px;
margin: 0 auto;
padding: 24px 16px;
width: 100%;
}

header.hero {
text-align: center;
padding: 20px 10px;
}

.logo {
max-width: min(220px, 60vw);
height: auto;
filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
animation: float 4s ease-in-out infinite;
}

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

h1 {
font-family: 'Fredoka', cursive;
font-size: clamp(2rem, 7vw, 3.2rem);
margin-top: 15px;
background: linear-gradient(135deg, #ffffff 0%, #dcd1c4 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.subtitle {
font-size: clamp(0.95rem, 3.5vw, 1.15rem);
color: var(--text-secondary);
margin-top: 6px;
padding: 0 10px;
}

/* STREAMING_CHUNK:Styling IP box and action buttons... */
.ip-box {
background: var(--bg-card);
border: 2px solid rgba(112, 169, 219, 0.4);
border-radius: var(--border-radius);
padding: 12px 18px;
margin: 24px auto;
max-width: 440px;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
backdrop-filter: blur(10px);
}

.ip-text {
font-family: 'Fredoka', cursive;
font-size: clamp(1.1rem, 4vw, 1.35rem);
color: var(--accent-blue);
letter-spacing: 0.5px;
word-break: break-all;
}

.btn {
background: linear-gradient(135deg, var(--accent-blue) 0%, #4a8ac2 100%);
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 12px;
font-family: 'Fredoka', cursive;
font-size: 0.95rem;
cursor: pointer;
transition: var(--transition);
text-decoration: none;
display: inline-block;
box-shadow: 0 4px 15px rgba(112, 169, 219, 0.3);
white-space: nowrap;
}

.btn:hover, .btn:active {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(112, 169, 219, 0.5);
}

/* STREAMING_CHUNK:Building grid layout and responsive cards... */
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 18px;
margin-top: 20px;
}

.card {
background: var(--bg-card);
padding: 22px;
border-radius: var(--border-radius);
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
border: 1px solid rgba(255, 255, 255, 0.05);
transition: var(--transition);
backdrop-filter: blur(10px);
}

.card:hover {
transform: translateY(-4px);
background: var(--bg-card-hover);
border-color: rgba(112, 169, 219, 0.3);
}

.card h2 {
font-family: 'Fredoka', cursive;
color: var(--accent-blue);
margin-bottom: 8px;
font-size: 1.35rem;
}

/* STREAMING_CHUNK:Styling team cards, skin renders and rank badges... */
.team-card {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}

.skin-render {
height: 170px;
width: auto;
margin-bottom: 8px;
filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
transition: var(--transition);
object-fit: contain;
}

.team-card:hover .skin-render {
transform: scale(1.06) translateY(-4px);
}

.player-name {
font-family: 'Fredoka', cursive;
font-size: 1.45rem;
color: #fff;
margin-top: 4px;
}

.badge {
display: inline-block;
padding: 4px 14px;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
margin: 6px 0 10px;
}

.badge.owner { background: rgba(255, 71, 87, 0.15); color: var(--rank-owner); border: 1px solid var(--rank-owner); }
.badge.admin { background: rgba(255, 165, 2, 0.15); color: var(--rank-admin); border: 1px solid var(--rank-admin); }
.badge.dev { background: rgba(165, 94, 234, 0.15); color: var(--rank-dev); border: 1px solid var(--rank-dev); }
.badge.builder { background: rgba(112, 161, 255, 0.15); color: var(--rank-builder); border: 1px solid var(--rank-builder); }
.badge.supporter { background: rgba(46, 213, 115, 0.15); color: var(--rank-supporter); border: 1px solid var(--rank-supporter); }

/* Rules List */
.rules-list {
list-style: none;
}

.rules-list li {
padding: 8px 0;
border-bottom: 1px solid rgba(255,255,255,0.05);
display: flex;
align-items: center;
gap: 10px;
font-size: 0.95rem;
}

.rules-list li:last-child {
border-bottom: none;
}

/* STREAMING_CHUNK:Configuring mobile toasts, footer and media queries... */
footer {
margin-top: auto;
text-align: center;
padding: 20px 16px;
background: rgba(0,0,0,0.3);
color: var(--text-secondary);
font-size: 0.8rem;
border-top: 1px solid rgba(255,255,255,0.05);
}

.toast {
visibility: hidden;
background-color: #2ed573;
color: #fff;
text-align: center;
border-radius: 12px;
padding: 12px 22px;
position: fixed;
z-index: 1000;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
font-weight: 700;
font-family: 'Fredoka', sans-serif;
font-size: 0.9rem;
box-shadow: 0 8px 25px rgba(0,0,0,0.5);
border: 1px solid rgba(255, 255, 255, 0.2);
width: max-content;
max-width: 90vw;
}

.toast.show {
visibility: visible;
animation: fadein 0.3s, fadeout 0.4s 2.6s;
}

@keyframes fadein {
from { bottom: 0; opacity: 0; }
to { bottom: 20px; opacity: 1; }
}

@keyframes fadeout {
from { bottom: 20px; opacity: 1; }
to { bottom: 0; opacity: 0; }
}

/* Specific Mobile Breakpoints */
@media (max-width: 480px) {
nav {
padding: 12px 16px;
}

.nav-brand span {
    font-size: 1.15rem;
}

.nav-links a {
    padding: 6px 10px;
    font-size: 0.85rem;
}

.ip-box {
    flex-direction: column;
    text-align: center;
    padding: 16px;
}

.ip-box .btn {
    width: 100%;
}

.grid {
    grid-template-columns: 1fr;
}

.skin-render {
    height: 150px;
}


}