/* =========================================================
   UNDANGAN GSM HOTEL: "MONEY IS NUMBER ONE" (ANIME COMIC STYLE)
   Single Screen (No Scroll) - Fully Responsive for Mobile & Desktop
   ========================================================= */

:root {
  --primary-gold: #ffcc00;
  --gold-glow: #ffe600;
  --gold-dark: #d4a000;
  --comic-red: #ff2a4d;
  --comic-red-dark: #c90022;
  --comic-green: #00e676;
  --comic-green-dark: #00a854;
  --comic-blue: #00d2ff;
  --comic-purple: #7928ca;
  --comic-dark: #121212;
  --comic-ink: #1e1b18;
  --comic-white: #ffffff;
  --comic-paper: #fffef0;
  --comic-border: 2.5px solid #1e1b18;
  --comic-shadow: 4px 4px 0px #1e1b18;
  --comic-shadow-sm: 2px 2px 0px #1e1b18;
  --comic-shadow-lg: 6px 6px 0px #1e1b18;
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

body {
  font-family: 'Comic Neue', cursive, sans-serif;
  background-color: #ffd700;
  background-image: 
    radial-gradient(#121212 15%, transparent 16%),
    radial-gradient(#121212 15%, transparent 16%);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  color: var(--comic-ink);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------------
   Manga Background Layers & Floating Money
   --------------------------------------------------------- */
.manga-speedlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  background: repeating-conic-gradient(
    from 0deg,
    #000000 0deg 4deg,
    transparent 4deg 15deg
  );
  animation: rotateLines 60s linear infinite;
  will-change: transform;
  transform: translate3d(0,0,0);
}

@keyframes rotateLines {
  from { transform: translate3d(0,0,0) rotate(0deg); }
  to { transform: translate3d(0,0,0) rotate(360deg); }
}

.money-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.floating-coin, .floating-bill {
  position: absolute;
  top: -10%;
  animation: fallDown linear infinite;
  opacity: 0.75;
  user-select: none;
  will-change: transform;
  transform: translate3d(0,0,0);
}

@keyframes fallDown {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.85; }
  90% { opacity: 0.85; }
  100% { transform: translate3d(0, 110vh, 0) rotate(360deg); opacity: 0; }
}

.comic-stickers-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.bg-sticker {
  position: absolute;
  font-family: 'Bangers', cursive;
  color: rgba(255, 255, 255, 0.35);
  font-size: clamp(1.4rem, 3vh, 2.4rem);
  letter-spacing: 2px;
  transform: rotate(-15deg);
  text-shadow: 2px 2px 0 #000;
  user-select: none;
}
.bg-sticker.s1 { top: 6%; left: 2%; transform: rotate(-18deg); }
.bg-sticker.s2 { top: 18%; right: 3%; transform: rotate(14deg); color: rgba(255,255,255,0.45); }
.bg-sticker.s3 { bottom: 12%; left: 3%; transform: rotate(12deg); }
.bg-sticker.s4 { bottom: 8%; right: 3%; transform: rotate(-10deg); }

/* ---------------------------------------------------------
   Top Navigation (Compact 1-Screen)
   --------------------------------------------------------- */
.top-nav {
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(4px, 0.8vh, 8px) clamp(8px, 2vw, 16px);
  background: var(--comic-paper);
  border-bottom: var(--comic-border);
  box-shadow: 0 2px 0 rgba(0,0,0,0.15);
  flex-shrink: 0;
  height: clamp(40px, 6vh, 50px);
}

.logo-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--comic-dark);
  color: var(--primary-gold);
  padding: 3px 8px;
  border-radius: 5px;
  border: 1.5px solid #000;
  box-shadow: 1.5px 1.5px 0 #000;
}

.logo-text {
  font-family: 'Bangers', cursive;
  font-size: clamp(0.85rem, 1.6vh, 1.05rem);
  letter-spacing: 1px;
}

.nav-actions {
  display: flex;
  gap: 6px;
}

.comic-btn-sm {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(0.7rem, 1.3vh, 0.78rem);
  padding: 3px 8px;
  background: #fff;
  border: 1.5px solid #000;
  border-radius: 5px;
  box-shadow: var(--comic-shadow-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.comic-btn-sm:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2.5px 2.5px 0 #000;
}

.comic-btn-sm.btn-dark {
  background: var(--comic-dark);
  color: #fff;
}

.comic-btn-sm.btn-danger {
  background: var(--comic-red);
  color: #fff;
}

/* ---------------------------------------------------------
   Main Layout & Stages
   --------------------------------------------------------- */
.main-wrapper {
  flex: 1;
  position: relative;
  z-index: 10;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: flex;
  flex-direction: column;
}

.invitation-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  width: 100%;
}

