/* ============================================================
   MIHULISH Bot Site — shared styles
   Matches the ro-mihaiu.xyz sakura-pink dark aesthetic
   ============================================================ */

:root {
  --deep-black: #090909;
  --charcoal: #121212;
  --sakura-pink: #ff8ac2;
  --blossom-pink: #ffc7de;
  --lantern: #ffb86b;
  --wood-brown: #4a2c1d;
  --stone-gray: #8c8c8c;
  --emerald: #59d98e;

  --border-soft: rgba(255, 255, 255, 0.1);
  --text-dim: #b3b3b3;
  --text-faint: #8c8c8c;
  --bg-card: rgba(0, 0, 0, 0.8);
  --bg-card-2: rgba(255, 255, 255, 0.04);

  --radius-xl: 2rem;
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 138, 194, 0.06), transparent 35%),
    linear-gradient(180deg, #080808 0%, #090909 45%, #050505 100%);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar (WebKit) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 138, 194, 0.45);
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 138, 194, 0.68);
}

/* ---- Layout helpers ---- */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  width: 100%;
}

main {
  padding-top: 7.5rem;
  padding-bottom: 5rem;
}

/* ---- Petal background ---- */
.petals {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.petal {
  position: absolute;
  top: -10%;
  border-radius: 55% 45% 55% 45%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 199, 222, 0.95), rgba(255, 138, 194, 0.18));
  box-shadow: 0 0 20px rgba(255, 138, 194, 0.18);
  filter: blur(0.2px);
  opacity: 0.85;
  animation-name: petal-drop, petal-sway;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-direction: normal, alternate;
  will-change: transform, opacity;
}

.petal:nth-child(1) { left: 6%;  width: 26px; height: 26px; animation-duration: 18s, 7s; }
.petal:nth-child(2) { left: 18%; width: 20px; height: 20px; animation-duration: 21s, 8s; animation-delay: -2.4s; }
.petal:nth-child(3) { left: 32%; width: 28px; height: 28px; animation-duration: 19s, 6s; animation-delay: -4.3s; }
.petal:nth-child(4) { left: 45%; width: 18px; height: 18px; animation-duration: 22s, 9s; animation-delay: -1.8s; }
.petal:nth-child(5) { left: 58%; width: 24px; height: 24px; animation-duration: 20s, 7s; animation-delay: -3.2s; }
.petal:nth-child(6) { left: 70%; width: 22px; height: 22px; animation-duration: 23s, 8s; animation-delay: -6.1s; }
.petal:nth-child(7) { left: 82%; width: 26px; height: 26px; animation-duration: 20s, 6s; animation-delay: -0.9s; }
.petal:nth-child(8) { left: 12%; width: 30px; height: 30px; animation-duration: 24s, 9s; animation-delay: -7.2s; }
.petal:nth-child(9) { left: 25%; width: 20px; height: 20px; animation-duration: 21s, 8s; animation-delay: -9.5s; }
.petal:nth-child(10) { left: 38%; width: 28px; height: 28px; animation-duration: 19s, 7s; animation-delay: -5.5s; }
.petal:nth-child(11) { left: 64%; width: 18px; height: 18px; animation-duration: 22s, 6s; animation-delay: -4.5s; }
.petal:nth-child(12) { left: 90%; width: 24px; height: 24px; animation-duration: 25s, 9s; animation-delay: -8.8s; }

@keyframes petal-drop {
  0%   { transform: translateY(-16vh) translateX(0) rotate(0deg); opacity: 0.9; }
  25%  { opacity: 1; }
  55%  { opacity: 0.8; }
  100% { transform: translateY(112vh) translateX(18vw) rotate(360deg); opacity: 0.1; }
}

