:root {
  --bg-ivory: #fbf8f3;
  --bg-cream: #f4ede2;
  --bg-card: rgba(255, 252, 247, 0.9);
  --gold-light: #e6cfa3;
  --gold-primary: #c59b57;
  --gold-dark: #9a7132;
  --gold-deep: #6e4e1e;
  --text-dark: #2c241d;
  --text-body: #54473c;
  --text-muted: #877666;
  --olive-accent: #5d6b56;
  --burgundy-accent: #7a3b44;
  --success: #24754d;
  --danger: #b84242;
  --warning: #b86f14;
  --shadow-soft: 0 14px 38px rgba(110, 78, 30, 0.09);
  --shadow-gold: 0 10px 30px rgba(197, 155, 87, 0.25);
  --radius-lg: 24px;
  --radius-md: 16px;
  --font-script: 'Great Vibes', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
}

html {
  scroll-behavior: smooth;
  background-color: #ece3d5;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: radial-gradient(circle at 50% 0%, #fdfbf7 0%, #f3eadc 60%, #e9decb 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

body.locked {
  overflow: hidden;
  height: 100vh;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #8c6223, #e6cfa3, #c59b57);
  z-index: 95;
  box-shadow: 0 0 10px rgba(197, 155, 87, 0.7);
  transition: width 0.1s linear;
}

/* Subtle paper texture overlay */
.paper-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image: radial-gradient(rgba(197, 155, 87, 0.12) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Floating golden particles & rose petals canvas */
#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

/* Mobile-First Container (Centered luxury phone frame on desktop) */
.mobile-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #fdfbf7 0%, #f7f0e4 50%, #fdfaf5 100%);
  box-shadow: 0 0 65px rgba(60, 42, 18, 0.16);
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-left: 1px solid rgba(197, 155, 87, 0.22);
  border-right: 1px solid rgba(197, 155, 87, 0.22);
}

/* Golden light sweep animation on cards */
.sheen-card {
  position: relative;
  overflow: hidden;
}

.sheen-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 65%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 248, 231, 0.55),
    transparent
  );
  transform: rotate(25deg);
  animation: cardSheenSweep 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cardSheenSweep {
  0%, 70% { left: -120%; }
  100% { left: 160%; }
}

/* =====================================================
   ENVELOPE INTRO OVERLAY (MÜHÜRLÜ ZARF AÇILIŞI)
   ===================================================== */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #2b2119 0%, #150f0a 100%);
  padding: 24px;
  transition: opacity 0.95s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.95s;
}

.envelope-overlay.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-ambient-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 155, 87, 0.32) 0%, transparent 70%);
  filter: blur(25px);
  animation: pulseGlow 4s ease-in-out infinite;
}

.envelope-rings-bg {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px dashed rgba(230, 207, 163, 0.14);
  animation: spinSlow 38s linear infinite;
  pointer-events: none;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.18); opacity: 1; }
}

.envelope-header-text {
  text-align: center;
  color: var(--gold-light);
  margin-bottom: 28px;
  z-index: 2;
  animation: fadeDown 1s ease forwards;
}

.envelope-header-text .pre-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(230, 207, 163, 0.8);
  margin-bottom: 8px;
}