/* Manga Ribbon */
.manga-ribbon {
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  letter-spacing: 2px;
  background: var(--comic-red);
  color: #fff;
  padding: 6px 28px;
  border: 3px solid #000;
  box-shadow: var(--comic-shadow);
  transform: rotate(-2deg);
  border-radius: 4px;
  animation: pulseRibbon 2s infinite alternate ease-in-out;
  margin-bottom: 8px;
}

@keyframes pulseRibbon {
  0% { transform: rotate(-2deg) scale(1); }
  100% { transform: rotate(1deg) scale(1.03); }
}

/* Main Comic Title Card */
.comic-title-card {
  background: var(--comic-paper);
  border: 3.5px solid var(--comic-dark);
  box-shadow: var(--comic-shadow-lg);
  border-radius: 16px;
  padding: 24px 20px;
  width: 100%;
  position: relative;
  background-image: 
    radial-gradient(var(--primary-gold) 16%, transparent 16%),
    radial-gradient(var(--primary-gold) 16%, transparent 16%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  margin-bottom: 12px;
}

.comic-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  background: var(--comic-dark);
  color: var(--primary-gold);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.title-sub {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.3rem;
  color: var(--comic-red-dark);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.title-main {
  font-family: 'Bangers', cursive;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: 2px;
  color: #121212;
  text-shadow: 
    3px 3px 0 var(--primary-gold),
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
  transform: skew(-2deg);
  margin: 6px 0;
}

.title-jp {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--comic-red);
  letter-spacing: 3px;
}

.theme-motto {
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 8px;
  border: 2px dashed var(--comic-dark);
  display: inline-block;
}

/* Mascot & Comic Speech Bubble */
.mascot-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 650px;
  width: 100%;
  margin: 0 auto 24px;
}

.speech-bubble-hero {
  position: relative;
  background: #ffffff;
  border: var(--comic-border);
  box-shadow: var(--comic-shadow);
  border-radius: 16px;
  padding: 14px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  text-align: left;
  flex: 1;
  line-height: 1.35;
}

.speech-bubble-hero::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px 0 10px 14px;
  border-style: solid;
  border-color: transparent transparent transparent var(--comic-dark);
  display: block;
  width: 0;
}

.mascot-art {
  font-size: 4rem;
  background: #fff;
  border: var(--comic-border);
  box-shadow: var(--comic-shadow);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceMascot 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes bounceMascot {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(5deg); }
}

/* Action Stage Wrapper */
.action-stage-wrapper {
  background: #fff;
  border: var(--comic-border);
  box-shadow: var(--comic-shadow-lg);
  border-radius: 20px;
  padding: 28px 20px;
  width: 100%;
  position: relative;
}

.question-title {
  font-family: 'Bangers', cursive;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
  color: var(--comic-dark);
  margin-bottom: 24px;
  text-shadow: 2px 2px 0 var(--primary-gold);
  line-height: 1.15;
}

/* Interactive Buttons Playground */
.buttons-playground {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  min-height: 140px;
  padding: 10px 0;
}

/* Comic Action Buttons */
.comic-btn-action {
  font-family: 'Bangers', cursive;
  letter-spacing: 1px;
  padding: 16px 28px;
  border: var(--comic-border);
  border-radius: 12px;
  box-shadow: var(--comic-shadow);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
  min-width: 190px;
  position: relative;
}

.btn-icon {
  font-size: 2rem;
  margin-bottom: 4px;
  line-height: 1;
}

.btn-label {
  font-size: 1.45rem;
  letter-spacing: 1.5px;
  line-height: 1.1;
}

.btn-sub {
  font-family: 'Comic Neue', cursive;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 4px;
  opacity: 0.9;
}

/* "Akan Hadir" Dynamic Growth (Membesar) */
.btn-hadir {
  background: var(--comic-green);
  color: #0d381e;
  border-color: #092c17;
  box-shadow: 3px 3px 0px #092c17;
  z-index: 1000;
  position: relative;
  will-change: transform, box-shadow;
}

