:root {
    --bg: #050510;
    --bg-soft: #0b0b17;
    --panel: rgba(13, 13, 27, 0.78);
    --panel-strong: rgba(17, 17, 34, 0.94);
    --panel-border: rgba(255, 255, 255, 0.09);
    --text: #f5f7ff;
    --muted: #a4a8c7;
    --primary: #8f4dff;
    --primary-2: #4dd7ff;
    --success: #41d88b;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(143, 77, 255, 0.32), transparent 30%),
        radial-gradient(circle at top right, rgba(77, 215, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #090913 0%, #050510 48%, #090913 100%);
    padding: 24px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.35;
}

a {
    color: inherit;
}

.page-shell {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    animation: page-enter 0.7s ease both;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    background: rgba(11, 11, 23, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.1);
}

.brand-copy h2 {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-copy span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

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

.nav-link,
.button,
.button-secondary,
.download-btn-main,
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 18px;
    font-weight: 600;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.nav-link,
.button-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.button,
.download-btn-main,
.download-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, #6c63ff 44%, var(--primary-2) 100%);
    box-shadow: 0 14px 36px rgba(116, 90, 255, 0.34);
}

.nav-link:hover,
.button:hover,
.button-secondary:hover,
.download-btn-main:hover,
.download-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.welcome-text {
    color: var(--muted);
    margin-right: 6px;
}

.main-content {
    display: grid;
    gap: 28px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: stretch;
}

.hero-panel,
.glass-card,
.container,
.feature,
.stat-card,
.mockup,
.download-card,
.side-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 28px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 34px;
    animation: rise-in 0.7s ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(143, 77, 255, 0.14);
    border: 1px solid rgba(143, 77, 255, 0.28);
    color: #d9cbff;
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.hero-title .accent {
    background: linear-gradient(135deg, #ffffff 15%, #b18fff 50%, #6ee1ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 18px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.meta-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-panel {
    padding: 24px;
    position: relative;
    overflow: hidden;
    animation: rise-in 0.85s ease both;
}

.visual-panel::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(143, 77, 255, 0.28) 0%, transparent 65%);
}

.logo-orb {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 26px;
}

.logo-orb img {
    width: min(220px, 62%);
    object-fit: contain;
    border-radius: 28px;
    animation: float-logo 3.6s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.12);
}

.mockup {
    background: linear-gradient(180deg, rgba(6, 6, 14, 0.92), rgba(13, 13, 25, 0.96));
    padding: 18px;
    border-radius: 24px;
}

.mockup-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.mockup-topbar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ff5f57;
}

.mockup-topbar span:nth-child(2) {
    background: #febc2e;
}

.mockup-topbar span:nth-child(3) {
    background: #28c840;
}

.mockup-topbar strong {
    margin-left: 10px;
    color: var(--muted);
    font-size: 0.92rem;
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 14px;
}

.terminal-card,
.spec-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 16px;
}

.terminal-card pre {
    color: #c8f0ff;
    font-size: 0.85rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.spec-card h3 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.spec-list {
    display: grid;
    gap: 10px;
}

.spec-item {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--muted);
}

.stats-strip,
.features,
.content-grid {
    display: grid;
    gap: 18px;
}

.stats-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
    padding: 24px;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.stat-card:hover,
.feature:hover,
.side-card:hover,
.mockup:hover,
.container:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.16);
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}

.stat-card span {
    color: var(--muted);
}

.section {
    padding: 10px 0;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--muted);
    line-height: 1.7;
    max-width: 70ch;
    margin-bottom: 22px;
}

.features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature {
    padding: 24px;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(143, 77, 255, 0.26), rgba(77, 215, 255, 0.18));
    color: #fff;
    font-size: 1.4rem;
}

.feature h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.feature p {
    color: var(--muted);
    line-height: 1.65;
}

.content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
}

.side-card {
    padding: 24px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.check-list li {
    color: var(--muted);
    padding-left: 28px;
    position: relative;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 0 16px rgba(143, 77, 255, 0.32);
}

.footer {
    margin-top: 36px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid var(--panel-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links,
.legal-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.footer-links a,
.legal-inline-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover,
.legal-inline-links a:hover {
    color: var(--text);
    text-decoration: underline;
}

.loader-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 16, 0.94);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 9999;
}

.loader-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 24px 28px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow);
}

.loader-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 18px;
    animation: loader-pulse 1.2s ease-in-out infinite;
}

