/* =========================
   Astra Discord Bot Style
   ========================= */

/* ==== Base Layout ==== */
html, body {
    height: 100%;
    margin: 0;
    padding-top: env(safe-area-inset-top, 0px);
    min-height: 100vh;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(120deg, #221c50 0%, #2a2463 90%, #33ccd7 200%);
    color: #f4faff;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;

    /* sorgt dafür, dass Footer unten klebt */
    display: flex;
    flex-direction: column;
}


main {
    flex: 1;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 68px 38px 80px 38px; /* letzter Wert = Abstand unten */
    box-sizing: border-box;
}

@media (max-width: 900px) {
    main {
        padding: 56px 16px 70px 16px; /* Abstand unten für Mobile */
    }
}

/* Globale Regel: Sections unten keinen eigenen Abstand geben */
main section {
    margin-bottom: 0;
    padding-bottom: 0;
}

h1, h2, h3, h4 {
    font-weight: 900;
    letter-spacing: 1px;
    color: #f4faff;
    margin-bottom: 10px;
}
h1 { font-size: 2.9em; line-height: 1.13; }
h2 { font-size: 2.1em; }
ul { padding-left: 23px; }
a { color: #7dfad7; transition: color 0.16s; }
a:hover { color: #ffd799; }

::-webkit-scrollbar { width: 10px; background: #2a2463; }
::-webkit-scrollbar-thumb { background: #362897; border-radius: 6px; }
::selection { background: #72ffe2; color: #2a2463; }

/* ========== HEADER & NAVBAR ========== */

.astra-header {
    position: fixed;
    top: env(safe-area-inset-top, 0px);
    width: 100%;
    z-index: 50;
    background: #1c1250;
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 24px #65e6ce23;
    transition: background 0.2s;
}

.astra-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding: 0 38px;
}

.astra-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: 32px;   /* <--- DAS hinzufügen */
}

.astra-logo img {
    height: 45px;
    width: 45px;
    border-radius: 12px;
    background: #18103d;
    box-shadow: 0 1px 12px #65e6ce33;
}

.astra-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.57em;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.astra-logo-text span {
    color: #65e6ce;
    font-weight: 900;
}

/* --- Navbar Desktop --- */
.astra-navbar ul {
    display: flex;
    gap: 32px; /* Passe auf 24px an, wenn du enger willst */
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    position: static;
    background: none;
    box-shadow: none;
    height: auto;
    width: auto;
    flex-direction: row;
}

.nav-link {
    color: #e4eaff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.13em;
    padding: 10px 0;
    background: none;
    border: none;
    transition: color 0.14s;
    border-radius: 8px;
    position: relative;
}

.nav-link.active,
.nav-link:focus,
.nav-link:hover {
    color: #65e6ce;
}

.nav-btn {
    background: linear-gradient(90deg, #65e6ce, #a7c8fd 80%);
    color: #223254;
    font-weight: 900;
    font-size: 1.13em;
    padding: 10px 26px;
    border-radius: 15px;
    margin-left: 13px;
    text-decoration: none;
    box-shadow: 0 2px 14px #5de8ff33;
    transition: filter 0.14s, box-shadow 0.14s;
    border: none;
    outline: none;
    display: inline-block;
}

.nav-btn:hover {
    filter: brightness(0.97);
    box-shadow: 0 6px 24px #65e6ce38;
}

/* Hamburger und Overlay auf Desktop verstecken */
.astra-nav-toggle,
.astra-nav-mobile-overlay {
    display: none;
}

/* ========== MOBILE STYLES ========== */
@media (max-width: 900px) {
    .astra-header-inner {
        padding: 0 16px;
        height: 56px;
        gap: 0;
    }
    .astra-header {
        background: #1c1250 !important;
        height: 56px;
    }
    /* Navbar als Drawer */
    .astra-navbar ul {
        display: none;
        position: fixed;
        top: 56px;
        right: 0;
        width: 80vw;
        max-width: 320px;
        height: calc(100vh - 56px);
        background: #251f5b;
        box-shadow: -4px 0 14px #140b3666;
        padding: 36px 18px 24px 18px;
        flex-direction: column;
        gap: 18px;
        z-index: 120;
        border-radius: 12px 0 0 12px;
        overflow-y: auto;
        margin: 0;
    }
    body.nav-open .astra-navbar ul {
        display: flex !important;
    }
    .astra-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 32px;
        height: 23px;
        background: none;
        border: none;
        position: fixed;
        top: 13px;
        right: 16px;
        z-index: 150;
        cursor: pointer;
        padding: 0;
    }
    .astra-nav-toggle span {
        display: block;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        width: 100%;
        transition: background 0.2s;
    }
    .astra-nav-toggle:hover span {
        background: #65e6ce;
    }
    .astra-nav-toggle:focus-visible {
        outline: 2px solid #65e6ce;
    }
    .astra-nav-mobile-overlay {
        display: block;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #1a124499;
        z-index: 110;
        transition: opacity .22s;
    }
    .astra-navbar ul li {
        text-align: center;
    }
    .astra-navbar ul li a {
        font-size: 1em;
        font-weight: 700;
        padding: 14px 0;
        display: block;
    }
    .nav-btn {
        margin: 22px auto 0 auto;
        width: fit-content;
        display: block;
        font-size: 1.08em;
    }
    .astra-navbar ul {
        gap: 14px;
    }
}

@media (max-width: 650px) {
    .astra-header-inner { flex-direction: column; height: auto; gap: 7px; padding: 0 2vw;}
    .astra-navbar ul { flex-direction: column; gap: 7px; }
    .astra-hero-card, .astra-about-card, .astra-features-grid, .astra-faq-section {
        max-width: 98vw !important; padding-left: 1vw; padding-right: 1vw;
    }
    .astra-hero-logo { width: 90px; }
    .about-img { width: 80px; height: 80px; }
    .feature-card { padding: 13px 7px; font-size: 1em; }
    .faq-question { font-size: 1em; padding: 11px 9px 11px 9px; }
    .faq-answer { padding: 0 9px 8px 9px; }
}

/* ===================
      HERO SECTION
=================== */
.astra-hero-card {
    position: relative;
    background: linear-gradient(115deg, #251f5b 0%, #362897 65%, #3fd6dd 160%);
    border-radius: 38px;
    box-shadow: 0 12px 48px #5b65ff2a;
    margin: 36px auto 46px auto;
    overflow: hidden;
    min-height: 370px;
}
.bubbles-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.astra-hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 46px;
    padding: 66px 7vw 36px 7vw;
    position: relative; z-index: 1;
}
.astra-hero-content > div:first-child {
    flex: 2 1 340px; min-width: 260px;
}
.astra-hero-content > div:last-child {
    flex: 1 1 220px; min-width: 150px; text-align: center;
}
.astra-hero-logo {
    width: 186px; max-width: 99%;
    border-radius: 26px;
    box-shadow: 0 8px 52px #60e9cb77, 0 0 64px 2px #7c41ee35;
    margin: 0 auto 0 auto;
}

/* Labels, Buttons, Badges */
.astra-label-row { display: flex; gap: 10px; margin-bottom: 13px; }
.astra-label {
    font-weight: 800; font-size: 1em;
    border-radius: 13px; padding: 7px 19px;
    box-shadow: 0 2px 8px #5de8ff18;
    background: #313a70;
    color: #b7faf8;
    letter-spacing: .2px;
}
.astra-label.green  { background: linear-gradient(90deg,#65e6ce,#91f4e3); color:#262; }
.astra-label.blue   { background: linear-gradient(90deg,#8fd6fc,#8b6efd 80%); color:#fff; }
.astra-label.yellow { background: linear-gradient(90deg,#ffd799,#ffb2d6 80%); color:#874d01; }

.astra-btn-row { display: flex; gap: 16px; margin: 18px 0 22px 0; flex-wrap: wrap; }
.astra-btn {
    display: inline-block;
    font-weight: 900; font-size: 1.11em;
    border-radius: 18px;
    padding: 14px 38px;
    text-decoration: none;
    transition: filter .14s, background .18s, color .18s;
    box-shadow: 0 2px 18px #5de8ff28;
    border: none; cursor: pointer; letter-spacing: .5px;
}
.astra-btn.main { background: linear-gradient(90deg,#60e9cb,#a7c8fd); color: #223254; }
.astra-btn.main:hover { filter: brightness(1.09) drop-shadow(0 2px 8px #80ffd422); }
.astra-btn.outline {
    background: transparent; border: 2px solid #a7c8fd;
    color: #a7c8fd;
}
.astra-btn.outline:hover { background: #3fd6dd12; color: #fff; }

.astra-badges-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 13px; }
.astra-badge {
    font-weight: 700; font-size: 1em; border-radius: 12px;
    padding: 7px 16px; display: inline-flex; align-items: center;
    background: rgba(255,255,255,0.09); color: #bbf7ff;
}
.astra-badge.mint   { background: rgba(80,255,255,0.13); color: #70ffeb; }
.astra-badge.violet { background: rgba(140,110,255,0.16); color: #eedaff; }
.astra-badge.yellow { background: rgba(255,240,200,0.15); color: #ffd799; }
.astra-badge.blue   { background: rgba(130,170,255,0.14); color: #a7c8fd; }

.cta-absatz {
    margin-top: 15px;
    color: #f9faff;
    font-size: 1.14em;
    font-weight: 700;
    text-shadow: 0 2px 9px #251f5b22;
}
.highlight {
    color: #65e6ce; font-weight: 800;
    text-shadow: 0 2px 9px #60e9cb66;
}
.astra-desc {
    font-size: 1.14em; color: #d7f3ff;
    font-weight: 500; margin-bottom: 4px;
    line-height: 1.38; margin-top: 2px;
}

/* STATS */
.astra-stats {
    display: flex; gap: 32px; justify-content: center;
    margin: 44px 0 52px 0; flex-wrap: wrap;
}
.stat-card {
    background: rgba(56,65,139,0.36);
    border-radius: 23px;
    min-width: 180px;
    text-align: center;
    padding: 32px 0 21px 0;
    box-shadow: 0 4px 30px #5b65ff15;
    font-family: 'Montserrat',sans-serif;
    margin-bottom: 16px;
}
.stat-num {
    font-size: 2.3em;
    font-weight: 900;
    color: #6cfadd;
    display: block;
    letter-spacing: .7px;
    margin-bottom: 7px;
    text-shadow: 0 2px 8px #65e6ce26;
}
.stat-title {
    color: #e0e7ff; font-size: 1.15em; font-weight: 700;
    letter-spacing: 0.6px; margin-top: 2px;
}

/* ABOUT CARD */
.astra-about-card {
    background: rgba(42,50,111,0.45);
    border-radius: 25px;
    margin: 40px auto 30px auto;
    padding: 42px 46px 38px 38px;
    display: flex; gap: 38px; align-items: center;
    box-shadow: 0 8px 40px #5b65ff12;
    max-width: 950px;
}
.astra-about-card h2 { font-size: 2.1em; font-weight: 800; color: #7dfad7; margin-bottom: 14px; }
.astra-about-card ul {
    margin: 0 0 12px 22px; color: #cdf5f6; font-size: 1.14em; line-height: 1.58;
}
.about-link { color: #66e6d3; font-weight: 700; text-decoration: underline; transition: color 0.16s; }
.about-link:hover { color: #2df4c7; }
.about-img-wrap { flex: 0 1 150px; min-width: 110px; }
.about-img {
    width: 120px; height: 120px; border-radius: 22px;
    object-fit: cover; background: #2d2473;
    box-shadow: 0 4px 24px #70ffeb22;
}
.astra-about-card > div:last-child { flex: 3 1 270px; min-width: 200px; }

/* FEATURES GRID */
.astra-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px,1fr));
    gap: 27px;
    margin: 44px 0 54px 0;
    max-width: 980px;
    margin-left: auto; margin-right: auto;
}
.feature-card {
    background: rgba(41,49,101,0.31);
    border-radius: 17px;
    padding: 26px 20px 18px 20px;
    color: #eefaff;
    box-shadow: 0 4px 30px #5b65ff13;
    font-size: 1.13em;
    transition: transform 0.15s, box-shadow 0.15s;
}
.feature-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 40px #65e6ce23;
}
.feature-title { font-weight: 900; font-size: 1.19em; margin-bottom: 8px; }
.feature-title.green  { color:#7dfad7; }
.feature-title.yellow { color:#ffd299; }
.feature-title.blue   { color:#8bb7ff; }
.feature-title.violet { color:#f7bfff; }

/* FAQ */
.astra-faq-section {
    max-width: 860px; margin: 40px auto 60px auto;
    padding: 18px 7px 25px 7px;
}
.astra-faq-section h2 {
    font-size: 1.58em; font-weight: 900;
    color: #7dfad7; margin-bottom: 18px;
}
.faq-list { display: flex; flex-direction: column; gap: 18px; }
.faq-item {
    background: rgba(46,53,110,0.33);
    border-radius: 15px;
    box-shadow: 0 2px 13px #5b65ff13;
    transition: box-shadow .16s;
}
.faq-item.open, .faq-item:hover {
    background: rgba(101,230,206,0.16);
    box-shadow: 0 8px 35px #61f5c520;
}
.faq-question {
    background: none; border: none;
    font-size: 1.13em; color: #66e6d3;
    font-weight: 800; padding: 18px 25px 16px 25px;
    width: 100%; text-align: left; cursor: pointer;
    border-radius: 15px; outline: none;
    transition: color 0.12s;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
}

.faq-item.open .faq-answer {
    max-height: none;
    opacity: 1;
    visibility: visible;
    padding: 15px 25px;
}

/* MEDIA QUERIES */
@media (max-width: 1200px) {
    .astra-header-inner { max-width: 100vw; padding: 0 14px; }
    main { max-width: 100vw; }
}
@media (max-width: 900px) {
    .astra-header-inner { padding: 0 12px; }
    .astra-navbar ul { gap: 14px; }
    .astra-hero-content { flex-direction: column; padding: 42px 2vw 24px 2vw; gap: 19px; }
    .astra-about-card { flex-direction: column; gap: 19px; padding: 21px 10px 17px 10px; }
    .astra-about-card > div:last-child { min-width: 0; }
    .astra-hero-logo { width: 120px; }
    main { padding: 36px 8px 0 8px; }
}
@media (max-width: 750px) {
    .astra-stats { flex-direction: column; align-items: center; gap: 16px; }
    .stat-card { min-width: 80vw; }
}
@media (max-width: 500px) {
    h1 { font-size: 1.7em; }
    h2 { font-size: 1.17em; }
}

/* Footer-Abstand nur durch main regeln – margin-top raus */
.astra-footer {
    background: linear-gradient(90deg, #221c50 0%, #312a77 80%, #33ccd7 200%);
    padding: 35px 0 22px 0;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -4px 40px #60e9cb22;
    color: #c7f3ff;
    font-size: 1.09em;
}

.astra-footer-inner {
    max-width: 990px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 32px 18px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 1.28em;
    font-weight: 700;
    color: #eafcff;
}
.footer-logo img {
    width: 40px; height: 40px; border-radius: 12px;
    box-shadow: 0 2px 12px #7dfad711;
}

.footer-logo span span {
    color: #7dfad7; font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 13px;
    align-items: center;
}
.footer-links a {
    color: #72ffe2;
    font-weight: 600;
    transition: color .15s;
    text-decoration: none;
}
.footer-links a.footer-btn {
    background: linear-gradient(90deg,#60e9cb,#a7c8fd);
    color: #223254;
    padding: 8px 19px;
    border-radius: 13px;
    font-weight: 800;
    margin-left: 7px;
    text-decoration: none;
    box-shadow: 0 2px 9px #5de8ff18;
}
.footer-links a.footer-btn:hover {
    filter: brightness(1.09);
}
.footer-links a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
}
.footer-social img {
    width: 29px; height: 29px; border-radius: 8px; opacity: .93; transition: opacity .17s;
}
.footer-social a:hover img {
    opacity: 1;
    filter: drop-shadow(0 2px 9px #60e9cb66);
}

.footer-meta {
    width: 100%;
    margin-top: 17px;
    text-align: center;
    color: #b7dafb;
    font-size: 1.03em;
    letter-spacing: .01em;
}
.footer-meta a { color: #7dfad7; text-decoration: underline; }
.footer-meta a:hover { color: #fff; }

@media (max-width: 820px) {
    .astra-footer-inner {
        flex-direction: column;
        gap: 18px 0;
        align-items: flex-start;
        text-align: left;
    }
    .footer-meta { text-align: left; }
}

/* =========================
   ASTRA COMMANDS PAGE
   ========================= */

/* Command-Suchleiste */
.command-searchbar {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: center;
}
.command-searchbar input[type="text"] {
    width: 100%;
    padding: 15px 18px 15px 42px;
    font-size: 1.13em;
    border-radius: 17px;
    border: none;
    background: rgba(41,49,101,0.23);
    color: #eafffa;
    box-shadow: 0 2px 18px #5de8ff19;
    outline: none;
    font-family: 'Montserrat',sans-serif;
    transition: box-shadow .15s, background .12s;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="22" viewBox="0 0 24 24" width="22" xmlns="http://www.w3.org/2000/svg"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>');
    background-repeat: no-repeat;
    background-size: 22px 22px;
    background-position: 13px center;
}
.command-searchbar input[type="text"]:focus {
    background: rgba(101,230,206,0.10);
    box-shadow: 0 4px 22px #7dfad722;
}

/* Command-Accordion Struktur */
#commands-accordion {
    margin: 0 auto;
    max-width: 950px;
}

.command-section {
    background: rgba(46, 53, 110, 0.28);
    border-radius: 18px;
    box-shadow: 0 2px 13px #5b65ff13;
    margin-bottom: 22px;
    overflow: hidden;
    transition: box-shadow .16s;
}
.command-section:hover, .command-section.open {
    box-shadow: 0 10px 38px #60e9cb16;
}

.accordion-toggle {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.28em;
    font-weight: 900;
    color: #7dfad7;
    padding: 21px 32px 21px 28px;
    cursor: pointer;
    border-radius: 18px 18px 0 0;
    transition: background .15s, color .14s;
    letter-spacing: .5px;
    position: relative;
}
.accordion-toggle::after {
    content: "▼";
    position: absolute;
    right: 26px;
    font-size: .88em;
    color: #72ffe2bb;
    transform: rotate(0deg);
    transition: transform .22s cubic-bezier(.6,.02,.19,1.12);
}
.accordion-toggle.open::after {
    transform: rotate(-180deg);
}

.accordion-panel {
    display: none;
    background: rgba(41, 49, 101, 0.13);
    padding: 9px 20px 14px 36px;
    border-radius: 0 0 18px 18px;
    animation: fadeIn .26s cubic-bezier(.73,.01,.18,1.08);
}
.accordion-toggle.open + .accordion-panel {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-7px);}
    to   { opacity: 1; transform: translateY(0);}
}

.command-entry {
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #25284c44;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.command-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.command-name {
    font-weight: 800;
    font-size: 1.15em;
    color: #a7c8fd;
    letter-spacing: 0.2px;
    margin-bottom: 3px;
}
.command-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    font-size: 1.06em;
    color: #f4faff;
}
.command-desc {
    color: #72ffe2;
    font-weight: 700;
    margin-right: 15px;
}

/* Responsive Anpassungen */
@media (max-width: 750px) {
    #commands-accordion { max-width: 99vw; }
    .accordion-toggle { font-size: 1.07em; padding: 15px 18px 15px 14px; }
    .accordion-panel { padding: 8px 9px 12px 16px; }
}

@media (max-width: 430px) {
    .accordion-toggle { font-size: .96em; }
    .command-info { font-size: .97em; gap: 10px 8px;}
}

/* === Commands Intro Text */
.commands-intro {
    max-width: 620px;
    margin: 0 auto 28px auto;
    padding: 16px 28px;
    background: rgba(56, 65, 139, 0.42);
    border-radius: 22px;
    box-shadow: 0 6px 30px #5b65ff2a;
    color: #b7f8f6;
    font-size: 1.15em;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

/* === Kategorie Buttons (Filter) */
.commands-category-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.commands-category-buttons button {
    background: linear-gradient(90deg, #65e6ce, #a7c8fd);
    color: #223254;
    font-weight: 900;
    padding: 10px 22px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    box-shadow: 0 3px 18px #5de8ff33;
    transition: all 0.22s ease;
    user-select: none;
}
.commands-category-buttons button:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 26px #65e6ce88;
}
.commands-category-buttons button.active {
    background: linear-gradient(90deg, #72ffe2, #7dfad7);
    color: #1b3447;
    box-shadow: 0 8px 30px #60e9cbbb;
}

/* === Accordion Buttons Anpassung */
.accordion-toggle {
    color: #72ffe2;
    font-weight: 900;
    padding: 20px 36px 20px 36px;
    font-size: 1.35em;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, #2d2f72, #362897);
    box-shadow: 0 4px 18px #5b65ff22;
    transition: background 0.3s, box-shadow 0.3s, color 0.3s;
    position: relative;
}
.accordion-toggle:hover {
    background: linear-gradient(90deg, #3fd6dd, #65e6ce);
    color: #223254;
    box-shadow: 0 6px 28px #65e6ce88;
}
.accordion-toggle.open {
    background: linear-gradient(90deg, #7dfad7, #60e9cb);
    color: #223254;
    box-shadow: 0 8px 36px #60e9cbdd;
}
.accordion-toggle::after {
    content: "▼";
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 1.1em;
    color: #65e6ceaa;
    transition: transform 0.3s ease;
}
.accordion-toggle.open::after {
    transform: translateY(-50%) rotate(-180deg);
    color: #2a2463;
}

/* === Accordion Panel */
.accordion-panel {
    background: rgba(41, 49, 101, 0.21);
    border-radius: 0 0 22px 22px;
    padding: 22px 48px 28px 48px;
    box-shadow: inset 0 2px 16px #7dfad722;
}

/* === Command Entries */
.command-entry {
    padding: 18px 0 14px 0;
    border-bottom: 1.5px solid #31468f66;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.command-entry:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.command-name {
    color: #a7c8fd;
    font-size: 1.22em;
    font-weight: 900;
    letter-spacing: 0.4px;
}
.command-info {
    font-size: 1.03em;
    color: #d7f3ff;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    font-weight: 600;
}
.command-desc {
    color: #72ffe2;
    font-weight: 800;
}

/* === Responsive Anpassungen für Commands Section */
@media (max-width: 850px) {
    .commands-category-buttons {
        max-width: 100%;
        gap: 10px;
        padding: 0 14px;
    }
    .accordion-toggle {
        font-size: 1.2em;
        padding: 16px 28px 16px 28px;
    }
    .accordion-panel {
        padding: 18px 28px 24px 28px;
    }
    .command-info {
        font-size: 0.95em;
        gap: 12px 16px;
    }
}
@media (max-width: 480px) {
    .command-name {
        font-size: 1.1em;
    }
    .command-info {
        font-size: 0.9em;
    }
    .commands-category-buttons button {
        font-size: 0.9em;
        padding: 8px 16px;
    }
}

.commands-info-card {
    max-width: 860px;
    margin: 38px auto 36px auto;
    padding: 32px 28px 18px 28px;
    border-radius: 32px;
    background: linear-gradient(128deg, #251f5b 0%, #312c6c 92%);
    box-shadow: 0 4px 30px 0 rgba(54,75,172,0.10);
    color: #e7f8fc;
    text-align: center;
    position: relative;
}

.commands-info-row {
    margin-bottom: 18px;
}
.info-badge {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 16px;
    font-size: 1.04rem;
    font-weight: 700;
    margin-right: 7px;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
    background: #2b294e;
    color: #7cebe7;
    box-shadow: 0 2px 9px 0 rgba(91, 101, 255, 0.06);
    border: 1.5px solid #222154;
}
.info-badge.cyan { background: #1d2b38; color: #65e6ce; border-color: #44e2d7; }
.info-badge.green { background: #1d382a; color: #54fdbe; border-color: #44e2b0; }
.info-badge.purple { background: #27284c; color: #b2a4ff; border-color: #8a76ff; }

.commands-info-desc {
    font-size: 1.15rem;
    font-weight: 500;
    color: #b7f8f6;
    margin-bottom: 18px;
    line-height: 1.45;
}

.commands-label-row {
    margin-top: 10px;
    margin-bottom: 3px;
}

.commands-label-row .astra-label {
    display: inline-block;
    font-size: 1.01rem;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 14px;
    margin: 0 5px 4px 0;
    box-shadow: 0 1px 6px #232b5244;
}
.astra-label.green  { background: #65e6ce; color: #223254; }
.astra-label.blue   { background: #9cbeff; color: #223254; }
.astra-label.yellow { background: #fad59c; color: #503820; }
.astra-label.purple { background: #c29cff; color: #332245; }
.info-badge.red {
    background: #491b22;
    color: #ff6464;
    border-color: #ff7272;
}
/* =========================
   ASTRA STATUS PAGE STYLES
   ========================= */

.astra-status-main {
    flex: 1;
    min-height: 560px;
    display: block;
    position: relative;
    padding: 64px 0 24px;
}
@media (max-width: 700px) {
    .astra-status-main {
        min-height: auto !important;
        padding-bottom: 80px; /* Damit Footer nicht überlappt */
    }
}

/* ==== Background Bubbles ==== */
.status-bubbles-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
}

/* ==== Card ==== */
/* Main Container */
.astra-status-main {
    flex: 1;
    min-height: 560px;
    display: block;
    position: relative;
    padding: 64px 16px 24px; /* mehr Padding links und rechts */
}

@media (max-width: 700px) {
    .astra-status-main {
        min-height: auto !important;
        padding: 48px 16px 80px; /* oben etwas weniger, unten wegen Footer, links/rechts 16px */
    }
}

/* Card */
.astra-status-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    min-height: 540px;
    margin: 28px auto;
    padding: 30px 20px 24px 20px; /* weniger padding für mehr Platz auf kleinen Bildschirmen */
    border-radius: 26px;
    background: linear-gradient(135deg, #241d50 0%, #2e265a 70%, #3fd6dd 230%);
    box-shadow: 0 8px 44px #21303f2e, 0 2px 20px #65e6ce12;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

@media (max-width: 700px) {
    .astra-status-card {
        padding: 24px 16px 24px 16px;
        min-height: auto;
    }
}

.astra-status-card > *:not(.status-bubbles-bg) { position: relative; z-index: 2; }

.astra-status-card h1 {
    font-size: 2.1rem;
    font-weight: 900;
    color: #65e6ce;
    margin-bottom: 12px;
    text-shadow: 0 1px 18px #251f5b38;
    letter-spacing: .03em;
}

/* ==== Status Rows ==== */
.status-list { margin-bottom: 22px; }
.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #30437055;
    font-size: 1.12rem;
    font-weight: 600;
    margin: 0;
}
.status-row:last-child { border-bottom: 0; }
.status-label { display: flex; align-items: center; gap: 8px; }
.status-icon { font-size: 1.18em; margin-right: 8px; }

/* ==== Badges ==== */
.status-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    min-width: 84px;
    padding: 0 12px;
    border-radius: 16px;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .02em;
    background: #292659;
    color: #d8ffef;
    border: 2px solid #65e6ce38;
    box-shadow: 0 1px 12px #42eaaf22;
    white-space: nowrap;
}
.status-badge.ok {
    background: linear-gradient(93deg,#65e6ce 0%, #54fdbe 110%);
    color: #223254;
    border-color: #60e9cb77;
    box-shadow: 0 0 0 3px #54fdbe11;
}
.status-badge.err {
    background: linear-gradient(93deg, #ff7272 0%, #ffb3b3 110%);
    color: #481d24;
    border-color: #ff727266;
    box-shadow: 0 0 0 3px #ff72721d;
}
.status-badge.warn {
    background: linear-gradient(93deg, #ffe479 0%, #ffbd34 110%);
    color: #553a10;
    border-color: #ffe47966;
    box-shadow: 0 0 0 3px #ffe4792e;
}

/* ==== Tabs ==== */
.status-tabs-row {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    margin: 10px 0 15px;
}
.status-tab-btn {
    padding: 8px 23px; border-radius: 15px; font-weight: 700; font-size: 1.06em;
    background: #282f4e; color: #b7f8f6; border: none; cursor: pointer;
    transition: background .16s, color .16s, box-shadow .16s;
}
.status-tab-btn.active, .status-tab-btn:focus {
    background: linear-gradient(90deg, #65e6ce, #a7c8fd 110%);
    color: #222f48; box-shadow: 0 4px 18px #65e6ce22;
}

/* ==== Uptime (12h) ==== */
.uptime-chart-title {
    font-size: 1.03rem; margin: 22px 0 6px; color: #90e3e7; font-weight: 600;
}
.uptime-bar-row {
    position: relative;          /* Tooltip bezieht sich hierauf */
    display: flex; gap: 2px; justify-content: center; align-items: flex-end;
    height: 20px; margin-bottom: 8px;
}
.uptime-bar {
    width: 7px; height: 16px; border-radius: 4px;
    background: #3a5255; opacity: .42; transition: background .18s, opacity .18s;
    cursor: pointer;
}
.uptime-bar.online  { background: #65e6ce; opacity: 1; }
.uptime-bar.offline { background: #ff7272; opacity: .9; }

.uptime-legend { font-size: .9rem; color: #b1cde3; margin-bottom: 4px; }

/* ==== Uptime (30 Tage) ==== */
.uptime-bar-row-day {
    display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; align-items: flex-end;
    margin-bottom: 7px;
}
.uptime-bar-day {
    width: 17px; height: 22px; border-radius: 6px; background: #3a5255;
    opacity: .55; position: relative; cursor: pointer; border: 2px solid #1a2633;
    transition: background .16s, opacity .17s, box-shadow .19s;
}
.uptime-bar-day.perfect { background: #65e6ce; opacity: 1; border-color: #54fdbe; }
.uptime-bar-day.good    { background: #b5f7de; opacity: 1; border-color: #65e6ce; }
.uptime-bar-day.warn    { background: #ffe479; opacity: 1; border-color: #ffe479; color:#6a5c1e; }
.uptime-bar-day.bad     { background: #ff7272; opacity: .9; border-color: #ff7272; }
.uptime-bar-day .uptime-day-label {
    display: none; position: absolute; left: 50%; bottom: 27px; transform: translateX(-50%);
    background: #191d36; color: #a7c8fd; padding: 4px 13px; border-radius: 10px; font-size: .96em;
    white-space: nowrap; box-shadow: 0 3px 14px #1e1b2f61; z-index: 10;
}
.uptime-bar-day:hover .uptime-day-label,
.uptime-bar-day:focus .uptime-day-label { display: block; }

/* ==== Tooltip als Sprechblase über dem Balken ==== */
#uptime-tooltip {
    position: fixed; /* statt absolute */
    z-index: 1000;
    pointer-events: none;
    display: none;
}
.uptime-tooltip-bubble {
    position: relative;
    background: rgba(28, 18, 80, 0.95);
    padding: 12px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.uptime-tooltip-arrow {
    position: absolute;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: inherit;
    transform: rotate(45deg);
}

.uptime-tooltip-arrow::after {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background: linear-gradient(120deg, #292659 60%, #2e265a 120%);
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(35,53,75,.3);
}
.uptime-tooltip-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: #8eead7;
    font-size: 1.2em;
    line-height: 1;
    cursor: pointer;
    opacity: .8;
    pointer-events: auto;
}
.uptime-tooltip-close:hover { opacity: 1; color: #ff7272; }

/* ==== Stats ==== */
.stats-box-row {
    display: flex; justify-content: space-between; gap: 19px; margin: 22px 0 0;
}
.stat-box {
    flex: 1 1 25%; background: linear-gradient(127deg, #262364 0%, #23354b 100%);
    border-radius: 15px; padding: 16px 0 12px; color: #c5fffd; font-size: 1.01rem;
    display: flex; flex-direction: column; align-items: center; box-shadow: 0 2px 13px #3fd6dd0e;
}
.stat-head { font-size: .97rem; color: #9cecff; margin-bottom: 2px; }
.stat-num  { font-size: 1.35rem; color: #65e6ce; font-weight: 800; letter-spacing: .04em; }

/* ==== Mobile ==== */
@media (max-width: 700px) {
    .astra-status-card { padding: 18px 14px; border-radius: 18px; }
    .astra-status-card h1 { font-size: 1.2rem; }
    .status-row { font-size: 1.02rem; }
    .status-badge { height: 28px; min-width: 78px; font-size: .9rem; }
    .uptime-bar-row { gap: 3px; height: 22px; }
    .uptime-bar { width: 8px; height: 20px; }  /* etwas größer für Touch */
    .stats-box-row { flex-direction: column; gap: 10px; }
    .stat-box { padding: 12px 2px 9px; border-radius: 14px; }
}
@media (max-width: 500px) {
    .status-row { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
    .status-badge { width: auto; min-width: 86px; }
}

/* =========================
   REPORT PAGE - Improved Card Style
   ========================= */

.report-page main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: calc(68px + 20px); /* Desktop: 20px extra Luft */
}
@media (max-width: 900px) {
    .report-page main {
        padding-top: calc(56px + 20px); /* Mobile: ebenfalls 20px extra */
    }
}

.astra-form-wrap {
    background: linear-gradient(135deg, rgba(36,29,80,0.95) 0%, rgba(46,38,90,0.95) 80%);
    border-radius: 26px;
    padding: 32px;
    max-width: 640px;
    width: 100%;
    box-shadow: 0 8px 44px rgba(33,48,63,0.25), 0 2px 20px rgba(101,230,206,0.07);
}

/* Titel und Beschreibung */
.astra-form-wrap h1 {
    font-size: 2em;
    font-weight: 900;
    color: #65e6ce;
    margin-bottom: 8px;
}
.astra-form-wrap p {
    font-size: 1.05em;
    color: #d7f3ff;
    margin-bottom: 24px;
}

/* Problemtypen-Auswahl */
.astra-problem-types {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.astra-problem-chip {
    flex: 1 1 auto;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Individuelle Farben pro Typ */
.astra-problem-chip[data-type="Nutzer"] {
    background: linear-gradient(90deg, #ff7aa2, #ffb3c6);
    color: #3d0b21;
}
.astra-problem-chip[data-type="Webseite"] {
    background: linear-gradient(90deg, #65e6ce, #a7c8fd);
    color: #0b2a26;
}
.astra-problem-chip[data-type="Discord"] {
    background: linear-gradient(90deg, #a77bff, #c29cff);
    color: #250b3d;
}

/* Hover-Effekt */
.astra-problem-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

/* Ausgewählt */
.astra-problem-chip.selected {
    transform: scale(1.05);
    border: 2px solid #fff;
    box-shadow: 0 4px 22px rgba(255,255,255,0.25);
}

/* Formularfelder */
.astra-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: #a7c8fd;
}
.astra-form textarea,
.astra-form input[type="text"],
.astra-form input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: rgba(41,49,101,0.23);
    color: #f4faff;
    font-size: 1em;
    font-family: inherit;
    box-shadow: 0 2px 12px rgba(93,232,255,0.1);
    margin-bottom: 16px;
}
.astra-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Absenden-Button (Standardfarbe) */
.astra-form button {
    font-weight: 900;
    padding: 12px 28px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    font-size: 1.05em;
    transition: filter 0.14s, box-shadow 0.14s;
}

/* Button-Farbvarianten */
.astra-form button.nutzer {
    background: linear-gradient(90deg, #ff7aa2, #ffb3c6);
    color: #3d0b21;
}
.astra-form button.webseite {
    background: linear-gradient(90deg, #65e6ce, #a7c8fd);
    color: #0b2a26;
}
.astra-form button.discord {
    background: linear-gradient(90deg, #a77bff, #c29cff);
    color: #250b3d;
}

.astra-form button:hover {
    filter: brightness(0.95);
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

/* Meldungen */
.astra-msg-success,
.astra-msg-error {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
}
.astra-msg-success {
    background: rgba(101,230,206,0.16);
    color: #65e6ce;
}
.astra-msg-error {
    background: rgba(255, 114, 114, 0.16);
    color: #ff7272;
}

/* Mobile Optimierung */
@media (max-width: 600px) {
    .astra-form-wrap {
        padding: 20px;
        border-radius: 18px;
    }
    .astra-problem-chip {
        flex: 1 1 100%;
    }
}


/* === Fertig! === */