.btn-hadir:hover {
  background: #39ff94;
}

.btn-hadir:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #092c17;
}

/* Scaling classes for Hadir as user struggles to click Tidak Hadir (8 Progressive Escalating Stages) */
.btn-hadir.grow-stage-1 {
  background: #00e676 !important;
  animation: berpendarStage1 1s infinite alternate ease-in-out !important;
  z-index: 50 !important;
}

.btn-hadir.grow-stage-2 {
  background: #00e676 !important;
  animation: berpendarStage2 0.85s infinite alternate ease-in-out !important;
  z-index: 50 !important;
}

.btn-hadir.grow-stage-3 {
  background: #00ff80 !important;
  animation: berpendarStage3 0.75s infinite alternate ease-in-out !important;
  z-index: 50 !important;
}

.btn-hadir.grow-stage-4 {
  background: #00ff80 !important;
  animation: berpendarStage4 0.65s infinite alternate ease-in-out !important;
  z-index: 50 !important;
}

.btn-hadir.grow-stage-5 {
  background: #00ff88 !important;
  animation: berpendarStage5 0.55s infinite alternate ease-in-out !important;
  z-index: 50 !important;
}

.btn-hadir.grow-stage-6 {
  background: #00ff88 !important;
  animation: berpendarStage6 0.5s infinite alternate ease-in-out !important;
  z-index: 50 !important;
}

.btn-hadir.grow-stage-7 {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  background: #00ff88 !important;
  color: #002b11 !important;
  animation: berpendarStageMassive 0.4s infinite alternate ease-in-out !important;
  z-index: 9999 !important;
  margin: 0 !important;
}

.btn-hadir.grow-stage-8 {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  background: #00ff88 !important;
  color: #002b11 !important;
  animation: megaSuperSaiyanMassive 0.35s infinite alternate ease-in-out !important;
  z-index: 9999 !important;
  margin: 0 !important;
}

@keyframes berpendarStage1 {
  0% {
    transform: scale(1.05);
    box-shadow: 4px 4px 0px #092c17, 0 0 12px #00e676, 0 0 25px rgba(0, 230, 118, 0.4);
  }
  100% {
    transform: scale(1.08);
    box-shadow: 6px 6px 0px #092c17, 0 0 25px #00ff88, 0 0 45px rgba(0, 255, 136, 0.7);
  }
}

@keyframes berpendarStage2 {
  0% {
    transform: scale(1.10);
    box-shadow: 5px 5px 0px #092c17, 0 0 15px #00e676, 0 0 35px rgba(0, 230, 118, 0.5);
  }
  100% {
    transform: scale(1.13);
    box-shadow: 7px 7px 0px #092c17, 0 0 30px #00ff88, 0 0 55px rgba(0, 255, 136, 0.75);
  }
}

@keyframes berpendarStage3 {
  0% {
    transform: scale(1.15);
    box-shadow: 6px 6px 0px #092c17, 0 0 22px #00ff88, 0 0 45px #ffcc00, 0 0 65px rgba(0, 255, 136, 0.6);
  }
  100% {
    transform: scale(1.18);
    box-shadow: 8px 8px 0px #092c17, 0 0 40px #00ff88, 0 0 75px #ffe600, 0 0 95px rgba(255, 204, 0, 0.85);
  }
}

@keyframes berpendarStage4 {
  0% {
    transform: scale(1.20);
    box-shadow: 6px 6px 0px #092c17, 0 0 24px #00ff88, 0 0 50px #ffcc00, 0 0 70px rgba(0, 255, 136, 0.6);
  }
  100% {
    transform: scale(1.23);
    box-shadow: 8px 8px 0px #092c17, 0 0 42px #00ff88, 0 0 80px #ffe600, 0 0 100px rgba(255, 204, 0, 0.85);
  }
}

@keyframes berpendarStage5 {
  0% {
    transform: scale(1.25);
    box-shadow: 7px 7px 0px #092c17, 0 0 26px #00ff88, 0 0 55px #ffcc00, 0 0 75px rgba(0, 255, 136, 0.65);
  }
  100% {
    transform: scale(1.28);
    box-shadow: 9px 9px 0px #092c17, 0 0 45px #00ff88, 0 0 85px #ffe600, 0 0 105px rgba(255, 204, 0, 0.85);
  }
}

