:root {
  --bg-main: #07111f;
  --bg-panel: rgba(9, 17, 32, 0.84);
  --bg-panel-strong: rgba(11, 23, 41, 0.92);
  --bg-card: rgba(15, 30, 52, 0.88);
  --text-main: #f4f7fb;
  --text-soft: #9aa9c1;
  --line: rgba(255, 255, 255, 0.1);
  --gold: #f7b538;
  --gold-soft: rgba(247, 181, 56, 0.18);
  --cyan: #35d0ff;
  --cyan-soft: rgba(53, 208, 255, 0.18);
  --green: #4ddf91;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI Variable", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(53, 208, 255, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(247, 181, 56, 0.16), transparent 28%),
    linear-gradient(145deg, #05101c 0%, #08111e 30%, #0b1830 100%);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 90%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
}

.page-glow-left {
  top: 60px;
  left: -120px;
  background: rgba(247, 181, 56, 0.22);
}

.page-glow-right {
  right: -140px;
  bottom: 40px;
  background: rgba(53, 208, 255, 0.2);
}

.auth-shell,
.dashboard-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: center;
  padding: 48px 0;
}

.brand-panel,
.auth-card,
.dashboard-hero,
.menu-card {
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand-panel {
  background: linear-gradient(165deg, rgba(9, 19, 36, 0.9), rgba(7, 13, 25, 0.8));
  border-radius: 32px;
  padding: 36px;
}

.logo-stack {
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(247, 181, 56, 0.28), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  margin-bottom: 28px;
}

.logo-stack.compact {
  width: 112px;
  height: 112px;
  margin-bottom: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.logo-stack.has-image .brand-logo {
  display: block;
}

.logo-stack.has-image .logo-fallback {
  display: none;
}

.logo-fallback {
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  display: grid;
  place-items: center;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(247, 181, 56, 0.22), rgba(53, 208, 255, 0.12)),
    #0d1b31;
  color: var(--gold);
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-copy h1,
.dashboard-brand h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
}

.lead {
  color: #d3deef;
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 560px;
  margin-top: 18px;
}

.feature-list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.feature-card {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card h2,
.panel-heading h2,
.menu-card h2 {
  margin: 0 0 8px;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
}

.feature-card p,
.panel-heading p,
.menu-card p,
.support-copy,
.badge,
.back-link,
.secondary-button,
.text-link {
  color: var(--text-soft);
}

.feature-card p,
.menu-card p,
.panel-heading p,
.support-copy {
  margin: 0;
  line-height: 1.6;
}

.auth-panel {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: min(100%, 470px);
  border-radius: 30px;
  background: var(--bg-panel);
  padding: 20px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.tab-button {
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text-soft);
  background: transparent;
  cursor: pointer;
  transition: 180ms ease;
}

.tab-button.is-active,
.tab-button:hover {
  color: var(--text-main);
  background: linear-gradient(145deg, rgba(247, 181, 56, 0.2), rgba(53, 208, 255, 0.12));
}

.tab-panel {
  display: none;
  padding: 12px;
}

.tab-panel.is-active {
  display: block;
}

.panel-heading {
  margin-bottom: 22px;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 10px;
}

.field > span {
  font-size: 0.95rem;
  font-weight: 500;
}

.field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus {
  border-color: rgba(247, 181, 56, 0.5);
  box-shadow: 0 0 0 4px rgba(247, 181, 56, 0.12);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 58px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  transform: translateY(-50%);
  background: transparent;
  cursor: pointer;
}

.eye {
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
}

.eye::before,
.eye::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
}

.eye::before {
  width: 18px;
  height: 12px;
  border: 1.8px solid var(--text-soft);
  border-radius: 14px / 10px;
}

.eye::after {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--text-soft);
}

.toggle-password.is-visible .eye::before,
.toggle-password.is-visible .eye::after {
  border-color: var(--gold);
  background: var(--gold);
}

.toggle-password.is-visible .eye {
  transform: rotate(-8deg);
}