@keyframes petal-sway {
  0%   { transform: translateX(0) rotate(0deg); }
  50%  { transform: translateX(18px) rotate(8deg); }
  100% { transform: translateX(-12px) rotate(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .petal { animation: none; opacity: 0.35; }
}

/* ---- Header / Nav ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, rgba(255, 138, 194, 0.18), rgba(255, 138, 194, 0.05));
  border: 1px solid rgba(255, 138, 194, 0.3);
  color: var(--blossom-pink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  color: #000;
  background: var(--sakura-pink);
}

.nav-links .sep {
  color: rgba(255, 255, 255, 0.2);
  padding: 0;
}

/* ---- Hero / Page title ---- */
.hero {
  position: relative;
  text-align: center;
  padding: 2rem 0 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 138, 194, 0.8);
  margin: 0 0 0.9rem;
}

h1.page-title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 46rem;
  margin: 1.1rem auto 0;
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.7;
}

.lead a {
  color: var(--sakura-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.card + .card {
  margin-top: 1.5rem;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.card-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.card-header .count {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* ---- Command tables ---- */
.cmd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cmd-table thead th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-soft);
}

.cmd-table tbody td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  color: var(--text-dim);
  line-height: 1.55;
}

.cmd-table tbody tr:last-child td {
  border-bottom: none;
}

.cmd-table tbody tr:hover td {
  background: rgba(255, 138, 194, 0.03);
}

.cmd-name {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 0.28rem 0.55rem;
  white-space: nowrap;
  display: inline-block;
}

.arg {
  color: var(--lantern);
  font-style: italic;
  font-family: inherit;
}

/* Access badge */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.24rem 0.6rem;
  border-radius: 9999px;
  white-space: nowrap;
  line-height: 1.4;
}

.badge-staff {
  color: var(--blossom-pink);
  background: rgba(255, 138, 194, 0.14);
  border: 1px solid rgba(255, 138, 194, 0.4);
}

.badge-everyone {
  color: #c9c9c9;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Examples */
.examples {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.example {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: #d7d7d7;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--sakura-pink);
  border-radius: 0.5rem;
  padding: 0.4rem 0.7rem;
  overflow-x: auto;
  white-space: nowrap;
}

.example .prompt {
  color: var(--emerald);
  font-weight: 600;
}

.example .slash {
  color: var(--lantern);
}

/* ---- Notes / callouts ---- */
.note {
  display: flex;
  gap: 0.75rem;
  background: rgba(255, 138, 194, 0.06);
  border: 1px solid rgba(255, 138, 194, 0.25);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1.5rem;
}

.note strong {
  color: var(--blossom-pink);
}

.note .note-emoji {
  font-size: 1.2rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.quote {
  background: rgba(255, 138, 194, 0.06);
  border: 1px solid rgba(255, 138, 194, 0.25);
  border-left: 4px solid var(--sakura-pink);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.7;
}

.quote p {
  margin: 0;
}

/* ---- Feature / info lists ---- */
.section-block {
  margin-top: 2.2rem;
}

.section-block h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.7rem;
  color: #fff;
}

.section-block p {
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0.4rem 0;
}

.section-block ul {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.section-block li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.section-block li::before {
  content: "🌸";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.9rem;
}

.section-block li strong {
  color: #fff;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* ---- Prose links ---- */
.prose-link {
  color: var(--sakura-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.prose-link:hover {
  color: var(--blossom-pink);
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.7);
  padding: 3rem 0;
  margin-top: 3rem;
  z-index: 1;
  position: relative;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 900;
}

.footer-brand p {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 22rem;
}

.footer-col h5 {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 138, 194, 0.8);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  main {
    padding-top: 6.5rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .card {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }

  /* Convert command tables to stacked cards on phones */
  .cmd-table thead {
    display: none;
  }

  .cmd-table,
  .cmd-table tbody,
  .cmd-table tr,
  .cmd-table td {
    display: block;
    width: 100%;
  }

  .cmd-table tbody tr {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.9rem;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.8rem;
  }

  .cmd-table tbody tr:hover td {
    background: transparent;
  }

  .cmd-table tbody td {
    border-bottom: none;
    padding: 0.3rem 0;
  }

  .cmd-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 0.15rem;
  }

  .cmd-table tbody td:first-child::before {
    display: none;
  }

  .cmd-name {
    white-space: normal;
    word-break: break-word;
  }
}

@media (max-width: 420px) {
  .nav-links {
    gap: 0.15rem;
  }

  .nav-links a {
    padding: 0.35rem 0.6rem;
    font-size: 0.82rem;
  }
}

