/* =========================================================================
 * SkillzKidz TV – Member Area Styles
 * Login, Kabine, Stadion (Community), Wissen, Trophäenraum
 * ========================================================================= */

/* ---------- Shared Member Page Wrapper ---------- */
.member-page {
    padding: 110px 48px 80px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.member-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.member-page-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--mint);
    text-shadow: 0 0 12px rgba(0,229,195,0.4);
    margin-bottom: 10px;
}

.member-page-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -1.5px;
}

.member-page-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    max-width: 600px;
    margin-top: 14px;
}

/* ---------- User Pill in Nav ---------- */
.user-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}
.user-pill:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(0,229,195,0.4);
}
.user-pill-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--mint));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 13px;
    color: var(--midnight);
}
.user-pill-ovr {
    color: var(--gold);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
}

/* =========================================================================
 * AUTH (Login / Register)
 * ========================================================================= */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    position: relative;
    z-index: 2;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(160deg, var(--card-bg), #0a0a12);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 42px 38px 36px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
    position: relative;
    overflow: hidden;
}
.auth-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(108,59,255,0.25), transparent 70%);
    pointer-events: none;
}

.auth-tabs {
    display: flex;
    gap: 4px;
    background: rgba(0,0,0,0.35);
    padding: 5px;
    border-radius: 6px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}
.auth-tab {
    flex: 1;
    padding: 11px 0;
    text-align: center;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}
.auth-tab:hover { color: rgba(255,255,255,0.85); }
.auth-tab.is-active {
    background: linear-gradient(135deg, var(--violet-bright), var(--violet));
    color: white;
    box-shadow: 0 0 16px rgba(108,59,255,0.5);
}

.auth-form { display: none; position: relative; z-index: 1; }
.auth-form.is-active { display: block; animation: fadeUp 0.4s cubic-bezier(0.16,1,0.3,1); }

.auth-field { margin-bottom: 18px; }
.auth-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
}
.auth-input {
    width: 100%;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 14px;
    font-family: 'Barlow', sans-serif;
    padding: 13px 16px;
    border-radius: 4px;
    transition: all 0.2s;
}
.auth-input:focus {
    outline: none;
    border-color: var(--mint);
    box-shadow: 0 0 0 3px rgba(0,229,195,0.15);
    background: rgba(0,0,0,0.55);
}

.auth-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--mint), #00b39a);
    color: var(--midnight);
    border: none;
    padding: 15px 24px;
    border-radius: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 24px rgba(0,229,195,0.4);
    margin-top: 8px;
}
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 0 36px rgba(0,229,195,0.6); }
.auth-submit:active { transform: translateY(0); }

.auth-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    margin-top: 20px;
}
.auth-meta a { color: var(--mint); text-decoration: none; }
.auth-meta a:hover { text-decoration: underline; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: rgba(255,255,255,0.3);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin: 8px 0 18px;
    cursor: pointer;
}
.auth-checkbox input { accent-color: var(--mint); }

/* =========================================================================
 * KABINE – Skillz Room (Übersicht)
 * ========================================================================= */
.skillz-room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 12px;
}

.skillz-week-card {
    position: relative;
    background: linear-gradient(160deg, var(--card-bg), #0a0a12);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.skillz-week-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,229,195,0.25);
}
.skillz-week-card.is-locked {
    cursor: not-allowed;
    opacity: 0.55;
}
.skillz-week-card.is-locked:hover { transform: none; box-shadow: 0 4px 18px rgba(0,0,0,0.4); }
.skillz-week-card.is-current {
    border-color: rgba(108,59,255,0.45);
    box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 32px rgba(108,59,255,0.15);
}
.skillz-week-card.is-done {
    border-color: rgba(0,229,195,0.3);
}

.skillz-week-thumb {
    height: 170px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.skillz-week-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 50%);
}

.skillz-week-status {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    z-index: 2;
}
.skillz-week-status.done   { background: rgba(0,229,195,0.2);  color: var(--mint);   border: 1px solid rgba(0,229,195,0.5); }
.skillz-week-status.now    { background: rgba(108,59,255,0.25); color: #c4a8ff; border: 1px solid rgba(108,59,255,0.6); }
.skillz-week-status.lock   { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.15); }

.skillz-week-lock-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.skillz-week-lock-icon svg { width: 42px; height: 42px; opacity: 0.7; }

.skillz-week-info {
    padding: 18px 18px 20px;
}
.skillz-week-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 6px;
}
.skillz-week-card.is-current .skillz-week-num { color: var(--violet-bright); }
.skillz-week-card.is-done .skillz-week-num { color: var(--mint); }