.loader-gif {
    width: min(260px, 60vw);
    max-height: 160px;
    object-fit: contain;
    border-radius: 18px;
}

.loader-text {
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.container {
    width: 100%;
    max-width: 520px;
    padding: 34px;
}

.auth-page {
    min-height: calc(100vh - 140px);
    display: grid;
    align-items: center;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
    gap: 28px;
    align-items: center;
}

.auth-showcase {
    padding: 34px;
}

.auth-showcase .logo-orb {
    justify-content: flex-start;
    padding-top: 0;
}

.container h1,
.download-card h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--muted);
    margin-bottom: 26px;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 9px;
    color: #dbe0ff;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-size: 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

input:focus {
    border-color: rgba(143, 77, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(143, 77, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

textarea,
select {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-size: 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

textarea:focus,
select:focus {
    border-color: rgba(143, 77, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(143, 77, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

button {
    width: 100%;
    padding: 15px 18px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary) 0%, #6c63ff 50%, var(--primary-2) 100%);
    box-shadow: 0 16px 34px rgba(116, 90, 255, 0.34);
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    color: var(--muted);
}

.auth-links a {
    color: #d3dcff;
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

.legal-page {
    display: grid;
    gap: 24px;
}

.legal-card {
    padding: 28px;
}

.legal-card p,
.legal-card li {
    color: var(--muted);
    line-height: 1.75;
}

.legal-card ul {
    margin-left: 18px;
    display: grid;
    gap: 12px;
}

.message {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    text-align: center;
    display: none;
    font-weight: 600;
}

.success {
    background: rgba(65, 216, 139, 0.14);
    color: #92f2bb;
    border: 1px solid rgba(65, 216, 139, 0.28);
}

.error {
    background: rgba(255, 106, 133, 0.12);
    color: #ffb3c2;
    border: 1px solid rgba(255, 106, 133, 0.22);
}

.loading {
    display: none;
    text-align: center;
    margin-top: 14px;
    color: var(--muted);
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.12);
    border-left-color: var(--primary-2);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

.download-page {
    min-height: calc(100vh - 140px);
    display: grid;
    place-items: center;
    gap: 24px;
}

.download-card {
    width: min(980px, 100%);
    padding: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: 26px;
}

.download-summary {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 24px;
}

.download-info {
    display: grid;
    gap: 12px;
}

.download-info .info-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
}

.download-info .info-row strong {
    color: var(--text);
}

.mini-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.94rem;
}

.support-badge {
    min-width: 22px;
    min-height: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 106, 133, 0.18);
    border: 1px solid rgba(255, 106, 133, 0.35);
    color: #ffd2db;
    font-size: 0.82rem;
    font-weight: 700;
    justify-content: center;
    align-items: center;
}

.support-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    z-index: 1250;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 18px 40px rgba(116, 90, 255, 0.42);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.support-fab.is-open {
    transform: scale(0.96);
    box-shadow: 0 12px 28px rgba(116, 90, 255, 0.28);
}

.support-fab-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.support-fab-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.support-fab-badge {
    position: absolute;
    top: -4px;
    right: -2px;
}

.support-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 14, 0.68);
    backdrop-filter: blur(8px);
    z-index: 1190;
    opacity: 0;
    transition: opacity 0.24s ease;
}

.support-backdrop.is-visible {
    opacity: 1;
}

.support-drawer {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(460px, calc(100vw - 32px));
    height: calc(100vh - 48px);
    padding: 24px;
    background: rgba(8, 8, 18, 0.98);
    border: 1px solid var(--panel-border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    transform: translate(-50%, calc(-50% + 18px)) scale(0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
    z-index: 1200;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: 18px;
}

.support-drawer.is-open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.support-drawer-compact {
    width: min(400px, calc(100vw - 32px));
    height: min(520px, calc(100vh - 120px));
    border-radius: 24px;
}

.support-drawer-header,
.admin-thread-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

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

.support-connection-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
}

.support-connection-badge.is-online {
    color: #c8ffe2;
    background: rgba(40, 167, 69, 0.16);
    border-color: rgba(40, 167, 69, 0.34);
}

.support-connection-badge.is-warning {
    color: #ffe2a8;
    background: rgba(255, 193, 7, 0.14);
    border-color: rgba(255, 193, 7, 0.3);
}

.support-connection-badge.is-error {
    color: #ffd2db;
    background: rgba(255, 106, 133, 0.16);
    border-color: rgba(255, 106, 133, 0.34);
}

.support-close {
    width: auto;
}

.support-drawer-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.support-summary-card {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    gap: 6px;
}

.support-summary-card strong {
    color: var(--text);
    font-size: 1rem;
}

.support-summary-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.92rem;
}

.support-summary-label {
    color: #b5c2ff;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.support-thread-wrap {
    display: grid;
    gap: 10px;
}

.support-thread-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.88rem;
}

.support-thread {
    min-height: 220px;
    max-height: 52vh;
    overflow-y: auto;
    padding: 16px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 12px;
}

.admin-support-thread {
    max-height: 440px;
}

.support-empty {
    color: var(--muted);
    line-height: 1.7;
    align-self: center;
    text-align: center;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.support-message {
    max-width: 88%;
    padding: 14px 16px;
    border-radius: 18px;
    display: grid;
    gap: 8px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.support-message.is-own,
.support-message.is-admin-own {
    margin-left: auto;
    background: rgba(143, 77, 255, 0.16);
    border: 1px solid rgba(143, 77, 255, 0.28);
}

.support-message.is-admin,
.support-message.is-user {
    margin-right: auto;
    background: rgba(77, 215, 255, 0.11);
    border: 1px solid rgba(77, 215, 255, 0.22);
}

.support-message-author {
    font-size: 0.84rem;
    color: #d6dcff;
    font-weight: 700;
}

.support-message-body {
    color: var(--text);
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.support-message-meta {
    color: var(--muted);
    font-size: 0.78rem;
}

.support-form {
    display: grid;
    gap: 12px;
}

.support-form label {
    font-weight: 700;
    color: var(--text);
}

.support-form textarea {
    resize: vertical;
    min-height: 118px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
    line-height: 1.6;
}

.support-form textarea:focus {
    outline: none;
    border-color: rgba(143, 77, 255, 0.52);
    box-shadow: 0 0 0 3px rgba(143, 77, 255, 0.12);
}

.support-form textarea:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.support-form-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.84rem;
}

.support-form-actions {
    margin: 0;
}

.support-form-actions button {
    width: auto;
}

.admin-support-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 18px;
}

.admin-support-sidebar,
.admin-support-thread-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-conversation-list {
    display: grid;
    gap: 10px;
}

.admin-conversation-item {
    width: 100%;
    text-align: left;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    display: grid;
    gap: 6px;
}

.admin-conversation-item.is-active {
    border-color: rgba(143, 77, 255, 0.55);
    background: rgba(143, 77, 255, 0.12);
}

.admin-conversation-title {
    font-weight: 700;
    color: var(--text);
}

.admin-conversation-preview,
.admin-conversation-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-user-card {
    margin-bottom: 14px;
}

.admin-ban-card {
    margin-bottom: 14px;
}

.admin-role-row {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-logo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes loader-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.88;
    }
}

@media (max-width: 1080px) {
    .hero,
    .auth-layout,
    .download-card,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .admin-support-layout {
        grid-template-columns: 1fr;
    }

    .support-drawer-summary {
        grid-template-columns: 1fr;
    }


    .features,
    .stats-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body {
        padding: 16px;
    }

    .header {
        padding: 18px;
    }

    .hero-panel,
    .container,
    .auth-showcase,
    .download-card,
    .visual-panel {
        padding: 24px;
    }

    .support-drawer {
        top: 50%;
        left: 50%;
        height: calc(100vh - 32px);
    }

    .support-drawer-compact {
        width: min(400px, calc(100vw - 24px));
        height: min(500px, calc(100vh - 100px));
    }

    .support-thread-toolbar,
    .support-form-meta,
    .support-header-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .support-fab {
        right: 16px;
        bottom: 16px;
        width: 62px;
        height: 62px;
    }

    .brand-copy span {
        display: none;
    }

    .mockup-grid {
        grid-template-columns: 1fr;
    }
}

.warning-section {
    margin-top: 10px;
}

.warning-card {
    background: linear-gradient(135deg, rgba(255, 106, 133, 0.18), rgba(255, 179, 194, 0.1));
    border: 1px solid rgba(255, 106, 133, 0.32);
    border-radius: 28px;
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(255, 106, 133, 0.18);
}

.warning-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 14px;
    color: #ffb3c2;
}

.warning-text {
    color: #ffd6de;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 600;
}
