/* =========================
   BASE
========================= */
html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f0f0f;
    color: white;

    display: flex;
    flex-direction: column;
}

/* =========================
   NAVIGATION
========================= */
nav {
    background: #1a1a1a;
    padding: 15px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: white;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    transition: 0.2s;
}

nav ul li a:hover {
    background: #f1740d;
}

/* =========================
   DROPDOWN
========================= */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    min-width: 180px;
    flex-direction: column;
    z-index: 1000;
    border-top: 2px solid #f1740d;
}

nav ul li ul li a {
    padding: 10px 15px;
    white-space: nowrap;
}

nav ul li:hover ul {
    display: flex;
}

/* =========================
   HERO
========================= */
.hero {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;

    background-size: cover;
    background-position: center;

    animation: bgChange 20s infinite ease-in-out;
}

@keyframes bgChange {
    0%   { background-image: url("img/bg1.jpg"); }
    50%  { background-image: url("img/bg2.jpg"); }
    100% { background-image: url("img/bg1.jpg"); }
}

/* HERO BUTTONS */
.hero-buttons {
    margin-top: 20px;
}

.btn {
    background: #f1740d;
    color: white;
    padding: 12px 20px;
    margin: 5px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    background: #ff8c2a;
}

.btn.secondary {
    background: #333;
}

/* =========================
   TEAM / RULES SYSTEM
========================= */
.team-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 30px;

    flex: 1;
}

.group {
    width: 90%;
    max-width: 1000px;
}

.group h2 {
    color: #f1740d;
    font-size: 26px;
    margin-bottom: 20px;
    border-left: 4px solid #f1740d;
    padding-left: 12px;
}

/* =========================
   RULES BOX
========================= */
.rules-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.rules-box {
    background: #141414;
    padding: 28px;
    border-radius: 14px;

    border: 1px solid rgba(241, 116, 13, 0.35);
    width: 100%;
    max-width: 1000px;

    color: #ddd;
    transition: 0.3s;
}

.rules-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(241, 116, 13, 0.25);
}

.rules-box h3 {
    color: #f1740d;
    margin-bottom: 10px;
    font-size: 20px;
}

/* Einzelne Regelblöcke */
.rule-item {
    margin-bottom: 20px;
}

.rule-item h3 {
    color: #f1740d;
    font-size: 18px;
    margin-bottom: 6px;
}

.rule-item p {
    margin: 0;
    font-size: 14px;
    color: #cfcfcf;
    line-height: 1.6;
}

/* =========================
   LISTEN
========================= */
.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rules-list li {
    margin: 12px 0;
    padding-left: 22px;
    position: relative;

    font-size: 15px;
    color: #cfcfcf;
    line-height: 1.6;
}

.rules-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f1740d;
    font-weight: bold;
}

/* =========================
   CARDS
========================= */
.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.card {
    background: #1a1a1a;
    padding: 20px;
    margin: 15px;
    border-radius: 12px;
    width: 280px;
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(241, 116, 13, 0.4);
}

/* STATUS BAR */
.status-bar {
    width: 100%;
    height: 10px;
    background: #222;
    border-radius: 6px;
    margin-top: 10px;
}

.bar {
    height: 100%;
    width: 0%;
    background: #f1740d;
    border-radius: 6px;
}

/* JOIN BUTTON */
.join-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background: #f1740d;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

/* =========================
   ABOUT
========================= */
.about {
    text-align: center;
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
}

/* =========================
   FOOTER
========================= */
.footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;

    background: #1a1a1a;
    border-top: 2px solid #f1740d;

    color: #bbb;
    font-size: 14px;
}

/* =========================
   HERO LOGO
========================= */
.hero-logo {
    width: 120px;
    margin-bottom: 15px;
}

/* =========================
   TEAM BILDER FIX (NEU)
========================= */
.team-wrapper .member img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;

    border: 3px solid #f1740d;
    margin-bottom: 10px;
}