.skillz-week-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    line-height: 1.2;
}
.skillz-week-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
.skillz-week-progress {
    margin-top: 12px;
    height: 4px;
    background: rgba(255,255,255,0.07);
    border-radius: 2px;
    overflow: hidden;
}
.skillz-week-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--violet), var(--mint));
    border-radius: 2px;
}

/* =========================================================================
 * KABINE – Single Week Detail
 * ========================================================================= */
.week-detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    margin-top: 8px;
}
@media (max-width: 1024px) {
    .week-detail-layout { grid-template-columns: 1fr; }
}

.video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 36px rgba(0,0,0,0.5);
}
.video-player iframe,
.video-player video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.video-player-placeholder {
    position: absolute; inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    background: radial-gradient(ellipse at center, rgba(108,59,255,0.25), transparent 70%), linear-gradient(135deg, #15082f, #081522);
    color: rgba(255,255,255,0.7);
}
.video-player-placeholder .play-btn-big { transform: scale(1.4); }

.week-body { margin-top: 28px; }
.week-body h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.week-body p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
}

.week-side-card {
    background: linear-gradient(160deg, var(--card-bg), #0a0a12);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 18px;
}
.week-side-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}

.week-checklist { list-style: none; padding: 0; margin: 0; }
.week-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}
.week-checklist li:last-child { border-bottom: none; }
.week-checklist .check {
    width: 20px; height: 20px;
    border-radius: 4px;
    border: 1.5px solid rgba(255,255,255,0.25);
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
}
.week-checklist li.is-done .check {
    background: var(--mint);
    border-color: var(--mint);
    box-shadow: 0 0 12px rgba(0,229,195,0.5);
}
.week-checklist li.is-done .check::after {
    content: '';
    width: 5px; height: 9px;
    border-right: 2px solid var(--midnight);
    border-bottom: 2px solid var(--midnight);
    transform: rotate(45deg) translate(-1px,-1px);
}
.week-checklist li.is-done .label {
    color: rgba(255,255,255,0.4);
    text-decoration: line-through;
}

.btn-complete {
    width: 100%;
    background: linear-gradient(135deg, var(--mint), #00b39a);
    color: var(--midnight);
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 24px rgba(0,229,195,0.4);
}
.btn-complete:hover { transform: translateY(-1px); }
.btn-complete.is-done {
    background: rgba(0,229,195,0.15);
    color: var(--mint);
    border: 1px solid rgba(0,229,195,0.4);
    box-shadow: none;
}

.reward-list { list-style: none; padding: 0; margin: 0; }
.reward-list li {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.reward-list li:last-child { border-bottom: none; }
.reward-list .val { color: var(--mint); font-family: 'Barlow Condensed',sans-serif; font-weight: 800; }

/* =========================================================================
 * STADION – Community (Discord-Style)
 * ========================================================================= */
.community-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
    min-height: 70vh;
}
@media (max-width: 900px) {
    .community-layout { grid-template-columns: 1fr; }
}

.channel-sidebar {
    background: linear-gradient(180deg, #0d0d16, #07070d);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 20px 14px;
    height: fit-content;
    position: sticky;
    top: 90px;
}
.channel-category {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    padding: 14px 10px 8px;
}
.channel-list { list-style: none; padding: 0; margin: 0; }
.channel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 5px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s;
    cursor: pointer;
    position: relative;
}
.channel-item:hover { background: rgba(255,255,255,0.05); color: white; }
.channel-item.is-active {
    background: rgba(108,59,255,0.18);
    color: white;
    border-left: 3px solid var(--violet-bright);
    padding-left: 9px;
}
.channel-hash { color: rgba(255,255,255,0.4); font-weight: 700; }
.channel-item.is-active .channel-hash { color: var(--mint); }
.channel-badge {
    margin-left: auto;
    background: var(--coral);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 999px;
    min-width: 20px;
    text-align: center;
}

.channel-main {
    background: linear-gradient(180deg, #0d0d16, #08080f);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.channel-header {
    padding: 18px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(0,0,0,0.2);
}
.channel-header-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.channel-header-title .hash { color: var(--mint); font-size: 22px; }
.channel-header-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
}
.channel-header-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.channel-feed { padding: 22px 28px; }
.post {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.post:last-child { border-bottom: none; }
.post-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--mint));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 15px;
    color: var(--midnight);
    flex-shrink: 0;
}
.post-body { flex: 1; min-width: 0; }
.post-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.post-author { font-weight: 700; font-size: 14px; color: white; }
.post-role {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    background: rgba(245,158,11,0.15);
    color: var(--gold);
    border: 1px solid rgba(245,158,11,0.3);
}
.post-time { font-size: 11px; color: rgba(255,255,255,0.35); }
.post-text { font-size: 14.5px; color: rgba(255,255,255,0.85); line-height: 1.55; }
.post-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
.post-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.2s;
}
.post-action:hover { color: var(--mint); }

