/* ═══════════════════════════════════════════════════════════════════════
   LIFEINVADER BOT — TANITIM SİTESİ
   Modern, dark-themed, glassmorphic showcase
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ─── CSS Variables ─── */
:root {
  /* LifeInvader Brand */
  --li-red: #C64D53;
  --li-red-glow: rgba(198, 77, 83, 0.4);
  --li-red-soft: rgba(198, 77, 83, 0.15);

  /* Discord-inspired palette */
  --dc-green: #43B581;
  --dc-red: #F04747;
  --dc-yellow: #FAA61A;
  --dc-blue: #5865F2;
  --dc-dark: #2B2D31;
  --dc-pink: #E91E63;
  --dc-purple: #9C27B0;
  --dc-teal: #3498DB;
  --dc-emerald: #2ECC71;

  /* Surfaces */
  --bg-primary: #0b0d12;
  --bg-secondary: #101318;
  --bg-card: rgba(18, 21, 28, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);
  --bg-embed: #2B2D31;
  --bg-embed-side: #C64D53;

  /* Text */
  --text-primary: #f2f3f5;
  --text-secondary: #b5bac1;
  --text-muted: #6d7681;
  --text-link: #00b0f4;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(198, 77, 83, 0.3);

  /* Spacing */
  --section-gap: 120px;
  --container-width: 1200px;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--li-red) var(--bg-secondary);
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--li-red); border-radius: 4px; }

a { color: var(--text-link); text-decoration: none; transition: color 0.2s; }
a:hover { color: #33bfff; }

img { max-width: 100%; height: auto; }

/* ─── Animated Background ─── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(198, 77, 83, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 77, 83, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.bg-glow--red {
  background: var(--li-red);
  top: -200px;
  left: -100px;
  animation: floatGlow 20s ease-in-out infinite;
}

.bg-glow--blue {
  background: var(--dc-blue);
  bottom: -200px;
  right: -100px;
  animation: floatGlow 25s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-40px, 60px) scale(0.9); }
}

/* ─── Container ─── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

.nav__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav__logo-text span {
  color: var(--li-red);
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--li-red);
  transition: width 0.3s var(--ease-out);
}

.nav__links a:hover { color: var(--text-primary); }
.nav__links a:hover::after { width: 100%; }

.nav__mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ─── Hero Section ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero__content {
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--li-red-soft);
  border: 1px solid rgba(198, 77, 83, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--li-red);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s var(--ease-out);
}

.hero__badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--li-red);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero__title .gradient-text {
  background: linear-gradient(135deg, var(--li-red), #e8787e, var(--dc-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--li-red);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: bounce 2s ease-in-out infinite;
}

.hero__scroll-hint .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

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

/* ─── Section Styling ─── */
.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--li-red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Feature Cards Grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--card-accent, var(--li-red)), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  background: var(--bg-glass-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: var(--li-red-soft);
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.feature-card__tag {
  padding: 3px 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ─── Discord Embed Mockups ─── */
.embed-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.embed-info {
  padding-top: 20px;
}

.embed-info__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.embed-info__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.embed-info__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.embed-info__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.embed-info__list li .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(67, 181, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--dc-green);
  flex-shrink: 0;
}

/* Discord Embed */
.dc-embed {
  background: var(--bg-embed);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  max-width: 520px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s var(--ease-out);
}

.dc-embed:hover {
  transform: scale(1.02);
}

.dc-embed__sidebar {
  width: 4px;
  flex-shrink: 0;
  background: var(--embed-color, var(--li-red));
}

.dc-embed__body {
  padding: 12px 16px;
  flex: 1;
  min-width: 0;
}

.dc-embed__author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dc-embed__author-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.dc-embed__author-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-link);
}

.dc-embed__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.dc-embed__description {
  font-size: 0.875rem;
  color: #dcddde;
  line-height: 1.5;
}

.dc-embed__description strong {
  color: var(--text-primary);
}

.dc-embed__description .quote {
  border-left: 3px solid var(--text-muted);
  padding-left: 10px;
  margin: 6px 0;
  color: var(--text-secondary);
}

