/* ==========================================================================
   Ninneta.cc — Menu de Restaurant & Carte Officielle
   Thème Violet Mystique, Épuré & Authentique
   Avec Talismans d'Arrière-Plan (Œil Bleu & Main de Protection)
   ========================================================================== */

:root {
  --bg-black: #06020c;
  --bg-board: rgba(18, 8, 36, 0.88);
  --bg-item: rgba(28, 12, 56, 0.55);
  --bg-item-hover: rgba(40, 18, 80, 0.8);

  --purple-glow: rgba(168, 85, 247, 0.35);
  --purple-light: #d8b4fe;
  --purple-main: #a855f7;
  --purple-vibrant: #9333ea;
  --purple-deep: #4c1d95;
  --neon-magenta: #e879f9;

  --tg-blue: #229ED9;
  --tg-blue-hover: #1b86ba;
  
  --gold-accent: #fbbf24;
  --green-return: #4ade80;

  --text-white: #ffffff;
  --text-dim: #94a3b8;
  --text-soft: #cbd5e1;

  --border-subtle: rgba(168, 85, 247, 0.2);
  --border-strong: rgba(192, 132, 252, 0.42);

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding: 2.5rem 1rem;
}

/* Ambient Backdrops */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, #7e22ce 0%, #3b0764 70%, transparent 100%);
  opacity: 0.5;
}

.glow-middle {
  top: 45%;
  left: -200px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #9333ea 0%, #4c1d95 60%, transparent 100%);
  opacity: 0.35;
}

.glow-bottom {
  bottom: -150px;
  right: 10%;
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, #6b21a8 0%, #2e1065 70%, transparent 100%);
  opacity: 0.4;
}

/* ==========================================================================
   Background Talismans (Œil Bleu & Main de Protection)
   ========================================================================== */

.bg-talismans {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.talisman {
  position: absolute;
  filter: drop-shadow(0 0 25px rgba(147, 51, 234, 0.45));
  animation: floatSlow 8s ease-in-out infinite alternate;
}

/* Eye Talisman Instances */
.eye-1 {
  top: 80px;
  left: 4%;
  width: 110px;
  height: 110px;
  opacity: 0.32;
  animation-duration: 9s;
}

.eye-2 {
  top: 50%;
  right: 3%;
  width: 130px;
  height: 130px;
  opacity: 0.28;
  animation-duration: 11s;
  animation-delay: -3s;
}

.eye-3 {
  bottom: 80px;
  left: 6%;
  width: 100px;
  height: 100px;
  opacity: 0.3;
  animation-duration: 10s;
  animation-delay: -5s;
}

.eye-center {
  top: 32%;
  left: 12%;
  width: 80px;
  height: 80px;
  opacity: 0.18;
  animation-duration: 13s;
}

.eye-4 {
  bottom: 120px;
  right: 5%;
  width: 120px;
  height: 120px;
  opacity: 0.28;
  animation-duration: 12s;
  animation-delay: -4s;
}

@keyframes floatSlow {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-16px) rotate(2deg) scale(1.03);
  }
  100% {
    transform: translateY(-28px) rotate(-2deg) scale(0.98);
  }
}

/* ==========================================================================
   Menu Page Board (Like a Luxury Restaurant Menu)
   ========================================================================== */

.menu-page-wrapper {
  width: 100%;
  max-width: 980px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.menu-board {
  background: var(--bg-board);
  border: 1px solid var(--border-subtle);
  outline: 1px solid rgba(168, 85, 247, 0.12);
  outline-offset: 6px;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3.5rem 3rem;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 60px rgba(147, 51, 234, 0.2);
}

/* Menu Header */
.menu-header {
  text-align: center;
  margin-bottom: 3.2rem;
}

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

.menu-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--purple-light);
}

.dot-live {
  width: 7px;
  height: 7px;
  background-color: var(--green-return);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-return);
}

.header-quick-links {
  display: flex;
  gap: 0.75rem;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.canal-link {
  background: rgba(34, 158, 217, 0.15);
  border: 1px solid rgba(34, 158, 217, 0.4);
  color: #7dd3fc;
}

.canal-link:hover {
  background: var(--tg-blue);
  color: #fff;
  box-shadow: 0 0 12px rgba(34, 158, 217, 0.5);
}

.contact-link {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--border-strong);
  color: var(--purple-light);
}

.contact-link:hover {
  background: var(--purple-main);
  color: #fff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.45);
}

.brand-title .domain {
  color: var(--purple-main);
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.75);
}

.menu-subtitle {
  font-size: 0.88rem;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.5rem;
}

.menu-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 1.75rem auto 0;
  max-width: 460px;
}

.menu-divider.compact {
  margin: 3rem auto 2.5rem;
  max-width: 320px;
}

.divider-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.divider-gem {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

/* Sections */
.menu-section {
  margin-bottom: 2rem;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 2rem;
}

.section-category {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 2.5px;
  color: var(--purple-main);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
}

/* ==========================================================================
   Menu Items (Restaurant Style Dishes with Dotted Lines)
   ========================================================================== */

.menu-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.menu-item {
  background: var(--bg-item);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.6rem;
  transition: var(--transition);
}

.menu-item:hover {
  background: var(--bg-item-hover);
  border-color: var(--border-strong);
  transform: translateX(4px);
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.2);
}

.menu-item.popular {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(38, 16, 75, 0.65);
}

.menu-item.popular:hover {
  border-color: var(--gold-accent);
  box-shadow: 0 6px 30px rgba(251, 191, 36, 0.25);
}

