/* dashboard.css – extracted from index.html inline <style> */

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    color: var(--text);
    min-height: 100vh;
    padding: 22px 20px 36px;
    animation: bodyFadeIn 400ms ease-out forwards;
    background-color: #070a10;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

@keyframes bodyFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 10px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.topbar-inner {
    background: rgba(3, 7, 18, 0.45);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
}

.brand-title {
    font-family: "Silkscreen", monospace;
    font-size: 16px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.brand-tag {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.nav a:hover,
.nav a:focus {
    color: var(--text);
    border-color: var(--border);
    background: rgba(148, 163, 184, 0.08);
    outline: none;
}

.nav .cta {
    color: #0b1220;
    background: var(--accent);
    border-color: rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.nav .cta:focus {
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.5);
}

.nav .cta.secondary {
    color: var(--text);
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.35);
}

.hero {
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    box-shadow: var(--shadow);
    padding: 22px;
    display: grid;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at 25% 15%, rgba(251, 191, 36, 0.22), transparent 45%),
        radial-gradient(circle at 75% 25%, rgba(16, 185, 129, 0.2), transparent 52%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
}

.hero-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    margin-bottom: 6px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.14);
}

.hero-banner-copy {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.16);
    color: #93c5fd;
    font-weight: 700;
}

.hero-banner-title {
    font-weight: 700;
    color: #60a5fa;
}

.hero-banner-link {
    flex-shrink: 0;
    padding: 7px 12px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.2);
    color: #bfdbfe;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    margin: 2px 0 4px;
}

.hero-logo {
    width: min(140px, 32vw);
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0% {
        transform: translateY(0px);
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    }

    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.6)) brightness(1.1);
    }

    100% {
        transform: translateY(0px);
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    }
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 12px;
    color: var(--muted);
}

h1 {
    margin: 0;
    font-family: "Silkscreen", monospace;
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.05;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.subtitle {
    margin: 0;
    color: var(--muted);
    font-size: clamp(14px, 2vw, 18px);
    max-width: 900px;
    line-height: 1.45;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.btn:hover,
.btn:focus {
    filter: brightness(1.1);
    transform: scale(1.05);
    outline: none;
}

.btn.primary {
    background: var(--accent);
    color: #0b1220;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.6), 0 16px 40px rgba(251, 191, 36, 0.28);
}

.btn.primary:hover,
.btn.primary:focus {
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.8), 0 16px 40px rgba(251, 191, 36, 0.4);
}

.btn.secondary {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.35);
    color: var(--text);
}

.btn.ghost {
    background: rgba(15, 23, 42, 0.35);
    border-color: var(--border);
    color: var(--text);
}

.btn.discord-btn {
    background: #5865F2;
    color: white;
    border-radius: 12px;
    padding: 10px 18px;
    border-color: transparent;
}

.btn.discord-btn:hover,
.btn.discord-btn:focus {
    background: #4752C4;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.section-divider {
    border: 0;
    height: 1px;
    background: var(--border);
    opacity: 0.4;
    margin: 32px auto;
    width: 80%;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    background: var(--panel-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
    .back-to-top {
        left: 16px;
        bottom: 16px;
    }
}

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

.card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    box-shadow: var(--shadow);
    padding: 18px;
    display: grid;
    gap: 10px;
}

.card h2 {
    margin: 0;
    font-size: 16px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: var(--muted);
    font-size: 12px;
}

.chip-link {
    color: var(--muted);
    text-decoration: none;
}

.chip-link-strong {
    color: var(--text);
}

.spotlight-card {
    border-color: rgba(251, 191, 36, 0.45);
    background: linear-gradient(140deg, rgba(251, 191, 36, 0.16), rgba(16, 185, 129, 0.08));
}

.spotlight-text {
    color: var(--text);
}

.assistant-card {
    border-color: rgba(34, 211, 238, 0.35);
    background: linear-gradient(180deg, rgba(15, 29, 56, 0.94), rgba(8, 19, 38, 0.96));
}

.assistant-logo {
    width: 100%;
    max-width: 210px;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(2, 6, 23, 0.35);
    padding: 6px;
}

.assistant-snippet {
    font-family: "Silkscreen", monospace;
    font-size: 11px;
    letter-spacing: 0.02em;
    color: #bde8f3;
    background: rgba(15, 23, 42, 0.55);
}

.footer {
    color: var(--muted);
    font-size: 12px;
    padding-top: 6px;
}

.footer-note {
    margin-top: 2px;
}

.feature-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.gallery-card {
    margin-top: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.gallery-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.28);
}

.site-footer {
    margin-top: 4px;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.audio-widget {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    z-index: 1000;
    text-align: center;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    contain: layout paint;
    max-width: min(320px, calc(100vw - 92px));
}

.audio-logo {
    width: 120px;
    height: 70px;
}

.audio-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--accent);
    text-decoration: none;
}

.audio-direct {
    display: inline-block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

@media (max-width: 900px) {
    body {
        padding-bottom: 28px;
    }

    .topbar {
        position: static;
        padding: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero,
    .card,
    .topbar-inner,
    .audio-widget,
    .btn.primary {
        box-shadow: none;
    }

    .hero::before {
        opacity: 0.45;
    }

    .audio-widget {
        position: fixed;
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: min(300px, calc(100vw - 86px));
        margin: 0;
        background: rgba(15, 23, 42, 0.92);
    }

    .audio-widget audio {
        width: 100%;
        max-width: 320px;
    }

    .hero-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

@media (max-width: 620px) {
    body {
        padding: 16px 14px 40px;
    }

    .brand-tag,
    .brand-title {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .topbar-inner {
        padding: 8px 10px;
        flex-wrap: wrap;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 8px;
        margin-top: 10px;
        align-items: flex-start;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 10px 12px;
        font-size: 14px;
        width: 100%;
    }

    .audio-widget {
        padding: 10px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        width: min(270px, calc(100vw - 78px));
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-banner-copy {
        align-items: flex-start;
    }

    .hero-banner-link {
        width: 100%;
        text-align: center;
    }
}