/* ========================================================= */
/* LEGAL & DISCORD BOT PORTAL STYLES (GLASSMORPHISM DARK)     */
/* ========================================================= */

.legal-page-container {
  min-height: 100vh;
  padding: 7.5rem 1.5rem 4rem 1.5rem;
  position: relative;
  z-index: 10;
}

.legal-wrapper {
  max-width: 1240px;
  margin: 0 auto;
}

/* 1. Header Box & Breadcrumbs */
.legal-header-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 16px);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.legal-header-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.legal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.legal-breadcrumbs a {
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.legal-breadcrumbs a:hover {
  color: var(--secondary, #38bdf8);
}

.crumb-sep {
  color: rgba(255, 255, 255, 0.2);
}

.crumb-current {
  color: #fff;
  font-weight: 600;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.legal-badge.gdpr {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.legal-main-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ffffff 40%, #c7d2fe 80%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.legal-main-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted, #94a3b8);
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.legal-actions-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-legal-switch,
.btn-legal-discord,
.btn-legal-deletion {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md, 10px);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-legal-switch {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-legal-switch:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--secondary, #38bdf8);
  color: var(--secondary, #38bdf8);
  transform: translateY(-2px);
}

.btn-legal-discord {
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.5);
  color: #c7d2fe;
}

.btn-legal-discord:hover {
  background: #5865f2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}

.btn-legal-deletion {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.btn-legal-deletion:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

/* 2. Grid Layout & Sticky Sidebar */
.legal-layout-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.legal-toc-sidebar {
  position: sticky;
  top: 6.5rem;
}

.toc-card {
  padding: 1.8rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 16px);
  backdrop-filter: blur(16px);
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--secondary, #38bdf8);
}

.toc-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.2s ease;
  line-height: 1.35;
}

.toc-link i {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
  flex-shrink: 0;
}

.toc-link:hover {
  background: rgba(99, 102, 241, 0.12);
  color: #fff;
  transform: translateX(4px);
}

.toc-link:hover i {
  color: var(--secondary, #38bdf8);
}

/* 3. Legal Article & Sections */
.legal-article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-section {
  padding: 2.2rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 16px);
  backdrop-filter: blur(16px);
  scroll-margin-top: 6.5rem;
  transition: border-color 0.3s ease;
}

.legal-section:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-num {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: var(--secondary, #38bdf8);
  border-radius: 6px;
}

.section-title-wrap h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.legal-section p {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-inline-link {
  color: var(--secondary, #38bdf8);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.legal-inline-link:hover {
  color: #fff;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.legal-list li i {
  color: var(--secondary, #38bdf8);
  margin-top: 0.35rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.legal-list li a {
  color: #93c5fd;
  text-decoration: none;
}

.legal-list li a:hover {
  text-decoration: underline;
  color: #fff;
}

.text-danger {
  color: #f87171 !important;
}

/* Notice Callouts */
.legal-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.3rem 1.6rem;
  border-radius: var(--radius-md, 10px);
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-notice-box i {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.legal-notice-box.info {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #e0f2fe;
}
.legal-notice-box.info i { color: #38bdf8; }

.legal-notice-box.warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fef3c7;
}
.legal-notice-box.warning i { color: #fbbf24; }

.legal-notice-box.success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #d1fae5;
}
.legal-notice-box.success i { color: #34d399; }

.mini-bullet-list {
  margin: 0.6rem 0 0 1.2rem;
  padding: 0;
}

.mini-bullet-list li {
  margin-bottom: 0.4rem;
  color: #e2e8f0;
}

/* Prohibited Conduct Grid */
.prohibited-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.prohibited-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md, 10px);
  padding: 1.4rem;
  transition: transform 0.2s, border-color 0.2s;
}

.prohibited-item:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 68, 68, 0.5);
}

.prohibited-item i {
  font-size: 1.5rem;
  color: #f87171;
  margin-bottom: 0.8rem;
  display: block;
}

.prohibited-item strong {
  display: block;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.prohibited-item p {
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.5;
  margin: 0;
}

/* Controller Card */
.controller-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 10px);
  padding: 1.4rem;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.controller-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.controller-field:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.controller-field .lbl {
  color: var(--text-muted, #94a3b8);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.controller-field .val {
  color: #fff;
  font-size: 0.95rem;
}

.controller-field .val a {
  color: var(--secondary, #38bdf8);
  text-decoration: none;
}

/* Data Types Grid */
.data-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin: 1.5rem 0;
}

.data-type-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 10px);
  padding: 1.4rem;
}

.box-head {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.box-head i {
  color: var(--secondary, #38bdf8);
}

.data-type-box ul {
  padding-left: 1.2rem;
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.data-type-box ul li {
  margin-bottom: 0.6rem;
}

.data-type-box code {
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* Table */
.providers-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: var(--radius-md, 10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: rgba(0, 0, 0, 0.25);
}

.legal-table th,
.legal-table td {
  padding: 1rem 1.2rem;
  text-align: left;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--secondary, #38bdf8);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

.legal-table td a {
  color: var(--secondary, #38bdf8);
  text-decoration: none;
}

.legal-table td a:hover {
  text-decoration: underline;
}

/* Rights Grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.right-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 10px);
  padding: 1.4rem;
  transition: transform 0.2s ease;
}

.right-box:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.4);
}

.right-box i {
  font-size: 1.4rem;
  color: var(--secondary, #38bdf8);
  margin-bottom: 0.8rem;
  display: block;
}

.right-box strong {
  display: block;
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.right-box p {
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  margin: 0;
  line-height: 1.5;
}

/* Data Deletion Steps */
.highlight-box {
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.08);
}

.deletion-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.deletion-step {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md, 10px);
  padding: 1.6rem;
  position: relative;
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

.deletion-step h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.deletion-step p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

.deletion-step code {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Contact Cards in Legal Pages */
.legal-contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.contact-sub-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 10px);
  padding: 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-sub-card i {
  font-size: 1.5rem;
  color: var(--secondary, #38bdf8);
}

.card-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sub-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted, #94a3b8);
  letter-spacing: 0.5px;
}

.sub-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  word-break: break-all;
}

.sub-value:hover {
  color: var(--secondary, #38bdf8);
}

/* ========================================================= */
/* 4. DISCORD BOT PORTAL PAGE (bot.ejs)                      */
/* ========================================================= */

.bot-portal-container {
  min-height: 100vh;
  padding: 7rem 1.5rem 4rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.bot-hero-section {
  text-align: center;
  padding: 4rem 1rem 3rem 1rem;
}

.bot-hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.bot-avatar-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.8rem auto;
}

.bot-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.4), 0 0 15px rgba(56, 189, 248, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bot-avatar-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 45px rgba(99, 102, 241, 0.6), 0 0 25px rgba(56, 189, 248, 0.5);
}

.avatar-online-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #22c55e;
  border: 3px solid #0f172a;
  box-shadow: 0 0 10px #22c55e;
}

.bot-banner-preview-card {
  margin: 3.5rem 0 2rem 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.4);
}

.bot-banner-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.bot-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 9999px;
  color: #6ee7b7;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pulse-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.bot-hero-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #c7d2fe 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bot-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.6;
  margin-bottom: 2.2rem;
}

.bot-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary-bot {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 2rem;
  background: linear-gradient(135deg, #5865f2 0%, #4338ca 100%);
  color: #fff;
  border-radius: var(--radius-md, 10px);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
  transition: all 0.25s ease;
}

.btn-primary-bot:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.6);
  color: #fff;
}

.btn-secondary-bot {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: var(--radius-md, 10px);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-secondary-bot:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  border-color: var(--secondary, #38bdf8);
  color: var(--secondary, #38bdf8);
}

/* Features Grid */
.bot-features-section {
  padding: 3rem 0;
}

.section-header-center {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.section-header-center h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-header-center p {
  color: var(--text-muted, #94a3b8);
  font-size: 1rem;
}

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

.feature-card {
  padding: 2.2rem 1.8rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 16px);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md, 10px);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--secondary, #38bdf8);
  margin-bottom: 1.4rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.6;
  margin: 0;
}

/* Legal Banner Section */
.bot-legal-banner-section {
  margin-top: 3rem;
}

.legal-banner-card {
  padding: 2.8rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg, 16px);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.badge-legal-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
}

.legal-banner-text h2 {
  font-size: 1.85rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.legal-banner-text p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.legal-banner-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-legal-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.6rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 10px);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-legal-card:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateX(5px);
}

.btn-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.btn-inner i {
  font-size: 1.6rem;
  color: var(--secondary, #38bdf8);
}

.btn-inner strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
}

.btn-inner small {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
  margin-top: 0.15rem;
}

.btn-legal-card > i {
  color: var(--text-muted, #94a3b8);
  transition: transform 0.2s;
}

.btn-legal-card:hover > i {
  color: #fff;
  transform: translateX(4px);
}

/* ========================================================= */
/* RESPONSIVE BREAKPOINTS FOR LEGAL & BOT                    */
/* ========================================================= */

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

  .legal-toc-sidebar {
    position: static;
  }

  .legal-banner-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .legal-page-container,
  .bot-portal-container {
    padding-top: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .legal-header-box {
    padding: 1.8rem 1.4rem;
  }

  .legal-main-title {
    font-size: 2rem;
  }

  .bot-hero-title {
    font-size: 2.3rem;
  }

  .legal-section {
    padding: 1.6rem 1.2rem;
  }

  .deletion-steps {
    grid-template-columns: 1fr;
  }

  .legal-contact-cards {
    grid-template-columns: 1fr;
  }

  .bot-cta-buttons {
    flex-direction: column;
  }

  .btn-primary-bot,
  .btn-secondary-bot {
    width: 100%;
    justify-content: center;
  }
}
