
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
    --bg: #080a10;
    --panel: #0e111b;
    --panel-light: #141927;
    --purple: #b8a4ff;
    --cyan: #66e7ff;
    --green: #79e5b3;
    --text: #e8eaf5;
    --muted: #8991a9;
    --border: rgba(184, 164, 255, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 15% 10%, rgba(104, 76, 190, 0.10), transparent 45%),
        radial-gradient(ellipse at 85% 60%, rgba(38, 161, 190, 0.06), transparent 45%);
}

a {
    color: inherit;
    text-decoration: none;
}

button, input {
    font: inherit;
}

::selection {
    background: var(--purple);
    color: var(--bg);
}

.accent {
    color: var(--cyan);
}

.gradient-text {
    background: linear-gradient(100deg, var(--purple), var(--cyan));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* NAVIGATION */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 76px;
    padding: 14px 7%;
    background: rgba(8, 10, 16, 0.88);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-mark {
    color: var(--purple);
    margin-right: 8px;
}

.navbar nav {
    display: flex;
    gap: clamp(12px, 2.5vw, 34px);
}

.navbar nav a,
.status {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.navbar nav a {
    color: var(--muted);
}

.navbar nav a:hover,
.status:hover {
    color: var(--cyan);
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    white-space: nowrap;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}

/* HERO */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 650px;
    padding: 90px 10% 60px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(184, 164, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 164, 255, 0.07) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to right, black, transparent 90%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    animation: fade-up 0.8s ease both;
}

.eyebrow {
    font-family: 'Orbitron', sans-serif;
    color: var(--cyan);
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(42px, 7vw, 88px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -3px;
}

.hero-description {
    max-width: 470px;
    color: var(--muted);
    margin: 24px 0 30px;
    font-size: 20px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 12px 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-3px);
}

.button.primary {
    color: #080a10;
    background: var(--cyan);
    border: 1px solid var(--cyan);
    box-shadow: 0 0 20px rgba(102, 231, 255, 0.15);
}

.button.primary:hover {
    box-shadow: 0 0 28px rgba(102, 231, 255, 0.35);
}

.button.secondary {
    color: var(--text);
    background: rgba(184, 164, 255, 0.04);
    border: 1px solid var(--border);
}

.button.secondary:hover {
    background: rgba(184, 164, 255, 0.1);
    border-color: var(--purple);
}

.hero-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 30px;
    margin-top: 65px;
    color: var(--muted);
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
}

.hero-symbol {
    position: absolute;
    width: 350px;
    height: 350px;
    right: 7%;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    opacity: 0.75;
}

.symbol-ring {
    position: absolute;
    border: 1px solid rgba(102, 231, 255, 0.3);
    border-radius: 50%;
}

.ring-one {
    width: 280px;
    height: 280px;
    border-left-color: var(--purple);
    border-right-color: var(--cyan);
    animation: rotate 24s linear infinite;
}

.ring-two {
    width: 210px;
    height: 210px;
    border-style: dashed;
    border-color: rgba(184, 164, 255, 0.55);
    animation: rotate 35s linear infinite reverse;
}

.symbol-core {
    display: grid;
    place-items: center;
    width: 125px;
    height: 125px;
    border: 1px solid var(--cyan);
    background: rgba(102, 231, 255, 0.04);
    box-shadow: 0 0 50px rgba(102, 231, 255, 0.1),
                inset 0 0 35px rgba(184, 164, 255, 0.08);
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 800;
    transform: rotate(45deg);
}

.symbol-core::first-letter {
    transform: rotate(-45deg);
}

.symbol-label {
    position: absolute;
    bottom: 2px;
    text-align: center;
    color: var(--muted);
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
}

/* SHARED SECTIONS */

.section,
.terminal-section {
    padding: 100px 10%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 36px;
}

.section-heading .eyebrow {
    margin-bottom: 10px;
}

.section-heading h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(22px, 3.5vw, 38px);
    line-height: 1.3;
}

.section-code {
    color: var(--muted);
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
    text-align: right;
}

/* PROJECT CARDS */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.project-card {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 23px;
    background: linear-gradient(145deg, var(--panel-light), var(--panel));
    border: 1px solid var(--border);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(102, 231, 255, 0.6);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.card-top,
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.tag,
.card-number {
    color: var(--muted);
    font-family: 'Orbitron', sans-serif;
    font-size: 8px;
    letter-spacing: 1px;
}

.tag {
    color: var(--cyan);
}

.project-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 28px 0 18px;
    border: 1px solid var(--border);
    color: var(--purple);
    background: rgba(184, 164, 255, 0.05);
    font-size: 34px;
}