.envelope-header-text h1 {
  font-family: var(--font-script);
  font-size: 3.2rem;
  font-weight: 400;
  background: linear-gradient(135deg, #fff6e5 0%, #e2bf81 50%, #b98b42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.envelope-subtitle {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: rgba(230, 207, 163, 0.85);
  margin-top: 4px;
}

.envelope-stage {
  position: relative;
  width: min(340px, 88vw);
  height: 235px;
  perspective: 1200px;
  z-index: 2;
  cursor: pointer;
}

.envelope-box {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #f5ece0, #e6d7c3);
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(197, 155, 87, 0.45);
  overflow: visible;
}

/* Inner card that rises when envelope opens */
.envelope-letter {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 12px;
  bottom: 12px;
  background: #fffdf9;
  border-radius: 10px;
  border: 1px solid rgba(197, 155, 87, 0.5);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  z-index: 2;
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s;
}

.envelope-letter .letter-monogram {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.envelope-letter .letter-names {
  font-family: var(--font-script);
  font-size: 2.15rem;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 6px;
}

.envelope-letter .letter-date {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Envelope front folds */
.envelope-pocket {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: 14px;
  overflow: hidden;
}

.envelope-pocket::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, transparent 48%, #eadbc7 49%, #dfccb3 100%);
}

.envelope-pocket::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(-165deg, transparent 48%, #efe3d3 49%, #e4d3bc 100%);
  clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%);
}

.envelope-bottom-fold {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(0deg, #f3e8d9 0%, #e7d6c0 100%);
  clip-path: polygon(0 100%, 50% 46%, 100% 100%);
  border-radius: 0 0 14px 14px;
  filter: drop-shadow(0 -3px 8px rgba(84, 58, 24, 0.12));
}

/* Top Flap */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 62%;
  background: linear-gradient(180deg, #f7efe3 0%, #e5d3bc 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  z-index: 5;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 14px 14px 0 0;
  filter: drop-shadow(0 6px 10px rgba(58, 39, 14, 0.18));
}

/* Gold Wax Seal */
.wax-seal-btn {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at 32% 28%, #f2d59b 0%, #c89b52 45%, #8f6220 85%, #694410 100%);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.45),
    inset 0 2px 4px rgba(255, 255, 255, 0.55),
    inset 0 -4px 8px rgba(68, 41, 7, 0.65),
    0 0 0 4px rgba(197, 155, 87, 0.25);
  z-index: 6;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s ease, opacity 0.4s ease;
  animation: sealPulse 2.4s infinite ease-in-out;
}

.wax-seal-btn::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 245, 224, 0.65);
}

.wax-seal-monogram {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff8ea;
  text-shadow: 0 1px 3px rgba(66, 40, 8, 0.75);
  letter-spacing: 0.04em;
}

@keyframes sealPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(230, 207, 163, 0.55);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.07);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 0 16px rgba(230, 207, 163, 0);
  }
}

/* Opening animation state */
.envelope-stage.opening .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
}

.envelope-stage.opening .wax-seal-btn {
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
}

.envelope-stage.opening .envelope-letter {
  transform: translateY(-98px) scale(1.04);
  z-index: 6;
}

.envelope-cta {
  margin-top: 34px;
  text-align: center;
  color: rgba(245, 233, 211, 0.9);
  z-index: 2;
}

.envelope-cta .tap-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(197, 155, 87, 0.16);
  border: 1px solid rgba(230, 207, 163, 0.38);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.tap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: blinkDot 1.4s infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.25); }
}

/* =====================================================
   FLOATING AUDIO BUTTON
   ===================================================== */