.dc-embed__image {
  margin-top: 12px;
  border-radius: 6px;
  width: 100%;
  max-height: 250px;
  object-fit: cover;
}

.dc-embed__thumbnail {
  float: right;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  margin-left: 12px;
}

.dc-embed__footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dc-embed__footer-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

/* Discord Buttons */
.dc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.dc-btn {
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  border: none;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary);
  transition: filter 0.2s;
}

.dc-btn:hover { filter: brightness(1.15); }

.dc-btn--primary { background: var(--dc-blue); color: white; }
.dc-btn--danger { background: var(--dc-red); color: white; }
.dc-btn--success { background: var(--dc-green); color: white; }
.dc-btn--secondary { background: #4f545c; color: white; }
.dc-btn--link {
  background: transparent;
  color: var(--text-link);
  border: none;
  padding: 6px 8px;
}
.dc-btn--link::after {
  content: '↗';
  font-size: 0.65rem;
}

.dc-btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: none !important;
}

/* ─── Command Showcase ─── */
.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.command-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s var(--ease-out);
}

.command-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.command-card__name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--li-red);
  margin-bottom: 6px;
}

.command-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.command-card__scope {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 8px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ─── Notification Types Grid ─── */
.notif-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.notif-type {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.notif-type:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.notif-type__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.notif-type__name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.notif-type__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── Embed Gallery Carousel ─── */
.embed-gallery {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.embed-gallery__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.embed-gallery__item:nth-child(even) {
  direction: rtl;
}

.embed-gallery__item:nth-child(even) > * {
  direction: ltr;
}

.embed-gallery__text {
  padding: 0 12px;
}

.embed-gallery__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dc-yellow);
  margin-bottom: 12px;
}

.embed-gallery__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.embed-gallery__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ─── Privacy Section ─── */
.privacy-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.privacy-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.privacy-item:hover {
  border-color: var(--border-glow);
}

.privacy-item__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.privacy-item__toggle {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: var(--dc-green);
  position: relative;
  cursor: default;
  pointer-events: none;
}

.privacy-item__toggle::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  top: 2px;
  right: 2px;
  transition: all 0.2s;
}

.privacy-item__toggle--off {
  background: #72767d;
}

.privacy-item__toggle--off::after {
  right: auto;
  left: 2px;
}

/* ─── Workflow / How it Works ─── */
.workflow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.workflow::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--li-red), var(--dc-blue), transparent);
}

.workflow__step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.workflow__step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--li-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--li-red);
  flex-shrink: 0;
  z-index: 1;
}

.workflow__step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.workflow__step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0;
  text-align: center;
}

.footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer__logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer__text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__text span {
  color: var(--li-red);
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Floating Particles (CSS Only) ─── */
.particle {
  position: fixed;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--li-red);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation: float 15s linear infinite; }
.particle:nth-child(2) { top: 60%; left: 80%; animation: float 20s linear infinite reverse; }
.particle:nth-child(3) { top: 40%; left: 30%; animation: float 18s linear infinite; }
.particle:nth-child(4) { top: 80%; left: 60%; animation: float 22s linear infinite reverse; }
.particle:nth-child(5) { top: 10%; left: 70%; animation: float 17s linear infinite; }

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -40px) rotate(90deg); }
  50% { transform: translate(-20px, 20px) rotate(180deg); }
  75% { transform: translate(40px, 10px) rotate(270deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* ─── Section Divider ─── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), var(--li-red-soft), var(--border-subtle), transparent);
  margin: 0;
}

/* ─── Pairing Section ─── */
.pairing-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
}

.pairing-account {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  min-width: 180px;
  transition: transform 0.3s;
}

.pairing-account:hover { transform: scale(1.04); }

.pairing-account__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--li-red-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.pairing-account__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.pairing-account__type {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pairing-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pairing-link__line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--li-red), var(--dc-blue));
  position: relative;
}

.pairing-link__line::before,
.pairing-link__line::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: -3px;
}