.project-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
}

.project-card p {
    color: var(--muted);
    font-size: 16px;
    margin: 10px 0 26px;
}

.card-bottom {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-family: 'Orbitron', sans-serif;
    font-size: 8px;
    letter-spacing: 0.5px;
}

.card-bottom span {
    color: var(--green);
}

.card-bottom a {
    color: var(--cyan);
}

.card-bottom a:hover {
    color: var(--purple);
}

.classified .project-icon {
    color: var(--green);
}

/* TERMINAL */

.terminal-section {
    background: rgba(14, 17, 27, 0.55);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.terminal-window {
    background: #07090e;
    border: 1px solid rgba(102, 231, 255, 0.3);
    box-shadow: 0 0 45px rgba(102, 231, 255, 0.04);
}

.terminal-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 13px 18px;
    color: var(--muted);
    background: var(--panel-light);
    border-bottom: 1px solid var(--border);
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple);
}

.window-dots span:nth-child(2) {
    background: var(--cyan);
}

.window-dots span:nth-child(3) {
    background: var(--green);
}

.terminal-live {
    color: var(--green);
}

.terminal-output {
    min-height: 170px;
    max-height: 300px;
    overflow-y: auto;
    padding: 22px 22px 8px;
    color: var(--green);
    font-family: Consolas, monospace;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.terminal-output p {
    margin-bottom: 9px;
}

.terminal-output .terminal-highlight {
    color: var(--cyan);
}

.terminal-output .terminal-error {
    color: #ff8d9c;
}

.terminal-output .terminal-system {
    color: var(--purple);
}

.terminal-input-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 22px 22px;
    color: var(--cyan);
    font-family: Consolas, monospace;
    font-size: 13px;
}

.terminal-input-row input {
    flex: 1;
    min-width: 130px;
    color: var(--green);
    background: transparent;
    border: none;
    outline: none;
    caret-color: var(--cyan);
}

.terminal-input-row input::placeholder {
    color: #555d70;
}

.terminal-hint {
    margin-top: 12px;
    color: var(--muted);
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
}

/* STORE */

.store-banner {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 30px;
    padding: clamp(25px, 5vw, 55px);
    background: linear-gradient(120deg, #111425, #0b1720);
    border: 1px solid var(--border);
}

.store-banner h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(27px, 4vw, 43px);
    line-height: 1.25;
}

.store-banner p:not(.eyebrow) {
    max-width: 420px;
    margin: 18px 0 25px;
    color: var(--muted);
}

.store-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 290px;
    overflow: hidden;
}

.store-orbit {
    position: absolute;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(102, 231, 255, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(102, 231, 255, 0.07);
}

.store-device {
    position: relative;
    display: grid;
    place-items: center;
    width: 135px;
    height: 180px;
    padding: 9px;
    border: 2px solid #59627b;
    border-radius: 28px;
    background: linear-gradient(140deg, #30384a, #090b12);
    transform: rotate(-8deg);
    box-shadow: 15px 20px 45px rgba(0, 0, 0, 0.4);
}

.device-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 8px;
    border: 1px solid rgba(102, 231, 255, 0.4);
    border-radius: 20px;
    background: radial-gradient(circle, #17253a, #05070d 75%);
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
}

.device-screen span {
    font-size: 34px;
    font-weight: 800;
}

.device-screen small {
    font-size: 7px;
    text-align: center;
}

.art-label {
    position: absolute;
    bottom: 0;
    color: var(--muted);
    font-family: 'Orbitron', sans-serif;
    font-size: 8px;
    letter-spacing: 1px;
}

.store-note {
    margin-top: 16px;
    color: var(--muted);
    font-size: 13px;
}

/* ABOUT */

.about-section {
    padding: 110px 10%;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(184, 164, 255, 0.09), transparent 65%);
    border-top: 1px solid var(--border);
}

.about-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(28px, 5vw, 52px);
    line-height: 1.35;
}

.about-section > p:not(.eyebrow) {
    max-width: 600px;
    margin: 22px auto 30px;
    color: var(--muted);
    font-size: 19px;
}