.channel-input {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 28px;
    background: rgba(0,0,0,0.3);
    display: flex;
    gap: 10px;
}
.channel-input input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Barlow', sans-serif;
}
.channel-input input:focus { outline: none; border-color: var(--mint); }
.channel-input button {
    background: var(--mint);
    color: var(--midnight);
    border: none;
    padding: 0 22px;
    border-radius: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
}

/* =========================================================================
 * WISSEN – Blog Grid + FAQ
 * ========================================================================= */
.knowledge-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}
.knowledge-filter {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    padding: 8px 18px;
    border-radius: 999px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}
.knowledge-filter:hover { background: rgba(255,255,255,0.1); color: white; }
.knowledge-filter.is-active {
    background: linear-gradient(135deg, var(--violet-bright), var(--violet));
    color: white;
    border-color: transparent;
    box-shadow: 0 0 16px rgba(108,59,255,0.4);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.blog-card {
    background: linear-gradient(160deg, var(--card-bg), #0a0a12);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,229,195,0.3);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}
.blog-card-cover {
    height: 170px;
    position: relative;
    overflow: hidden;
}
.blog-card-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(6,6,12,0.85));
}
.blog-card-cat {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 1;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    color: var(--mint);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 3px;
    border: 1px solid rgba(0,229,195,0.4);
}
.blog-card-body { padding: 20px 22px 22px; }
.blog-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
}
.blog-card-excerpt {
    font-size: 13.5px;
    color: rgba(255,255,255,0.55);
    line-height: 1.55;
    margin-bottom: 14px;
}
.blog-card-meta {
    display: flex;
    gap: 14px;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 1px;
}
.blog-card-lock {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(245,158,11,0.18);
    border: 1px solid rgba(245,158,11,0.45);
    backdrop-filter: blur(8px);
    color: var(--gold);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 9px;
    border-radius: 3px;
}
.blog-card.is-members-only .blog-card-title { opacity: 0.85; }
.blog-card-locked-hint {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
}

/* FAQ Accordion */
.faq-section { margin-top: 60px; }
.faq-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.faq-section-title::before {
    content: '';
    width: 5px; height: 28px;
    background: linear-gradient(180deg, var(--mint), var(--violet));
    border-radius: 2px;
    box-shadow: 0 0 14px rgba(0,229,195,0.5);
}

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: linear-gradient(160deg, var(--card-bg), #0a0a12);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item.is-open { border-color: rgba(0,229,195,0.3); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.7);
    transition: transform 0.2s;
}
.faq-icon { position: relative; }
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after  { width: 2px; height: 12px; }
.faq-item[open] .faq-icon { background: var(--mint); }
.faq-item[open] .faq-icon::before { background: var(--midnight); }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); background: var(--midnight); }
.faq-answer {
    padding: 0 24px 22px;
    font-size: 14.5px;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
}

/* =========================================================================
 * TROPHÄENRAUM – FIFA Card + Gamification
 * ========================================================================= */
.trophy-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 36px;
    align-items: start;
}
@media (max-width: 900px) {
    .trophy-layout { grid-template-columns: 1fr; }
}

/* FIFA Card */
.fifa-card {
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(0,229,195,0.35), transparent 70%),
        linear-gradient(180deg, #1a1330 0%, #0a0820 60%, #1a0a3e 100%);
    border-radius: 14px;
    padding: 24px 28px 28px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
        0 24px 60px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.15),
        0 0 60px rgba(108,59,255,0.18);
    aspect-ratio: 5 / 7;
    display: flex;
    flex-direction: column;
}
.fifa-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            115deg,
            rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px,
            transparent 1px, transparent 8px
        );
    pointer-events: none;
}
.fifa-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: rotate(20deg);
    pointer-events: none;
}