@keyframes berpendarStage6 {
  0% {
    transform: scale(1.30);
    box-shadow: 8px 8px 0px #092c17, 0 0 30px #00ff88, 0 0 70px #ffd700, 0 0 110px #ffeb3b, inset 0 0 12px #ffffff;
  }
  100% {
    transform: scale(1.33);
    box-shadow: 10px 10px 0px #092c17, 0 0 55px #00ff88, 0 0 95px #ffd700, 0 0 140px #ffeb3b, inset 0 0 18px #ffffff;
  }
}

@keyframes berpendarStageMassive {
  0% {
    transform: translate(-50%, -50%) scale(1.35);
    box-shadow: 12px 12px 0px #092c17, 0 0 30px #00ff88, 0 0 60px #ffd700, 0 0 90px #ffeb3b, inset 0 0 16px #ffffff;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.40);
    box-shadow: 18px 18px 0px #092c17, 0 0 50px #00ff88, 0 0 90px #ffeb3b, 0 0 130px #ffffff, inset 0 0 28px #ffffff;
  }
}

@keyframes megaSuperSaiyanMassive {
  0% {
    transform: translate(-50%, -50%) scale(1.45);
    box-shadow: 16px 16px 0px #092c17, 0 0 40px #00ff88, 0 0 80px #ffd700, 0 0 120px #ffea00, inset 0 0 24px #ffffff;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.50);
    box-shadow: 24px 24px 0px #092c17, 0 0 70px #00ff88, 0 0 120px #ffea00, 0 0 180px #ffffff, inset 0 0 40px #ffffff;
  }
}

/* "Tidak Hadir" Runaway Container */
.runaway-container {
  position: relative;
  display: inline-block;
  z-index: 999;
}

.runaway-container.is-far-jumping {
  position: fixed !important;
}

.btn-tidak-hadir {
  background: var(--comic-red);
  color: #fff;
  border-color: #5c000d;
  box-shadow: 3px 3px 0px #5c000d;
}

/* 8 Gimmick Shrink & Animation Stages */
/* Stage 1: Teasing / Sticking Tongue */
.btn-tidak-hadir.shrink-stage-1 {
  transform: scale(0.85) !important;
  background: #ff5252;
  animation: wiggle 0.4s infinite alternate;
}

/* Stage 2: HRD Threat */
.btn-tidak-hadir.shrink-stage-2 {
  transform: scale(0.75) !important;
  background: #d50000;
  animation: violentShake 0.25s infinite alternate;
  box-shadow: 3px 3px 0px #000, 0 0 15px rgba(255, 0, 0, 0.8);
}

/* Stage 3: Ninja Log Substitution */
.btn-tidak-hadir.shrink-stage-3 {
  transform: scale(0.66) !important;
  background: #8d6e63 !important;
  color: #ffeb3b !important;
  animation: kawarimiPoof 0.3s infinite alternate;
}

@keyframes kawarimiPoof {
  0% { transform: scale(0.66) rotate(-8deg); filter: blur(0.5px); }
  100% { transform: scale(0.66) rotate(8deg); filter: blur(0); }
}

/* Stage 4: Money / Doorprize Loss Spiral */
.btn-tidak-hadir.shrink-stage-4 {
  transform: scale(0.58) !important;
  background: #e65100 !important;
  animation: spiralSpin 0.5s infinite linear;
}

@keyframes spiralSpin {
  0% { transform: scale(0.58) rotate(0deg); }
  100% { transform: scale(0.58) rotate(360deg); }
}

/* Stage 5: Shadow Clone Glitch */
.btn-tidak-hadir.shrink-stage-5 {
  transform: scale(0.50) !important;
  background: #6a1b9a !important;
  animation: cloneGlitch 0.2s infinite;
}