/* FOOTER */

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding: 28px 7%;
    background: #06070c;
    border-top: 1px solid var(--border);
}

footer > span {
    color: var(--muted);
    font-family: 'Orbitron', sans-serif;
    font-size: 8px;
    letter-spacing: 1px;
}

/* ANIMATIONS */

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* TABLETS */

@media (max-width: 1000px) {
    .hero-symbol {
        right: -100px;
        opacity: 0.25;
    }

    .hero-content {
        max-width: 650px;
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .navbar {
        padding-inline: 5%;
    }

    .section,
    .terminal-section {
        padding-inline: 6%;
    }
}

/* PHONES */

@media (max-width: 650px) {
    body {
        font-size: 16px;
    }

    .navbar {
        position: relative;
        flex-wrap: wrap;
        padding: 16px 5%;
    }

    .navbar nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .navbar nav a {
        font-size: 8px;
    }

    .status {
        font-size: 8px;
    }

    .hero {
        min-height: 580px;
        padding: 80px 7% 40px;
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-symbol {
        right: -140px;
        opacity: 0.12;
    }

    .hero-footer {
        margin-top: 45px;
        font-size: 8px;
    }

    .section,
    .terminal-section {
        padding: 70px 6%;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .section-code {
        text-align: left;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 270px;
    }

    .store-banner {
        grid-template-columns: 1fr;
    }

    .store-art {
        min-height: 250px;
    }

    .terminal-bar {
        font-size: 8px;
        padding-inline: 12px;
    }

    .terminal-output {
        padding-inline: 14px;
    }

    .terminal-input-row {
        padding-inline: 14px;
    }

    .about-section {
        padding: 80px 7%;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 6%;
    }
}

/* ==========================================
   TEAM BLACKLIGHT — MEMBER ACCESS
   ========================================== */

.account-panel {
    border: 1px solid rgba(0, 255, 200, 0.24);
    background: rgba(10, 15, 25, 0.92);
    padding: clamp(1.2rem, 4vw, 2.5rem);
    box-shadow: 0 0 30px rgba(0, 255, 200, 0.04);
}

.account-status {
    padding: 0.9rem 1rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid #00ffc8;
    background: rgba(0, 255, 200, 0.06);
    color: #b8ffed;
    overflow-wrap: anywhere;
}

.account-status.error {
    border-left-color: #ff5577;
    color: #ff9caf;
    background: rgba(255, 50, 90, 0.07);
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 0;
}

.auth-form h3,
#account-details h3 {
    margin-top: 0;
    color: #00ffc8;
    letter-spacing: 0.08em;
}

.auth-form label {
    color: #aab8cb;
    font-size: 0.85rem;
}

.auth-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    border: 1px solid #293747;
    border-radius: 0;
    outline: none;
    background: #080d15;
    color: #edf7ff;
    font: inherit;
}

.auth-form input:focus {
    border-color: #00ffc8;
    box-shadow: 0 0 0 2px rgba(0, 255, 200, 0.1);
}

.auth-form button,
#logout-button {
    margin-top: 0.8rem;
    cursor: pointer;
}

.auth-form button:disabled,
#logout-button:disabled {
    opacity: 0.55;
    cursor: wait;
}

#account-details p {
    color: #aab8cb;
    overflow-wrap: anywhere;
}

#account-details [hidden],
.auth-grid[hidden] {
    display: none !important;
}

@media (max-width: 650px) {
    .auth-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .account-panel {
        padding: 1rem;
    }
}


/* ==========================================
   TEAM BLACKLIGHT — PURPLE CYBERPUNK THEME
   ========================================== */

:root {
    --purple: #a855f7;
    --purple-bright: #c084fc;
    --purple-dark: #6d28d9;
    --purple-glow: rgba(168, 85, 247, 0.25);
    --cyan: #67e8f9;
    --background: #080610;
    --panel: #100b1c;
    --text: #f3eaff;
}

/* Global atmosphere */
body {
    background-color: var(--background);
    color: var(--text);
}

/* Navigation and branding */
.navbar {
    background: rgba(8, 6, 16, 0.94);
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
}

.logo .accent,
.accent {
    color: var(--purple-bright);
}

.logo-mark {
    color: var(--purple-bright);
    text-shadow: 0 0 15px var(--purple-glow);
}

.navbar nav a:hover,
.card-bottom a:hover {
    color: var(--purple-bright);
}