.music-toggle {
  position: fixed;
  top: 18px;
  right: max(18px, calc(50vw - 222px));
  z-index: 45;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(197, 155, 87, 0.5);
  background: rgba(255, 251, 244, 0.9);
  backdrop-filter: blur(10px);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.music-bars span {
  width: 2.5px;
  background: var(--gold-dark);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.music-toggle.playing .music-bars span:nth-child(1) { animation: eqBar 0.8s ease-in-out infinite; }
.music-toggle.playing .music-bars span:nth-child(2) { animation: eqBar 0.8s ease-in-out 0.2s infinite; }
.music-toggle.playing .music-bars span:nth-child(3) { animation: eqBar 0.8s ease-in-out 0.4s infinite; }
.music-toggle.playing .music-bars span:nth-child(4) { animation: eqBar 0.8s ease-in-out 0.15s infinite; }

@keyframes eqBar {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

/* =====================================================
   HERO SECTION & ANIMATED WEDDING RINGS
   ===================================================== */
.hero-section {
  position: relative;
  padding: 46px 22px 32px;
  text-align: center;
  overflow: hidden;
}

.arch-frame {
  position: relative;
  border: 1.5px solid rgba(197, 155, 87, 0.5);
  border-radius: 220px 220px 28px 28px;
  padding: 44px 20px 34px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.95) 0%, rgba(249, 242, 230, 0.82) 100%);
  box-shadow: var(--shadow-soft), inset 0 0 0 6px rgba(255, 252, 246, 0.85), inset 0 0 0 7px rgba(197, 155, 87, 0.28);
}

.rings-ornament-wrap {
  width: 110px;
  height: 64px;
  margin: 0 auto 10px;
}

.animated-rings-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ring-path {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: drawRing 2.6s ease-out 0.4s forwards;
}

.ring-right {
  animation-delay: 0.75s;
}

@keyframes drawRing {
  to { stroke-dashoffset: 0; }
}

.diamond-sparkle {
  transform-origin: 60px 15px;
  animation: diamondTwinkle 2.5s ease-in-out infinite;
}

@keyframes diamondTwinkle {
  0%, 100% { transform: scale(0.85) rotate(0deg); opacity: 0.75; }
  50% { transform: scale(1.25) rotate(18deg); opacity: 1; }
}

.hero-tag {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.couple-names {
  font-family: var(--font-script);
  font-size: clamp(3.4rem, 12.5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.06;
  background: linear-gradient(135deg, #5e4119 0%, #b58942 35%, #e6c47e 50%, #9b6f2b 70%, #5a3d16 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerGold 5s linear infinite;
  margin: 4px 0 14px;
  padding: 4px 0;
}

.couple-amp {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--gold-primary);
  -webkit-text-fill-color: var(--gold-primary);
  margin: 2px 0;
}

@keyframes shimmerGold {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: 1.13rem;
  font-style: italic;
  color: var(--text-body);
  max-width: 335px;
  margin: 0 auto 22px;
  line-height: 1.55;
}

.hero-date-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 30px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(197, 155, 87, 0.16), rgba(197, 155, 87, 0.05));
  border: 1px solid rgba(197, 155, 87, 0.45);
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(197, 155, 87, 0.12);
}

.hero-date-main {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
}

.hero-date-sub {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

.hero-venue-mini {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-body);
  margin-top: 4px;
}

.scroll-hint {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-chevron {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* =====================================================
   SECTION COMMON STYLES
   ===================================================== */
.section-block {
  padding: 18px 22px;
  position: relative;
}

.section-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 155, 87, 0.38);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  position: relative;
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.section-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.2;
}

.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px auto 16px;
  color: var(--gold-primary);
}

.ornament-divider::before,
.ornament-divider::after {
  content: '';
  height: 1px;
  width: 55px;
  background: linear-gradient(90deg, transparent, rgba(197, 155, 87, 0.65), transparent);
}

/* =====================================================
   FAMILIES SECTION (AİLELERİMİZ)
   ===================================================== */
.families-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.family-box {
  padding: 18px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 239, 226, 0.65));
  border: 1px solid rgba(197, 155, 87, 0.34);
  position: relative;
  transition: transform 0.3s ease;
}

.family-corner-ornament {
  position: absolute;
  top: 8px;
  right: 12px;
  color: rgba(197, 155, 87, 0.45);
  font-size: 1.1rem;
}

.family-heart-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin: -2px 0;
  animation: heartBeat 2.4s infinite ease-in-out;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}

.family-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 5px;
}

.family-parents {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--text-dark);
}

.family-surname {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 3px;
}

.family-invite-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.06rem;
  color: var(--text-body);
  margin-top: 16px;
}

/* =====================================================
   LIVE COUNTDOWN SECTION & 18:00 START BANNER
   ===================================================== */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0 18px;
}