.fifa-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.fifa-ovr {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 62px;
    font-weight: 900;
    line-height: 0.9;
    background: linear-gradient(180deg, #ffd97d, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.fifa-position {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-top: 4px;
    color: rgba(255,255,255,0.85);
}
.fifa-club {
    width: 44px; height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.fifa-club .crest-shape {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.92);
    clip-path: polygon(50% 0%, 100% 18%, 100% 65%, 50% 100%, 0% 65%, 0% 18%);
}
.fifa-club span {
    position: relative;
    z-index: 1;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 13px;
    color: var(--midnight);
}

.fifa-portrait {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px 0 14px;
    position: relative;
    z-index: 1;
}
.fifa-portrait-circle {
    width: 170px; height: 170px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(0,229,195,0.4) 0%, transparent 70%),
        linear-gradient(135deg, #2d1060, #15082f);
    border: 2px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(108,59,255,0.4);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 70px;
    font-weight: 900;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 0 24px rgba(0,229,195,0.6);
}

.fifa-name {
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.fifa-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
    position: relative;
    z-index: 1;
}
.fifa-stat {
    display: flex;
    justify-content: space-between;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.85);
}
.fifa-stat .v {
    font-weight: 800;
    color: var(--mint);
    text-shadow: 0 0 8px rgba(0,229,195,0.4);
}

/* Trophy Right Side */
.trophy-side { display: flex; flex-direction: column; gap: 22px; }
.trophy-block {
    background: linear-gradient(160deg, var(--surface), #0d0d18);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 26px 28px;
}
.trophy-block-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.trophy-block-title::before {
    content: '';
    width: 4px; height: 16px;
    background: linear-gradient(180deg, var(--gold), var(--coral));
    border-radius: 2px;
}

/* Level bar */
.level-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}
.level-current {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
}
.level-current .lvl { color: var(--gold); }
.level-points {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}
.level-points b { color: white; }

.level-bar {
    height: 10px;
    background: rgba(255,255,255,0.07);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-bottom: 6px;
}
.level-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #f6c34a);
    border-radius: 5px;
    box-shadow: 0 0 14px rgba(245,158,11,0.6);
    position: relative;
}
.level-bar-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2.5s linear infinite;
}
.level-milestones {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
}

/* Badges grid */
.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 14px;
}
.badge {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 18px 12px 14px;
    text-align: center;
    transition: all 0.2s;
    position: relative;
}
.badge.is-locked { opacity: 0.4; filter: grayscale(0.8); }
.badge:not(.is-locked):hover {
    transform: translateY(-3px);
    border-color: rgba(245,158,11,0.4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.badge-icon {
    width: 56px; height: 56px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #d4870a);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 22px rgba(245,158,11,0.45), inset 0 1px 0 rgba(255,255,255,0.3);
    position: relative;
}
.badge.is-locked .badge-icon {
    background: rgba(255,255,255,0.08);
    box-shadow: none;
}
.badge-icon svg { width: 30px; height: 30px; }
.badge-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 3px;
}
.badge-desc {
    font-size: 10.5px;
    color: rgba(255,255,255,0.4);
    line-height: 1.3;
}

/* Points history */
.history-list { list-style: none; padding: 0; margin: 0; }
.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 14px;
}
.history-item:last-child { border-bottom: none; }
.history-meta { flex: 1; min-width: 0; }
.history-action {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2px;
}
.history-time {
    font-size: 11.5px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
}
.history-pts {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: var(--mint);
    text-shadow: 0 0 12px rgba(0,229,195,0.4);
    white-space: nowrap;
}
.history-pts.neg { color: var(--coral); text-shadow: 0 0 12px rgba(255,61,107,0.4); }

/* myCred-Badges-Shortcode-Ausgabe ans Dark-Theme anpassen */
.mycred-badges-wrap ul.mycred-users-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0;
}
.mycred-badges-wrap ul.mycred-users-badges div.the-badge { text-align: center; }
.mycred-badges-wrap ul.mycred-users-badges img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.mycred-badges-wrap p { color: rgba(255,255,255,0.4); font-size: 13px; }

/* PMS-Zugriffshinweis (Vorschau, falls jemand ohne Berechtigung die Seite sieht) */
.room-empty-state {
    border: 1px dashed rgba(108,59,255,0.35);
    border-radius: 8px;
    padding: 24px 28px;
    background: rgba(108,59,255,0.06);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Mobile member tweaks */
@media (max-width: 768px) {
    .member-page { padding: 100px 20px 60px; }
    .auth-card { padding: 32px 24px; }
    .community-layout { gap: 14px; }
    .channel-sidebar { position: static; }
    .channel-feed, .channel-input, .channel-header { padding-left: 18px; padding-right: 18px; }
    .week-detail-layout { gap: 22px; }
    .trophy-layout { gap: 22px; }
}