/* Hero section */
.hero {
    background:
        radial-gradient(ellipse at 75% 45%, rgba(109, 40, 217, 0.2), transparent 48%),
        radial-gradient(ellipse at 15% 80%, rgba(168, 85, 247, 0.09), transparent 45%),
        var(--background);
}

.hero-grid {
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.09) 1px, transparent 1px);
}

.gradient-text {
    background: linear-gradient(
        110deg,
        #e9d5ff,
        #c084fc 40%,
        #8b5cf6 75%,
        #67e8f9
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.symbol-ring {
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.08);
}

.symbol-core {
    border-color: var(--purple);
    box-shadow: 0 0 45px var(--purple-glow);
}

/* Buttons */
.button.primary {
    background: linear-gradient(110deg, #7c3aed, #a855f7);
    border-color: var(--purple-bright);
    color: #fff;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.16);
}

.button.primary:hover {
    background: linear-gradient(110deg, #8b5cf6, #c084fc);
    box-shadow: 0 0 28px rgba(168, 85, 247, 0.35);
}

.button.secondary {
    border-color: rgba(192, 132, 252, 0.55);
    color: #e9d5ff;
}

.button.secondary:hover {
    background: rgba(168, 85, 247, 0.12);
    border-color: var(--purple-bright);
}

/* Project cards and sections */
.section,
.terminal-section,
.about-section {
    background-color: var(--background);
}

.project-card {
    background: linear-gradient(145deg, #120c20, #0b0813);
    border-color: rgba(168, 85, 247, 0.24);
}

.project-card:hover {
    border-color: var(--purple-bright);
    box-shadow: 0 10px 35px rgba(109, 40, 217, 0.13);
}

.tag,
.card-number,
.section-code,
.eyebrow {
    color: var(--purple-bright);
}

.project-icon {
    color: var(--purple-bright);
    text-shadow: 0 0 18px var(--purple-glow);
}

/* Terminal */
.terminal-window {
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 0 30px rgba(109, 40, 217, 0.09);
}

.terminal-bar {
    background: #170e27;
    border-bottom-color: rgba(168, 85, 247, 0.25);
}

.terminal-highlight,
.terminal-system {
    color: var(--purple-bright);
}

.terminal-input-row input {
    caret-color: var(--purple-bright);
}

/* Store */
.store-banner {
    background:
        radial-gradient(ellipse at 80% 50%, rgba(109, 40, 217, 0.2), transparent 55%),
        #100b1c;
    border-color: rgba(168, 85, 247, 0.28);
}

.store-orbit {
    border-color: rgba(168, 85, 247, 0.45);
}

.store-device {
    border-color: var(--purple-bright);
    box-shadow: 0 0 35px var(--purple-glow);
}

.device-screen {
    background: linear-gradient(145deg, #1e1040, #090712);
    color: var(--purple-bright);
}

/* Account forms */
.account-panel {
    background: var(--panel);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 30px rgba(109, 40, 217, 0.08);
}

.account-status {
    background: rgba(168, 85, 247, 0.08);
    border-left-color: var(--purple-bright);
    color: #e9d5ff;
}

.auth-form h3,
#account-details h3 {
    color: var(--purple-bright);
}

.auth-form input:focus {
    border-color: var(--purple-bright);
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.13);
}

.auth-form input {
    background: #090712;
    border-color: #39264f;
    color: var(--text);
}

/* Footer */
footer {
    border-top-color: rgba(168, 85, 247, 0.3);
    background: #07050d;
}

/* Keep keyboard navigation visible */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--purple-bright);
    outline-offset: 3px;
}


/* ==========================================
   TEAM BLACKLIGHT CONTROL — STAFF INTERFACE
   ========================================== */

.staff-dashboard[hidden] {
    display: none !important;
}

.control-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.35);
}

.control-indicator {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: #c084fc;
    box-shadow: 0 0 14px rgba(192, 132, 252, 0.7);
}

.control-banner strong {
    color: #e9d5ff;
    letter-spacing: 0.08em;
}