.countdown-item {
  background: linear-gradient(160deg, #fffdf9 0%, #f5ebd9 100%);
  border: 1px solid rgba(197, 155, 87, 0.45);
  border-radius: 16px;
  padding: 14px 6px;
  box-shadow: 0 6px 16px rgba(110, 78, 30, 0.07);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.countdown-item.tick-pulse {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(197, 155, 87, 0.28);
}

.countdown-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-deep);
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}

.wedding-start-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(197, 155, 87, 0.15), rgba(197, 155, 87, 0.05));
  border: 1px solid rgba(197, 155, 87, 0.38);
  margin-bottom: 16px;
}

.start-time-badge {
  background: var(--gold-dark);
  color: #fffdf9;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 6px 12px;
  border-radius: 10px;
  white-space: nowrap;
}

.start-time-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  line-height: 1.3;
}

.start-time-text strong {
  color: var(--text-dark);
  font-size: 0.9rem;
}

.start-time-text span {
  color: var(--text-muted);
}

.calendar-actions-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 14px;
  border: 1.5px solid rgba(197, 155, 87, 0.65);
  background: linear-gradient(135deg, #fffdf9 0%, #f5ebd8 100%);
  color: var(--gold-deep);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(197, 155, 87, 0.16);
  transition: all 0.25s ease;
}

.calendar-btn:active {
  transform: scale(0.97);
}

.calendar-sub-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 8px;
}

/* =====================================================
   VENUE & LOCATION SECTION (MEKAN & KONUM)
   ===================================================== */
.venue-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, rgba(197, 155, 87, 0.22), rgba(197, 155, 87, 0.06));
  border: 1px solid rgba(197, 155, 87, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}

.venue-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.venue-datetime {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 18px;
}

.venue-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(197, 155, 87, 0.13);
  border: 1px solid rgba(197, 155, 87, 0.34);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-dark);
}

