/* ==========================================================================
   UNKNOWN FORCES ESPORTS - MAIN STYLESHEET
   ========================================================================== 
   
   TABLE OF CONTENTS:
   1. General Styles
   2. Page: index.html
   3. Page: management.html
   4. Page: product-detail.html
   5. Page: shop.html
   6. Page: sponsors.html
   7. Page: team-detail.html
   8. Page: teams.html
   ========================================================================== */

/* ==================================================
   1. GENERAL STYLES
   ================================================== */
:root {
    --bg-dark: #0f0f0f;
    --bg-card: #161616;
    --bg-lighter: #1e1e1e;

    --accent-primary: #c4a21e;
    --accent-secondary: #ffffff;

    --text-main: #ffffff;
    --text-muted: #a0a0a0;

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

html {
    scroll-behavior: smooth;
    /* Offset for fixed header */
    overflow-x: hidden;
    width: 100%;
}

/* Fallback for anchor scroll-offset when overflow-x hidden breaks scroll-padding */
[id] {
    scroll-margin-top: 150px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
}

a {
    cursor: pointer;
}

.content-wrapper {
    max-width: 1400px;
    /* Made wider */
    margin: 0 auto;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 100%;
    box-sizing: border-box;
    /* Ensure padding doesnt break width */
}

/* News Grid - Improved to Fill Space */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns on large screens */
    gap: 30px;
    width: 100%;
    margin-top: 20px;
}

/* Teams Grid - Flex based to perfectly center incomplete groups of 2 */
.teams-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    margin-top: 20px;
}

.teams-grid .news-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: 420px;
    box-sizing: border-box;
}

.news-category {
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

/* Base Button Styles - Skewed look */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;
    transform: skew(-15deg);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 10px;
}

.btn>* {
    transform: skew(15deg);
    /* Unskew text */
    display: block;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #000;
}

.btn-primary:hover {
    background-color: white;
    color: black;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-primary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: black;
}

/* Button Group Wrappers - Ensures consistent gap globally */
.hero-buttons,
.hero-actions,
.about-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.hero-buttons,
.hero-actions,
.cta-actions {
    justify-content: center;
}

.about-actions {
    justify-content: flex-start;
}

.hero-buttons .btn,
.hero-actions .btn,
.about-actions .btn,
.cta-actions .btn {
    margin: 0;
}

/* Navigation styles */
.nav-container {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(15, 15, 15, 0.95) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.header-spacer {
    height: 90px;
    width: 100%;
}

.nav {
    height: 90px;
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: flex-start;
    /* Align start to put logo left */
    align-items: center;
    padding: 0 40px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
    margin-left: auto;
    /* Push nav list to the right */
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin-right: 20px;
}

.logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(196, 162, 30, 0.4));
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    transition: none;
    z-index: 1001;
    position: relative;
    top: 25px;
    /* Restoration of hanging effect */
}

/* Nav Item padding adjustment */
.nav-txt {
    padding: 0 20px;
}

.logo:hover {
    transform: none;
    /* NO HOVER EFFECT */
}

.burger-container,
.burger-nav,
.burger-logo {
    display: none;
}

/* Main content styles */
main {
    margin-top: 0;
}

/* Sponsor Carousel */
.sponsor {
    background-color: #050505;
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid #222;
}

.sponsors {
    overflow: hidden;
}

.track {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    align-items: center;
    width: max-content;
    opacity: 0;
    transition: opacity 0.2s ease;
    will-change: transform;
}

.track.is-ready {
    opacity: 1;
    animation: sponsor-marquee var(--marquee-duration, 30s) linear infinite;
}

.track img {
    height: 40px;
    opacity: 0.5;
    transition: opacity 0.3s;
    filter: grayscale(100%);
    object-fit: contain;
    flex-shrink: 0;
}

.track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes sponsor-marquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-1 * var(--marquee-distance, 0px)), 0, 0);
    }
}

/* Footer (Revised) */
.main-footer {
    background-color: #000;
    color: white;
    padding: 60px 0 0;
    border-top: 4px solid var(--accent-primary);
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* brand col + links-row col */
    gap: 40px;
    padding: 0 20px 60px;
}

.footer-links-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-left: 3px solid var(--accent-primary);
    padding-left: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #888;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-column ul li a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    max-width: 200px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    background: var(--bg-lighter);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transform: skew(-10deg);
}

.social-links a i {
    transform: skew(10deg);
}

.social-links a:hover {
    background: var(--accent-primary);
    color: black;
}

.footer-bottom {
    background-color: #050505;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #444;
    border-top: 1px solid #111;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .footer-credit {
    display: inline;
}

.footer-bottom .footer-credit::before {
    content: " | ";
    color: #666;
}

/* Overlay styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

/* About Section Styles */
.about-section {
    margin-bottom: 60px;
}

.about-text {
    line-height: 1.6;
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-card {
    background: rgba(30, 30, 30, 0.5);
    padding: 30px;
    border-left: 3px solid var(--accent-primary);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 40, 40, 0.8);
}

.membership-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 162, 30, 0.2);
    z-index: 10;
}

.value-card h3 {
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.download-list {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.download-item {
    display: flex;
    align-items: center;
    background: #222;
    padding: 20px;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.download-item:hover {
    border-color: var(--accent-primary);
    background: #2a2a2a;
}

.download-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-right: 20px;
}

.download-info h4 {
    margin: 0 0 5px 0;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.download-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #aaa;
}

.history-timeline {
    border-left: 2px solid #333;
    padding-left: 30px;
    margin: 30px 0 30px 10px;
}

.history-item {
    position: relative;
    margin-bottom: 40px;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

.history-date {
    font-family: 'Oswald', sans-serif;
    color: var(--accent-primary);
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.stats-banner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: linear-gradient(90deg, #111 0%, #1a1a1a 50%, #111 100%);
    padding: 40px 20px;
    border-top: 2px solid var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
    margin: 60px 0;
    text-align: center;
}

.stat-item {
    margin: 15px;
}

.stat-val {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-lbl {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--accent-primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-text strong {
    color: white;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.about-list li {
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.about-list li i {
    color: var(--accent-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-list li strong {
    flex-shrink: 0;
}

/* New Hero Centering */
.hero {
    height: 75vh;
    /* Reduced from 100vh */
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/Website_Hero_Bild.webp") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--accent-primary);
    /*margin-top: 90px; /* Offset for fixed header */
    padding: 0;
}

.subpage-hero {
    height: 24vh !important;
    min-height: 200px !important;
    max-height: 300px;
}

.product-detail-hero {
    height: 20vh !important;
    min-height: 160px !important;
    max-height: 220px;
}

.shop-hero {
    height: 24vh !important;
    min-height: 200px !important;
    max-height: 300px;
}

.legal-page-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.legal-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    margin: 0 0 28px;
    background: var(--accent-primary);
    color: #000;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--accent-primary);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.legal-back-button:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.legal-content-section {
    margin: 0 0 40px;
}

.legal-content-section h1,
.legal-content-section h2,
.legal-content-section h3 {
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .legal-page-main {
        padding: 16px 20px 40px;
    }

    .legal-back-button {
        width: 100%;
        min-height: 46px;
        margin: 0 0 24px;
        font-size: 0.95rem;
    }

    .legal-content-section {
        margin: 0 0 28px;
    }
}

/* =====================
    CTA Section (Ready to Join)
   ===================== */
.cta-section {
    background: linear-gradient(rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0.8)),
        url("../images/Website_Hero_Bild.webp") center/cover fixed;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    border-top: 1px solid #333;
    overflow: hidden;
    margin-top: 50px;
}

/* Decorative skewed background lines */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) skew(-15deg);
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent 49.9%, rgba(196, 162, 30, 0.05) 50%, transparent 50.1%);
    background-size: 200px 100%;
    pointer-events: none;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-content h2 {
    font-size: 2.6rem;
    color: white;
    margin: 0;
    line-height: 1;
    text-shadow: 0 0 20px rgba(196, 162, 30, 0.3);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Make the button extra prominent */
.cta-content .btn-primary {
    padding: 15px 50px;
    font-size: 1.3rem;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(196, 162, 30, 0.3);
}

.cta-content .btn-primary:hover {
    box-shadow: 0 0 30px rgba(196, 162, 30, 0.6);
}

/* Mobile Nav Adjustments for merged list */
@media screen and (max-width: 768px) {
    .nav-list {
        display: none;
        /* Hide default nav list on mobile */
    }
}

/* Mobile: icon-list items (about-list, partners-list) span indented */
@media (max-width: 768px) {

    .about-list li span,
    .partners-list li span {
        /* Indent the description so it starts under the title, not the icon */
        padding-left: calc(1.2rem + 10px);
    }
}

/* Correct Dropdown Hover Behavior & Styling (Override) */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0F0F0F;
    /* Match BG */
    min-width: 220px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
    border-top: 2px solid var(--accent-primary);
    padding: 10px 0;
    z-index: 2000;
    flex-direction: column;
}

.dropdown-content a {
    color: #bbb;
    padding: 15px 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 3px solid transparent;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
}

.dropdown-content a:hover {
    background-color: #1a1a1a;
    color: var(--accent-primary);
    border-left: 3px solid var(--accent-primary);
    padding-left: 30px;
    /* Slide effect */
}

/* Ensure dropdown shows on hover */
.dropdown:hover .dropdown-content {
    display: flex;
}

.match-tab.active {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.match-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-primary);
}

.matches-content.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 400px;
}

.team.home {
    justify-content: flex-end;
    text-align: right;
}

.team.away {
    justify-content: flex-start;
    text-align: left;
}

.team-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.team-name.victory {
    color: var(--accent-primary);
}

.match-outcome.win {
    color: #2ecc71;
}

.game-card:hover,
.game-card.active {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(196, 162, 30, 0.18);
}

.game-card:hover .game-bg,
.game-card.active .game-bg {
    filter: grayscale(0%);
    opacity: 1;
}

.team-display-section.active {
    display: block;
}

.player-card {
    background: var(--bg-card);
    border: 1px solid #333;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.player-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}



/* Nav Actions (Lang + Cart) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    height: 40px;
}

.lang-switch {
    font-family: var(--font-heading);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
}

.lang-switch a {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0;
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--accent-primary);
}

.cart-icon a {
    color: var(--text-main);
    font-size: 1.2rem;
    position: relative;
    padding: 0;
}

.cart-icon a:hover {
    color: var(--accent-primary);
}

/* ===== Snipcart Checkbox wrap FIX (clean) ===== */
.snipcart-items-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: var(--accent-primary);
    color: black;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 15px;
    text-align: center;
}

/* Stelle sicher, dass die Zeilen nicht shrink-to-fit werden */
#snipcart .snipcart-form__set,
#snipcart .snipcart-form__field,
#snipcart .snipcart-form__field-checkbox,
.snipcart-modal__container .snipcart-form__set,
.snipcart-modal__container .snipcart-form__field,
.snipcart-modal__container .snipcart-form__field-checkbox {
    width: 100% !important;
}

/* Layout: simple Flex, aber Checkbox bleibt fix */
#snipcart .snipcart-form__field-checkbox,
.snipcart-modal__container .snipcart-form__field-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

/* Checkbox fixieren */
#snipcart input.snipcart-checkbox,
.snipcart-modal__container input.snipcart-checkbox {
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
}

/* Label nimmt Restbreite + bricht normal um */
#snipcart label.snipcart-form__label--checkbox,
.snipcart-modal__container label.snipcart-form__label--checkbox {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    /* wichtig für Flex-wrap */
    display: block !important;

    white-space: normal !important;
    overflow-wrap: break-word !important;
    /* NICHT anywhere */
    word-break: normal !important;
    line-height: 1.25 !important;
}

#snipcart label.snipcart-form__label--checkbox a,
.snipcart-modal__container label.snipcart-form__label--checkbox a {
    display: inline !important;
    white-space: normal !important;
}

/* Mobile Nav Actions Adjustment */
@media (max-width: 768px) {
    .burger-nav .nav-actions {
        margin-left: auto;
        /* Push to right */
        padding-left: 10px;
        margin-right: 10px;
        /* Matched to burger padding (10px) to center perfectly */
        border-left: none;
        /* Remove border on mobile if tight */
        gap: 15px;
    }

    .burger-nav .nav-actions .lang-switch {
        font-size: 0.8rem;
    }
}

/* --- About / Team / Download Styles --- */
.about-section {
    margin-bottom: 60px;
}

.about-text {
    line-height: 1.6;
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-card {
    background: rgba(30, 30, 30, 0.5);
    padding: 30px;
    border-left: 3px solid var(--accent-primary);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 40, 40, 0.8);
}

.value-card h3 {
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.download-list {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.download-item {
    display: flex;
    align-items: center;
    background: #222;
    padding: 20px;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.download-item:hover {
    border-color: var(--accent-primary);
    background: #2a2a2a;
}

.download-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-right: 20px;
}

.download-info h4 {
    margin: 0 0 5px 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.download-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #aaa;
}

.history-timeline {
    border-left: 2px solid #333;
    padding-left: 30px;
    margin: 30px 0 30px 10px;
}

.history-item {
    position: relative;
    margin-bottom: 40px;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

.history-date {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.stats-banner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: linear-gradient(90deg, #111 0%, #1a1a1a 50%, #111 100%);
    padding: 40px 20px;
    border-top: 2px solid var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
    margin: 60px 0;
    text-align: center;
}

.stats-banner .stats-stand {
    flex-basis: 100%;
    /* volle Zeile unter den Stats */
    text-align: center;
    margin-top: 12px;
    font-size: 0.9rem;
    font-style: italic
}

.stat-item {
    margin: 15px;
}

.stat-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-lbl {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #fff;
}

/* =====================
   ABOUT PAGE: RESULTS & ACHIEVEMENTS
   ===================== */
#achievements .achievements-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

/* One full-width block per date */
#achievements .achievement-card {
    background: rgba(30, 30, 30, 0.65);
    border: 1px solid #333;
    border-left: 4px solid var(--accent-primary);
    padding: 24px 28px;
    transition: background 0.25s ease, box-shadow 0.25s ease;
    /* Reset any conflicting rules */
    display: block;
    transform: none;
}

#achievements .achievement-card:hover {
    background: rgba(40, 40, 40, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transform: none;
    border-left-color: var(--accent-primary);
}

#achievements .achievement-card--loading,
#achievements .achievement-card--empty {
    text-align: center;
    padding: 30px;
}

/* Date badge — top left, bordered box */
#achievements .achievement-date {
    display: inline-block;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    padding: 4px 12px;
    background: transparent;
    border-radius: 0;
}

/* 2-column game grid inside each card */
#achievements .achievement-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

#achievements .achievement-item {
    padding-top: 0;
    border-top: none;
}

#achievements .achievement-game {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 6px;
}

#achievements .achievement-results {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 8px;
}

#achievements .achievement-result {
    display: block;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-muted);
}