.pairing-link__line::before {
  left: -4px;
  background: var(--li-red);
}

.pairing-link__line::after {
  right: -4px;
  background: var(--dc-blue);
}

.pairing-link__text {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Tab System for Embeds ─── */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.tabs__btn {
  padding: 10px 20px;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  font-family: var(--font-primary);
}

.tabs__btn:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.tabs__btn.active {
  color: var(--text-primary);
  background: var(--li-red);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeInUp 0.4s var(--ease-out);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__mobile-btn { display: block; }

  .embed-showcase,
  .embed-gallery__item,
  .embed-gallery__item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero__stats {
    flex-direction: column;
    gap: 24px;
  }

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

  .pairing-visual {
    flex-direction: column;
  }

  .pairing-link__line {
    width: 2px;
    height: 40px;
  }

  .pairing-link__line::before {
    top: -4px;
    left: -3px;
  }

  .pairing-link__line::after {
    top: auto;
    bottom: -4px;
    right: -3px;
  }

  .tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .tabs__btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

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

  :root {
    --section-gap: 80px;
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 1rem; }
  
  .dc-embed { max-width: 100%; }

  .section__title { font-size: 1.75rem; }
}

/* ══════════════════════════════════════════
   ADMIN MODAL & PANEL STYLES
   ══════════════════════════════════════════ */
.admin-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-modal__content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  animation: modalEnter 0.3s var(--ease-out);
}

@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.admin-modal__close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.admin-modal__close:hover {
  color: var(--li-red);
}

.admin-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
  border-left: 4px solid var(--li-red);
  padding-left: 12px;
}

.admin-form-group {
  margin-bottom: 20px;
}

.admin-form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.admin-form-group input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.admin-form-group input:focus {
  border-color: var(--li-red);
  outline: none;
}

.admin-form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.admin-btn {
  background: var(--li-red);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-family: var(--font-primary);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.admin-btn:hover {
  background: #b53c42;
  transform: translateY(-1px);
}

.admin-btn:active {
  transform: translateY(0);
}

.admin-btn--danger {
  background: var(--dc-red);
}

.admin-btn--danger:hover {
  background: #d83c3c;
}

.admin-error {
  color: var(--dc-red);
  margin-top: 12px;
  font-size: 0.9rem;
  background: rgba(240, 71, 71, 0.1);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(240, 71, 71, 0.2);
}

.admin-message {
  color: var(--dc-green);
  margin-top: 12px;
  font-size: 0.9rem;
  background: rgba(67, 181, 129, 0.1);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(67, 181, 129, 0.2);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.admin-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.admin-tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 16px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.admin-tab-btn:hover {
  color: var(--text-primary);
}

.admin-tab-btn.active {
  color: var(--li-red);
}

.admin-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--li-red);
}

.admin-tab-content {
  animation: fadeIn 0.3s ease;
}

.admin-logs-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
}

.admin-ips-list {
  border-right: 1px solid var(--border-subtle);
  padding-right: 16px;
  max-height: 50vh;
  overflow-y: auto;
}

.admin-ips-list h3 {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.admin-ips-list ul {
  list-style: none;
}

.admin-ip-item {
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-subtle);
}

.admin-ip-item:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
}

.admin-ip-item.active {
  background: var(--li-red-soft);
  border-color: var(--li-red);
  color: var(--text-primary);
}

.admin-ip-text {
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.admin-ip-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.admin-ip-details {
  max-height: 50vh;
  overflow-y: auto;
  padding-left: 8px;
}

.admin-ip-details h3 {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.placeholder-text {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

.detail-log-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.detail-log-header {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.detail-log-action {
  font-family: var(--font-mono);
  color: var(--text-primary);
  word-break: break-all;
}

.detail-log-footer {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}.admin-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-muted);
  padding: 6px 12px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

@media (max-width: 768px) {
  .admin-logs-container {
    grid-template-columns: 1fr;
  }
  .admin-ips-list {
    border-right: none;
    padding-right: 0;
    max-height: 200px;
  }
}