.map-visual-card {
  display: block;
  text-decoration: none;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(197, 155, 87, 0.5);
  background: linear-gradient(135deg, #efe5d4 0%, #e4d4bc 100%);
  padding: 24px 16px 18px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-visual-card:hover {
  box-shadow: 0 8px 24px rgba(154, 113, 50, 0.22);
}

.map-visual-card:active {
  transform: scale(0.98);
}

.map-card-tap-hint {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.85);
  border: 1px solid rgba(197, 155, 87, 0.45);
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 700;
}

.map-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(to right, #b5925b 1px, transparent 1px),
    linear-gradient(to bottom, #b5925b 1px, transparent 1px);
  background-size: 28px 28px;
}

.map-radar-ring {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold-dark);
  transform: translate(-50%, -50%);
  animation: radarRipple 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes radarRipple {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.85; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

.map-pin-Bounce {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--gold-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(154, 113, 50, 0.45);
  animation: pinFloat 2.2s ease-in-out infinite;
}

@keyframes pinFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.map-visual-text {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: var(--text-body);
  font-weight: 600;
}

.btn-gold-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 22px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #cfa661 0%, #a97c38 50%, #8c6223 100%);
  color: #fffdf9;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-gold-primary:hover {
  filter: brightness(1.06);
}

.btn-gold-primary:active {
  transform: scale(0.98);
}

/* =====================================================
   SPECIAL NOTE CARD (2 KİŞİLİKTİR & ÇOCUKLARA İYİ UYKULAR)
   ===================================================== */
.sweet-dreams-card {
  background: linear-gradient(135deg, #241b13 0%, #3d2f22 100%);
  color: #fbf5ea;
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  border: 1px solid rgba(230, 207, 163, 0.45);
  box-shadow: 0 14px 34px rgba(43, 34, 25, 0.24);
  position: relative;
  overflow: hidden;
  user-select: none;
  cursor: pointer;
}

.sweet-dreams-card .stars-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(#f5deb3 1.3px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none;
}

.floating-clouds {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  opacity: 0.8;
  margin-bottom: 6px;
  animation: floatLeftRight 4s ease-in-out infinite;
}

@keyframes floatLeftRight {
  0%, 100% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
}

.moon-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(230, 207, 163, 0.16);
  border: 1px solid rgba(230, 207, 163, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.sweet-dreams-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.sweet-dreams-sub {
  font-size: 0.93rem;
  color: rgba(251, 245, 234, 0.9);
}

/* =====================================================
   RSVP / KATILIM BİLDİRİMİ BÖLÜMÜ (POCKETBASE)
   ===================================================== */
.rsvp-highlight-card {
  border: 2px solid rgba(197, 155, 87, 0.58);
  background: linear-gradient(180deg, #fffdf9 0%, #f9f2e5 100%);
  box-shadow: 0 18px 42px rgba(110, 78, 30, 0.14);
}

.rsvp-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(197, 155, 87, 0.22), rgba(197, 155, 87, 0.08));
  border: 1px solid rgba(197, 155, 87, 0.45);
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.rsvp-lead-text {
  font-size: 0.87rem;
  color: var(--text-body);
  margin-bottom: 16px;
}

.rsvp-form {
  text-align: left;
  margin-top: 10px;
}

.step-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.max-two-hint {
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--text-muted);
}

.attendance-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.attendance-option {
  position: relative;
}

.attendance-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.attendance-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 15px 10px;
  border-radius: 14px;
  border: 1.5px solid rgba(197, 155, 87, 0.35);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: all 0.22s ease;
}

.attendance-emoji {
  font-size: 1.5rem;
}

.attendance-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.attendance-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.attendance-option input:checked + .attendance-tile {
  border-color: var(--gold-dark);
  border-width: 2px;
  background: linear-gradient(145deg, rgba(197, 155, 87, 0.22), rgba(197, 155, 87, 0.06));
  box-shadow: 0 6px 18px rgba(197, 155, 87, 0.24);
  transform: translateY(-2px);
}

/* 1 Kişi / 2 Kişi Hızlı Seçici */
.person-count-step {
  margin-bottom: 16px;
  transition: all 0.25s ease;
}

.person-count-Grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.person-count-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 13px;
  border: 1.5px solid rgba(197, 155, 87, 0.35);
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.person-count-btn .pc-icon {
  font-size: 1.35rem;
}

.person-count-btn .pc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.person-count-btn .pc-text strong {
  font-size: 0.85rem;
  color: var(--text-dark);
}

.person-count-btn .pc-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.person-count-btn.active {
  border-color: var(--gold-dark);
  border-width: 2px;
  background: linear-gradient(145deg, rgba(197, 155, 87, 0.2), rgba(197, 155, 87, 0.05));
  box-shadow: 0 5px 15px rgba(197, 155, 87, 0.2);
}

.copy-surname-chip {
  border: 1px solid rgba(197, 155, 87, 0.5);
  background: rgba(197, 155, 87, 0.14);
  color: var(--gold-deep);
  font-size: 0.69rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
}

.copy-surname-chip:active {
  transform: scale(0.95);
}

/* Tek Dokunuş Hazır Tebrik Butonları */
.quick-wish-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.wish-chip {
  border: 1px solid rgba(197, 155, 87, 0.45);
  background: #fff;
  color: var(--text-body);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.wish-chip:hover,
.wish-chip.selected {
  background: var(--gold-primary);
  color: #fff;
  border-color: var(--gold-dark);
}

.btn-submit-large {
  padding: 17px 22px;
  font-size: 1.02rem;
  font-weight: 700;
  margin-top: 6px;
  box-shadow: 0 10px 26px rgba(154, 113, 50, 0.35);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.badge-optional {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold-dark);
  background: rgba(197, 155, 87, 0.15);
  padding: 2px 8px;
  border-radius: 999px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(197, 155, 87, 0.42);
  background: #fffdf9;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(197, 155, 87, 0.2);
}

.form-textarea {
  min-height: 88px;
  resize: vertical;
}

.guest-count-helper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(197, 155, 87, 0.1);
  border: 1px dashed rgba(197, 155, 87, 0.45);
  font-size: 0.78rem;
  color: var(--text-body);
  margin-bottom: 14px;
}

.rsvp-success-box {
  padding: 24px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(47, 125, 87, 0.1), rgba(197, 155, 87, 0.12));
  border: 1px solid rgba(47, 125, 87, 0.35);
  text-align: center;
}

.rsvp-success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.5rem;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--gold-primary);
  background: transparent;
  color: var(--gold-deep);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.form-status-msg {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 500;
  text-align: center;
  display: none;
}

