
:root {
  --bg-page: #fcfcfc;
  --bg-sidebar: #f8eadd;
  --bg-surface: #ffffff;
  --bg-code: #f8f9fa;
  --bg-input: #ffffff;

  
  --bg-callout-info: #eff6ff;
  --bg-callout-warn: #fffbeb;
  --bg-callout-tip: #f0fdf4;
  --bg-callout-danger: #fef2f2;

  
  --color-info: #3b82f6;
  --color-warn: #f59e0b;
  --color-tip: #10b981;
  --color-danger: #ef4444;

  --text-primary: #334155;
  --text-secondary: #64748b;
  --text-heading: #0f172a;
  --text-code: #1e293b;

  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;

  
  --accent-core: #ea580c;
  --accent-hover: #c2410c;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-carousel:
    0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);

  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-page: #0c0a09;
  --bg-sidebar: #151211;
  --bg-surface: #1c1917;
  --bg-code: #141417;
  --bg-input: #292524;

  
  --bg-callout-info: rgba(59, 130, 246, 0.1);
  --bg-callout-warn: rgba(245, 158, 11, 0.1);
  --bg-callout-tip: rgba(16, 185, 129, 0.1);
  --bg-callout-danger: rgba(239, 68, 68, 0.1);

  --text-primary: #d4d4d8;
  --text-secondary: #a1a1aa;
  --text-heading: #fafafa;
  --text-code: #e2e8f0;

  --border-subtle: #292524;
  --border-strong: #44403c;

  --accent-core: #f97316;
  --accent-hover: #fb923c;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Inter",
    -apple-system,
    sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.7;
  transition:
    background-color 0.3s,
    color 0.3s;
  overflow-x: hidden;
}


body.lightbox-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.75rem;
  margin: 3.5rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

h3 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
  color: var(--accent-core);
}

h4 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
}

p,
li {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

ul,
ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--accent-core);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}


.inline-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  font-weight: 600;
  transition: var(--transition);
}

.inline-link i {
  font-size: 0.75em;
  opacity: 0.7;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.inline-link:hover i {
  opacity: 1;
  transform: translate(2px, -2px);
}

code {
  font-family: "JetBrains Mono", monospace;
  background-color: var(--bg-code);
  color: var(--accent-core);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.85em;
  border: 1px solid var(--border-subtle);
}


.app-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  padding: 2rem 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  overflow-y: auto;
  z-index: 50;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.brand-icon {
  font-size: 1.75rem;
  color: var(--accent-core);
}

.sidebar-brand h2 {
  margin: 0;
  border: none;
  font-size: 1.25rem;
  padding: 0;
}

.table-of-contents ul {
  list-style: none;
  margin: 0;
}

.table-of-contents li {
  margin-bottom: 0.25rem;
}

.table-of-contents a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.table-of-contents a:hover {
  background-color: var(--bg-surface);
  color: var(--text-heading);
}

.table-of-contents a.active {
  background-color: var(--bg-surface);
  color: var(--accent-core);
  border-left-color: var(--accent-core);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.main-content {
  margin-left: 280px;
  width: calc(100% - 280px);
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
}

.reading-column {
  width: 100%;
  max-width: 850px;
}

section {
  margin-bottom: 5rem;
  scroll-margin-top: 3rem;
}


.top-controls {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.75rem;
  z-index: 1000;
}

.control-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.control-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
  color: var(--accent-core);
  border-color: var(--accent-core);
}

body.full-width-mode .reading-column {
  max-width: 98%;
}


.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.sidebar-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-btn {
  display: none;
}

@media (max-width: 768px) {
  .top-controls {
    top: 1rem;
    right: 1rem;
  }

  .control-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  
  #width-toggle {
    display: none;
  }

  
  .sidebar {
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  
  body.sidebar-open {
    overflow: hidden;
  }

  .main-content {
    margin-left: 0;
    width: 100%;
    padding: 5rem 1.25rem 2rem; 
  }

  .reading-column {
    max-width: 100%;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  p,
  li {
    font-size: 1rem;
  }

  
  .carousel-img-wrapper {
    height: 250px; 
  }

  .carousel-item {
    padding: 1rem;
  }

  .carousel-caption {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .carousel-btn.prev {
    left: 0.5rem;
  }
  .carousel-btn.next {
    right: 0.5rem;
  }

  
  .lightbox-img {
    max-width: 85vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .lightbox-btn.prev {
    left: 0.5rem;
  }
  .lightbox-btn.next {
    right: 0.5rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
  }

  .lightbox-caption {
    bottom: 1rem;
    font-size: 0.9rem;
    text-align: center;
    padding: 0 1rem;
  }

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

  .callout {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }

  .callout-icon {
    font-size: 1.25rem;
  }

  .expression-card {
    padding: 1rem;
  }

  .support-card {
    padding: 2rem 1rem;
  }
}




.callout {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
  align-items: flex-start;
  border: 1px solid var(--border-subtle);
}

.callout-icon {
  font-size: 1.5rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.callout-content p {
  margin: 0;
  font-size: 1rem;
}

.callout--spaced {
  margin: 1rem 0;
}

.callout.info {
  background-color: var(--bg-callout-info);
  border-color: rgba(59, 130, 246, 0.2);
}

.callout.info .callout-icon i {
  color: var(--color-info);
}

.callout.warn {
  background-color: var(--bg-callout-warn);
  border-color: rgba(245, 158, 11, 0.2);
}

.callout.warn .callout-icon i {
  color: var(--color-warn);
}

.callout.tip {
  background-color: var(--bg-callout-tip);
  border-color: rgba(16, 185, 129, 0.2);
}

.callout.tip .callout-icon i {
  color: var(--color-tip);
}

.callout.danger {
  background-color: var(--bg-callout-danger);
  border-color: rgba(239, 68, 68, 0.2);
}

.callout.danger .callout-icon i {
  color: var(--color-danger);
}


.img-standalone {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin: 1.5rem 0;
  display: block;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}


.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-carousel);
  margin: 2rem 0;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  align-items: stretch;
  touch-action: pan-y pinch-zoom;
}

.carousel-item {
  min-width: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  background: linear-gradient(
    180deg,
    var(--bg-page) 0%,
    var(--bg-surface) 100%
  );
}

.carousel-img-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 400px; 
}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; 
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}

.carousel-caption {
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
  text-align: center;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  background: var(--bg-code);
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-heading);
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .carousel-btn {
  background: rgba(30, 30, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.carousel-btn:hover {
  background: var(--accent-core);
  color: white;
  border-color: var(--accent-core);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent-core);
  transform: scale(1.5);
}


.manifest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.manifest-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.35rem; 
  border-radius: var(--radius-md);
  color: var(--text-heading);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  gap: 1rem; 
}

.manifest-card:hover {
  border-color: var(--accent-core);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.manifest-card > i {
  color: var(--accent-core);
  font-size: 1rem;
  flex-shrink: 0; 
}

.manifest-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem; 
}

.manifest-card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap; 
  gap: 0.8rem; 
  line-height: 1.2;
}