#achievements .achievement-empty-text {
    margin: 0;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    #achievements .achievement-list {
        grid-template-columns: 1fr;
    }

    #achievements .achievement-card {
        padding: 18px 20px;
    }

    #achievements .achievement-date {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
}



/* =====================
  SPONSORES AND PARTNERS
   ===================== */
/* --- FAQ (details/summary) --- */
.faq {
    margin-top: 24px;
    display: grid;
    gap: 10px;
}

.faq details {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 14px 16px;
}

.faq summary {
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.faq p {
    color: var(--text-muted);
    margin: 10px 0 0;
}

.disclosure {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
}

/* --- FULL NEWS ARTICLE STYLES --- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.article-header {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.article-image {
    width: 100%;
    height: 400px;
    background-color: #333;
    /* Placeholder color matching .placeholder-bg */
}

/* Reusing placeholder-bg from global if exists or defining here */
.placeholder-bg {
    background: linear-gradient(45deg, #222, #333);
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Mobile Match List Fixes */
@media screen and (max-width: 768px) {
    .match-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 20px;
        height: auto;
        /* Remove fixed height if any */
    }

    .match-date-col,
    .match-info-col {
        width: 100%;
        text-align: center;
        align-items: center;
        border-right: none;
        border-left: none;
        /* remove separator */
        padding: 0;
    }

    .match-teams-col {
        gap: 10px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        /* Allow wrapping on very small screens */
    }

    .team {
        width: auto;
        /* Allow shrinking */
        flex: 1;
        min-width: 120px;
        justify-content: center !important;
        /* Force center on mobile */
        text-align: center !important;
    }

    /* Re-order elements inside team for mobile if needed, or keep as is */
    /* Stack logo and name? */
    .team {
        flex-direction: column;
        gap: 5px;
    }

    .team.home {
        flex-direction: column-reverse;
        /* Put name below logo? No, keep consistent */
        flex-direction: column;
    }

    .team-name {
        font-size: 1.1rem;
        /* Smaller text */
        order: 2;
        /* Ensure name is below logo on mobile for clean stack */
    }

    .team-logo-placeholder {
        width: 35px;
        height: 35px;
        order: 1;
    }

    .score {
        font-size: 1.5rem;
        order: 3;
        /* Score at bottom or middle? */
        /* Let's try row layout for team internal elements to keep score side-by-side */
    }

    /* REVERT to Row for Team internal, but stacked container */
    .team {
        flex-direction: row;
        align-items: center;
    }

    .team.home {
        justify-content: flex-end !important;
        text-align: right !important;
    }

    .team.away {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    /* Just shrink them */
}

/* (old achievement-card style restored for team-detail.html) */
.achievement-card {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 15px 20px;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-primary);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 3px;
    background: var(--accent-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.achievement-card:hover::before {
    transform: scaleY(1);
}

.achievement-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    min-width: 50px;
    text-align: center;
    padding-top: 5px;
    /* Align with title */
}

.achievement-content {
    flex: 1;
}

.achievement-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.achievement-description {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.achievement-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-primary);
    padding: 3px 8px;
    background: rgba(196, 162, 30, 0.1);
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    opacity: 0.5;
}

/* (duplicate removed) */


.achievement-icon {
    font-size: 1.5rem;
    /* Smaller icon */
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.achievement-content h3 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.achievement-content p {
    font-size: 0.95rem;
    margin: 0;
    color: #999;
}

.achievement-date {
    margin-left: auto;
    /* Push to right */
    white-space: nowrap;
    font-size: 0.85rem;
    color: #666;
    background: transparent;
    padding: 0;
}

/* Organigram Styles */
.tree-container {
    width: 100%;
    text-align: center;
    overflow: visible;
    /* Fixes both horizontal scrolling and vertical popup cutoff */
    padding-bottom: 20px;
    margin-bottom: 20px;
}

@media (min-width: 1025px) and (max-width: 1350px) {
    .tree {
        transform: scale(0.85);
        transform-origin: top center;
    }
}

@media (min-width: 1025px) and (max-width: 1150px) {
    .tree {
        transform: scale(0.75);
    }
}

.tree {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.tree ul {
    padding-top: 20px;
    position: relative;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    margin: 0;
    padding-left: 0;
}

.tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 10px 0 10px;
    transition: all 0.5s;
}

/* Connectors */
.tree li::before,
.tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid var(--accent-primary);
    width: 50%;
    height: 20px;
}

.tree li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid var(--accent-primary);
}

.tree li:only-child::after,
.tree li:only-child::before {
    display: none;
}

.tree li:only-child {
    padding-top: 0;
}

.tree li:first-child::before,
.tree li:last-child::after {
    border: 0 none;
}

.tree li:last-child::before {
    border-right: 2px solid var(--accent-primary);
    border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid var(--accent-primary);
    width: 0;
    height: 20px;
}