.toggle-password.is-visible .eye::after {
  box-shadow: 0 0 0 1px var(--gold);
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.segmented-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-control label {
  padding: 14px 16px;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  transition: 160ms ease;
}

.segmented-control input:checked + label {
  color: var(--text-main);
  border-color: rgba(247, 181, 56, 0.34);
  background: linear-gradient(145deg, rgba(247, 181, 56, 0.18), rgba(53, 208, 255, 0.08));
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.checkbox input {
  width: 16px;
  height: 16px;
}

.text-link,
.inline-action,
.back-link {
  font-weight: 600;
}

.text-link:hover,
.inline-action:hover,
.back-link:hover {
  color: var(--gold);
}

.primary-button,
.secondary-button,
.inline-action {
  border: 0;
  cursor: pointer;
}

.primary-button {
  padding: 15px 18px;
  border-radius: 18px;
  color: #07111f;
  font-weight: 700;
  background: linear-gradient(135deg, #f7b538, #ffd77d);
  box-shadow: 0 18px 34px rgba(247, 181, 56, 0.24);
}

.primary-button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.secondary-button {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.support-copy {
  text-align: center;
  font-size: 0.96rem;
}

.inline-action {
  padding: 0;
  background: transparent;
  color: var(--gold);
  font-weight: 700;
}

.dashboard-shell {
  padding: 34px 0 52px;
}

.dashboard-hero {
  background: var(--bg-panel-strong);
  border-radius: 32px;
  padding: 24px;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.dashboard-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.menu-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.menu-card {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 26px;
  padding: 22px;
  background: var(--bg-card);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.menu-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.menu-icon svg {
  width: 26px;
  height: 26px;
}

.accent-gold .menu-icon {
  color: var(--gold);
  background: var(--gold-soft);
}

.accent-blue .menu-icon {
  color: #71a9ff;
  background: rgba(113, 169, 255, 0.18);
}

.accent-cyan .menu-icon {
  color: var(--cyan);
  background: var(--cyan-soft);
}

.accent-red .menu-icon {
  color: #ff7a7a;
  background: rgba(255, 122, 122, 0.18);
}

.accent-purple .menu-icon {
  color: #c68cff;
  background: rgba(198, 140, 255, 0.18);
}

.accent-green .menu-icon {
  color: var(--green);
  background: rgba(77, 223, 145, 0.18);
}

.accent-slate .menu-icon {
  color: #cad6e8;
  background: rgba(202, 214, 232, 0.15);
}

.social-card .menu-icon {
  color: #f4f7fb;
  background: rgba(244, 247, 251, 0.1);
}

@media (max-width: 1040px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .auth-shell,
  .dashboard-shell {
    width: min(100% - 20px, 1200px);
  }

  .brand-panel,
  .auth-card,
  .dashboard-hero,
  .menu-card {
    border-radius: 24px;
  }

  .brand-panel,
  .dashboard-hero {
    padding: 22px;
  }

  .dashboard-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-topbar,
  .form-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .logo-stack {
    width: 124px;
    height: 124px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-panel,
  .auth-card,
  .dashboard-hero,
  .menu-card {
    animation: rise-in 560ms ease both;
  }

  .menu-card:nth-child(2) {
    animation-delay: 40ms;
  }

  .menu-card:nth-child(3) {
    animation-delay: 80ms;
  }

  .menu-card:nth-child(4) {
    animation-delay: 120ms;
  }

  .menu-card:nth-child(5) {
    animation-delay: 160ms;
  }

  .menu-card:nth-child(6) {
    animation-delay: 200ms;
  }

  .menu-card:nth-child(7) {
    animation-delay: 240ms;
  }

  .menu-card:nth-child(8) {
    animation-delay: 280ms;
  }

  .menu-card:nth-child(9) {
    animation-delay: 320ms;
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Refino visual Professor Cripto */
:root {
  --bg: #060606;
  --panel: rgba(17, 17, 17, 0.86);
  --panel-strong: rgba(12, 12, 12, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 196, 56, 0.28);
  --text: #f5f5f5;
  --muted: #b7b7b7;
  --gold: #ffc438;
  --gold-strong: #ff9e00;
  --blue: #24b0ff;
  --green: #48dd8f;
  --red: #ff6a6a;
  --orange: #ff9d42;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

body {
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 157, 66, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(36, 176, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #020202 0%, #090909 55%, #050505 100%);
}

body::before {
  background-size: 60px 60px;
  opacity: 0.25;
}

.bg-orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
}

.orb-left {
  left: -80px;
  top: 30px;
  background: rgba(255, 157, 66, 0.26);
}

.orb-right {
  right: -120px;
  bottom: 20px;
  background: rgba(36, 176, 255, 0.22);
}

.auth-layout,
.dashboard-layout {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 460px);
  gap: 30px;
  align-items: center;
  padding: 34px 0;
}

.auth-visual,
.auth-card,
.dashboard-hero,
.stat-card,
.menu-card,
.social-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.auth-visual {
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.9), rgba(8, 8, 8, 0.82));
  border-radius: var(--radius-xl);
  padding: 28px;
}

.visual-badge,
.status-pill,
.highlight-pill,
.hero-tags span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f6d27b;
  font-size: 0.9rem;
  font-weight: 700;
}

.visual-logo-card {
  margin-top: 18px;
  border-radius: 28px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 157, 66, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 196, 56, 0.18);
}

.hero-logo {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 24px;
}

.visual-copy {
  margin-top: 24px;
}

.section-kicker,
.form-brand-label,
.info-label {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 800;
}

.auth-visual h1,
.hero-copy h1,
.form-brand h2,
.section-head h2 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  line-height: 1;
}

.auth-visual h1 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  max-width: 760px;
}

.visual-text,
.hero-text,
.panel-head p,
.support-copy,
.menu-card p,
.social-card p,
.stat-card p,
.info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.visual-text {
  max-width: 640px;
  margin-top: 18px;
  font-size: 1.04rem;
}

.visual-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.visual-grid,
.quick-stats,
.social-section {
  display: grid;
  gap: 16px;
}

.visual-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.info-card,
.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 20px;
}

.info-card strong,
.stat-card strong {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.auth-form-wrap {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.94), rgba(10, 10, 10, 0.92));
  border-radius: var(--radius-xl);
  padding: 26px;
}

.form-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.form-brand-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 196, 56, 0.22);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.form-brand h2 {
  font-size: 1.8rem;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 22px;
}