.control-banner p {
    margin-bottom: 0;
    color: #b9a8cf;
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.control-card {
    padding: 1.5rem;
    background: linear-gradient(145deg, #160e25, #0b0813);
    border: 1px solid rgba(168, 85, 247, 0.28);
}

.control-card-icon {
    color: #c084fc;
    font-size: 1.7rem;
}

.control-card h3,
.roster-heading h3 {
    color: #e9d5ff;
    letter-spacing: 0.06em;
}

.control-card p {
    color: #b9a8cf;
    line-height: 1.6;
}

.control-card-status {
    color: #c084fc;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}

.staff-roster-panel {
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: #0c0814;
}

.roster-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.staff-roster {
    display: grid;
    gap: 0.7rem;
}

.staff-member {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #30203f;
    background: #110b1b;
}

.staff-member-identity {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
}

.staff-member-identity strong {
    color: #f3e8ff;
    overflow-wrap: anywhere;
}

.staff-member-meta {
    color: #a995bd;
    font-size: 0.8rem;
}

.staff-member-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.staff-role {
    color: #d8b4fe;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.staff-role-select {
    max-width: 100%;
    padding: 0.65rem;
    border: 1px solid #7541a6;
    background: #130b20;
    color: #f3e8ff;
    font: inherit;
}

.staff-role-select:focus-visible {
    outline: 2px solid #c084fc;
    outline-offset: 2px;
}

.staff-role-select:disabled {
    opacity: 0.55;
}

@media (max-width: 650px) {
    .control-grid {
        grid-template-columns: 1fr;
    }

    .staff-member {
        align-items: flex-start;
    }

    .staff-member-controls {
        width: 100%;
    }
}

/* TEAM BLACKLIGHT CONTROL — navigation and management panels */

.control-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
}

.control-tab {
    padding: 0.7rem 1rem;
    color: #c4b5d5;
    background: #130c1d;
    border: 1px solid #39244d;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.control-tab:hover,
.control-tab.active {
    color: #fff;
    background: #54277b;
    border-color: #c084fc;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.14);
}

.control-panel[hidden] {
    display: none !important;
}

.control-panel {
    min-width: 0;
    padding: clamp(1rem, 3vw, 1.6rem);
    background: rgba(13, 8, 21, 0.75);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.control-panel > h3,
.control-panel-heading h3 {
    margin-top: 0;
    color: #e9d5ff;
    letter-spacing: 0.07em;
}

.control-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.3rem;
}

.control-panel-heading .eyebrow {
    margin-bottom: 0.4rem;
}

.control-form {
    display: grid;
    gap: 0.65rem;
    max-width: 760px;
    margin: 1rem 0 1.5rem;
    padding: 1.2rem;
    background: #100a19;
    border: 1px solid #39244d;
}

.control-form h4 {
    margin: 0 0 0.5rem;
    color: #d8b4fe;
    letter-spacing: 0.08em;
}

.control-form label {
    color: #c4b5d5;
    font-size: 0.85rem;
}

.control-form input:not([type="checkbox"]),
.control-form textarea,
.control-form select {
    width: 100%;
    min-width: 0;
    padding: 0.75rem;
    color: #f3e8ff;
    background: #0b0711;
    border: 1px solid #49315e;
    border-radius: 5px;
    font: inherit;
}

.control-form input:focus-visible,
.control-form textarea:focus-visible,
.control-form select:focus-visible {
    outline: 2px solid #c084fc;
    outline-offset: 2px;
}

.control-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.5rem 0;
}

.control-check input {
    accent-color: #a855f7;
    width: 1rem;
    height: 1rem;
}

.control-actions,
.control-record-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.5rem;
}

.control-record-list {
    display: grid;
    gap: 0.7rem;
}

.control-record {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    min-width: 0;
    padding: 1rem;
    background: #110b1b;
    border: 1px solid #30203f;
}

.control-record-body {
    flex: 1 1 220px;
    min-width: 0;
}

.control-record strong {
    color: #f3e8ff;
    overflow-wrap: anywhere;
}

.control-record p {
    margin: 0.35rem 0 0;
    color: #b9a8cf;
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.control-record-meta {
    color: #c084fc;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
}

.control-record-actions {
    margin-top: 0;
}

.control-message {
    min-height: 1.5em;
    color: #c4b5d5;
    overflow-wrap: anywhere;
}

.control-message.error {
    color: #fca5a5;
}

.control-hint {
    color: #a995bd;
    font-size: 0.82rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .control-tab {
        flex: 1 1 40%;
    }

    .control-record-actions {
        width: 100%;
    }

    .control-record-actions button {
        flex: 1 1 auto;
    }
}