.form-status-msg.error {
  display: block;
  background: rgba(184, 66, 66, 0.1);
  border: 1px solid rgba(184, 66, 66, 0.35);
  color: var(--danger);
}

/* =====================================================
   FOOTER & FLOATING BOTTOM NAVIGATION BAR
   ===================================================== */
.invitation-footer {
  padding: 30px 24px 98px;
  text-align: center;
  user-select: none;
}

.footer-monogram {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--gold-dark);
  cursor: pointer;
  display: inline-block;
  padding: 6px 18px;
  transition: transform 0.15s ease;
}

.footer-monogram:active {
  transform: scale(0.94);
}

.footer-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}

.floating-bottom-nav {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(440px, calc(100vw - 28px));
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(197, 155, 87, 0.45);
  box-shadow: 0 12px 32px rgba(44, 36, 29, 0.18);
}

.bottom-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: transform 0.15s ease;
}

.bottom-nav-item.primary {
  background: linear-gradient(135deg, #cfa661 0%, #9b6f2b 100%);
  color: #fffdf9;
  box-shadow: 0 4px 14px rgba(155, 111, 43, 0.35);
}

.bottom-nav-item:active {
  transform: scale(0.97);
}

/* Tap counter subtle indicator when > 5 taps */
.secret-tap-toast {
  position: fixed;
  bottom: 78px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(44, 36, 29, 0.95);
  color: var(--gold-light);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  border: 1px solid rgba(197, 155, 87, 0.4);
  white-space: nowrap;
}

.secret-tap-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================================================
   SECRET ADMIN MODAL, TABLE & IP GROUPING
   ===================================================== */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 15, 10, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.admin-sheet {
  width: 100%;
  max-width: 980px;
  max-height: 94vh;
  background: #fdfaf5;
  border-radius: 24px 24px 0 0;
  border-top: 2px solid var(--gold-primary);
  box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.admin-modal-backdrop.active .admin-sheet {
  transform: translateY(0);
}

.admin-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #2b2119 0%, #3d2e20 100%);
  color: var(--gold-light);
}

.admin-sheet-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.admin-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(230, 207, 163, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-sheet-body {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 680px) {
  .admin-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  padding: 13px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(197, 155, 87, 0.32);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.stat-card.highlight {
  background: linear-gradient(135deg, #246346 0%, #17442f 100%);
  color: #fff;
  border: none;
}

.stat-card.warn-card {
  background: linear-gradient(135deg, #fff9f0 0%, #f9ebd2 100%);
  border-color: rgba(184, 111, 20, 0.4);
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.05;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 3px;
}

.stat-sub {
  font-size: 0.68rem;
  opacity: 0.8;
  margin-top: 2px;
}

.admin-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.view-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.view-mode-btn {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(197, 155, 87, 0.4);
  background: #fff;
  color: var(--text-body);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-mode-btn.active {
  background: linear-gradient(135deg, #2b2119 0%, #463526 100%);
  color: var(--gold-light);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 12px rgba(43, 33, 25, 0.2);
}

.filter-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  background: #efe6d8;
  padding: 4px;
  border-radius: 12px;
}

.filter-tab {
  padding: 8px 4px;
  border-radius: 9px;
  border: none;
  background: transparent;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab.active {
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.admin-search-and-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 680px) {
  .admin-search-and-actions {
    flex-direction: row;
  }
}

.admin-actions-bar {
  display: flex;
  gap: 8px;
}

.btn-small-admin {
  flex: 1;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(197, 155, 87, 0.45);
  background: #fff;
  color: var(--text-dark);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}

/* ADMIN TABLE VIEW */
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(197, 155, 87, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.8rem;
  text-align: left;
}

.admin-table thead th {
  background: #f6efe4;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 11px;
  border-bottom: 1.5px solid rgba(197, 155, 87, 0.35);
  white-space: nowrap;
}

.admin-table tbody tr {
  border-bottom: 1px solid rgba(197, 155, 87, 0.18);
  transition: background 0.15s ease;
}

.admin-table tbody tr:hover {
  background: #fdfaf4;
}

.admin-table tbody tr.same-ip-row {
  background: rgba(255, 243, 219, 0.55);
}

.admin-table td {
  padding: 11px;
  vertical-align: middle;
  color: var(--text-dark);
}

.headcount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.73rem;
  background: rgba(36, 117, 77, 0.12);
  color: var(--success);
}

.headcount-pill.zero {
  background: rgba(135, 118, 102, 0.14);
  color: var(--text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge.attending {
  background: rgba(36, 117, 77, 0.14);
  color: var(--success);
}

.status-badge.not-attending {
  background: rgba(184, 66, 66, 0.12);
  color: var(--danger);
}

.ip-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f2ece2;
  color: var(--text-dark);
  border: 1px solid rgba(197, 155, 87, 0.3);
}

.ip-badge.duplicate {
  background: #fff0d4;
  color: #9c5708;
  border-color: #e2a24c;
}

.duplicate-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  background: #e07b12;
  color: #fff;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 4px;
}

.device-mini {
  font-size: 0.72rem;
  color: var(--text-body);
  line-height: 1.35;
}

.btn-table-action {
  border: 1px solid rgba(197, 155, 87, 0.4);
  background: #fff;
  color: var(--text-dark);
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.71rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.btn-table-action.danger {
  border-color: rgba(184, 66, 66, 0.3);
  background: rgba(184, 66, 66, 0.08);
  color: var(--danger);
}

/* IP GROUP CARD VIEW */
.ip-groups-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ip-group-card {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid rgba(197, 155, 87, 0.38);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.ip-group-card.multiple-submissions {
  border-color: #d98a2b;
  box-shadow: 0 6px 20px rgba(217, 138, 43, 0.12);
}

.ip-group-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f8f1e5 0%, #efe4d2 100%);
  border-bottom: 1px solid rgba(197, 155, 87, 0.3);
}

.ip-group-card.multiple-submissions .ip-group-header {
  background: linear-gradient(135deg, #fff4df 0%, #fae3bc 100%);
}

.ip-group-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 700;
  font-size: 0.86rem;
}

.ip-group-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

/* INFO DETAIL INSPECTOR MODAL */
.info-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(15, 10, 6, 0.72);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.info-modal-card {
  width: 100%;
  max-width: 480px;
  max-height: 82vh;
  background: #fffdf9;
  border-radius: 18px;
  border: 1.5px solid var(--gold-primary);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.info-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #2b2119;
  color: var(--gold-light);
}

.info-modal-body {
  padding: 16px;
  overflow-y: auto;
  font-size: 0.82rem;
}

.info-kv-table {
  width: 100%;
  border-collapse: collapse;
}

.info-kv-table td {
  padding: 8px 6px;
  border-bottom: 1px solid rgba(197, 155, 87, 0.2);
  vertical-align: top;
}

.info-kv-table td:first-child {
  font-weight: 700;
  color: var(--gold-deep);
  width: 38%;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  filter: blur(4px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

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

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