.tab-button {
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 180ms ease;
}

.tab-button.is-active,
.tab-button:hover {
  color: #111;
  background: linear-gradient(135deg, var(--gold), #ffd86f);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.panel-head {
  margin-bottom: 20px;
}

.panel-head h3,
.menu-card h3,
.social-card h3 {
  margin: 0 0 8px;
  font-family: "Archivo", sans-serif;
  font-size: 1.15rem;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 10px;
}

.field span {
  font-weight: 700;
  font-size: 0.95rem;
}

.field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(255, 196, 56, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.segmented-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-control label {
  border-radius: 16px;
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: 160ms ease;
}

.segmented-control input:checked + label {
  color: #101010;
  background: linear-gradient(135deg, var(--gold), #ffd86f);
  border-color: rgba(255, 196, 56, 0.38);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 56px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.eye {
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
}

.eye::before,
.eye::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
}

.eye::before {
  width: 18px;
  height: 11px;
  border: 2px solid var(--muted);
  border-radius: 20px / 12px;
}

.eye::after {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--muted);
}

.toggle-password.is-visible .eye::before,
.toggle-password.is-visible .eye::after {
  border-color: var(--gold);
  background: var(--gold);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.text-link,
.inline-action,
.back-link {
  color: var(--gold);
  font-weight: 700;
}

.primary-button {
  border: 0;
  border-radius: 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
  color: #141414;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(255, 158, 0, 0.28);
}

.primary-button:hover,
.menu-card:hover,
.social-card:hover {
  transform: translateY(-2px);
}

.inline-action {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.support-copy {
  margin: 0;
  text-align: center;
}

.dashboard-layout {
  padding: 28px 0 50px;
}

.dashboard-hero {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.94), rgba(8, 8, 8, 0.9));
  border-radius: var(--radius-xl);
  padding: 26px;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-link {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #2caeff;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-icon-link svg {
  width: 26px;
  height: 26px;
}

.social-icon-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.youtube-icon-link {
  color: #ff5a5a;
}

.hero-main {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
  gap: 24px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.hero-text {
  max-width: 700px;
  margin-top: 18px;
  font-size: 1.03rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-logo-panel {
  padding: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(255, 157, 66, 0.24), transparent 35%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 196, 56, 0.16);
}

.menu-logo {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.quick-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.menu-section {
  margin-top: 24px;
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.menu-card {
  min-height: 210px;
  border-radius: 26px;
  padding: 22px;
  background: rgba(15, 15, 15, 0.88);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.menu-icon,
.social-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-family: "Archivo", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.accent-gold .menu-icon {
  color: #161616;
  background: linear-gradient(135deg, var(--gold), #ffde7f);
}

.accent-blue .menu-icon {
  color: #07111a;
  background: linear-gradient(135deg, #53c6ff, #97e1ff);
}

.accent-cyan .menu-icon {
  color: #07111a;
  background: linear-gradient(135deg, #51ffe8, #8cfdf0);
}

.accent-red .menu-icon {
  color: #200404;
  background: linear-gradient(135deg, #ff7a7a, #ffb2b2);
}

.accent-orange .menu-icon {
  color: #1f1002;
  background: linear-gradient(135deg, #ff9d42, #ffd08c);
}

.accent-green .menu-icon {
  color: #08160f;
  background: linear-gradient(135deg, #49e092, #8ef3bc);
}

.accent-slate .menu-icon {
  color: #111;
  background: linear-gradient(135deg, #d7d7d7, #ffffff);
}

.social-section {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 24px;
  padding: 20px;
  background: rgba(15, 15, 15, 0.88);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-icon {
  flex: 0 0 58px;
  margin-bottom: 0;
  color: #111;
  background: linear-gradient(135deg, var(--gold), #ffd86f);
}

.settings-card .social-icon {
  background: linear-gradient(135deg, #d7d7d7, #ffffff);
}

@media (max-width: 1120px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .hero-main,
  .menu-grid,
  .quick-stats,
  .social-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .auth-layout,
  .dashboard-layout {
    width: min(100% - 18px, 1240px);
  }

  .auth-visual,
  .auth-card,
  .dashboard-hero,
  .stat-card,
  .menu-card,
  .social-card {
    border-radius: 24px;
  }

  .auth-layout {
    padding: 18px 0 28px;
  }

  .hero-topbar,
  .form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-main,
  .visual-grid,
  .quick-stats,
  .menu-grid,
  .social-section {
    grid-template-columns: 1fr;
  }

  .auth-card,
  .auth-visual,
  .dashboard-hero {
    padding: 20px;
  }

  .visual-highlights,
  .hero-tags {
    gap: 10px;
  }
}

.login-screen {
  min-height: 100vh;
  width: min(100%, 1240px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  position: relative;
  z-index: 1;
}

.login-card {
  width: min(100%, 460px);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.95), rgba(9, 9, 9, 0.93));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  padding: 28px;
  text-align: center;
}

.login-logo-frame {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  padding: 10px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(255, 157, 66, 0.3), transparent 44%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 196, 56, 0.18);
}

.login-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.login-header {
  margin-bottom: 24px;
}

.login-header h1 {
  margin: 0 0 10px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.login-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.compact-login {
  text-align: left;
}

.compact-login .primary-button {
  margin-top: 6px;
}

.login-row {
  margin-top: -2px;
}

@media (max-width: 760px) {
  .hero-topbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .login-card {
    padding: 22px;
    border-radius: 24px;
  }

  .login-logo-frame {
    width: 138px;
    height: 138px;
    margin-bottom: 18px;
  }
}

.dashboard-brandline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dashboard-brandmark {
  width: 72px;
  height: 72px;
  padding: 6px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 196, 56, 0.16);
}

.dashboard-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.dashboard-title {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.04;
}

.compact-hero-copy {
  max-width: 560px;
}

.hero-clean-title {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.compact-hero-text {
  max-width: 520px;
}

.compact-hero-panel {
  max-width: 360px;
  justify-self: end;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.66);
  z-index: 40;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-card {
  width: min(100%, 460px);
  position: relative;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(9, 9, 9, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  padding: 26px;
}

.modal-card-wide {
  width: min(100%, 700px);
}

.modal-head {
  margin-bottom: 20px;
}

.modal-head h2 {
  margin: 0 0 10px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.08;
}

.modal-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
}

.modal-secondary {
  color: var(--text);
}

@media (max-width: 760px) {
  .dashboard-brandline,
  .hero-topbar-right,
  .modal-grid,
  .modal-actions {
    width: 100%;
  }

  .dashboard-brandline {
    align-items: flex-start;
  }

  .hero-topbar-right,
  .modal-actions {
    justify-content: space-between;
  }

  .compact-hero-panel {
    max-width: 100%;
    justify-self: stretch;
  }

  .modal-card,
  .modal-card-wide {
    width: min(100%, 100%);
    padding: 22px;
    border-radius: 24px;
  }

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

.menu-card {
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
}

.menu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  opacity: 0.95;
}

.menu-card h3 {
  margin-top: 0;
}

.accent-gold::before {
  background: linear-gradient(90deg, #ffb400, #ffe28a);
}

.accent-blue::before {
  background: linear-gradient(90deg, #3cb5ff, #85ddff);
}

.accent-red::before {
  background: linear-gradient(90deg, #ff6767, #ff9e9e);
}

.accent-orange::before {
  background: linear-gradient(90deg, #ff9d42, #ffd08c);
}

.accent-green::before {
  background: linear-gradient(90deg, #44db8d, #8ff2bd);
}

.accent-slate::before {
  background: linear-gradient(90deg, #dadada, #ffffff);
}

.dashboard-hero-minimal {
  padding: 20px 24px 28px;
}

.hero-topbar-minimal {
  justify-content: flex-end;
}

.hero-main-minimal {
  margin-top: 12px;
  grid-template-columns: 1fr;
}

.menu-hero-media {
  width: min(100%, 520px);
  max-width: 520px;
  margin: 0 auto;
  padding: 28px;
  justify-self: center;
}

.menu-logo-large {
  max-height: 420px;
}

.settings-shell {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 28px 0 52px;
  position: relative;
  z-index: 1;
}

.settings-header,
.settings-card-panel {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.95), rgba(9, 9, 9, 0.93));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.settings-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.settings-header-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.settings-header-copy h1 {
  margin: 0 0 8px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.settings-header-copy p:last-child {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.settings-form-grid {
  display: grid;
  gap: 18px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.settings-card-panel {
  padding: 24px;
}

.settings-card-head {
  margin-bottom: 18px;
}

.settings-card-head h2 {
  margin: 0 0 8px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.1;
}

.settings-card-head p:last-child {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.settings-option-list,
.settings-theme-grid {
  display: grid;
  gap: 14px;
}

.settings-option,
.theme-choice {
  display: block;
}

.settings-option input,
.theme-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.settings-option-box,
.theme-choice-box {
  display: block;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.settings-option-box strong,
.theme-choice-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.settings-option-box small,
.theme-choice-box small {
  display: block;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.92rem;
}

.settings-option input:checked + .settings-option-box,
.theme-choice input:checked + .theme-choice-box {
  border-color: rgba(247, 181, 56, 0.34);
  background: linear-gradient(145deg, rgba(247, 181, 56, 0.18), rgba(53, 208, 255, 0.08));
  transform: translateY(-1px);
}

.settings-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.settings-feedback {
  margin: 0;
  min-height: 24px;
  font-weight: 600;
}

.settings-feedback.is-success {
  color: #57e39b;
}

.settings-feedback.is-error {
  color: #ff8b8b;
}

body.theme-light {
  color: #172436;
  background:
    radial-gradient(circle at top left, rgba(67, 187, 255, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(247, 181, 56, 0.16), transparent 24%),
    linear-gradient(145deg, #eef5ff 0%, #f7f2e8 45%, #edf4fb 100%);
}

body.theme-light::before {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

body.theme-light .auth-card,
body.theme-light .dashboard-hero,
body.theme-light .menu-card,
body.theme-light .modal-card,
body.theme-light .settings-header,
body.theme-light .settings-card-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 251, 0.94));
  border-color: rgba(23, 36, 54, 0.08);
  box-shadow: 0 26px 60px rgba(75, 95, 122, 0.14);
}

body.theme-light .login-logo-frame,
body.theme-light .hero-logo-panel,
body.theme-light .dashboard-brandmark,
body.theme-light .settings-option-box,
body.theme-light .theme-choice-box,
body.theme-light .social-icon-link {
  background: rgba(19, 34, 53, 0.04);
  border-color: rgba(23, 36, 54, 0.1);
}

body.theme-light .field input,
body.theme-light .field select,
body.theme-light .password-field input {
  color: #172436;
  background: rgba(18, 33, 53, 0.04);
  border-color: rgba(23, 36, 54, 0.12);
}

body.theme-light .field input::placeholder {
  color: rgba(23, 36, 54, 0.42);
}

body.theme-light .section-kicker,
body.theme-light .social-icon-link {
  color: #0a7bc2;
}

body.theme-light .youtube-icon-link {
  color: #da4545;
}

body.theme-light .login-header p,
body.theme-light .support-copy,
body.theme-light .text-link,
body.theme-light .field > span,
body.theme-light .field span,
body.theme-light .modal-head p,
body.theme-light .settings-card-head p:last-child,
body.theme-light .settings-header-copy p:last-child,
body.theme-light .settings-option-box small,
body.theme-light .theme-choice-box small,
body.theme-light .menu-card p {
  color: #5a6b80;
}

body.theme-light .login-header h1,
body.theme-light .dashboard-title,
body.theme-light .hero-clean-title,
body.theme-light .settings-header-copy h1,
body.theme-light .settings-card-head h2,
body.theme-light .menu-card h3,
body.theme-light .section-head h2 {
  color: #152338;
}

body.theme-light .modal-close,
body.theme-light .toggle-password {
  color: #172436;
}

@media (max-width: 760px) {
  .dashboard-hero-minimal {
    padding: 18px;
  }

  .hero-topbar-minimal {
    justify-content: center;
  }

  .menu-hero-media {
    width: 100%;
    padding: 18px;
  }

  .settings-shell {
    width: min(100% - 18px, 1180px);
    padding: 18px 0 34px;
  }

  .settings-header,
  .settings-header-copy,
  .settings-actions {
    flex-direction: column;
    align-items: stretch;
  }

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