/* The Boxes */
.tree-box {
    border: 2px solid #333;
    background: rgba(30, 30, 30, 0.95);
    padding: 12px 15px;
    text-decoration: none;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    display: inline-block;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.tree-box:hover {
    box-shadow: 0 0 15px rgba(196, 162, 30, 0.4);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    z-index: 11;
}

.tree-role {
    display: block;
    color: var(--accent-primary);
    font-size: 1rem;
    margin-bottom: 3px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.tree-desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: #ccc;
    display: block;
    font-weight: normal;
}

/* ==========================================================================
   TOTAL RESET: Management Orgtree Mobile (Segmented Lines & Block-Align)
   ========================================================================== */
@media (max-width: 1024px) {
    .tree-container {
        padding: 20px 20px 0 20px !important;
        text-align: left !important;
        box-sizing: border-box;
        overflow: visible !important;
    }

    .workflow-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .tree {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Force all lists and items to stack vertically */
    .tree ul,
    .tree li {
        display: block !important;
        float: none !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        position: relative !important;
    }

    /* Root list sits flush */
    .tree>ul {
        margin-left: 0 !important;
    }

    /* Nested levels indent */
    .tree ul ul {
        margin-left: 30px !important;
        border-left: none !important;
        /* No more border-left on UL */
    }

    /* Space between boxes */
    .tree li {
        padding-top: 20px !important;
    }

    .tree>ul>li:first-child {
        padding-top: 0 !important;
    }

    /* =========================================
       BULLETPROOF LINE RESET
       Kill all desktop pseudos to prevent bleeding
       ========================================= */
    .tree li::before,
    .tree li::after,
    .tree ul ul::before {
        content: none !important;
        display: none !important;
        border: none !important;
        background: transparent !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* VERTICAL LINE SEGMENT: Every li in a nested list gets its own piece of the line */
    .tree ul ul>li::after {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        left: -15px !important;
        /* Center of the 30px indent */
        right: auto !important;
        top: 0 !important;
        bottom: 0 !important;
        height: auto !important;
        border-right: none !important;
        border-top: none !important;
        border-bottom: none !important;
        border-left: 2px solid var(--accent-primary) !important;
        border-radius: 0 !important;
    }

    /* TERMINATION: The vertical line portion of the LAST child stops at its branch */
    .tree ul ul>li:last-child::after {
        bottom: auto !important;
        height: 42px !important;
        /* Stops exactly at the horizontal branch level */
    }

    /* HORIZONTAL BRANCH: Connects the vertical line segment to the box */
    .tree ul ul>li::before {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        top: 42px !important;
        /* Align with center of typical box height */
        bottom: auto !important;
        left: -15px !important;
        right: auto !important;
        width: 15px !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        border-top: 2px solid var(--accent-primary) !important;
        border-radius: 0 !important;
        z-index: 1 !important;
    }

    /* BOXES: Stretch to the shared right boundary */
    .tree-box {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        min-width: unset !important;
        max-width: none !important;
        padding: 12px 40px 12px 15px !important;
        /* Right padding for the arrow */
        margin: 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        background: rgba(30, 30, 30, 0.95) !important;
        border: 2px solid #333 !important;
        border-radius: 6px !important;
    }

    /* Expand arrow on the right */
    .tree-box::after {
        content: '' !important;
        position: absolute !important;
        right: 18px !important;
        top: 20px !important;
        /* Aligned roughly with the role text */
        width: 8px !important;
        height: 8px !important;
        border-right: 2px solid var(--accent-primary) !important;
        border-bottom: 2px solid var(--accent-primary) !important;
        transform: rotate(45deg) !important;
        transition: transform 0.3s ease !important;
        display: block !important;
    }

    /* ONLY rotate arrow on click/focus on mobile, explicitly disable hover rotation */
    .tree-box:hover::after {
        transform: rotate(45deg) !important;
        top: 20px !important;
    }

    .tree-box.is-open::after,
    .tree-box:active::after {
        transform: rotate(225deg) !important;
        top: 24px !important;
    }

    .tree-role {
        font-size: 1rem !important;
        display: block !important;
        font-weight: bold !important;
        color: var(--accent-primary) !important;
    }

    .tree-desc {
        font-size: 0.85rem !important;
        display: block !important;
        color: #fff !important;
    }

    /* 
       INLINE ACCORDION INFO BOX (MOBILE)
    */
    .tree-details {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 15px 0 0 0 !important;
        box-sizing: border-box !important;
        background: transparent !important;
        border: none !important;
        border-top: 1px dashed #555 !important;
        border-radius: 0 !important;
        padding: 15px 0 0 0 !important;
        box-shadow: none !important;
        text-align: center !important;
        /* CENTER TEXT */
        z-index: 10 !important;
    }

    /* Require click (focus) instead of hover on mobile */
    .tree-box:hover .tree-details {
        display: none !important;
    }

    .tree-box.is-open .tree-details,
    .tree-box:active .tree-details {
        display: block !important;
        animation: fadeInPopup 0.3s ease !important;
    }

    /* Hide desktop pointer tick */
    .tree-details::after {
        display: none !important;
    }
}

.tree-details {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    background: #111;
    padding: 12px;
    border: 1px solid var(--accent-primary);
    z-index: 100;
    font-size: 0.85rem;
    font-family: 'Rajdhani', sans-serif;
    color: #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    margin-top: 10px;
    border-radius: 4px;
    pointer-events: none;
    line-height: 1.4;
}

.tree-details::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent var(--accent-primary) transparent;
}

.tree-box:hover .tree-details {
    display: block;
    animation: fadeInPopup 0.3s ease;
}

@keyframes fadeInPopup {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    opacity: 0.5;
}

/* actions alignment, but don't change your CTA width */
.cta-management .cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Mobile: stack steps */
@media (max-width: 768px) {
    .cta-management .cta-steps {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

/* Full width section even inside .content-wrapper */
.full-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* shop.html Styles (Extracted) */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.product-image {
    height: 250px;
    width: 100%;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info>div:first-child {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.product-price,
.product-price-row {
    font-size: 1.2rem;
    color: var(--accent-primary);
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: auto;
}

.btn-add-cart {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-add-cart:hover {
    background: var(--accent-primary);
    color: black;
}

/* --- Card Carousel (Produktkarten) --- */
.product-image .card-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 1px solid #333;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    display: none;
    /* wird per JS nur bei >1 Bild gezeigt */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: opacity .15s ease;
}

.product-card:hover .product-image .card-carousel-btn {
    opacity: 1;
}

.product-image .card-carousel-btn.prev {
    left: 8px;
}

.product-image .card-carousel-btn.next {
    right: 8px;
}

.product-image .card-carousel-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    /* wird per JS nur bei >1 Bild gezeigt */
    gap: 6px;
    z-index: 3;
}

.product-image .card-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid #444;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 0;
}

.product-image .card-carousel-dot.is-active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* optional: Buttons erst sichtbar bei Hover auf Bild */
.product-image:hover .card-carousel-btn {
    opacity: 1;
}

.product-image .card-carousel-btn:focus,
.product-image .card-carousel-dot:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* sponsors.html Styles (Extracted) */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* components\twitch-live-bar.html Styles (Extracted) */

/* ===== Twitch Live Bar ===== */
.twitch-live-bar {
    display: none;
    /* STANDARD: aus */
    position: fixed;
    top: 90px;
    left: 0;
    z-index: 990;
    width: 100%;
    text-decoration: none;
    color: #fff;
}

body.has-twitch-live .header-spacer {
    height: 135px;
    /* 90px base + 45px bar */
}

.twitch-live-bar.is-live {
    display: block;
}

/* NUR wenn live */
.twitch-live-bar:hover {
    filter: brightness(1.05);
}

/* Full-Width Balken */
.twitch-live-inner {
    background: #6441A4;
    height: 45px;
    width: 100%;
}

/* Innenbereich zentriert (wie Content) */
.twitch-live-container {
    max-width: 800px;
    /* <- ggf. an deine Seitenbreite anpassen */
    margin: 0 auto;
    height: 100%;
    padding: 0 16px;

    display: flex;
    align-items: center;
    gap: 12px;
}

.twitch-live-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: .6px;
    white-space: nowrap;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);
    animation: livePulse 1.2s infinite;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.twitch-live-center {
    flex: 1;
    min-width: 0;
    text-align: center;
    overflow: hidden;
}

.twitch-live-text {
    display: block;
    width: 100%;
    max-width: 100%;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.twitch-live-meta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-left: 15px;
    font-size: 14px;
    font-weight: 600;
    vertical-align: middle;
    color: #e0d0ff;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    font-size: 12px;
    opacity: 0.8;
}

.twitch-live-right {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.twitch-live-right .download-icon {
    font-size: 22px;
    color: #fff;
    line-height: 1;
    display: block;
}

@media (max-width: 1024px) {

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .teams-grid .news-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {

    .news-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .teams-grid {
        gap: 10px;
        flex-direction: column;
        align-items: stretch;
    }

    .teams-grid .news-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100% !important;
        /* Switch to horizontal layout: logo left, content right */
        flex-direction: row !important;
        align-items: center;
        min-height: 110px;
        height: auto !important;
    }

    .teams-grid .news-card .news-image {
        width: 110px !important;
        min-width: 110px !important;
        height: 110px !important;
        flex-shrink: 0;
        background-color: #111 !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .teams-grid .news-card .news-image img,
    .teams-grid .news-card .news-image .team-card-logo {
        max-height: 96px !important;
        max-width: 96px !important;
        width: 96px !important;
        height: 96px !important;
        padding: 8px !important;
        object-fit: contain;
        box-sizing: border-box;
    }

    /* Platform badge: reposition to top-left corner of the image area */
    .teams-grid .news-card .news-image>div[style] {
        font-size: 0.6rem !important;
        padding: 2px 6px !important;
        bottom: 0 !important;
        left: 0 !important;
    }

    /* Content: takes remaining width, tighter padding */
    .teams-grid .news-card .news-content {
        padding: 10px 14px;
        flex: 1;
        min-width: 0;
    }

    .teams-grid .news-card .news-content span {
        font-size: 0.7rem;
        display: block;
        margin-bottom: 2px;
    }

    .teams-grid .news-card .news-content h3 {
        font-size: 1rem;
        margin: 0 0 4px;
        line-height: 1.2;
    }

    .teams-grid .news-card .news-content p {
        font-size: 0.78rem;
        margin: 0 0 6px;
        line-height: 1.4;
    }

    .teams-grid .news-card .news-content .read-more {
        font-size: 0.75rem;
        margin-top: 0;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }



    .achievement-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .achievement-card::before {
        width: 100%;
        height: 3px;
        top: auto;
        bottom: 0;
        transform: scaleX(0);
    }

    .achievement-card:hover::before {
        transform: scaleX(1);
    }
}

@media (max-width: 900px) {

    .about-grid {
        grid-template-columns: 1fr;
    }

    .achievement-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .achievement-date {
        margin-left: 0;
        margin-top: 5px;
    }
}

@media screen and (max-width: 768px) {

    /* Container & Wrapper Adjustments */
    .content-wrapper {
        padding: 30px 20px;
        /* Reduced padding for mobile */
        gap: 40px;
        /* Reduced gap between sections */
    }

    /* Navigation */
    .nav-container {
        display: none !important;
    }

    .burger-container {
        display: block !important;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 2000;
        background: var(--bg-dark);
        border-bottom: 2px solid var(--accent-primary);
        padding: 0;
        margin: 0;
        height: 70px;
        /* Fixed height for mobile header */
    }

    .burger-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        height: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .burger-logo {
        display: block !important;
        height: 50px;
        /* Constrain container */
    }

    .burger-logo .logo {
        height: 50px;
        /* Resize logo for mobile */
        width: auto;
        top: 0;
        /* remove desktop hanging effect */
        background: none;
        /* remove desktop radial bg */
        box-shadow: none;
        filter: none;
    }

    .burger {
        cursor: pointer;
        padding: 10px;
        z-index: 2001;
        /* Ensure above menu */
        color: white;
    }

    .burger i {
        font-size: 1.8rem;
    }

    .burger-menu {
        display: flex;
        position: fixed;
        left: -100%;
        top: 70px;
        /* Match header height */
        background: var(--bg-dark);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        transition: 0.3s;
        padding: 30px 0 0 0;
        list-style: none;
        margin: 0;
        overflow-y: auto;
        box-shadow: none;
    }

    .burger-menu.open {
        left: 0;
    }

    .burger-menu li {
        width: 100%;
        text-align: left;
        border: none;
        display: flex;
        flex-direction: column;
    }

    .burger-link-wrapper {
        display: flex;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid #222;
    }

    .burger-menu a {
        font-size: 1.5rem;
        font-family: var(--font-heading);
        text-transform: uppercase;
        color: white;
        display: block;
        padding: 15px 20px;
        flex: 1;
        text-decoration: none;
        transition: background-color 0.2s, color 0.2s;
    }

    .burger-menu a:hover,
    .burger-menu a:focus,
    .burger-menu li.active>.burger-link-wrapper>a {
        background-color: rgba(196, 162, 30, 0.15);
        /* Accent tint */
        color: var(--accent-primary);
    }

    .dropdown-toggle {
        padding: 15px 20px;
        color: var(--accent-primary);
        cursor: pointer;
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    .burger-menu li.active .dropdown-toggle {
        transform: rotate(180deg);
    }

    .burger-dropdown-content {
        display: none;
        background: rgba(255, 255, 255, 0.05);
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .burger-menu li.active .burger-dropdown-content {
        display: block;
    }

    .burger-dropdown-content a {
        padding: 12px 40px;
        font-size: 1.1rem;
        border-bottom: 1px solid #333;
        color: #bbb;
    }

    /* Adjust Hero for Mobile */
    .hero {
        /* margin-top: 70px;  -- REMOVED: Managed by .header-spacer now */
        min-height: 500px;
        /* Reduce min-height */
    }

    .subpage-hero {
        height: 16vh !important;
        min-height: 130px !important;
        max-height: 160px !important;
    }

    .product-detail-hero {
        display: none;
    }

    .hero-content {
        padding: 0 20px;
        /* Ensure text doesn't touch edges */
    }

    .hero-content h1 {
        font-size: 2.2rem;
        /* Smaller for mobile to prevent overflow */
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        margin: 0;
        /* Remove default margins for staked layout */
        width: 100%;
        /* Full width buttons */
        box-sizing: border-box;
        text-align: center;
    }

    /* --- Footer: mobile redesign --- */
    .main-footer {
        padding: 28px 0 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 20px 24px;
        text-align: left;
    }

    /* Brand column: centered with divider below */
    .footer-container>.footer-column:first-child {
        text-align: center;
        padding-bottom: 20px;
        border-bottom: 1px solid #1a1a1a;
        margin-bottom: 20px;
    }

    /* Brand heading: no left-border, keep centered original style */
    .footer-container>.footer-column:first-child h3 {
        border-left: none;
        border-bottom: none;
        padding-left: 0;
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    /* LINKS + RECHTLICHES side by side */
    .footer-links-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 16px;
    }

    .footer-column h3 {
        font-size: 0.95rem;
        border-left: 2px solid var(--accent-primary);
        border-bottom: none;
        padding-left: 8px;
        padding-bottom: 0;
        margin-bottom: 12px;
        display: block;
    }

    .footer-column ul li {
        margin-bottom: 7px;
    }

    .footer-column ul li a {
        font-size: 0.8rem;
    }

    .social-links {
        justify-content: center;
        margin: 14px auto 0;
        max-width: 180px;
        gap: 10px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .footer-bottom {
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        font-size: 0.9rem;
    }

    .footer-bottom p {
        margin: 0;
        font-size: 0.9rem !important;
        line-height: 1.35 !important;
    }

    .footer-bottom .footer-credit {
        display: block;
        font-size: inherit !important;
        line-height: inherit !important;
    }

    .footer-bottom .footer-credit::before {
        content: "";
    }

    /* === GLOBAL MOBILE SECTION SPACING (all pages) ===
       Overrides inline styles and class-based margins uniformly. */
    main section {
        margin-bottom: 18px !important;
    }

    /* Stats Banner */
    .stats-banner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        padding: 5px 15px 20px;
        background: transparent;
        border: none;
        margin: 0;
    }

    .stats-banner .stat-item {
        flex: 1 1 40%;
        margin: 0;
        background: var(--bg-card);
        border: 1px solid #333;
        border-radius: 8px;
        padding: 15px 5px;
    }

    /* Make the 5th stat full width to complete the grid nicely */
    .stats-banner .stat-item:nth-of-type(5) {
        flex-basis: 100%;
    }

    .stats-banner .stat-val {
        font-size: 2rem;
    }

    .stats-banner .stat-lbl {
        font-size: 0.65rem;
        letter-spacing: 1px;
        word-wrap: break-word;
        hyphens: auto;
    }

    .stats-banner .stats-stand {
        margin-top: 5px;
    }
}

@media (max-width: 768px) {
    .header-spacer {
        height: 70px;
    }

    body.has-twitch-live .header-spacer {
        height: 115px;
        /* 70px + 45px */
    }

    .twitch-live-bar {
        top: 70px;
    }
}

@media (max-width:520px) {

    body.has-twitch-live .header-spacer {
        height: 105px;
        /* 70px + 35px */
    }

    .twitch-live-inner {
        height: 35px;
    }

    .twitch-live-container {
        padding: 0 12px;
    }

    .twitch-live-left .live-label {
        display: none;
    }

    .twitch-live-text {
        font-size: 13px;
        width: 100%;
        max-width: 100%;
    }

    .twitch-live-meta {
        font-size: 11px;
        gap: 8px;
        margin-left: 8px;
        padding-left: 8px;
    }

    .meta-item i {
        font-size: 10px;
    }
}

.twitch-live-right .download-icon {
    font-size: 18px;
}

/* ==================================================
   2. PAGE: INDEX.HTML
   ================================================== */
.sponsor-container {
    width: 100%;
    overflow: hidden;
}

.sponsor {
    background-color: #050505;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid #222;
}

.track {
    padding: 12px 0;
}

@media (max-width: 768px) {
    .sponsor-container {
        position: relative;
        left: 50%;
        right: 50%;
        width: 100vw;
        margin-left: -50vw;
        margin-right: -50vw;
        overflow: hidden;
    }

    .sponsor {
        width: 100%;
        margin-top: -12px;
        padding: 8px 0 8px;
        overflow: hidden;
    }

    .sponsors {
        width: 100%;
        overflow: hidden;
    }

    .track {
        padding: 0;
    }
}

/* Partners Section Styles */
.partners-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.partners-list li {
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.partners-list li i {
    color: var(--accent-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.partners-list li strong {
    flex-shrink: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.partners-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-icon {
    color: var(--accent-primary);
    font-size: 160px;
    /* größer = höherer Wert */
    line-height: 1;
    /* verhindert “komische” Abstände */
}

/* Stats Box */
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 30px;
    text-align: center;
    transform: skew(-5deg);
    transition: 0.3s;
    cursor: default;
}

.stat-box:hover {
    border-color: var(--accent-primary);
    transform: skew(-5deg) translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stat-box:first-child {
    grid-column: span 2;
    /* Make the first box full width */
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* =====================
    MATCH CENTER STYLES
   ===================== */
.matches-section {
    width: 100%;
}

.matches-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 2px solid #222;
    flex-wrap: wrap;
    gap: 20px;
}

.matches-tabs {
    display: flex;
    gap: 5px;
    align-items: center;
    /* Center items vertically */
}

#game-filter {
    background-color: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid #333;
    padding: 10px 30px 10px 15px;
    /* Space for arrow */
    margin-right: 40px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;
    /* Match .btn size */
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 1px;

    /* Skew to match site theme (like contact inputs) */
    transform: skew(-15deg);

    /* Custom Arrow to match theme colors */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4a21e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

#game-filter:hover,
#game-filter:focus {
    border-color: var(--accent-primary);
    color: white;
    background-color: #222;
}

/* Fix option text skew inside dropdown (some browsers might still skew it) */
#game-filter option {
    background-color: var(--bg-card);
    color: white;
}

.match-tab {
    background: transparent;
    border: none;
    color: #666;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.match-tab:hover {
    color: white;
}

.matches-content {
    display: none;
    flex-direction: column;
    gap: 15px;
}

/* Match Row */
.match-row {
    background-color: var(--bg-card);
    display: grid;
    grid-template-columns: 150px 1fr 200px;
    align-items: center;
    border-left: 4px solid #444;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.match-row:hover {
    background-color: #1a1a1a;
    transform: translateX(5px);
}

/* Date Column */
.match-date-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #333;
    padding-right: 20px;
}

.m-date {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.m-time {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Teams Column */
.match-teams-col {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: relative;
}

.team-logo-placeholder {
    width: 40px;
    height: 40px;
    background-color: var(--accent-primary);
    transform: skew(-10deg);
}

.vs-badge {
    font-family: var(--font-heading);
    color: #444;
    font-weight: 700;
    font-size: 1.2rem;
}

.score {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #666;
    padding: 0 10px;
}

.score.victory {
    color: white;
}

/* Info Column */
.match-info-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    border-left: 1px solid #333;
    padding-left: 20px;
}

.league-name {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-outcome {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.match-outcome.loss {
    color: #e74c3c;
}



/* Results coloring */
.match-row.result-win {
    border-left-color: #2ecc71;
}

.match-row.result-loss {
    border-left-color: #e74c3c;
}

@media (max-width: 900px) {

    .partners-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {

    /* Hide Match Center on Mobile */
    .matches-section {
        display: none !important;
    }

    .hero-buttons,
    .hero-actions,
    .about-actions {
        display: flex;
        flex-direction: column;
        /* Stack buttons */
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 20px auto 0;
    }

    .about-actions .btn {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    /* Stats Box on Mobile - Modern Tile Layout */
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-box {
        padding: 20px 10px;
        transform: none !important;
        border-radius: 6px;
    }

    .stat-box:hover {
        transform: translateY(-3px) !important;
    }

    .stat-box:first-child {
        grid-column: span 2;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .partners-image {
        display: none !important;
    }
}

/* ==================================================
   3. PAGE: MANAGEMENT.HTML
   ================================================== */
/* Management Page Styles (Extracted) */
/* =====================
   BOARD / VORSTAND (REWORK)
   ===================== */

.board-section {
    width: 100%;
}

.board-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid #222;
    padding-bottom: 18px;
    flex-wrap: wrap;
}

.board-sub {
    margin: 0;
    max-width: 680px;
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: right;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.board-card {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

.board-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-primary);
    opacity: 0.0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.board-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    background-color: var(--bg-lighter);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.board-card:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.board-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.board-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #222;
    font-family: var(--font-heading);
    color: var(--accent-primary);
    letter-spacing: 1px;
    transform: skew(-10deg);
}

.board-avatar span {
    transform: skew(10deg);
    display: block;
    font-weight: 700;
}

.board-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.board-name {
    margin: 0;
    font-size: 1.5rem;
}

.board-role {
    margin: 0;
    color: var(--accent-primary);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.board-points {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 10px;
}

.board-points li {
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    padding-left: 14px;
}

.board-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    transform: skew(-10deg);
}

.board-actions {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: flex-start;
}

.board-action {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    padding: 8px 14px;
    border: 1px solid #444;
    color: var(--text-main);
    transition: 0.2s;
}

.board-action:hover {
    background: var(--accent-primary);
    color: #000;
    border-color: var(--accent-primary);
}

/* Force 2 columns for board (desktop), keep responsive breakpoints */
.board-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Optional: make board cards etwas "wichtiger" */
.board-grid--2 .board-card {
    min-height: 310px;
}

/* Board actions: mail + discord tag */
.board-actions {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #222;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.board-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    padding: 8px 14px;
    border: 1px solid #444;
    color: var(--text-main);
    transition: 0.2s;
}

.board-action:hover {
    background: var(--accent-primary);
    color: #000;
    border-color: var(--accent-primary);
}

.board-action i {
    color: var(--accent-primary);
}

.board-action:hover i {
    color: #000;
}

.board-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px dashed #333;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.board-discord i {
    color: var(--accent-primary);
}

/* =====================
   DIRECTORATES + DEPARTMENTS
   ===================== */

.directorates-section,
.departments-section {
    width: 100%;
}

/* Head */
.dir-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid #222;
    padding-bottom: 18px;
    flex-wrap: wrap;
}

.dir-sub {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    text-align: right;
    max-width: 680px;
}

/* Directorates grid */
.dir-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Directorate card */
.dir-card {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

.dir-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-primary);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.dir-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    background-color: var(--bg-lighter);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dir-card:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.dir-top {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

.dir-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #222;
    transform: skew(-10deg);
}

.dir-icon i {
    color: var(--accent-primary);
    transform: skew(10deg);
    font-size: 1.4rem;
}

.dir-name {
    margin: 0;
    font-size: 1.5rem;
}

.dir-lead {
    margin: 0;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.dir-desc {
    margin: 10px 0 14px;
    color: var(--text-muted);
}

/* Department tags inside directorate */
.dept-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.dept-tags span {
    border: 1px solid #222;
    padding: 6px 10px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
}

/* Directorate actions */
.dir-actions {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #222;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Department groups */
.dept-group {
    margin-top: 60px;
}

.dept-group-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.dept-group-head h3 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.dept-group-head h3 i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

/* Departments grid */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

/* Department card */
.dept-card {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.dept-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-primary);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.dept-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    background-color: var(--bg-lighter);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dept-card:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.dept-card-top {
    margin-bottom: 10px;
}

.dept-name {
    margin: 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1.2rem;
}

.dept-lead {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.dept-points {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 10px;
}

.dept-points li {
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    padding-left: 14px;
}

.dept-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    transform: skew(-10deg);
}

.dept-actions {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #222;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* =====================
       WORKFLOW (REWORK)
   ===================== */

.workflow-section {
    width: 100%;
}

.workflow-intro {
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Grid */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}

@media (max-width: 1024px) {
    .workflow-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Card */
.workflow-card {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

.workflow-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-primary);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* subtle diagonal pattern */
.workflow-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 49.7%, rgba(196, 162, 30, 0.06) 50%, transparent 50.3%);
    background-size: 220px 100%;
    transform: skew(-15deg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.workflow-card:hover {
    border-color: var(--accent-primary);
    background-color: var(--bg-lighter);
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.workflow-card:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.workflow-card:hover::after {
    opacity: 1;
}

/* Top row */
.workflow-top {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.workflow-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #222;
    transform: skew(-10deg);
}

.workflow-icon i {
    transform: skew(10deg);
    color: var(--accent-primary);
    font-size: 1.35rem;
}

.workflow-title {
    margin: 0;
    font-size: 1.5rem;
}

.workflow-sub {
    margin: 2px 0 0;
    color: var(--text-muted);
    font-weight: 600;
}

/* List */
.workflow-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.workflow-list li {
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    padding-left: 14px;
}

.workflow-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    transform: skew(-10deg);
}

/* Foot pills */
.workflow-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #222;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.workflow-pill {
    border: 1px solid #222;
    padding: 6px 10px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
}

/* Escalation bar */
.workflow-path {
    margin-top: 18px;
    background: linear-gradient(90deg, #111 0%, #1a1a1a 50%, #111 100%);
    border: 1px solid #222;
    border-left: 3px solid var(--accent-primary);
    padding: 14px 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.workflow-path-label {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-primary);
    font-size: 0.95rem;
}

.workflow-path-steps {
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.workflow-path-steps i {
    color: var(--accent-primary);
    margin: 0 8px;
}

/* =====================
     CTA: MANAGEMENT ADD-ONS
    ===================== */
/* CTA: Management (keep original width/layout) */
.cta-management .cta-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 01 02 03 in one line */
    gap: 14px;
    width: 100%;
    max-width: 900px;
    /* keeps it clean inside your centered CTA */
    margin: 10px auto 10px;
}

@media (max-width: 1024px) {
    .cta-management .cta-steps {
        grid-template-columns: 1fr !important;
    }
}

.cta-management .cta-step {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid #222;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    transform: skew(-10deg);
    min-width: 0;
    /* prevents overflow in grid */
}

.cta-management .cta-step>* {
    transform: skew(10deg);
    display: block;
}

.cta-management .cta-step-num {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-size: 1.2rem;
    letter-spacing: 1px;
    flex: 0 0 auto;
}

.cta-management .cta-step-txt {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.2;
    min-width: 0;
    text-align: left;
}

.cta-management .cta-note {
    margin-top: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 760px;
}

@media (max-width: 1100px) {

    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .board-sub {
        text-align: left;
    }
}

@media (max-width: 650px) {

    .board-grid {
        grid-template-columns: 1fr;
    }

    .board-grid--2 {
        grid-template-columns: 1fr;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:1100px) {

    .dir-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dir-sub {
        text-align: left;
    }
}

@media (max-width:650px) {

    .dir-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {

    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-detail-wrapper {
    max-width: 1280px;
    gap: 40px;
}

.product-back-link {
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.product-back-link:hover {
    color: #fff;
}

.product-detail-container {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 48px;
    align-items: start;
    margin-top: 0;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 120px;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #121212;
    border: 1px solid #2a2a2a;
}

.product-gallery img {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    padding: 18px;
    object-fit: contain;
}

.product-gallery .gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 10px;
}

.product-gallery .gallery-thumbs img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 8px;
    background: #141414;
    border: 1px solid #2a2a2a;
    object-fit: contain;
    cursor: pointer;
    opacity: 1;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-gallery .gallery-thumbs img:hover {
    transform: translateY(-2px);
}

.product-gallery .gallery-thumbs img.active {
    border-color: var(--accent-primary);
}

.product-info-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    background: #121212;
    border: 1px solid #2a2a2a;
}

.product-detail-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1;
    color: #fff;
    margin: 0;
}

.price-tag {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent-primary);
    font-weight: bold;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-right: 0;
}

.sale-price {
    color: var(--accent-primary);
    font-weight: bold;
}

.detail-sale-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: #000;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 0;
    text-transform: uppercase;
}

.product-description {
    margin: 0;
    line-height: 1.7;
    color: #c8c8c8;
}

.detail-list {
    margin: 0;
    padding: 18px 20px 18px 38px;
    background: #0f0f0f;
    border: 1px solid #242424;
    color: #b8b8b8;
}

.detail-list:empty {
    display: none;
}

.detail-list li {
    margin-bottom: 8px;
}

.product-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-option-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-option-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: #fff;
}

.product-option-select {
    min-height: 50px;
    padding: 0 14px;
    background: #0f0f0f;
    color: #fff;
    border: 1px solid #303030;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
}

.add-cart-large {
    background: var(--accent-primary);
    color: black;
    border: none;
    min-height: 56px;
    padding: 0 20px;
    font-size: 1.05rem;
    text-transform: uppercase;
    font-weight: bold;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
    display: block;
}

.add-cart-large:hover {
    opacity: 0.9;
}

.product-detail-meta {
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid #242424;
    font-size: 0.92rem;
    color: #8c8c8c;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .product-detail-wrapper {
        padding-top: 20px;
    }

    .product-info-col {
        padding: 20px;
    }

    .product-detail-title {
        font-size: 1.65rem;
    }

    .price-tag {
        font-size: 1.8rem;
    }

    .product-gallery .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-option-select {
        font-size: 16px;
    }
}

/* ==================================================
   5. PAGE: SHOP.HTML
   ================================================== */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 110px;
    margin-top: 40px;
    /* ggf. an Header-Höhe anpassen */
}

.filter-box {
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 16px;
}

.filter-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #fff;
}

.filter-label {
    display: block;
    font-size: 0.9rem;
    margin: 10px 0 6px;
    color: #ddd;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    background: #111;
    color: #fff;
    outline: none;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    color: #ddd;
    user-select: none;
}

.filter-divider {
    height: 1px;
    background: #333;
    margin: 12px 0;
}

.filter-reset {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-family: var(--font-heading);
    cursor: pointer;
}

.filter-reset:hover {
    background: var(--accent-primary);
    color: #000;
}

/* --- Filter Groups: Desktop = klassische Checkboxen --- */
.filter-group-mobile-scroll {
    margin-bottom: 0;
}

.filter-chips-wrapper {
    display: block;
    overflow: visible;
    padding: 0;
}

.filter-check.chip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
}

.filter-check.chip input {
    display: block;
    width: 16px;
    height: 16px;
    accent-color: var(--accent-primary);
    cursor: pointer;
    flex: 0 0 auto;
}

.filter-check.chip span {
    display: inline;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #ddd;
    font-size: 0.95rem;
    font-family: var(--font-body);
    white-space: normal;
    transition: none;
    cursor: pointer;
}

.filter-check.chip input:checked+span {
    background: transparent;
    color: #fff;
    border: none;
    font-weight: 600;
}

/* --- Product Header & Heart --- */
.product-card-header {
    position: relative;
    width: 100%;
}

.filter-result-mobile {
    text-align: center;
    margin: 15px 0;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #222;
    padding-top: 15px;
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
        top: auto;
        margin-top: 20px;
        padding: 0 16px;
    }

    .filter-box {
        background: transparent;
        border: none;
        padding: 0;
    }

    .filter-title {
        display: none;
        /* Hide main title redundant in mobile scroll flow */
    }

    .filter-divider {
        display: none;
    }
}

/* ==================================================
   6. PAGE: SPONSORS.HTML
   ================================================== */
/* --- Logo wall --- */
.logo-wall {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 26px;
    border: 1px solid #222;
    background: var(--bg-card);
}

.logo-chip {
    width: 160px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #222;
    padding: 10px;
    transition: 0.25s ease;
}

.logo-chip img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.25s ease;
}

.logo-chip:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.logo-chip:hover img {
    filter: grayscale(0%);
}

/* --- Official Partner Feature Cards --- */
.partner-feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.partner-feature-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 36px;
    align-items: center;
    min-height: 280px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid #333;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.partner-feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-primary);
}

.partner-feature-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.partner-feature-media {
    height: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px solid #222;
    background: rgba(255, 255, 255, 0.02);
}

.partner-feature-media img {
    max-width: 92%;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-feature-card:hover .partner-feature-media img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.partner-feature-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.partner-feature-content h3 {
    font-size: 2rem;
    margin: 12px 0 14px;
    color: #fff;
}

.partner-feature-badge {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(196, 162, 30, 0.45);
    background: rgba(196, 162, 30, 0.08);
    color: var(--accent-primary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.partner-feature-desc {
    margin-bottom: 24px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 760px;
}

@media (max-width: 900px) {
    .partner-feature-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .partner-feature-media {
        min-height: 160px;
    }

    .partner-feature-content h3 {
        font-size: 1.6rem;
    }
}

.copy-code-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 4px;
    padding: 4px 10px;
    border: 1px solid var(--accent-primary);
    background: rgba(196, 162, 30, 0.12);
    color: var(--accent-primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    vertical-align: baseline;
    line-height: 1;
    position: relative;
}

.copy-code-btn:hover {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 14px rgba(196, 162, 30, 0.25);
}

.copy-code-btn:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.copy-code-btn.copied {
    background: var(--accent-primary);
    color: #000;
}

.copy-code-btn::after {
    content: attr(data-copy-label);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    border: 1px solid #333;
    padding: 6px 10px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 20;
}

.copy-code-btn:hover::after,
.copy-code-btn:focus-visible::after {
    opacity: 1;
    visibility: visible;
}

.copy-code-btn.copied::after {
    content: attr(data-copied-label);
    opacity: 1;
    visibility: visible;
}

/* --- KPI grid --- */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.kpi-card {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 22px;
    text-align: left;
}

.kpi-val {
    font-family: 'Oswald', sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

.kpi-lbl {
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
}

/* --- Offer list (like your about-list) --- */
.offer-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.offer-list li {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 16px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.offer-list i {
    margin-top: 2px;
    color: var(--accent-primary);
}

.offer-list strong {
    letter-spacing: 1px;
}

/* --- Packages --- */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.tier-card {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tier-card.featured {
    border-color: var(--accent-primary);
}

.tier-title {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
}

.tier-top {
    min-height: 110px;
}

.tier-price .monthly,
.tier-price .yearly {
    margin: 0;
}

.tier-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tier-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.tier-badge {
    border: 1px solid #222;
    padding: 6px 10px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tier-price {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tier-price .monthly {
    font-family: 'Oswald', sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

.tier-price .monthly span {
    font-size: 14px;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.tier-price .yearly {
    color: var(--text-muted);
    font-size: 14px;
}

.tier-note {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 14px;
}

.tier-groups {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.tier-group {
    border: 1px solid #222;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    text-align: left;
}

.tier-group h4 {
    margin: 0 0 8px;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    font-size: 14px;
    color: #fff;
}

.tier-group p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.tier-addon {
    border-style: dashed;
}

.tier-audience {
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
}

/* --- Activations --- */
.activation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.activation-card {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 18px;
}

.activation-mock {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px dashed #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.activation-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    margin-bottom: 12px;
    border: 1px solid #222;
}

/* Hide image if src is empty */
.activation-img[src=""],
.activation-img:not([src]) {
    display: none !important;
}

/* Hide the mock if image has a source */
.activation-img[src]:not([src=""])+.activation-mock {
    display: none !important;
}

/* --- Spotlight --- */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.spotlight-card {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 26px;
}

.spotlight-meta {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.6;
}

.sponsor-card {
    background: var(--bg-card);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.sponsor-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.sponsor-logo-large {
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo-large img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.sponsor-card:hover .sponsor-logo-large img {
    filter: grayscale(0%);
}

.sponsor-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ==================================================
   7. PAGE: TEAM-DETAIL.HTML
   ================================================== */
/* =====================
    TEAM DETAIL PAGE
   ===================== */
.team-hero {
    min-height: 340px;
    padding: 40px 16px 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-primary);
}

.team-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 15, 15, 0.35), var(--bg-dark)),
        url('../images/Website_Hero_Bild.webp') center/cover;
    filter: blur(2px) grayscale(50%);
    transform: scale(1.08);
    transform-origin: center center;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1100px;
    padding: 0 16px;
}

.team-logo-large {
    font-size: 80px;
    color: var(--accent-primary);
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    filter: drop-shadow(0 0 30px rgba(196, 162, 30, 0.6));
}

.team-hero-content h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 0.95;
    margin: 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.team-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    color: #ccc;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 6px;
    animation: heroFadeUp 0.8s ease 0.5s both;
}

.team-meta i {
    color: var(--accent-primary);
    margin-right: 6px;
}

.team-meta-sep {
    color: rgba(196, 162, 30, 0.5);
    font-size: 0.7rem;
}

/* Hero content entrance animation */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-hero-content .team-logo-large {
    animation: heroFadeUp 0.7s ease 0.1s both;
}

.team-hero-content .team-info {
    animation: heroFadeUp 0.7s ease 0.2s both;
}

/* --- STAGGERED CARD ENTRANCE --- */
@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (hover: hover) and (pointer: fine) {
    .player-card.card-animate {
        animation: cardEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
}

/* Player Grid */
.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* --- NEW TEAM HISTORY LAYOUT --- */
.team-history-section {
    margin-top: 80px;
    margin-bottom: 50px;
}

.history-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Left Sidebar: League Status */
.stats-sidebar {
    flex: 0 0 300px;
    /* Fixed width sidebar */
}

.league-status-card {
    background: linear-gradient(145deg, #1a1a1a, #141414);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--accent-primary);
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.league-status-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(196, 162, 30, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.status-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.league-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.league-icon-large {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.league-content h2 {
    font-size: 2.6rem;
    line-height: 1;
    color: var(--text-main);
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.status-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    font-size: 0.9rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 10px;
}

.active-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff88;
}

/* Right Content: Achievements List */
.achievements-content {
    flex: 1;
}

.content-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.content-header h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-header h3 i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

/* Redeclare Achievements List to look better */
.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 900px) {

    .history-layout {
        flex-direction: column;
    }

    .stats-sidebar {
        width: 100%;
        flex: none;
    }

    .achievements-content {
        width: 100%;
        flex: none;
    }

    .achievements-list {
        width: 100%;
    }

    #stats-grid .empty-state {
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
}

/* ==================================================
   8. PAGE: TEAMS.HTML
   ================================================== */
.news-card {
    background-color: var(--bg-card);
    transition: transform 0.3s ease;
    border: 1px solid transparent;
    /* Border for G2 look */
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Equal height */
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

@media (max-width: 768px) {
    .latest-news .news-grid .news-card:not(:first-child) {
        display: none !important;
    }
}

.news-image {
    height: 250px;
    /* Taller images */
    background-color: #1a1a1a;
    /* Darker placeholder */
    position: relative;
    width: 100%;
    overflow: hidden;
}

.news-image img {
    color: transparent;
    /* Hides alt text on broken images to prevent layout overlap */
}

/* Team card logos: consistent size on desktop */
.team-card-logo {
    width: 100%;
    height: 100%;
    max-height: 220px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 16px;
    box-sizing: border-box;
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-content .read-more {
    margin-top: auto;
    align-self: flex-start;
}

/* =====================
   TEAMS PAGE: Game Selector
   ===================== */
.game-selector {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.game-card {
    position: relative;
    width: 220px;
    height: 130px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card.active {
    background: linear-gradient(180deg, rgba(196, 162, 30, 0.08), rgba(255, 255, 255, 0.02));
}

.game-bg {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 62%;
    height: 62%;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%);
    opacity: 0.95;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.game-card:hover .game-bg,
.game-card.active .game-bg {
    transform: translateX(-50%) scale(1.02);
}

.game-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    padding: 0 12px;
    color: white;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {

    /* Tab bar: full width, 3 equal tabs, no gaps */
    .game-selector {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        margin-bottom: 28px;
        border-bottom: 2px solid #1a1a1a;
        padding: 0;
    }

    /* Team section spans all 3 tab columns → full width */
    .game-selector .team-display-section {
        grid-column: 1 / -1;
        width: 100%;
        border-bottom: none;
    }

    .game-card {
        width: 100%;
        height: 88px;
        border: none;
        border-bottom: 3px solid transparent;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.4);
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        padding-bottom: 10px;
        transition: border-color 0.2s ease, background 0.2s ease;
    }

    .game-card.active {
        border-bottom-color: var(--accent-primary);
        background: rgba(196, 162, 30, 0.07);
    }

    .game-bg {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 44px;
        height: 44px;
        object-fit: contain;
        filter: grayscale(60%);
        opacity: 0.85;
        transition: filter 0.2s ease, opacity 0.2s ease;
    }

    .game-card.active .game-bg {
        filter: grayscale(0%);
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }

    .game-title {
        position: static;
        font-size: 0.65rem;
        letter-spacing: 0.5px;
        color: #aaa;
        padding: 0;
        text-shadow: none;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 90%;
    }

    .game-card.active .game-title {
        color: var(--accent-primary);
    }
}

/* Team Content Sections */
.team-display-section {
    display: none;
    animation: fadeIn 0.5s ease;
    width: 100%;
}

/* ==================================================
   9. SKELETON LOADERS
   ================================================== */
@keyframes skeleton-shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.5s infinite linear;
    border-radius: 4px;
}

.player-card-skeleton {
    background: var(--bg-card);
    border: 1px solid #222;
    overflow: hidden;
}

.player-card-skeleton .skeleton-img {
    width: 100%;
    height: 260px;
}

.player-card-skeleton .skeleton-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.player-card-skeleton .skeleton-line {
    height: 14px;
    border-radius: 4px;
}

.player-card-skeleton .skeleton-line.short {
    width: 55%;
}

.player-card-skeleton .skeleton-line.medium {
    width: 75%;
}

.player-card-skeleton .skeleton-line.long {
    width: 100%;
}

.player-card-skeleton .skeleton-line.tall {
    height: 22px;
}

/* ==================================================
   10. PLAYER TRADING CARD: 3D TILT EFFECT & DESIGN
   ================================================== */
.player-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.4;
    min-height: 350px;
    background: linear-gradient(145deg, #1f1f1f, #0a0a0a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.1s ease, box-shadow 0.4s ease, border-color 0.4s ease, filter 0.4s ease;
    cursor: default;
    transform-style: preserve-3d;
    will-change: transform;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Hover effects only on non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .player-card {
        filter: grayscale(100%);
    }

    .player-card:hover {
        box-shadow: 0 15px 40px rgba(196, 162, 30, 0.3);
        border-color: rgba(196, 162, 30, 0.5);
        filter: grayscale(0%);
    }
}

/* Subtle shimmer overlay on hover */
.player-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%,
            rgba(196, 162, 30, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
    border-radius: 12px;
}

.player-card:hover::after {
    opacity: 1;
}

.tc-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at top right, rgba(196, 162, 30, 0.15), transparent 60%);
    z-index: 1;
}

.tc-image {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: 95%;
    object-fit: contain;
    object-position: bottom;
    z-index: 2;
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.6));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.player-card:hover .tc-image {
    transform: translateX(-50%) scale(1.06) translateY(-5px);
}

.player-card:hover .tc-role {
    background: var(--accent-primary);
    color: #000;
}

.player-card:hover .tc-nameplate {
    border-top-color: var(--accent-primary);
}

.tc-nameplate {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    border-top: 1px solid #d3d3d3;
    transition: border-top-color 0.4s ease;
    padding: 20px 10px 15px;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tc-role {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #d3d3d3;
    color: #000;
    transition: all 0.4s ease;
    font-size: 0.70rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.tc-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 4px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.tc-realname {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 2px;
}

.tc-meta {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #777;
}

/* ==================================================
   11. EMPTY STATE
   ================================================== */
.empty-state {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: var(--text-muted);
    margin: 0 auto;
    box-sizing: border-box;
}

.empty-state-icon {
    font-size: 3rem;
    color: #333;
    line-height: 1;
}

.empty-state h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.empty-state p {
    font-size: 0.9rem;
    color: #444;
    max-width: 300px;
    line-height: 1.6;
    margin: 0;
}

.empty-state-divider {
    width: 40px;
    height: 2px;
    background: var(--accent-primary);
    opacity: 0.4;
}

/* =====================
    Wall of Fame
   ===================== */
.community-wall-of-fame {
    margin-bottom: 60px;
}

.wof-header {
    text-align: center;
    margin-bottom: 3rem;
}

.wof-header h2 {
    color: var(--accent-primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.wof-header p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.wof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.wof-card {
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.wof-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.wof-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-primary);
}

.wof-card:hover::before {
    transform: scaleX(1);
}

.wof-card-date {
    position: absolute;
    top: 15px;
    left: -35px;
    background: var(--accent-primary);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 5px 40px;
    transform: rotate(-45deg);
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.wof-card-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(196, 162, 30, 0.4));
    margin-top: 15px;
}

.wof-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wof-card-role {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wof-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Featured / High Prio Highlight */
.wof-featured-container {
    width: 100%;
    margin-bottom: 40px;
}

.wof-card--featured {
    border: 2px solid var(--accent-primary) !important;
    /* Yellow border matching brand */
    flex-direction: row;
    text-align: left;
    padding: 40px;
    gap: 50px;
    align-items: center;
    background: linear-gradient(135deg, rgba(196, 162, 30, 0.05) 0%, transparent 100%);
}

.wof-card--featured .wof-card-icon {
    font-size: 6rem;
    margin: 0;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 15px rgba(196, 162, 30, 0.3));
}

.wof-card--featured .wof-card-content {
    text-align: left;
    flex: 1;
}

.wof-card--featured h3 {
    font-size: 2.2rem;
    justify-content: flex-start;
    margin-bottom: 5px;
}

.wof-card--featured .wof-card-role {
    justify-content: flex-start;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.wof-card--featured .wof-card-desc {
    justify-content: flex-start;
    text-align: left;
    font-size: 1.1rem;
    border-top: 1px solid rgba(196, 162, 30, 0.2);
    padding-top: 20px;
}

@media (max-width: 992px) {
    .wof-card--featured {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 20px;
    }

    .wof-card--featured .wof-card-content,
    .wof-card--featured h3,
    .wof-card--featured .wof-card-role,
    .wof-card--featured .wof-card-desc {
        text-align: center;
        justify-content: center;
    }
}

/* =====================
    Contact Form Styles
   ===================== */
.contact-form-container {
    max-width: 600px;
    width: 100%;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.input-wrapper {
    position: relative;
    background: var(--bg-card);
    border: 1px solid #333;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
}

.input-wrapper:focus-within {
    border-color: var(--accent-primary);
    background: #1a1a1a;
    box-shadow: 0 0 15px rgba(196, 162, 30, 0.1);
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    padding: 12px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    outline: none;
    cursor: text;
}

.input-wrapper select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--bg-card);
    color: #fff;
    color-scheme: dark;
    border-radius: 0;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4a21e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 1.2em;
    padding-right: 40px;
}

.input-wrapper select option,
.input-wrapper select optgroup {
    background-color: #111;
    color: #fff;
}

.input-wrapper select:invalid {
    color: #aaa;
}

.input-wrapper select:focus,
.input-wrapper select:active {
    background-color: #1a1a1a;
    color: #fff;
}

.input-wrapper select::-ms-expand {
    display: none;
}

.input-wrapper:has(select) {
    background: var(--bg-card);
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #666;
}

#category-notice {
    background: rgba(196, 162, 30, 0.1);
    border-top: 2px solid var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
    padding: 20px;
    margin-top: 10px;
    text-align: center;
}

.form-message-box {
    display: none;
    padding: 15px;
    margin-top: 10px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: bold;
    transform: skew(-15deg);
    text-align: center;
}

.form-message-box span {
    display: block;
    transform: skew(15deg);
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* =====================
    Membership Page Specifics
   ===================== */
.membership-roles {
    margin-top: 40px;
}

.membership-benefits {
    margin-top: 60px;
}

.membership-apply {
    margin-top: 60px;
}

/* =====================
    Membership Page Refinements
   ===================== */
.membership-roles h2,
.membership-benefits h2,
.membership-apply h2 {
    text-align: center;
    width: 100%;
}

.roles-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* Center boxes */
    gap: 25px;
    margin-top: 50px;
}

.role-card {
    background: var(--bg-card);
    padding: 30px 20px 25px;
    border-top: 4px solid #333;
    /* Restored continuous border */
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    flex: 1;
    max-width: 300px;
    /* Further reduced width */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Remove Split-Line Logic */
.role-card::before,
.role-card::after {
    display: none;
}

/* Exponential Height Progression - Scaled Down */
.role-card.community {
    min-height: 80px;
    transform: scale(0.9);
    opacity: 0.7;
}

.role-card.community:hover {
    transform: translateY(-10px) scale(0.9);
    opacity: 1;
}

.role-card.member {
    min-height: 160px;
    border-top-color: #fff;
    transform: scale(0.95);
    opacity: 0.9;
}

.role-card.member:hover {
    transform: translateY(-10px) scale(0.95);
    opacity: 1;
    border-top-color: var(--accent-primary);
}

.role-card.club {
    min-height: 320px;
    border-top-color: var(--accent-primary);
    background: rgba(196, 162, 30, 0.1);
    transform: scale(1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    z-index: 2;
    padding-top: 50px;
    /* Room for icon-circle */
}

.role-card.club .icon-circle i {
    color: #0a0a0a;
    /* Black star as requested */
}

.role-card.club:hover {
    transform: translateY(-10px) scale(1);
    background: rgba(196, 162, 30, 0.15);
    box-shadow: 0 15px 50px rgba(196, 162, 30, 0.2);
}

/* Border Masking for Icon Circles */
.icon-circle {
    width: 44px;
    height: 44px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -24px;
    /* Sits perfectly ON TOP of the 4px border */
    left: 50%;
    transform: translateX(-50%);
    color: #000;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(196, 162, 30, 0.4);
    z-index: 5;
}

.role-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #fff;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.benefit-top-box {
    grid-column: span 2;
    background: rgba(196, 162, 30, 0.1);
    border: 2px solid var(--accent-primary);
    padding: 30px;
    text-align: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: default;
}

.benefit-top-box:hover {
    transform: translateY(-5px);
    background: rgba(196, 162, 30, 0.15);
    box-shadow: 0 10px 30px rgba(196, 162, 30, 0.1);
}

.benefit-box {
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid #333;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: default;
}

.benefit-box:hover {
    transform: translateY(-5px);
    background: rgba(40, 40, 40, 0.6);
    border-color: var(--accent-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.benefit-box i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.membership-price-tag {
    color: #888;
    font-size: 0.95rem;
    text-align: center;
    margin-top: 40px;
    text-transform: none;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.membership-price-tag strong {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

/* Apply Section */
.apply-container {
    display: flex;
    justify-content: center;
    /* Center boxes */
    gap: 30px;
    margin-top: 60px;
}

.apply-step {
    flex: 1;
    background: rgba(20, 20, 20, 0.6);
    border-top: 4px solid var(--accent-primary);
    /* Restored continuous border */
    border-left: 1px solid #333;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 50px 30px 40px;
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 320px;
    /* Compact */
}

/* Remove Split-Line Logic */
.apply-step::before,
.apply-step::after {
    display: none;
}

.timeline-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 2rem;
    opacity: 0.5;
}

.testimonial-section {
    text-align: center;
    margin: 60px auto;
    max-width: 800px;
    padding: 40px;
    background: rgba(20, 20, 20, 0.6);
    border-left: 4px solid var(--accent-primary);
    position: relative;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #ddd;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    object-fit: cover;
}

.testimonial-author-info {
    text-align: left;
}

.testimonial-author-name {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
}

.testimonial-author-role {
    font-size: 0.9rem;
    color: var(--accent-primary);
}

.pricing-box {
    margin: 60px auto 0;
    max-width: 400px;
    background: rgba(196, 162, 30, 0.1);
    border: 2px solid var(--accent-primary);
    text-align: center;
    padding: 30px;
    transition: all 0.3s ease;
}

.pricing-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 162, 30, 0.2);
}

.pricing-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-primary);
    line-height: 1;
    margin: 10px 0;
}

.pricing-period {
    font-size: 1rem;
    color: #bbb;
}

.pricing-desc {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 15px;
}

.apply-step:hover {
    transform: translateY(-8px);
    background: rgba(30, 30, 30, 0.8);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(196, 162, 30, 0.1);
}

.apply-step::before {
    display: none;
    /* Removed in favor of icon-circles */
}

.apply-info-texts {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-box-container {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid #333;
    padding: 30px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-note {
    font-size: 0.9rem;
    color: #bbb;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-note i {
    margin-top: 3px;
    color: var(--accent-primary);
    opacity: 0.8;
}

.info-note.de-emphasized {
    border-top: 1px solid #333;
    padding-top: 15px;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #666;
    opacity: 0.8;
}

.info-note.de-emphasized i {
    color: #444;
}

/* =============================================
   MEMBERSHIP PAGE: COMPLETE MOBILE REDESIGN
   ============================================= */
@media (max-width: 900px) {

    /* --- Intro & Testimonial --- */
    .testimonial-section {
        margin: 25px auto;
        padding: 20px 16px;
        border-left: 3px solid var(--accent-primary);
        border-radius: 4px;
    }

    .testimonial-quote {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* --- Roles Section: vertical stack of equal cards --- */

    .roles-container {
        flex-direction: column;
        align-items: stretch;
        /* full width */
        gap: 0;
        margin-top: 20px;
    }

    /* All role cards: clean, equal, full-width list */
    .role-card {
        width: 100%;
        max-width: 100%;
        min-height: auto !important;
        transform: scale(1) !important;
        opacity: 1 !important;
        border-radius: 0;
        border-top: none !important;
        border-bottom: none;
        border-left: 4px solid #444 !important;
        border-right: none;
        border-bottom: 1px solid #222;
        padding: 18px 18px 18px 20px !important;
        text-align: left;
        background: var(--bg-card);
    }

    .role-card:last-child {
        border-bottom: none;
    }

    .role-card h3 {
        font-size: 1rem;
        margin-bottom: 6px;
        color: #fff;
    }

    .role-card p {
        font-size: 0.85rem !important;
        color: #bbb;
        line-height: 1.5;
        margin: 0;
    }

    /* Color-code the left border per tier */
    .role-card.community {
        border-left-color: #555 !important;
    }

    .role-card.member {
        border-left-color: #ccc !important;
    }

    .role-card.club {
        border-left-color: var(--accent-primary) !important;
        background: rgba(196, 162, 30, 0.07) !important;
        padding-top: 18px !important;
        /* no extra room needed, icon-circle hidden */
    }

    .role-card.club h3 {
        color: var(--accent-primary);
    }

    /* Hide the star icon-circle on mobile (looks broken in list layout) */
    .role-card.club .icon-circle {
        display: none;
    }

    /* --- Benefits Section --- */

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .benefit-top-box {
        grid-column: span 2;
        padding: 18px;
        font-size: 0.9rem;
    }

    .benefit-top-box i {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
    }

    .benefit-box {
        padding: 14px 10px;
        font-size: 0.8rem;
        border-radius: 4px;
    }

    .benefit-box i {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    /* --- Pricing Box: compact horizontal layout --- */
    .pricing-box {
        margin: 25px auto 0;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .pricing-title {
        font-size: 1rem;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }

    .pricing-desc {
        font-size: 0.8rem;
        margin-top: 8px;
    }

    /* --- Apply Section: steps as numbered vertical list --- */

    .apply-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 25px;
    }

    .apply-step {
        width: 100%;
        max-width: 100%;
        padding: 20px 18px 18px 60px;
        /* Left padding for pseudo-number */
        position: relative;
        border-top: none;
        border-left: 4px solid var(--accent-primary);
        border-right: 1px solid #333;
        border-bottom: 1px solid #333;
        border-radius: 0 4px 4px 0;
        text-align: left;
    }

    /* Hide the floating icon-circle on mobile */
    .apply-step .icon-circle {
        display: none;
    }

    /* Use CSS counter to show step number */
    .apply-step::before {
        display: flex !important;
        /* override the global display:none */
        content: attr(data-step);
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        background: var(--accent-primary);
        color: #000;
        font-family: var(--font-heading);
        font-weight: bold;
        font-size: 0.95rem;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
    }

    .apply-step h4 {
        font-size: 0.95rem;
        margin-bottom: 5px;
        color: #fff;
    }

    .apply-step p {
        font-size: 0.82rem;
        color: #bbb;
        line-height: 1.5;
        margin: 0;
    }

    /* Hide arrows between steps (replaced by vertical flow) */
    .timeline-arrow {
        display: none;
    }

    /* Info notes: compact */
    .info-box-container {
        padding: 16px;
        margin-top: 20px;
    }

    .info-note {
        font-size: 0.82rem;
    }

    /* Benefits grid on very small screens */
    @media (max-width: 480px) {
        .benefits-grid {
            grid-template-columns: 1fr;
        }

        .benefit-top-box {
            grid-column: span 1;
        }
    }
}

/* =====================
   Content Creators (Community Page)
   ===================== */
.creators-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.creator-card {
    background-color: var(--bg-card);
    border: 1px solid #222;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.creator-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.creator-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 2px solid var(--accent-primary);
    background-color: #111;
}

.creator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.creator-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.creator-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    color: white;
}

.creator-role {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.creator-desc {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1;
}

.creator-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
    width: 100%;
}

.creator-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #222;
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
}

.creator-social-icon:hover {
    background-color: var(--accent-primary);
    color: #000;
    transform: translateY(-2px);
}

/* =====================
   CCM19 COOKIE BUTTON
   Remove default rectangular shadow
   ===================== */
.ccm-root .ccm-badge,
.ccm-root .ccm--badge,
.ccm-root .ccm-widget--button,
.ccm-root .ccm-widget-button,
.ccm-root [class*="ccm--floating"],
.ccm-root [class*="ccm-floating"],
#ccm-widget,
#ccm-widget button,
#ccm-widget a {
    box-shadow: none !important;
}

/* =============================================
   SITE POPUP BANNER
   ============================================= */
.site-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
    box-sizing: border-box;
}

.site-popup-overlay.is-visible {
    opacity: 1;
}

.site-popup-card {
    position: relative;
    background: #0f0f0f;
    border: 1px solid rgba(196, 162, 30, 0.35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04);
    max-width: 560px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
    opacity: 0;
}

.site-popup-overlay.is-visible .site-popup-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Accent top line */
.site-popup-card::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary, #c4a21e), rgba(196, 162, 30, 0.3));
}

.site-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #aaa;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    padding: 0;
}

.site-popup-close:hover {
    background: rgba(229, 9, 20, 0.8);
    border-color: transparent;
    color: #fff;
    transform: scale(1.1) rotate(90deg);
}

.site-popup-image {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

.site-popup-body {
    padding: 28px 28px 24px;
}

.site-popup-label {
    font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-primary, #c4a21e);
    margin-bottom: 8px;
    display: block;
}

.site-popup-title {
    font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    margin: 0 0 12px;
}

.site-popup-text {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.65;
    margin: 0 0 22px;
}

.site-popup-btn {
    display: inline-block;
    background: var(--accent-primary, #c4a21e);
    color: #000;
    font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.site-popup-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
    .site-popup-body {
        padding: 20px 18px 18px;
    }

    .site-popup-title {
        font-size: 1.4rem;
    }

    .site-popup-image {
        max-height: 200px;
    }
}

/* =============================================
   SHOP PROMO BANNER
   ============================================= */
.shop-promo-banner {
    background: linear-gradient(90deg, #111 0%, #1a1508 50%, #111 100%);
    border-top: 1px solid rgba(196, 162, 30, 0.4);
    border-bottom: 1px solid rgba(196, 162, 30, 0.4);
    padding: 16px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(196, 162, 30, 0.05);
}

.shop-promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 162, 30, 0.15), transparent);
    animation: promoShine 4s linear infinite;
    pointer-events: none;
}

@keyframes promoShine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.shop-promo-banner-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
}

.shop-promo-banner-text {
    color: #eee;
    font-weight: 500;
}

.shop-promo-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 162, 30, 0.2);
    border: 1px dashed rgba(196, 162, 30, 0.8);
    color: var(--accent-primary, #c4a21e);
    font-family: monospace;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: all;
    box-shadow: 0 0 10px rgba(196, 162, 30, 0.1);
}

.shop-promo-code:hover {
    background: var(--accent-primary, #c4a21e);
    color: #000;
    box-shadow: 0 0 15px rgba(196, 162, 30, 0.4);
    transform: scale(1.05);
    border-style: solid;
}

.shop-promo-icon {
    font-size: 1.3rem;
    color: var(--accent-primary, #c4a21e);
    animation: bounceIcon 2s infinite;
}

@keyframes bounceIcon {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-4px);
    }

    60% {
        transform: translateY(-2px);
    }
}

@media (max-width: 480px) {
    .shop-promo-banner-inner {
        font-size: 0.95rem;
        gap: 10px;
    }

    .shop-promo-code {
        font-size: 1rem;
        padding: 5px 12px;
    }
}

/* =============================================
   SHOP SALE / DISCOUNT BADGE
   ============================================= */
.product-card {
    position: relative;
    /* ensure badge positions correctly */
}

/* Clean corner tag badge */
.product-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #E50914;
    color: #fff;
    font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    padding: 4px 9px 4px 8px;
    border-radius: 4px 4px 4px 0;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(229, 9, 20, 0.45);
    pointer-events: none;
    line-height: 1.3;
}

/* Small triangle "tooth" bottom-left */
.product-sale-badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    border-width: 0 6px 6px 0;
    border-style: solid;
    border-color: transparent #9b0610 transparent transparent;
}

/* Price display – sale state */
.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.product-price-original {
    color: #727272;
    text-decoration: line-through;
    font-size: 0.8rem;
    font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
    line-height: 1;
}

.product-price-sale {
    color: #E50914;
    font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
    font-weight: 700;
    font-size: 1.08rem;
    line-height: 1;
}

/* =============================================
   GOOGLE REVIEWS CTA
   ============================================= */
.btn-google-review .gr-score,
.btn-google-review .gr-stars i {
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

.btn-google-review:hover .gr-score,
.btn-google-review:hover .gr-stars i {
    color: #ffffff;
}

/* ==============================================
   SPONSORS PAGE: COMPLETE MOBILE REDESIGN
   ============================================== */
@media (max-width: 768px) {

    /* --- Logo Wall: compact 3-column chip grid --- */
    .logo-wall {
        gap: 10px;
        padding: 14px;
    }

    .logo-chip {
        width: calc(33.33% - 10px);
        height: 56px;
        padding: 8px;
    }

    /* --- Official Partner cards: logo left, content right, desc full-width below --- */
    .partner-feature-card {
        display: block;
        overflow: hidden;
        /* clearfix */
        padding: 16px;
        min-height: auto;
    }

    .partner-feature-media {
        float: left;
        width: 80px;
        height: 80px;
        min-height: auto;
        margin: 0 14px 8px 0;
        padding: 0;
        border: none;
        background: transparent;
    }

    .partner-feature-media img {
        max-width: 80px;
        max-height: 80px;
        object-fit: contain;
    }

    .partner-feature-content {
        display: block;
    }

    .partner-feature-content h3 {
        font-size: 1.1rem;
        margin: 4px 0 0;
    }

    /* Desc clears the float → goes full width below logo */
    .partner-feature-desc {
        clear: left;
        margin-top: 12px;
        margin-bottom: 14px;
        font-size: 0.9rem;
    }

    /* --- KPI Grid: 2-column tiles --- */
    .kpi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 16px;
    }

    .kpi-card {
        padding: 14px 12px;
    }

    .kpi-val {
        font-size: 24px;
    }

    .kpi-lbl {
        font-size: 10px;
    }

    /* --- What Partners Get: 1-column vertical list --- */
    .offer-list {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 16px;
    }

    .offer-list li {
        padding: 12px 14px;
        gap: 10px;
    }

    /* --- Packages: horizontal swipe carousel --- */
    .tier-grid {
        display: flex;
        flex-direction: row;
        gap: 12px;
        margin-top: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-padding: 0 9%;
        padding: 4px 16px 12px;
        /* Bleed to edge of screen */
        margin-left: -16px;
        margin-right: -16px;
        /* Hide scrollbar but keep functionality */
        scrollbar-width: none;
    }

    .tier-grid::-webkit-scrollbar {
        display: none;
    }

    .tier-card {
        flex: 0 0 82%;
        min-width: 0;
        scroll-snap-align: center;
        padding: 20px 18px;
        gap: 12px;
        /* Subtle dim for non-featured */
        opacity: 0.85;
        transition: opacity 0.3s ease;
    }

    /* Featured (GOLD) card stands out */
    .tier-card.featured {
        opacity: 1;
        border-color: var(--accent-primary);
        box-shadow: 0 0 20px rgba(196, 162, 30, 0.15);
    }

    /* Add-On last card slightly narrower */
    .tier-card.tier-addon {
        flex-basis: 80%;
    }

    .tier-top {
        min-height: auto;
    }

    .tier-price .monthly {
        font-size: 28px;
    }

    .tier-groups {
        gap: 8px;
    }

    .tier-group {
        padding: 10px 12px;
    }

    /* Scroll progress indicator bar below carousel */
    .tier-scroll-bar {
        margin-top: 10px;
        height: 3px;
        background: #2a2a2a;
        position: relative;
    }

    .tier-scroll-thumb {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background: var(--accent-primary);
        border-radius: 0;
        transition: margin-left 0.1s ease;
        box-shadow: 0 0 6px rgba(196, 162, 30, 0.5);
    }

    /* --- Affiliate Sponsor Cards: 2-column grid --- */
    .sponsor-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .sponsor-card {
        padding: 14px 10px;
    }

    .sponsor-logo-large {
        height: 70px;
        margin-bottom: 10px;
    }

    .sponsor-card h3 {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .sponsor-desc {
        font-size: 0.78rem;
        margin-bottom: 10px;
    }

    /* Compact buttons inside affiliate sponsor cards */
    .sponsor-card .tier-actions {
        justify-content: center;
    }

    .sponsor-card .btn {
        font-size: 0.7rem;
        padding: 7px 12px;
        margin: 0;
        width: 100%;
        text-align: center;
    }

    /* Disclosure text: cancel out content-wrapper gap to stay attached to affiliate tiles */
    .disclosure {
        margin-top: -48px;
    }

    /* --- Activation Grid: 2-column --- */
    .activation-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 16px;
    }

    .activation-card {
        padding: 10px;
    }

    .activation-card h3 {
        font-size: 0.9rem;
        margin: 8px 0 4px;
    }

    .activation-card .sponsor-desc {
        font-size: 0.78rem;
    }
}

/* ==============================================
   MANAGEMENT PAGE: COMPLETE MOBILE REDESIGN
   ============================================== */
@media (max-width: 768px) {

    /* --- Hero: compact inline buttons instead of full-width stack --- */
    .hero-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: center;
    }

    .hero-actions .btn {
        flex: 1 1 0;
        padding: 10px 14px;
        font-size: 0.75rem;
        text-align: center;
        white-space: nowrap;
    }

    /* --- Hide hero watermark on mobile to prevent text overlap --- */
    .hero-watermark {
        display: none;
    }

    /* --- Stats banner: already 2-col from globals, keep compact --- */
    .management-stats .stats-banner {
        padding: 4px 0 14px;
    }

    /* --- Board cards: full-width, reduce padding --- */
    .board-grid,
    .board-grid--2 {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .board-card {
        padding: 16px;
    }

    /* --- Directorate cards: single column --- */
    .dir-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .dir-card {
        padding: 16px;
    }

    /* --- Department cards: 2-column compact grid --- */
    .dept-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .dept-card {
        padding: 14px 12px;
    }

    .dept-card-top {
        gap: 8px;
        margin-bottom: 8px;
    }

    /* --- Workflow cards: single column --- */
    .workflow-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .workflow-card {
        padding: 16px;
    }

    /* --- Org-tree: reduce font + box size --- */
    .tree-box {
        padding: 10px 14px;
    }

    .tree-role {
        font-size: 0.85rem;
    }

    .tree-desc {
        font-size: 0.75rem;
    }
}

/* ==============================================
   TEAM-DETAIL PAGE: MOBILE OPTIMIERUNG
   ============================================== */
@media (max-width: 768px) {

    /* --- Hero: reduce height, shrink logo + title --- */
    .team-hero {
        min-height: 240px;
        padding: 28px 16px 24px;
    }

    .team-logo-large {
        width: 100px;
        height: 100px;
        font-size: 56px;
    }

    .team-hero-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
        line-height: 1;
    }

    .team-meta {
        font-size: 0.78rem;
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }

    .team-meta-sep {
        display: none;
    }

    /* --- Player grid: 2 columns instead of 1 --- */
    .player-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 20px;
    }

    /* --- Player card: remove min-height constraint, let aspect-ratio control --- */
    .player-card {
        min-height: unset;
        border-radius: 8px;
    }

    /* Player card text: tighter on small cards */
    .tc-badge {
        font-size: 0.55rem !important;
        padding: 4px 8px !important;
        letter-spacing: 0.5px !important;
    }

    .tc-name {
        font-size: 0.9rem !important;
        line-height: 1.1 !important;
    }

    .tc-real-name {
        font-size: 0.65rem !important;
    }

    .tc-info {
        padding: 10px 8px !important;
        gap: 2px !important;
    }

    /* --- History / Stats layout: stack vertically --- */
    .history-layout {
        flex-direction: column;
        gap: 24px;
    }

    .stats-sidebar {
        width: 100%;
        flex: none;
    }

    .achievements-content {
        width: 100%;
    }

    .team-history-section {
        margin-top: 40px;
        margin-bottom: 30px;
    }

    /* --- League status card compact --- */
    .league-status-card {
        padding: 20px;
    }
}

/* ==================================================
   SHOP MOBILE REWORK
   ================================================== */

body.shop-page .shop-mobile-utility,
body.shop-page .shop-filter-close {
    display: none;
}

.shop-grid {
    gap: 24px;
}

.product-card {
    background: linear-gradient(180deg, #111111 0%, #0c0c0c 100%);
    border: 1px solid #1f1f1f;
    box-shadow: 0 0 0 transparent;
    padding: 14px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: #343434;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.product-image {
    height: auto;
    aspect-ratio: 1 / 1;
    background: #121212;
    border: 1px solid #1b1b1b;
}

.product-image a,
.product-card-header,
.product-card-header img {
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    padding: 12px;
}

.product-info {
    padding: 14px 2px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-info>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-title {
    order: 2;
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.08;
    margin: 0;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.16em;
}

.product-price,
.product-price-row {
    order: 1;
    font-size: 1.02rem;
    line-height: 1.15;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


body.shop-page .shop-promo-banner {
    margin-top: 0;
}

body.shop-page .shop-promo-banner-inner {
    gap: 12px;
}

@media (max-width: 900px) {
    body.shop-page .shop-hero {
        display: none;
    }

    body.shop-page .shop-content-wrapper {
        padding-top: 20px;
    }

    body.shop-page .shop-section-header {
        margin-bottom: 14px;
    }

    body.shop-page .shop-section-header .section-line {
        display: none;
    }

    body.shop-page .shop-mobile-utility {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: sticky;
        top: 90px;
        z-index: 90;
        padding: 12px 20px;
        margin: 0 -20px 16px;
        background: #0b0b0b;
        border-top: 1px solid #171717;
        border-bottom: 1px solid #171717;
    }

    body.shop-page .shop-mobile-trigger {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 0 16px;
        border: 1px solid #2a2a2a;
        background: #141414;
        color: #fff;
        font-family: var(--font-body);
        font-size: 0.95rem;
        cursor: pointer;
    }

    body.shop-page .shop-mobile-results {
        font-size: 0.9rem;
        color: #bdbdbd;
        white-space: nowrap;
    }

    body.shop-page .shop-layout {
        display: block;
    }

    body.shop-page .shop-sidebar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        margin: 0;
        padding: 0;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 2100;
        transform: translateY(100%);
        transition: transform 0.28s ease;
        max-height: 84vh;
        overflow-y: auto;
        background: #0d0d0d;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -20px 45px rgba(0, 0, 0, 0.5);
    }

    body.shop-page.shop-filters-open .shop-sidebar {
        transform: translateY(0);
    }

    body.shop-page .filter-box {
        background: #0d0d0d;
        border: none;
        padding: 20px 20px 28px;
    }

    body.shop-page .shop-filter-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    body.shop-page .shop-filter-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid #2a2a2a;
        border-radius: 50%;
        background: #141414;
        color: #fff;
        cursor: pointer;
    }

    body.shop-page .filter-title {
        display: block;
        margin-bottom: 0;
        font-size: 1.2rem;
    }

    body.shop-page .filter-label {
        font-size: 0.95rem;
        margin-top: 16px;
    }

    body.shop-page .filter-input,
    body.shop-page .filter-select {
        min-height: 50px;
        font-size: 16px;
        border-color: #262626;
        background: #121212;
        color: #fff;
        border-radius: 0;
    }

    body.shop-page .filter-divider {
        display: block;
        margin: 18px 0;
        background: #1d1d1d;
    }

    body.shop-page .filter-group-mobile-scroll {
        margin-bottom: 20px;
    }

    body.shop-page .filter-chips-wrapper {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 6px 0 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.shop-page .filter-chips-wrapper::-webkit-scrollbar {
        display: none;
    }

    body.shop-page .filter-check.chip {
        flex: 0 0 auto;
        margin: 0;
    }

    body.shop-page .filter-check.chip input {
        display: none;
    }

    body.shop-page .filter-check.chip span {
        display: inline-block;
        padding: 10px 14px;
        border-radius: 999px;
        border: 1px solid #343434;
        background: transparent;
        color: #fff;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    body.shop-page .filter-check.chip input:checked+span {
        background: #fff;
        color: #000;
        border-color: #fff;
    }

    body.shop-page .filter-reset {
        min-height: 50px;
        border-radius: 999px;
    }

    body.shop-page .filter-result-mobile {
        display: none;
    }

    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        margin-top: 0 !important;
        padding: 0 !important;
    }

    .product-card {
        padding: 10px;
    }

    .product-image {
        aspect-ratio: 1 / 1;
        border: 1px solid #1a1a1a;
        background: #121212;
    }

    .product-image img {
        padding: 10px;
    }

    .product-info {
        padding: 10px 0 0;
        gap: 8px;
    }

    .product-info>div:first-child {
        gap: 5px;
    }

    .product-title {
        font-size: 0.84rem !important;
        line-height: 1.12 !important;
        min-height: 2.24em;
        margin: 0 !important;
    }

    .product-price,
    .product-price-row {
        font-size: 0.98rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .product-price-original {
        font-size: 0.72rem !important;
    }

    .product-price-sale {
        font-size: 1rem !important;
    }

    .btn-add-cart {
        display: none !important;
    }

    .product-image .card-carousel-btn,
    .product-image .card-carousel-dots {
        display: none !important;
    }

    body.shop-page .shop-promo-banner {
        padding: 12px 16px;
    }

    body.shop-page .shop-promo-banner-inner {
        justify-content: space-between;
    }

    body.shop-page .shop-promo-code {
        font-size: 0.95rem;
        padding: 5px 12px;
    }

    body.shop-page .shop-promo-banner::before,
    body.shop-page .shop-promo-icon {
        animation: none !important;
    }

    body.shop-page .shop-promo-banner-text {
        font-size: 0.92rem;
    }

    body.shop-page.shop-filters-open {
        overflow: hidden;
    }
}

@media (max-width: 900px) {
    body.has-twitch-live .shop-mobile-utility {
        top: 135px;
    }
}

@media (max-width: 768px) {
    body.shop-page .shop-mobile-utility {
        top: 70px;
    }

    body.has-twitch-live .shop-mobile-utility {
        top: 115px;
    }
}

@media (max-width: 520px) {
    body.has-twitch-live .shop-mobile-utility {
        top: 105px;
    }
}