* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --dark-bg: rgba(0, 0, 0, 0.8);
    --light-text: #ffffff;
    --accent: #ffffff;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--light-text);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 50px;
    margin-right: auto;
    color: var(--accent);
}

.logo img {
    height: 310%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
    margin-left: -43%;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ddd;
}

.server-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.server-ip {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    border: 2px solid var(--primary-color);
}

.status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.status.online {
    background: rgba(76, 175, 80, 0.2);
    color: var(--primary-color);
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 2rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Community Section */
.community {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.9);
}

.community h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent);
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Join Section */
.join {
    padding: 5rem 0;
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    text-align: center;
}

.join h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.join p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.ip-box {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.ip-box input {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    min-width: 300px;
}

.ip-box button {
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.ip-box button:hover {
    background: #1976D2;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    transition: background 0.3s, transform 0.3s;
}

.social-btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

/* Footer */
footer {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.95);
    text-align: center;
    color: #888;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    margin: 0;
}

.admin-btn {
    font-size: 0.75rem;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #bbb;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Countdown */
.countdown-container {
    margin-top: 2rem;
}

.countdown-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.countdown-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
    animation: pulse 2s ease-in-out infinite;
}

.countdown-label {
    font-size: 1rem;
    color: #ddd;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== Regeln-Seite ===== */
.rules-hero {
  padding: 120px 0 40px;
}

.rules-hero-content {
  text-align: center;
}

.rules-back {
  display: inline-block;
  margin-top: 14px;
  text-decoration: none;
  opacity: 0.85;
}

.rules-back:hover {
  opacity: 1;
}

.rules {
  padding: 40px 0 80px;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.rule-card {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
}

.rule-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.rule-icon {
  font-size: 22px;
}

.rule-card h2 {
  margin: 0;
  font-size: 18px;
}

.rule-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
}

.rule-list li {
  margin: 6px 0;
}

.rule-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 180, 0, 0.12);
  border: 1px solid rgba(255, 180, 0, 0.25);
}

/* Optional: aktiver Navbar-Link */
.nav-links a.active {
  opacity: 1;
  text-decoration: underline;
}
.rules-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    padding: 120px 0 40px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
/* =========================
   REGELN: CARDS UNTEREINANDER
   ========================= */
/* Nur bei der Regeln-Seite Hintergrund entfernen */
#regeln {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}


#regeln .feature-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

#regeln .feature-card {
    width: 100%;
    background: rgb(0 0 0 / 74%);
    text-align: left;
}


#regeln .feature-card .icon {
    font-size: 2.6rem;
}
/* COMMUNITY: Hintergrundbild fixieren (nur diese Seite) */

