<div class="bank-box">
   <img src="/img/flurrycoin.png" class="coin-icon">
   <span><?= $b["balance"] ?> Coins</span>
</div>
/* ----------------------------------------------
   TEAM GRID – komplett eigen, stört nichts
---------------------------------------------- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Karten */
.team-grid .card {
    background: var(--card);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: .25s;
}

.team-grid .card:hover {
    transform: translateY(-6px);
}

/* Avatar-Bilder */
.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 1rem;
    display: block;
}

/* Icons (🌈 💬 etc.) als Avatar */
.team-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    object-fit: none;
}

/* Namen */
.team-grid .card h3 {
    font-size: 1.4rem;
    font-family: "Baloo 2";
    margin-bottom: 0.3rem;
}

/* Rolle */
.team-grid .card p {
    color: var(--text-soft);
    margin: 0;
}
/* -------------------------------------------------
   FLURRYCRAFT – GLOBAL LAYOUT & ELEMENTE
   MLP-Pastell, Hell, Rund, Clean
--------------------------------------------------- */

:root {
    --pink: #ff8ad9;
    --purple: #a97bff;
    --blue: #67d5ff;
    --yellow: #ffe98a;

    --text: #151222;
    --text-soft: #534d6a;

    --bg: #faf7ff;
    --bg-light: #ffffff;

    --card: rgba(255,255,255,0.85);

    --radius: 22px;
    --shadow: 0 20px 40px rgba(0,0,0,0.08);
}

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

body {
    background: linear-gradient(180deg, #fff6ff 0%, #f7efff 30%, #f2f7ff 100%);
    font-family: "Quicksand", sans-serif;
    color: var(--text);
    line-height: 1.5;
}

/* -------------------------------------------------
   HEADER + NAVIGATION
--------------------------------------------------- */

header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    padding: .9rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.4rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-area img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
}

.logo-title {
    font-family: "Baloo 2";
    font-size: 1.6rem;
    font-weight: 800;
}

/* NAV LINKS */

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links a {
    color: var(--text-soft);
    text-decoration: none;
    padding: .45rem .9rem;
    border-radius: 999px;
    transition: 0.2s;
    font-size: 1rem;
}

.nav-links a:hover {
    background: rgba(0,0,0,0.06);
    color: var(--text);
}

/* USER BADGE */

.user-tag {
    background: #ffe0ff;
    padding: .45rem .9rem;
    border-radius: 999px;
    color: #7d2b7d;
    font-weight: 700;
}

/* -------------------------------------------------
   BUTTONS
--------------------------------------------------- */

.btn-main,
.btn-shop {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    padding: .7rem 1.4rem;
    border-radius: 999px;
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
    box-shadow: 0 10px 20px rgba(150,80,200,0.25);
}

.btn-main:hover,
.btn-shop:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 30px rgba(150,80,200,0.35);
}

.btn-ghost {
    padding: .7rem 1.4rem;
    border-radius: 999px;
    border: 2px solid rgba(0,0,0,0.15);
    background: transparent;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

.btn-ghost:hover {
    background: rgba(0,0,0,0.1);
}

/* Disabled Shop Button */
.disabled-login {
    background: linear-gradient(135deg, #bbb, #999);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

/* -------------------------------------------------
   GRID + CARD SYSTEM
--------------------------------------------------- */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.7rem;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.7rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: .25s;
    text-align: center;
}

.card:hover {
    transform: translateY(-6px);
}

/* -------------------------------------------------
   COIN ICON
--------------------------------------------------- */

.coin-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background: url('/img/flurrycoin.png') center/contain no-repeat;
    vertical-align: -3px;
}

/* -------------------------------------------------
   PAGE TITLES
--------------------------------------------------- */

.hero-page {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-family: "Baloo 2";
    font-size: 2.6rem;
}

.page-sub {
    color: var(--text-soft);
    max-width: 600px;
    margin: .8rem auto;
}

/* -------------------------------------------------
   FOOTER
--------------------------------------------------- */

footer {
    margin-top: 4rem;
    padding: 1.4rem;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    color: var(--text-soft);
}
/* -------------------------------------------------
   FEATURE-LIST (Startseite)
--------------------------------------------------- */

.feature-list {
    list-style: none;
    margin: 1rem auto;
    padding-left: 1.2rem;  /* Abstand nach links */
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.45rem;
    font-size: 1.05rem;
    color: var(--text);
}

/* damit alle Icons gleich aussehen */
.feature-list li img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    vertical-align: middle;
}
/* -------------------------------------------------
   FEATURE LIST – Perfekte Ausrichtung
--------------------------------------------------- */

.feature-list {
    list-style: none;
    margin: 1.5rem 0 1.5rem 1.2rem;   /* Abstand vom linken Rand */
    padding-left: 0.3rem;            /* Feine Innenkorrektur */
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
    font-size: 1.1rem;
    color: var(--text);
}

/* Einheitliche Icon-Größe */
.feature-list li img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0; /* Icon wird nie verzogen */
}
/* -------------------------------------------------
   FEATURE BOX – 4 Icons in schöner Kachel-Optik
--------------------------------------------------- */

.feature-box {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border-radius: 22px;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 15px 35px rgba(150, 80, 200, 0.12);
    max-width: 800px;
    margin: 2.5rem auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-weight: 600;
}

.feature-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

@media (max-width: 700px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
/* -------------------------------------------------
   TEAM-SEKTION
--------------------------------------------------- */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Team-Karten */
.grid .card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.7rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: .25s;
}

.grid .card:hover {
    transform: translateY(-6px);
}

/* Team Avatar als rundes Bild */
.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 1rem;
    display: block;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* Team Titel */
.grid .card h3 {
    font-family: "Baloo 2";
    margin-top: .7rem;
    margin-bottom: .3rem;
    font-size: 1.3rem;
}

/* Team Untertitel */
.grid .card p {
    color: var(--text-soft);
    font-size: .95rem;
    margin: 0;
}
/* ----------------------------------------------
   TEAM GRID – komplett eigen, stört nichts
---------------------------------------------- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Karten */
.team-grid .card {
    background: var(--card);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: .25s;
}

.team-grid .card:hover {
    transform: translateY(-6px);
}

/* Avatar-Bilder */
.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 1rem;
    display: block;
}

/* Icons (🌈 💬 etc.) als Avatar */
.team-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    object-fit: none;
}

/* Namen */
.team-grid .card h3 {
    font-size: 1.4rem;
    font-family: "Baloo 2";
    margin-bottom: 0.3rem;
}

/* Rolle */
.team-grid .card p {
    color: var(--text-soft);
    margin: 0;
}
/* TEAM GRID */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

/* Team-Karten */
.team-grid .card {
    padding: 2rem 1.5rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Rundes Profilbild */
.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 1rem;
    display: block;
}

/* Für Emoji-Avatare (Wonderbolt, Crusader) */
.team-avatar.icon {
    background: linear-gradient(135deg, #8dd9ff, #c69bff);
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}