@keyframes cloneGlitch {
  0% { transform: scale(0.50) translate(-3px, 0); box-shadow: -4px 0 #00e676, 4px 0 #ff0055; }
  50% { transform: scale(0.50) translate(3px, -2px); box-shadow: 4px 0 #00e676, -4px 0 #ff0055; }
  100% { transform: scale(0.50) translate(0, 2px); box-shadow: -3px 0 #00e676, 3px 0 #ff0055; }
}

/* Stage 6: Guilt Trip / Cry */
.btn-tidak-hadir.shrink-stage-6 {
  transform: scale(0.42) !important;
  background: #0277bd !important;
  color: #fff !important;
  animation: sadWiggle 0.35s infinite alternate;
}

@keyframes sadWiggle {
  0% { transform: scale(0.42) translateY(-3px) rotate(-5deg); }
  100% { transform: scale(0.42) translateY(3px) rotate(5deg); }
}

/* Stage 7: Berserk Angry Biting */
.btn-tidak-hadir.shrink-stage-7 {
  transform: scale(0.35) !important;
  background: #b71c1c !important;
  color: #ffeb3b !important;
  animation: bitingChomp 0.28s infinite alternate ease-in-out;
  box-shadow: 0 0 25px #ff0000, 3px 3px 0 #000;
}

/* Stage 8: Self Destruct Ticking Bomb */
.btn-tidak-hadir.shrink-stage-8 {
  transform: scale(0.28) !important;
  background: #000000 !important;
  color: #ff1744 !important;
  border-color: #ff1744 !important;
  animation: bombTicking 0.2s infinite alternate ease-in-out;
  box-shadow: 0 0 35px #ff1744, 0 0 60px #ff9100;
}

@keyframes bombTicking {
  0% { transform: scale(0.28); background: #000; color: #ff1744; }
  100% { transform: scale(0.33); background: #ff1744; color: #fff; }
}

@keyframes wiggle {
  0% { transform: scale(0.75) rotate(-4deg); }
  100% { transform: scale(0.75) rotate(4deg); }
}

@keyframes violentShake {
  0% { transform: scale(0.55) translate(-3px, 2px) rotate(-4deg); }
  100% { transform: scale(0.55) translate(3px, -2px) rotate(4deg); }
}

@keyframes bitingChomp {
  0% { transform: scale(0.42) rotate(-6deg); }
  50% { transform: scale(0.34) rotate(0deg); }
  100% { transform: scale(0.44) rotate(6deg); }
}

/* Comic Troll Speech Bubble */
.comic-troll-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffe600;
  color: #121212;
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(0.75rem, 1.5vh, 0.95rem);
  padding: 4px 10px;
  border: 2px solid #121212;
  box-shadow: 2.5px 2.5px 0 #121212;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1000;
  animation: popBubble 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.comic-troll-bubble.angry-bubble {
  background: #ff1744;
  color: #fff;
  font-size: clamp(0.82rem, 1.7vh, 1.05rem);
  border-color: #000;
  box-shadow: 3px 3px 0 #000;
}

.comic-troll-bubble .bubble-tail {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #121212 transparent transparent transparent;
  width: 0;
  height: 0;
}

.comic-troll-bubble .bubble-tail::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -5px;
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: #ffe600 transparent transparent transparent;
  width: 0;
  height: 0;
}

.comic-troll-bubble.angry-bubble .bubble-tail::after {
  border-color: #ff1744 transparent transparent transparent;
}

@keyframes popBubble {
  0% { transform: translateX(-50%) scale(0.3) rotate(-10deg); opacity: 0; }
  80% { transform: translateX(-50%) scale(1.1) rotate(3deg); }
  100% { transform: translateX(-50%) scale(1) rotate(0deg); opacity: 1; }
}

/* Comic Notice Box */
.comic-notice-box {
  background: var(--comic-paper);
  border: 3px dashed var(--comic-dark);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--comic-shadow-sm);
}

.notice-icon {
  font-size: 1.5rem;
  line-height: 1;
}

/* ---------------------------------------------------------
   Modals & Overlays
   --------------------------------------------------------- */
.comic-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.comic-modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.comic-modal-box {
  background: var(--comic-paper);
  border: 3px solid var(--comic-dark);
  box-shadow: 6px 6px 0px #000;
  border-radius: 14px;
  max-width: 540px;
  width: 100%;
  max-height: 94vh;
  max-height: 94dvh;
  overflow-y: auto;
  padding: clamp(14px, 2.5vh, 20px) clamp(12px, 2.5vw, 18px);
  position: relative;
  animation: modalEnter 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalEnter {
  0% { transform: scale(0.7) rotate(-3deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  background: var(--comic-red);
  color: #fff;
  border: 2px solid #000;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 1.5px 1.5px 0 #000;
  transition: transform 0.15s ease;
}

.modal-close-btn:hover {
  transform: scale(1.15) rotate(90deg);
}

.modal-header {
  margin-bottom: 12px;
  text-align: center;
}

.modal-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 0.72rem;
  background: var(--comic-purple);
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  border: 1.2px solid #000;
  margin-bottom: 4px;
}

.modal-badge-gold {
  display: inline-block;
  font-family: 'Bangers', cursive;
  font-size: 0.95rem;
  background: var(--primary-gold);
  color: #000;
  padding: 2px 12px;
  border-radius: 8px;
  border: 1.5px solid #000;
  box-shadow: 1.5px 1.5px 0 #000;
  margin-bottom: 4px;
}

.modal-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(1.6rem, 3.5vh, 2rem);
  letter-spacing: 1.2px;
  line-height: 1.1;
  color: var(--comic-dark);
}

.modal-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  color: #555;
  margin-top: 3px;
}

/* Sarcasm Speech Bubbles */
.sarcasm-bubble, 
.sarcasm-bubble-ticket {
  display: inline-block;
  font-family: 'Comic Neue', cursive, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  background: #fffbcf;
  color: #c90022;
  border: 2px solid #121212;
  border-radius: 12px;
  padding: 8px 14px;
  margin: 10px auto;
  box-shadow: 3px 3px 0px #121212;
  text-align: center;
  position: relative;
  animation: popSarcasm 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sarcasm-bubble-ticket {
  background: #e0f7fa;
  color: #006064;
  border-color: #006064;
  box-shadow: 3px 3px 0px #006064;
}

@keyframes popSarcasm {
  0% { transform: scale(0.6) rotate(-4deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* ---------------------------------------------------------
   Comic Form Styling
   --------------------------------------------------------- */
.comic-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.form-group label {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--comic-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-group input, 
.form-group select {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  padding: 8px 10px;
  border: 2px solid #000;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--comic-shadow-sm);
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus, 
.form-group select:focus {
  border-color: #000;
  background: #fffef2;
  box-shadow: 3px 3px 0px var(--primary-gold);
}

.input-hint {
  font-size: 0.7rem;
  color: #e53935;
  font-weight: 700;
}

.comic-btn-submit {
  font-family: 'Bangers', cursive;
  font-size: 1.15rem;
  letter-spacing: 1px;
  background: var(--comic-green);
  color: #092c17;
  border: 2.5px solid #000;
  box-shadow: var(--comic-shadow);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 4px;
  transition: all 0.15s ease;
}

.comic-btn-submit:hover {
  background: #25f488;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #092c17;
}

/* ---------------------------------------------------------
   Official Ticket Card Styling
   --------------------------------------------------------- */
.ticket-card {
  background: #ffffff;
  border: 2.5px solid var(--comic-dark);
  box-shadow: 5px 5px 0px #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  text-align: left;
}

.ticket-card-header {
  background: var(--comic-dark);
  color: #fff;
  padding: 8px 12px;
  text-align: center;
  border-bottom: 2px solid #000;
}

.ticket-event-name {
  font-family: 'Bangers', cursive;
  font-size: 1.05rem;
  letter-spacing: 1.2px;
  color: var(--primary-gold);
}

.ticket-theme-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: #00e676;
}

.ticket-number-box {
  background: #fff8d6;
  border-bottom: 2px solid #000;
  padding: 10px 12px;
  text-align: center;
  background-image: radial-gradient(#ffcc00 15%, transparent 16%);
  background-size: 8px 8px;
}

.number-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: #795548;
}

.ticket-big-number {
  font-family: 'Bangers', cursive;
  font-size: clamp(2rem, 5vh, 2.8rem);
  letter-spacing: 2px;
  color: var(--comic-red-dark);
  text-shadow: 2px 2px 0 var(--primary-gold);
  line-height: 1.1;
  margin: 2px 0;
}

.number-warning {
  font-size: 0.72rem;
  background: #fff;
  border: 1.2px solid #000;
  border-radius: 4px;
  padding: 3px 6px;
  color: #222;
  margin-top: 3px;
}

.ticket-user-info {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 3px;
}

.info-label {
  font-weight: 700;
  color: #666;
  font-size: 0.8rem;
}

.info-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: #111;
  font-size: 0.9rem;
}

.info-value.italic {
  font-style: italic;
  font-weight: 700;
  color: #e65100;
}

.ticket-divider {
  position: relative;
  height: 16px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
}

.circle-left, .circle-right {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--comic-paper);
  border: 2px solid #000;
  border-radius: 50%;
  top: 0px;
}

.circle-left { left: -9px; }
.circle-right { right: -9px; }

.dashed-line {
  width: 100%;
  height: 2px;
  border-top: 2px dashed #888;
}

.ticket-event-details {
  padding: 10px 12px;
  background: #fffef5;
}

.details-section-title {
  font-family: 'Bangers', cursive;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #111;
  margin-bottom: 6px;
}

.event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.event-item {
  background: #ffffff;
  border: 1.2px solid #111;
  border-radius: 5px;
  padding: 5px 7px;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  box-shadow: 1px 1px 0 #111;
}

.event-item.highlight-dresscode {
  grid-column: 1 / -1;
  background: #fff8e1;
  border: 1.5px solid #b8860b;
  box-shadow: 1.5px 1.5px 0 #b8860b;
}

.event-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.event-meta {
  display: flex;
  flex-direction: column;
}

.event-meta-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: #777;
  text-transform: uppercase;
}

.event-meta-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  color: #111;
}

.event-sub-val {
  font-size: 0.68rem;
  color: #555;
}

.ticket-footer-note {
  background: var(--comic-dark);
  color: var(--primary-gold);
  padding: 6px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.stamp-verified {
  position: absolute;
  top: 40px;
  right: 10px;
  border: 2.5px solid #00c853;
  color: #00c853;
  font-family: 'Bangers', cursive;
  font-size: 1.3rem;
  letter-spacing: 1.5px;
  padding: 2px 8px;
  border-radius: 5px;
  transform: rotate(-18deg);
  opacity: 0.85;
  pointer-events: none;
  z-index: 25;
}

.ticket-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-gold { background: var(--primary-gold); color: #000; }
.btn-blue { background: var(--comic-blue); color: #000; }
.btn-green { background: var(--comic-green); color: #092c17; }

/* ---------------------------------------------------------
   Duplicate Registration & Attendee List Modals
   --------------------------------------------------------- */
.warning-theme { border-color: var(--comic-red); }
.warning-anime-icon { font-size: 2.5rem; margin-bottom: 2px; }
.warning-speech-bubble {
  background: #fff;
  border: 2px solid var(--comic-red);
  box-shadow: 2.5px 2.5px 0 var(--comic-red-dark);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.duplicate-info-box {
  background: #fff3e0;
  border: 1.5px solid #ff9800;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.dup-number {
  font-family: 'Bangers', cursive;
  font-size: 1.8rem;
  color: #d84315;
  margin: 2px 0;
}

.search-bar-wrap { margin-bottom: 8px; }
.search-bar-wrap input {
  width: 100%;
  padding: 6px 10px;
  font-family: 'Outfit', sans-serif;
  border: 1.5px solid #000;
  border-radius: 5px;
  box-shadow: var(--comic-shadow-sm);
  outline: none;
  font-size: 0.85rem;
}

.attendee-table-container {
  max-height: 220px;
  overflow-y: auto;
  border: 1.5px solid #000;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 10px;
}

.comic-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.78rem;
}

.comic-table th {
  background: var(--comic-dark);
  color: var(--primary-gold);
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  padding: 6px 8px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.comic-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #ddd;
}

.badge-hadir {
  display: inline-block;
  background: var(--comic-green);
  color: #092c17;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 1px 5px;
  border-radius: 6px;
  border: 1px solid #000;
}

.modal-footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.comic-footer {
  background: var(--comic-dark);
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  border-top: var(--comic-border);
  font-size: 0.9rem;
  position: relative;
  z-index: 10;
}

.comic-footer strong {
  color: var(--primary-gold);
}

.hidden { display: none !important; }
.center { display: flex; justify-content: center; gap: 8px; }

/* ---------------------------------------------------------
   Responsive adjustments
   --------------------------------------------------------- */
@media (max-width: 600px) {
  .manga-speedlines {
    animation: none !important; /* Disable rotating conic gradient on mobile for 60fps performance */
  }
  .top-nav {
    padding: 10px 14px;
  }
  .logo-text {
    font-size: 1rem;
  }
  .btn-text {
    display: none;
  }
  .mascot-section {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .speech-bubble-hero::after {
    display: none;
  }
  .buttons-playground {
    flex-direction: column;
    gap: 18px;
    min-height: 180px;
  }
  .comic-btn-action {
    width: 100%;
    min-width: unset;
  }
  .event-grid {
    grid-template-columns: 1fr;
  }
}