.menu-item.infinite {
  border-color: rgba(232, 121, 249, 0.4);
  background: rgba(35, 14, 70, 0.65);
}

.menu-item.infinite:hover {
  border-color: var(--neon-magenta);
}

.item-main-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.item-name-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.item-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
}

.item-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple-light);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.item-tag.tag-gold {
  background: rgba(251, 191, 36, 0.15);
  color: var(--gold-accent);
  border-color: rgba(251, 191, 36, 0.4);
}

.item-tag.tag-purple {
  background: rgba(232, 121, 249, 0.15);
  color: var(--neon-magenta);
  border-color: rgba(232, 121, 249, 0.4);
}

/* Dotted Line Connection */
.item-dots {
  flex-grow: 1;
  border-bottom: 2px dotted rgba(168, 85, 247, 0.25);
  margin-bottom: 4px;
}

.item-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-shrink: 0;
}

.price-deposit {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.price-arrow {
  color: var(--purple-main);
  font-size: 0.85rem;
}

.price-return {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-return);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.35);
}

.price-return.highlight-gold {
  color: var(--gold-accent);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
}

.price-return.highlight-purple {
  color: var(--neon-magenta);
  text-shadow: 0 0 10px rgba(232, 121, 249, 0.35);
}

.item-description-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.item-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.item-desc strong {
  color: var(--text-soft);
}

/* Order Button Direct to Telegram */
.order-trigger-btn {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--border-strong);
  color: var(--purple-light);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.order-trigger-btn:hover {
  background: var(--purple-main);
  color: #fff;
  border-color: var(--purple-main);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.5);
  transform: translateY(-1px);
}

.order-trigger-btn.btn-gold:hover {
  background: var(--gold-accent);
  color: #000;
  border-color: var(--gold-accent);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.5);
}

.order-trigger-btn.btn-purple:hover {
  background: var(--neon-magenta);
  color: #000;
  border-color: var(--neon-magenta);
}

/* ==========================================================================
   Payment Methods & Authentic SVG Logos
   ========================================================================== */

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

.payment-box {
  background: var(--bg-item);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.payment-box:hover {
  border-color: var(--border-strong);
  background: var(--bg-item-hover);
}

.payment-logo-container {
  margin-bottom: 1.25rem;
  min-height: 55px;
  display: flex;
  align-items: center;
}

.payment-logo-container.multi-logos {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.brand-logo-svg {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45));
  transition: var(--transition);
}

.brand-logo-svg:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(168, 85, 247, 0.3));
}

.payment-method-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.payment-method-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.payment-method-desc strong {
  color: var(--text-soft);
}

.payment-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-pill {
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-soft);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Telegram Hub Section (Canal, Contact & QR Code)
   ========================================================================== */

.telegram-hub-section {
  margin-top: 1.5rem;
}

.telegram-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 1.25rem;
  align-items: stretch;
}

.tg-action-card {
  background: var(--bg-item);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.tg-action-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-item-hover);
  transform: translateY(-3px);
}

.tg-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(34, 158, 217, 0.15);
  color: var(--tg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.tg-card-icon.icon-purple {
  background: rgba(168, 85, 247, 0.18);
  color: var(--purple-light);
}

.tg-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(34, 158, 217, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(34, 158, 217, 0.3);
  margin-bottom: 0.6rem;
  width: fit-content;
}

.tg-badge.badge-purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple-light);
  border-color: rgba(168, 85, 247, 0.3);
}

.tg-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.tg-card-desc {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.btn-tg-action {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  margin-bottom: 0.75rem;
}

.btn-join-canal {
  background: var(--tg-blue);
  color: #fff;
  box-shadow: 0 4px 18px rgba(34, 158, 217, 0.4);
}

.btn-join-canal:hover {
  background: var(--tg-blue-hover);
  box-shadow: 0 6px 22px rgba(34, 158, 217, 0.6);
}

.btn-send-order {
  background: var(--purple-main);
  color: #fff;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.4);
}

.btn-send-order:hover {
  background: var(--purple-vibrant);
  box-shadow: 0 6px 22px rgba(168, 85, 247, 0.6);
}

.tg-card-link-preview {
  font-size: 0.76rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* QR Code Card */
.qr-card {
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: rgba(22, 10, 44, 0.75);
}

.qr-wrapper {
  position: relative;
  width: 135px;
  height: 135px;
  background: #0d061a;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
  margin-bottom: 1rem;
}

.qr-image {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: var(--tg-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 2px solid #0d061a;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
}

.qr-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--purple-light);
  margin-bottom: 0.3rem;
}

.qr-instruction {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.qr-switch-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.btn-qr-switch {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-qr-switch:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.2);
}

.btn-qr-switch.active {
  background: rgba(147, 51, 234, 0.35);
  border-color: var(--purple-light);
  color: #fff;
}

/* Footer */
.menu-footer {
  margin-top: 3rem;
  text-align: center;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  margin-bottom: 1.5rem;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .telegram-hub-grid {
    grid-template-columns: 1fr;
  }
  .qr-wrapper {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .menu-board {
    padding: 2rem 1.35rem;
  }
  .header-top-nav {
    flex-direction: column;
    align-items: center;
  }
  .brand-title {
    font-size: 2.3rem;
  }
  .item-main-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .item-dots {
    display: none;
  }
  .item-description-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.4rem;
  }
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
  .talisman {
    opacity: 0.16;
  }
}