.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0; 
}

.badge.p2p {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.badge.http {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.badge.anime {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}


.badge.recommended {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  font-size: 0.65rem;
}


.expression-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.expression-card h4 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.expression-card h4 i {
  color: var(--accent-core);
}

.expression-card--top {
  margin-top: 2rem;
}

.nl-builder {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.4rem;
  margin: 1.5rem 0;
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-primary);
}

.nl-text {
  font-weight: 400;
}

.nl-highlight {
  font-weight: 600;
  color: var(--text-heading);
}

.nl-input {
  width: 60px;
  padding: 0.2rem 0.5rem;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: 700;
  color: var(--accent-core);
  background: var(--bg-input);
  border: 2px solid var(--border-strong);
  border-radius: 6px;
  text-align: center;
  transition: var(--transition);
}

.nl-input:focus {
  outline: none;
  border-color: var(--accent-core);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.nl-input[type="number"]::-webkit-inner-spin-button,
.nl-input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.nl-block {
  background: var(--bg-page);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}


.code-wrapper {
  position: relative;
  background-color: var(--bg-code);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1.5rem;
  padding-top: 3rem;
}

.code-wrapper--top {
  margin-top: 1rem;
}

.code-wrapper::before {
  content: "Generated Logic";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3rem;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding-left: 1.25rem;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  z-index: 1;
}

[data-theme="dark"] .code-wrapper::before {
  background: rgba(255, 255, 255, 0.03);
}

.code-wrapper pre {
  margin: 0;
  padding: 1.25rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: var(--text-code);
  white-space: pre-wrap;
  word-break: break-all;
  background: transparent;
  border: none;
  max-height: 400px;
  overflow-y: auto;
}

.copy-btn {
  position: absolute;
  top: 0.45rem;
  right: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

.copy-btn:hover {
  color: var(--accent-core);
  border-color: var(--accent-core);
  box-shadow: var(--shadow-sm);
}

.copy-btn.success {
  color: var(--color-tip);
  border-color: var(--color-tip);
  background: rgba(16, 185, 129, 0.1);
}


.img-standalone,
.carousel {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

img {
  min-height: 100px;
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.9rem;
}


.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}


.lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  touch-action: pinch-zoom;
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}


.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10000;
}

.lightbox-btn:hover {
  background: var(--accent-core);
  border-color: var(--accent-core);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-btn.prev {
  left: 2rem;
}

.lightbox-btn.next {
  right: 2rem;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--accent-core);
}

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}


.code-highlight {
  color: var(--accent-core);
  background: rgba(234, 88, 12, 0.15);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.3);
  transition: var(--transition);
  animation: pulse-highlight 2s infinite;
}

[data-theme="dark"] .code-highlight {
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.4);
}

@keyframes pulse-highlight {
  0% {
    box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.3);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.5);
  }
  100% {
    box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.3);
  }
}

[data-theme="dark"] @keyframes pulse-highlight {
  0% {
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.4);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.6);
  }
  100% {
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.4);
  }
}



.sidebar {
  display: flex;
  flex-direction: column;
}

.table-of-contents {
  flex-grow: 1; 
  margin-bottom: 2rem;
}

.support-sidebar-wrapper {
  margin-top: auto; 
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}


.throne-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1rem;
  
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff !important; 
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s;
  box-shadow: 0 4px 10px -2px rgba(109, 40, 217, 0.4);
}

.throne-btn i {
  font-size: 1.1rem;
}

.throne-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px -3px rgba(109, 40, 217, 0.5);
}


.support-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.08) 0%,
    rgba(109, 40, 217, 0.03) 100%
  );
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.support-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #d946ef);
}

.support-card h2 {
  margin: 0;
  border: none;
  padding: 0;
  color: #7c3aed;
  font-size: 1.75rem;
}

[data-theme="dark"] .support-card h2 {
  color: #a78bfa;
}

.support-card p {
  margin: 0;
  max-width: 550px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.support-card .throne-btn {
  width: auto;
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;

  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
