/* ===================================================================
   PASUNPOP! - Y2K Pastel Scrapbook Design System
   "Your Voice, Your Vibe, Pasundan Pride!"
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Fredoka:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-butter: #FFF9E6;
  --bg-butter-deep: #FFE89E;
  --color-yellow: #FFDE59;
  --color-yellow-light: #FFF0A8;
  --color-blue: #8FD8FE;
  --color-blue-light: #E1F3FE;
  --color-blue-deep: #4EA8DE;
  --color-pink: #FFB3C6;
  --color-pink-light: #FFE5EC;
  --color-pink-deep: #FF6584;
  --color-lavender: #E4C1F9;
  --color-lavender-light: #F4EBFE;
  --color-mint: #C1FBA4;
  --color-mint-light: #EBFEE8;

  /* OSIS SMA Pasundan 1 Cimahi Red Accent */
  --color-red-star: #E11D48;
  --color-red-deep: #BE123C;
  --color-red-light: #FFE4E6;
  --color-red-border: #9F1239;
  
  /* Text & Border */
  --text-dark: #23272A;
  --text-muted: #64748B;
  --border-thick: 3px solid #23272A;
  --border-medium: 2px solid #23272A;
  --border-light: 1.5px solid #23272A;

  /* Hard Shadows (Y2K Pop-up) */
  --shadow-hard-sm: 2px 2px 0px #23272A;
  --shadow-hard: 4px 4px 0px #23272A;
  --shadow-hard-lg: 6px 6px 0px #23272A;
  --shadow-hard-xl: 8px 8px 0px #23272A;
  
  /* Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 9999px;

  /* Fonts */
  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-hand: 'Caveat', cursive;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-butter);
  background-image: 
    radial-gradient(rgba(255, 218, 128, 0.45) 1.5px, transparent 1.5px),
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px, 48px 48px;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  min-height: 100vh;
}

img, video, iframe, canvas {
  max-width: 100%;
  height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-pink-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-pink);
  border: 2px solid var(--text-dark);
  border-radius: var(--radius-pill);
}

/* Selection */
::selection {
  background: var(--color-yellow);
  color: var(--text-dark);
}

/* Typography Helpers */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.font-hand {
  font-family: var(--font-hand);
}

/* Container & Page Wrapper */
.page-main-content {
  padding-bottom: 4.5rem;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===================================================================
   STICKER & PAPER BADGES / DECORATIONS
   =================================================================== */

.sticker-tape {
  position: absolute;
  height: 24px;
  width: 90px;
  background: rgba(255, 179, 198, 0.75);
  border: 1px dashed rgba(35, 39, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.tape-top-center {
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
}
.tape-top-left {
  top: -10px;
  left: 20px;
  transform: rotate(-6deg);
}
.tape-top-right {
  top: -10px;
  right: 20px;
  transform: rotate(6deg);
  background: rgba(143, 216, 254, 0.75);
}

/* Floating Doodles */
.floating-doodle {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(2px 2px 0px rgba(35,39,42,0.3));
  animation: floatDoodle 4s ease-in-out infinite alternate;
}
.doodle-star {
  width: 36px;
  height: 36px;
}
.doodle-heart {
  width: 32px;
  height: 32px;
  animation-duration: 5s;
}
.doodle-sparkle {
  width: 28px;
  height: 28px;
  animation-duration: 3.5s;
}

@keyframes floatDoodle {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(8deg); }
}

/* ===================================================================
   NAVIGATION BAR
   =================================================================== */

.site-header {
  position: sticky;
  top: 1.25rem;
  z-index: 100;
  padding: 0 1.5rem;
  margin-bottom: 2.8rem;
}

.nav-capsule {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border: var(--border-thick);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-hard);
  padding: 0.5rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-heading);
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.nav-crests-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.nav-crest-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.2));
  transition: transform 0.2s ease;
}

.brand-logo:hover .nav-crest-icon {
  transform: rotate(6deg) scale(1.08);
}

.logo-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  background: linear-gradient(135deg, #FFDE59 0%, #FFB3C6 100%);
  padding: 0.22rem 0.75rem;
  border: 2px solid var(--text-dark);
  border-radius: var(--radius-pill);
  box-shadow: 2px 2px 0px var(--text-dark);
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 1px 1px 0 #FFF;
  white-space: nowrap;
}

.logo-star {
  display: inline-block;
  color: #FF5E7E;
  margin-left: 2px;
  animation: pulseStar 2s infinite ease-in-out;
}

@keyframes pulseStar {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(15deg); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-link {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--color-yellow-light);
  transform: translateY(-2px);
}

.nav-link.active {
  background: var(--color-blue);
  border: 2px solid var(--text-dark);
  box-shadow: 2px 2px 0px var(--text-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.btn-auth {
  background: linear-gradient(135deg, #8FD8FE 0%, #60B7FF 100%);
  color: #FFF;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55rem 1.25rem;
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-hard-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.btn-auth:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--text-dark);
  background: linear-gradient(135deg, #74C9FC 0%, #4DABF7 100%);
}
.btn-auth:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px var(--text-dark);
}

.btn-admin-pill {
  background: var(--color-pink-light);
  border: 2px dashed var(--text-dark);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s;
}
.btn-admin-pill:hover {
  background: var(--color-pink);
  transform: scale(1.05);
}

/* User logged-in chip */
.user-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-mint-light);
  border: var(--border-medium);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-hard-sm);
}
.user-chip .btn-logout {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-pink-deep);
  font-weight: 800;
  margin-left: 0.25rem;
}

/* Mobile Nav Toggle */
.mobile-nav-btn {
  display: none;
  background: var(--color-yellow);
  border: var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  font-size: 1.25rem;
  cursor: pointer;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */

.hero-section {
  padding: 2.2rem 0 4.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.2rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Giant Sticker Logo */
.hero-title-sticker {
  display: inline-block;
  background: #FFF;
  border: 4.5px solid var(--text-dark);
  border-radius: 36px;
  padding: 0.6rem 2.2rem;
  box-shadow: var(--shadow-hard-lg);
  transform: rotate(-1.8deg);
  margin-bottom: 1.25rem;
  position: relative;
}

.hero-title-sticker::after {
  content: '';
  position: absolute;
  top: -12px;
  right: -10px;
  width: 44px;
  height: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF5E7E'%3E%3Cpath d='M12 2l2.4 7.2h7.6l-6.1 4.5 2.3 7.3-6.2-4.6-6.2 4.6 2.3-7.3-6.1-4.5h7.6z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(2px 2px 0 var(--text-dark));
}

.title-text-pasunpop {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  color: #FFE600;
  -webkit-text-stroke: 2.5px var(--text-dark);
  text-shadow: 4px 4px 0px var(--text-dark);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.title-star-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FF70A6;
  color: #FFF;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  border: 3px solid var(--text-dark);
  box-shadow: 2px 2px 0 var(--text-dark);
  font-size: 0.85em;
  transform: rotate(12deg);
}

.tagline-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 0.35rem 1.25rem;
  box-shadow: var(--shadow-hard-sm);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}

.tagline-voice { color: #3A86FF; }
.tagline-vibe { color: #FF006E; }
.tagline-pride { color: #FB5607; }

.hero-description {
  font-size: 1.15rem;
  color: #334155;
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.65;
  font-weight: 500;
}

.heart-emoji {
  color: #FF5E7E;
  display: inline-block;
  animation: heartBounce 1.5s infinite;
}

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

/* Quick Action Cards in Hero */
.hero-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.action-card-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #FFF;
  border: var(--border-thick);
  border-radius: 20px;
  padding: 0.8rem 1.3rem;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: var(--shadow-hard);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  flex: 1;
  min-width: 220px;
}

.action-card-btn:hover {
  transform: translate(-3px, -3px) rotate(-1deg);
  box-shadow: var(--shadow-hard-lg);
}

.action-card-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--text-dark);
}

.action-card-btn.btn-thoughts {
  background: var(--color-yellow-light);
}
.action-card-btn.btn-art {
  background: var(--color-pink-light);
}

.card-icon-pill {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFF;
  border: var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 2px 2px 0 var(--text-dark);
  flex-shrink: 0;
}

.card-btn-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}
.card-btn-text p {
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
}

/* Hero Visual Graphic (Right Column) */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  border: 5px solid #FFF;
  outline: var(--border-thick);
  border-radius: 36px;
  background: radial-gradient(circle at center, #E8F7FF 0%, #BAE6FD 100%);
  box-shadow: var(--shadow-hard-xl);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-main-frame:hover .hero-image {
  transform: scale(1.02);
}

/* Speech Bubble in Hero */
.speech-bubble {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #FFDE59;
  border: var(--border-thick);
  border-radius: 20px;
  padding: 0.5rem 1.1rem;
  box-shadow: var(--shadow-hard);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  transform: rotate(5deg);
  z-index: 10;
}
.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: var(--text-dark) transparent;
  display: block;
  width: 0;
}

/* Sticky Scrapbook Note on Hero */
.hero-sticky-note {
  position: absolute;
  bottom: -20px;
  right: -15px;
  background: #FFFDF0;
  border: var(--border-medium);
  box-shadow: var(--shadow-hard);
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  max-width: 210px;
  transform: rotate(3deg);
  z-index: 12;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}
.hero-sticky-note .washi-tape-pink {
  position: absolute;
  top: -12px;
  right: 25px;
  width: 70px;
  height: 20px;
  background: rgba(255, 107, 139, 0.7);
  border: 1px dashed rgba(35,39,42,0.4);
  transform: rotate(-3deg);
}

/* Floating Flower / Smiley in Hero */
.sticker-flower {
  position: absolute;
  bottom: 20px;
  left: -20px;
  width: 68px;
  height: 68px;
  z-index: 11;
  filter: drop-shadow(3px 3px 0 var(--text-dark));
}

/* ===================================================================
   APA SIH PASUNPOP!? & STATS BAR
   =================================================================== */

.intro-stats-section {
  padding: 2.5rem 0;
}

.intro-stats-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.8rem;
  align-items: stretch;
}

.intro-paper-card {
  background: #FFFFFF;
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard-lg);
  padding: 2rem;
  position: relative;
  transform: rotate(-0.8deg);
}

.intro-badge {
  display: inline-block;
  background: var(--color-yellow);
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 0.25rem 1rem;
  box-shadow: var(--shadow-hard-sm);
  margin-bottom: 1rem;
}

.intro-text {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #334155;
  font-weight: 500;
}

/* Stats Pill Cards */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.stat-card-pill {
  background: #FFF;
  border: var(--border-thick);
  border-radius: 24px;
  box-shadow: var(--shadow-hard);
  padding: 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.stat-card-pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hard-lg);
}

.stat-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
  box-shadow: 2px 2px 0 var(--text-dark);
}

.stat-icon-yellow { background: var(--color-yellow); }
.stat-icon-blue { background: var(--color-blue); }
.stat-icon-pink { background: var(--color-pink); }
.stat-icon-purple { background: var(--color-lavender); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}

/* ===================================================================
   POP YOUR THOUGHTS (ASPIRASI & MOOD TRACKER TERPADU)
   =================================================================== */

.thoughts-section {
  padding: 3.5rem 0;
  position: relative;
}

.section-header-box {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-pill-tag {
  display: inline-block;
  background: var(--color-blue);
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 0.35rem 1.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-hard-sm);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #475569;
  font-weight: 500;
}

.thoughts-form-card {
  max-width: 860px;
  margin: 0 auto;
  background: #FFFFFF;
  border: var(--border-thick);
  border-radius: 32px;
  box-shadow: var(--shadow-hard-xl);
  padding: 2.8rem 3.2rem;
  position: relative;
}

/* Integrated Mood Tracker Selector */
.form-step-box {
  margin-bottom: 2rem;
  padding-bottom: 1.8rem;
  border-bottom: 2px dashed #E2E8F0;
}

.form-step-box:last-of-type {
  border-bottom: none;
  margin-bottom: 1rem;
  padding-bottom: 0;
}

.step-label {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-number-bubble {
  width: 28px;
  height: 28px;
  background: var(--color-yellow);
  border: var(--border-medium);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.step-hint {
  font-size: 0.88rem;
  color: #64748B;
  margin-bottom: 1rem;
}

/* 3 Interactive Mood Cards */
.mood-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.mood-option-card {
  border: var(--border-thick);
  border-radius: 20px;
  background: #FAFAFA;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-hard-sm);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  user-select: none;
}

.mood-option-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-hard);
}

.mood-option-card.active {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-hard-lg);
}

/* Specific Mood Colors */
.mood-option-card[data-mood="satisfied"].active {
  background: var(--color-mint-light);
  border-color: #10B981;
}
.mood-option-card[data-mood="neutral"].active {
  background: var(--color-yellow-light);
  border-color: #F59E0B;
}
.mood-option-card[data-mood="dissatisfied"].active {
  background: var(--color-pink-light);
  border-color: #EF4444;
}

.mood-emoji-big {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: transform 0.25s ease;
}

.mood-option-card:hover .mood-emoji-big,
.mood-option-card.active .mood-emoji-big {
  transform: scale(1.2) rotate(6deg);
}

.mood-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.mood-desc {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 600;
}

.mood-check-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #23272A;
  color: #FFF;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.mood-option-card.active .mood-check-badge {
  opacity: 1;
  transform: scale(1);
}

/* Category Pills */
.category-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cat-pill {
  background: #FFF;
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--text-dark);
  transition: all 0.15s ease;
}

.cat-pill:hover {
  background: var(--color-yellow-light);
  transform: translateY(-2px);
}

.cat-pill.active {
  background: var(--color-yellow);
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--text-dark);
}

/* Aspirasi Textarea & Suggested tags */
.textarea-wrapper {
  position: relative;
}

.thoughts-textarea {
  width: 100%;
  min-height: 130px;
  border: var(--border-thick);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  background: #F8FAFC;
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.06);
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.thoughts-textarea:focus {
  background: #FFF;
  border-color: #3A86FF;
}

.char-counter {
  text-align: right;
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 600;
  margin-top: 0.3rem;
}

.quick-tags-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.quick-tag-label {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 700;
}

.btn-quick-tag {
  background: var(--color-pink-light);
  border: 1.5px dashed var(--text-dark);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-quick-tag:hover {
  background: var(--color-pink);
}

/* Anonymous / Identity Switch */
.identity-switch-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F1F5F9;
  border: var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
}

.switch-label-info {
  display: flex;
  flex-direction: column;
}
.switch-label-info strong {
  font-size: 0.95rem;
}
.switch-label-info span {
  font-size: 0.8rem;
  color: #64748B;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #CBD5E1;
  border: 2px solid var(--text-dark);
  transition: .3s;
  border-radius: 34px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border: 2px solid var(--text-dark);
  transition: .3s;
  border-radius: 50%;
}
input:checked + .toggle-slider {
  background-color: var(--color-mint);
}
input:checked + .toggle-slider:before {
  transform: translateX(23px);
}

/* Submit Action Button */
.form-submit-row {
  margin-top: 1.5rem;
  text-align: center;
}

.btn-pop-submit {
  background: linear-gradient(135deg, #FFDE59 0%, #FFB3C6 100%);
  color: var(--text-dark);
  border: var(--border-thick);
  border-radius: var(--radius-pill);
  padding: 1rem 3.5rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: var(--shadow-hard-lg);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-pop-submit:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-hard-xl);
}
.btn-pop-submit:active {
  transform: translateY(2px);
  box-shadow: 2px 2px 0 var(--text-dark);
}

/* ===================================================================
   THE POP GALLERY SECTION
   =================================================================== */

.gallery-section {
  padding: 4rem 0 5rem;
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.filter-pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  background: #FFF;
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-hard-sm);
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: var(--color-pink-light);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--color-pink);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  transform: translateY(-2px);
}

.gallery-search-box {
  position: relative;
  min-width: 260px;
}

.gallery-search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-hard-sm);
  outline: none;
}
.gallery-search-input:focus {
  border-color: #3A86FF;
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-card {
  background: #FFF;
  border: var(--border-thick);
  border-radius: 22px;
  box-shadow: var(--shadow-hard-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  position: relative;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-hard-xl);
}

.card-media-wrap {
  width: 100%;
  height: 220px;
  background: #E2E8F0;
  position: relative;
  overflow: hidden;
  border-bottom: var(--border-thick);
}

.card-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .card-media-img {
  transform: scale(1.05);
}

/* Text / Poetry Card special background */
.card-poetry-canvas {
  width: 100%;
  height: 100%;
  background: #FDFBF7 url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v1H0z' fill='%23E5E0D8' fill-opacity='0.6'/%3E%3C/svg%3E");
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.poetry-preview-title {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: #2D3436;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.poetry-preview-snip {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: #636E72;
  line-height: 1.35;
}

/* Category Badge on Card */
.card-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-yellow);
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 2px 2px 0 var(--text-dark);
  z-index: 5;
}

.badge-desain { background: var(--color-yellow); }
.badge-fotografi { background: var(--color-blue); }
.badge-puisi { background: var(--color-pink); }
.badge-video { background: var(--color-lavender); }

/* Play video badge overlay */
.video-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(35, 39, 42, 0.85);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 2px solid #FFF;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.gallery-card:hover .video-play-indicator {
  transform: translate(-50%, -50%) scale(1.15);
}

.card-body-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-work-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
}

.card-work-author {
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.card-footer-stats {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1.5px dashed #E2E8F0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}

.like-btn-action {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: inherit;
  font-weight: 700;
  color: var(--text-dark);
  transition: transform 0.15s ease;
}

.like-btn-action:hover {
  transform: scale(1.15);
  color: #FF5E7E;
}

.like-heart-icon.liked {
  color: #FF5E7E;
  animation: heartPop 0.3s ease;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ===================================================================
   MODALS (POPUP WINDOWS)
   =================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 39, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-window {
  background: #FFF;
  border: var(--border-thick);
  border-radius: 28px;
  box-shadow: var(--shadow-hard-xl);
  width: 100%;
  max-width: 700px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.6rem 2.5rem;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.open .modal-window {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 38px;
  height: 38px;
  background: var(--color-pink-light);
  border: var(--border-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--text-dark);
  transition: all 0.15s ease;
}
.modal-close-btn:hover {
  background: var(--color-pink);
  transform: scale(1.1);
}

/* Detail Modal Specifics */
.detail-media-container {
  width: 100%;
  border: var(--border-thick);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #F8FAFC;
}

.detail-img-full {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
  background: #000;
}

.detail-poetry-box {
  padding: 2.2rem;
  background: #FFFDF7;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  line-height: 1.6;
  white-space: pre-line;
  color: #1E293B;
}

.comments-list-box {
  margin-top: 1.8rem;
  border-top: 2px dashed #E2E8F0;
  padding-top: 1.5rem;
}

.comment-item-bubble {
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 0.8rem 1.15rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}
.comment-item-bubble strong {
  color: #1E293B;
  display: block;
  font-size: 0.85rem;
}

/* ===================================================================
   POP ADMIN (OSIS DASHBOARD)
   =================================================================== */

.admin-modal-window {
  max-width: 980px;
  width: 95vw;
}

.admin-header-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: var(--border-medium);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.admin-tab-btn {
  background: #F1F5F9;
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.admin-tab-btn.active {
  background: var(--color-yellow);
  box-shadow: 2px 2px 0 var(--text-dark);
}

/* Mood Analytic Visualization in Admin */
.mood-stats-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.mood-stat-pill-box {
  border: var(--border-thick);
  border-radius: 20px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-hard-sm);
}

.box-satisfied { background: var(--color-mint-light); border-color: #10B981; }
.box-neutral { background: var(--color-yellow-light); border-color: #F59E0B; }
.box-dissatisfied { background: var(--color-pink-light); border-color: #EF4444; }

.mood-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.mood-progress-bar-wrap {
  width: 100%;
  height: 12px;
  background: #E2E8F0;
  border: 1.5px solid var(--text-dark);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.mood-progress-fill {
  height: 100%;
  transition: width 0.5s ease;
}

/* Aspirations Table & Items */
.aspiration-admin-item {
  border: var(--border-medium);
  border-radius: 16px;
  padding: 1.1rem;
  margin-bottom: 0.85rem;
  background: #FFF;
  box-shadow: var(--shadow-hard-sm);
}

.asp-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.asp-mood-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.82rem;
  border: 1.5px solid var(--text-dark);
}
.asp-mood-tag.satisfied { background: var(--color-mint); }
.asp-mood-tag.neutral { background: var(--color-yellow); }
.asp-mood-tag.dissatisfied { background: var(--color-pink); }

/* Buttons & Inputs */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: var(--border-medium);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  background: #F8FAFC;
  outline: none;
  margin-bottom: 0.9rem;
}
.input-field:focus {
  background: #FFF;
  border-color: #3A86FF;
}

/* ===================================================================
   FOOTER
   =================================================================== */

.site-footer {
  background: #FFF;
  border-top: var(--border-thick);
  padding: 3.8rem 0 2.8rem;
  margin-top: 5.5rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border: var(--border-medium);
  border-radius: 50%;
  background: var(--color-yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 2px 2px 0 var(--text-dark);
  transition: all 0.15s ease;
}

.social-icon-btn:hover {
  transform: translateY(-2px);
  background: var(--color-yellow);
}

/* ===================================================================
   CONFETTI CANVASES & TOAST ALERTS
   =================================================================== */

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toast-item {
  background: #FFF;
  border: var(--border-thick);
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.4rem;
  box-shadow: var(--shadow-hard-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slideInToast 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInToast {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ===================================================================
   RESPONSIVE MOBILE DRAWER & NAVIGATION
   =================================================================== */

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 39, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 310px;
  max-width: 86vw;
  height: 100vh;
  background: #FFFDF9;
  border-left: var(--border-thick);
  box-shadow: -6px 0 28px rgba(35, 39, 42, 0.25);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: right 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow-y: auto;
}
.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.drawer-close-btn {
  width: 36px;
  height: 36px;
  background: var(--color-pink-light);
  border: var(--border-medium);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0 var(--text-dark);
}
.drawer-school-badge {
  background: var(--color-yellow);
  border: 1.5px solid var(--text-dark);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 2px 2px 0 var(--text-dark);
}
.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 2px solid transparent;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.15s ease;
}
.drawer-link:hover, .drawer-link.active {
  background: var(--color-pink-light);
  border-color: var(--text-dark);
  box-shadow: 2.5px 2.5px 0 var(--text-dark);
  transform: translateX(4px);
}
.drawer-link-admin {
  background: var(--color-yellow-light);
  border-color: var(--text-dark);
}
.drawer-divider {
  height: 2px;
  background: #E2E8F0;
  margin: 0.5rem 0;
}
.drawer-footer-note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px dashed #E2E8F0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748B;
}

/* ===================================================================
   MODAL HEADER WITH CLEAR CLOSE BUTTON (NO OVERLAPPING!)
   =================================================================== */

.modal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
  padding-bottom: 1.1rem;
  border-bottom: 2px dashed #E2E8F0;
  position: relative;
  min-height: 48px;
}
.modal-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-yellow-light);
  border: 1.5px solid var(--text-dark);
  border-radius: 9999px;
  padding: 0.35rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--text-dark);
}

/* Modal Close Button Specifics */
.modal-header-row .modal-close-btn {
  position: static;
  margin-left: auto;
  flex-shrink: 0;
}

.auth-tabs-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.demo-login-box {
  background: var(--color-yellow-light);
  border: 2px dashed #23272A;
  border-radius: 14px;
  padding: 0.85rem;
  margin-bottom: 1.2rem;
  text-align: center;
}
.demo-login-label {
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}
.demo-login-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.account-select-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.account-select-pill:hover {
  border-color: #23272A;
  background: var(--color-yellow-light);
  transform: translateY(-1px);
  box-shadow: 2px 2px 0px #23272A;
}
.form-group-field {
  margin-bottom: 1rem;
}
.field-label {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.btn-full-width {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 0.85rem;
}

/* ===================================================================
   PAGE HEADER & DEDICATED LAYOUTS
   =================================================================== */

.page-header-banner {
  padding: 4.5rem 1.5rem 3rem;
  margin-bottom: 2.2rem;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, #FFF5F7 0%, transparent 65%);
}
.page-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-yellow);
  border: 2px solid var(--text-dark);
  border-radius: 9999px;
  padding: 0.25rem 0.9rem;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 2px 2px 0 var(--text-dark);
  margin-bottom: 0.8rem;
}
.page-main-heading {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.page-subheading {
  font-size: 1.05rem;
  color: #64748B;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Hero Badge */
.hero-school-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-yellow);
  border: 2px solid #23272A;
  border-radius: 9999px;
  padding: 0.25rem 0.9rem;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 2px 2px 0 #23272A;
  margin-bottom: 0.75rem;
}

/* Metrics Ticker */
.metrics-ticker-section {
  padding: 1.2rem 0;
  background: var(--color-blue-light);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
}
.ticker-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
}
.ticker-label {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.ticker-stats-grid {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.ticker-stat-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}
.ticker-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--text-dark);
}
.ticker-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}
.ticker-stat-divider {
  color: #94A3B8;
  font-weight: 800;
}

/* Features */
.feature-card-item {
  background: #FFF;
  border: var(--border-thick);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: var(--shadow-hard-md);
  transition: transform 0.2s ease;
}
.feature-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hard-lg);
}
.feature-card-icon {
  width: 52px;
  height: 52px;
  border: 2px solid var(--text-dark);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 2px 2px 0 var(--text-dark);
}

/* Mood Teaser */
.mood-teaser-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.mood-teaser-bars-box {
  background: #FFF;
  border: var(--border-thick);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: var(--shadow-hard-md);
}
.mood-stat-bar-item {
  margin-bottom: 0.6rem;
}
.bar-header {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

/* Upload CTA Banner */
.upload-cta-banner {
  background: var(--color-mint-light);
  border: var(--border-thick);
  border-radius: 28px;
  padding: 2.8rem 3.2rem;
  box-shadow: var(--shadow-hard-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 4.5rem;
}

/* Success Banner */
.success-alert-banner {
  background: #ECFDF5;
  border: 2px solid #10B981;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 3px 3px 0 var(--text-dark);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* ===================================================================
   THOUGHTS & ASPIRATIONS FEED
   =================================================================== */

.thoughts-layout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.8rem;
  align-items: start;
}
.form-step-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.step-badge {
  width: 26px;
  height: 26px;
  background: var(--color-yellow);
  border: 1.5px solid var(--text-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}
.category-pills-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.btn-category-pill {
  background: #FFF;
  border: 1.5px solid var(--text-dark);
  border-radius: 9999px;
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--text-dark);
  transition: all 0.15s ease;
}
.btn-category-pill:hover, .btn-category-pill.active {
  background: var(--color-pink-light);
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--text-dark);
}
.quick-tags-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.textarea-wrapper {
  position: relative;
}
.char-counter {
  position: absolute;
  bottom: 0.6rem;
  right: 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94A3B8;
  pointer-events: none;
}
.anon-toggle-container {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 16px;
  padding: 0.9rem;
}
.switch-control {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: .3s;
  border-radius: 34px;
  border: 1.5px solid var(--text-dark);
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 2.5px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  border: 1px solid var(--text-dark);
}
input:checked + .switch-slider {
  background-color: var(--color-pink-deep);
}
input:checked + .switch-slider:before {
  transform: translateX(20px);
}
.anon-label-title {
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: block;
}
.anon-label-sub {
  font-size: 0.78rem;
  color: #64748B;
  margin: 0;
}

/* Radar Card */
.radar-card {
  background: #FFF;
  border: var(--border-thick);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: var(--shadow-hard-md);
}
.radar-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.radar-icon {
  font-size: 2.2rem;
}
.radar-bars-stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.radar-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.radar-info-box {
  background: #FFFDF7;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 0.9rem;
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
}
.guideline-card {
  background: #F8FAFC;
  border: var(--border-medium);
  border-radius: 20px;
  padding: 1.4rem;
}
.guideline-list {
  padding-left: 1.2rem;
  margin: 0;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
}

/* Feed Grid */
.aspirations-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.aspiration-feed-card {
  background: #FFF;
  border: var(--border-medium);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow-hard-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.aspiration-feed-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hard-lg);
}
.aspiration-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.asp-mood-pill {
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid var(--text-dark);
}
.asp-mood-pill.satisfied {
  background: #D1FAE5;
  color: #065F46;
}
.asp-mood-pill.neutral {
  background: #DBEAFE;
  color: #1E40AF;
}
.asp-mood-pill.dissatisfied {
  background: #FEE2E2;
  color: #991B1B;
}
.asp-category-badge {
  background: var(--color-yellow-light);
  border: 1px solid var(--text-dark);
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
}
.aspiration-message-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  margin: 0.4rem 0 1rem;
  flex-grow: 1;
}
.aspiration-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #E2E8F0;
  padding-top: 0.8rem;
  font-size: 0.82rem;
  color: #64748B;
}
.asp-admin-response-box {
  background: #FFFDF7;
  border: 1.5px solid var(--color-yellow);
  border-radius: 12px;
  padding: 0.75rem;
  margin-top: 0.8rem;
  font-size: 0.85rem;
}
.admin-response-title {
  font-weight: 800;
  color: #D97706;
  display: block;
  margin-bottom: 0.2rem;
}
.admin-response-text {
  color: #1E293B;
  margin: 0;
  line-height: 1.4;
}

/* ===================================================================
   GALLERY TOOLBAR & SEARCH
   =================================================================== */

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-bottom: 2px dashed #E2E8F0;
  margin-bottom: 2rem;
}
.category-filters-container {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.search-box-wrapper {
  flex-grow: 1;
  max-width: 360px;
}
.search-input {
  width: 100%;
  padding: 0.6rem 1rem;
  border: var(--border-medium);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.search-input:focus {
  border-color: var(--color-pink-deep);
  box-shadow: 2px 2px 0 var(--text-dark);
}
.empty-state-box {
  text-align: center;
  padding: 4rem 1.5rem;
  background: #FFF;
  border: var(--border-thick);
  border-radius: 28px;
  box-shadow: var(--shadow-hard-md);
}

/* ===================================================================
   STANDALONE ADMIN DASHBOARD
   =================================================================== */

.admin-top-banner {
  background: #FFFDF9;
  border-bottom: var(--border-thick);
  padding: 2.5rem 0;
}
.admin-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.admin-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-pink-deep);
  color: #FFF;
  border: 2px solid var(--text-dark);
  border-radius: 9999px;
  padding: 0.25rem 0.8rem;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: 2px 2px 0 var(--text-dark);
}
.admin-quick-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.admin-kpi-card {
  background: #FFF;
  border: var(--border-medium);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: var(--shadow-hard-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.kpi-icon-pill {
  width: 54px;
  height: 54px;
  border: 2px solid var(--text-dark);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 var(--text-dark);
}
.kpi-info {
  flex-grow: 1;
}
.kpi-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.kpi-value {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  margin: 0.1rem 0;
}
.kpi-subtext {
  font-size: 0.78rem;
  color: #94A3B8;
}

.admin-nav-tabs-wrapper {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--text-dark);
  padding-bottom: 0.6rem;
  flex-wrap: wrap;
}
.admin-main-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FFF;
  border: var(--border-medium);
  border-radius: 14px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--text-dark);
  transition: all 0.15s ease;
}
.admin-main-tab.active {
  background: var(--color-yellow);
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--text-dark);
}
.tab-badge {
  background: var(--text-dark);
  color: #FFF;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 0.75rem;
}
.admin-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

/* Data Table */
.admin-table-container {
  background: #FFF;
  border: var(--border-medium);
  border-radius: 20px;
  box-shadow: var(--shadow-hard-md);
  overflow-x: auto;
  margin-top: 1rem;
}
.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.admin-data-table th {
  background: #F8FAFC;
  padding: 1rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #475569;
  border-bottom: 2px solid #E2E8F0;
  white-space: nowrap;
}
.admin-data-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}
.admin-data-table tr:hover {
  background: #FFFDF9;
}
.admin-thumb-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid var(--text-dark);
}
.admin-thumb-placeholder {
  width: 52px;
  height: 52px;
  background: var(--color-pink-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1.5px solid var(--text-dark);
}
.admin-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid var(--text-dark);
}
.admin-status-badge.approved {
  background: #D1FAE5;
  color: #065F46;
}
.admin-status-badge.pending, .admin-status-badge.new {
  background: #FEF3C7;
  color: #92400E;
}
.admin-status-badge.rejected {
  background: #FEE2E2;
  color: #991B1B;
}
.admin-status-badge.reviewed {
  background: #DBEAFE;
  color: #1E40AF;
}
.admin-action-btn-row {
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
  align-items: center;
}
.btn-action-small {
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  border: 1.5px solid var(--text-dark);
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 1.5px 1.5px 0 var(--text-dark);
  transition: all 0.15s ease;
}
.btn-action-small:hover {
  transform: translateY(-1px);
}
.btn-approve {
  background: #10B981;
  color: #FFF;
}
.btn-reject {
  background: #EF4444;
  color: #FFF;
}
.btn-edit {
  background: var(--color-yellow);
  color: var(--text-dark);
}
.btn-delete {
  background: #FFF;
  color: #EF4444;
}
.admin-flash-alert {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  border: var(--border-medium);
}
.admin-flash-alert.success {
  background: #ECFDF5;
  border-color: #10B981;
  color: #065F46;
}
.admin-flash-alert.warning {
  background: #FFFBEB;
  border-color: #F59E0B;
  color: #92400E;
}

/* Admin Aspirations List */
.admin-aspirations-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.admin-aspiration-card {
  background: #FFF;
  border: var(--border-medium);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: var(--shadow-hard-md);
}
.admin-asp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.admin-asp-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.admin-asp-body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1E293B;
  margin: 0.4rem 0 0.8rem;
}
.admin-response-preview-box {
  background: #F0FDF4;
  border-left: 4px solid #10B981;
  padding: 0.6rem 0.9rem;
  border-radius: 0 10px 10px 0;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}
.admin-asp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #E2E8F0;
  padding-top: 0.6rem;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Analytics */
.admin-analytics-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.8rem;
}
.analytics-card-large {
  background: #FFF;
  border: var(--border-medium);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: var(--shadow-hard-md);
}

/* ===================================================================
   EXTENDED COMPONENT SYSTEM FOR MULTI-PAGE PASUNPOP!
   =================================================================== */

.page-main-content {
  min-height: calc(100vh - 160px);
  position: relative;
  z-index: 5;
}

.section-container {
  padding: 3.5rem 0;
  position: relative;
}

/* General State & Status Utilities */
.approved {
  background: #D1FAE5;
  color: #065F46;
}
.satisfied {
  color: #065F46;
}
.neutral {
  color: #1E40AF;
}
.dissatisfied {
  color: #991B1B;
}

.section-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FFF;
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1.25rem;
  box-shadow: var(--shadow-hard-sm);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.section-number {
  background: var(--color-yellow);
  border: 1.5px solid var(--text-dark);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.65rem;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text-dark);
}

.section-sparkle {
  color: #FF5E7E;
  font-size: 1.15rem;
  animation: pulseStar 2s infinite ease-in-out;
}

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

/* Category Pill (Universal filter button & badge) */
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFF;
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.15rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  box-shadow: 2.5px 2.5px 0 var(--text-dark);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.category-pill:hover {
  transform: translateY(-2px);
  background: var(--color-yellow-light);
  box-shadow: 3.5px 3.5px 0 var(--text-dark);
  color: var(--text-dark);
}
.category-pill.active {
  background: var(--color-blue);
  border-color: var(--text-dark);
  box-shadow: 3px 3px 0 var(--text-dark);
  color: var(--text-dark);
  transform: translateY(-1px);
}

.btn-admin-style {
  background: linear-gradient(135deg, #FFDE59 0%, #FFB3C6 100%) !important;
  color: var(--text-dark) !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

/* ===================================================================
   HERO SCRAPBOOK STACK & POLAROID VISUAL (index.php)
   =================================================================== */

.hero-action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.action-card-btn.btn-thoughts, .btn-thoughts { background: var(--color-yellow-light); }
.action-card-btn.btn-gallery, .btn-gallery { background: var(--color-blue-light); }
.action-card-btn.btn-art, .btn-art { background: var(--color-pink-light); }

.card-arrow {
  font-size: 1.25rem;
  font-weight: 900;
  margin-left: auto;
  transition: transform 0.2s ease;
  color: var(--text-dark);
}
.action-card-btn:hover .card-arrow {
  transform: translateX(5px);
}

.gallery-controls-section {
  padding: 1rem 0;
  position: relative;
}

.hero-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.scrapbook-hero-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.polaroid-frame, .main-polaroid {
  background: #FFFFFF;
  border: 3.5px solid var(--text-dark);
  border-radius: 26px;
  padding: 1.25rem 1.25rem 1.6rem;
  box-shadow: var(--shadow-hard-xl);
  transform: rotate(2deg);
  width: 100%;
  max-width: 400px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.polaroid-frame.main-polaroid:hover,
.polaroid-frame:hover,
.main-polaroid:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 10px 10px 0 var(--text-dark);
}

.sticker-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mood-teaser-left, .mood-teaser-right {
  display: flex;
  flex-direction: column;
}

.bar-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.bar-pct {
  font-weight: 800;
  font-size: 0.88rem;
}

.comments-container {
  max-height: 240px;
  overflow-y: auto;
}

.photo-container {
  width: 100%;
  height: 270px;
  border-radius: 18px;
  overflow: hidden;
  border: 2.5px solid var(--text-dark);
  position: relative;
  background: #E2E8F0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-caption-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(35, 39, 42, 0.88);
  backdrop-filter: blur(4px);
  color: #FFF;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.polaroid-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding: 0 0.3rem;
}

.polaroid-hand-text {
  font-family: var(--font-hand);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.sticker-mini-smile {
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* Washi Tape Stickers */
.washi-tape {
  position: absolute;
  height: 24px;
  border: 1px dashed rgba(35, 39, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 10;
  border-radius: 2px;
}
.washi-top-left {
  top: -12px;
  left: 24px;
  width: 85px;
  background: rgba(255, 179, 198, 0.85);
  transform: rotate(-7deg);
}
.washi-top-right {
  top: -12px;
  right: 24px;
  width: 85px;
  background: rgba(143, 216, 254, 0.85);
  transform: rotate(6deg);
}
.washi-card-center {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(1deg);
  width: 80px;
  height: 22px;
  background: rgba(255, 222, 89, 0.85);
  border: 1px dashed rgba(35, 39, 42, 0.45);
  z-index: 10;
  border-radius: 2px;
}

/* Scrapbook Badges */
.scrapbook-badge {
  position: absolute;
  border: 2.5px solid var(--text-dark);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: var(--shadow-hard-sm);
  z-index: 12;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.badge-school-pride,
.badge-yellow-school {
  top: -14px;
  left: -14px;
  background: var(--color-yellow);
  transform: rotate(-6deg);
}
.badge-100-creative,
.badge-green-art {
  top: 18px;
  right: -24px;
  background: var(--color-mint);
  transform: rotate(6deg);
}
.badge-pink-care {
  bottom: 30px;
  left: -22px;
  background: var(--color-pink);
  transform: rotate(-5deg);
}
.badge-safe-voice,
.badge-gray-ikat {
  bottom: -16px;
  right: -10px;
  background: #E2E8F0;
  color: #1E293B;
  transform: rotate(4deg);
}

/* ===================================================================
   WORK POLAROID CARDS (index.php & gallery.php)
   =================================================================== */

.work-card-polaroid {
  background: #FFF;
  border: var(--border-thick);
  border-radius: 22px;
  box-shadow: var(--shadow-hard-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  cursor: pointer;
}
.work-card-polaroid:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-hard-xl);
}

.card-media-wrapper {
  width: 100%;
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #E2E8F0;
  border-bottom: var(--border-thick);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.work-card-polaroid:hover .card-img {
  transform: scale(1.05);
}

.card-poetry-preview {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* ===================================================================
   POETRY & LITERATURE TYPOGRAPHIC BOOK COVER
   =================================================================== */

.poetry-book-cover {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, #FFFDF8 0%, #FFF5EB 50%, #FFEFEA 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.4rem 1.2rem;
  overflow: hidden;
  border-left: 7px solid #FBCFE8;
  box-shadow: inset 3px 0 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, background 0.3s ease;
}

.work-card-polaroid:hover .poetry-book-cover,
.gallery-card:hover .poetry-book-cover {
  background: linear-gradient(135deg, #FFFDF8 0%, #FFF0F5 50%, #FFEBE6 100%);
  transform: scale(1.02);
}

.poetry-book-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  opacity: 0.8;
}

.poetry-cover-watermark {
  position: absolute;
  top: -12px;
  right: 12px;
  font-family: "Georgia", serif;
  font-size: 7rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 101, 132, 0.12);
  pointer-events: none;
  user-select: none;
}

.poetry-cover-ribbon {
  position: absolute;
  top: 10px;
  right: 12px;
  background: var(--color-yellow);
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
  border-radius: 9999px;
  padding: 2px 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: 1.5px 1.5px 0 var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}

.poetry-cover-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.poetry-cover-quote {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.38;
  color: #1E293B;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
  font-style: italic;
  max-width: 95%;
}

.poetry-cover-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 70%;
  margin: 0.1rem 0;
}
.poetry-cover-divider .divider-line {
  flex-grow: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #CBD5E1, transparent);
}
.poetry-cover-divider .divider-star {
  font-size: 0.75rem;
  color: var(--color-pink-deep);
}

.poetry-cover-author-tag {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(35, 39, 42, 0.15);
  border-radius: 9999px;
  padding: 2px 9px;
}

.poetry-sparkle {
  position: absolute;
  color: #F59E0B;
  font-size: 0.85rem;
  pointer-events: none;
  animation: floatSparkle 2.5s ease-in-out infinite alternate;
  z-index: 2;
}
.poetry-sparkle.top-left { top: 12px; left: 16px; animation-delay: 0.2s; }
.poetry-sparkle.bottom-right { bottom: 10px; right: 16px; animation-delay: 1.2s; }

@keyframes floatSparkle {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  100% { transform: translateY(-4px) rotate(15deg); opacity: 1; }
}

/* Mini Poetry Thumbnail for Admin & Moderation List */
.admin-thumb-poetry-book {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #FFF0F5 0%, #FEF3C7 100%);
  border: 1.5px solid #23272A;
  border-left: 4px solid #F472B6;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 1.5px 1.5px 0 #23272A;
  cursor: default;
  transition: transform 0.15s ease;
  user-select: none;
}
.admin-thumb-poetry-book:hover {
  transform: scale(1.08);
}
.admin-thumb-poetry-book .mini-quill {
  font-size: 1.15rem;
  line-height: 1;
}
.admin-thumb-poetry-book .mini-text {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 800;
  color: #9D174D;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Detail Modal Open Book Styling */
.detail-poetry-book-wrapper {
  background: #FFFDF9;
  border: 2.5px solid var(--text-dark);
  border-radius: 20px;
  box-shadow: 3px 3px 0 var(--text-dark);
  overflow: hidden;
  max-height: 380px;
  display: flex;
  flex-direction: column;
}

.detail-poetry-header {
  background: linear-gradient(90deg, #FDF2F8 0%, #FEF3C7 100%);
  border-bottom: 2px solid var(--text-dark);
  padding: 0.75rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.detail-poetry-badge {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.detail-poetry-body {
  padding: 1.8rem 1.6rem;
  overflow-y: auto;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  line-height: 1.7;
  color: #1E293B;
  white-space: pre-wrap;
  background-image: linear-gradient(to bottom, transparent 96%, #F1F5F9 97%);
  background-size: 100% 2.38rem;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.play-badge {
  width: 52px;
  height: 52px;
  background: var(--color-yellow);
  border: 2.5px solid var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 2px 2px 0 var(--text-dark);
  color: var(--text-dark);
  transition: transform 0.2s ease;
}
.work-card-polaroid:hover .play-badge {
  transform: scale(1.15);
}

.card-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-yellow);
  border: 2px solid var(--text-dark);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--text-dark);
  z-index: 5;
  text-transform: uppercase;
}

.card-info-box {
  padding: 1.45rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-work-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.card-work-author {
  font-size: 0.88rem;
  color: #64748B;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.card-footer-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1.5px dashed #E2E8F0;
}

.btn-like-heart {
  background: var(--color-pink-light);
  border: 2px solid var(--text-dark);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 2px 2px 0 var(--text-dark);
  transition: all 0.15s ease;
}
.btn-like-heart:hover {
  transform: scale(1.08);
  background: var(--color-pink);
}
.btn-like-heart.liked {
  background: #FF6584;
  color: #FFF;
}
.heart-icon { font-size: 1rem; }
.like-counter { font-weight: 800; font-size: 0.85rem; }

.btn-detail-popup {
  background: var(--color-blue-light);
  border: 2px solid var(--text-dark);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 2px 2px 0 var(--text-dark);
  transition: all 0.15s ease;
}
.btn-detail-popup:hover {
  transform: translateY(-2px);
  background: var(--color-blue);
}

/* ===================================================================
   POP YOUR THOUGHTS & MOOD SELECTOR (thoughts.php)
   =================================================================== */

.thoughts-form-column { width: 100%; }
.thoughts-radar-column { width: 100%; }

.form-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-yellow);
  border: 2px solid var(--text-dark);
  border-radius: 9999px;
  padding: 0.25rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--text-dark);
  margin-bottom: 0.6rem;
}

.form-section-block {
  margin-bottom: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px dashed #E2E8F0;
}
.form-section-block:last-child {
  border-bottom: none;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
}

/* 3 Interactive Mood Radio Cards */
.mood-choice-card {
  display: block;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.mood-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.mood-card-inner {
  background: #FFFFFF;
  border: 2.5px solid var(--text-dark);
  border-radius: 20px;
  padding: 1.2rem 0.8rem;
  text-align: center;
  box-shadow: var(--shadow-hard-sm);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.mood-choice-card:hover .mood-card-inner {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hard);
}
.mood-radio-input:checked + .mood-card-inner {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-hard-lg);
  border-width: 3px;
}
.mood-radio-input:checked + .mood-card-inner.satisfied {
  background: #D1FAE5;
  border-color: #065F46;
}
.mood-radio-input:checked + .mood-card-inner.neutral {
  background: #DBEAFE;
  border-color: #1E40AF;
}
.mood-radio-input:checked + .mood-card-inner.dissatisfied {
  background: #FEE2E2;
  border-color: #991B1B;
}

.mood-emoji {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
  line-height: 1;
}
.mood-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
}
.mood-desc {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 600;
  line-height: 1.3;
}

.quick-topic-tag {
  background: #FFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.quick-topic-tag:hover {
  background: var(--color-yellow-light);
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.radar-bar-box {
  background: #FFFDF9;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}

.filter-mood-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.asp-filter-btn {
  background: #FFF;
  border: 2px solid var(--text-dark);
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--text-dark);
  transition: all 0.15s ease;
  text-decoration: none;
  color: var(--text-dark);
}
.asp-filter-btn.active, .asp-filter-btn:hover {
  background: var(--color-yellow);
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--text-dark);
}

.asp-author-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.asp-author-name {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-dark);
}
.asp-author-class {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 600;
}
.asp-date {
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 600;
}

/* ===================================================================
   UNIVERSAL FOOTER (includes/footer.php)
   =================================================================== */

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.footer-desc {
  font-size: 0.92rem;
  color: #64748B;
  line-height: 1.6;
  max-width: 380px;
}
.footer-badge-sipasone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-yellow);
  border: 1.5px solid var(--text-dark);
  border-radius: 9999px;
  padding: 0.35rem 0.9rem;
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 2px 2px 0 var(--text-dark);
  width: fit-content;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
}
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav-list a {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-nav-list a:hover {
  color: #FF006E;
  transform: translateX(4px);
}
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 2px dashed #E2E8F0;
  padding-top: 1.8rem;
  margin-top: 2.5rem;
}
.copyright-text {
  font-size: 0.88rem;
  color: #64748B;
}
.slogan-credit {
  font-size: 0.88rem;
  color: #FF006E;
  font-weight: 700;
}

/* ===================================================================
   MODAL WINDOW & DRAWER EXTENSIONS
   =================================================================== */

.modal-window-auth {
  max-width: 480px;
  width: 100%;
}
.detail-category-badge {
  background: var(--color-yellow);
  border: 2px solid var(--text-dark);
  border-radius: 9999px;
  padding: 0.3rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--text-dark);
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
}
.drawer-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.drawer-link-auth {
  background: linear-gradient(135deg, #FFDE59 0%, #FFB3C6 100%);
  border-color: var(--text-dark) !important;
}
.admin-content-pane {
  transition: opacity 0.2s ease;
}

/* ===================================================================
   COMPREHENSIVE RESPONSIVE DESIGN (MOBILE & TABLET EXCELLENCE)
   =================================================================== */

@media (max-width: 1200px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    display: none !important;
  }
  .mobile-nav-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .title-text-pasunpop {
    justify-content: center;
    font-size: 3rem;
  }
  .hero-description {
    margin: 0 auto 1.8rem;
    max-width: 600px;
  }
  .hero-action-buttons {
    justify-content: center;
  }
  .intro-stats-grid {
    grid-template-columns: 1fr;
  }
  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }
  .mood-teaser-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
  .thoughts-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .admin-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-analytics-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  .floating-doodle {
    display: none !important;
  }
  .site-header {
    padding: 0.6rem 1rem;
    margin-bottom: 1.2rem;
  }
  .nav-capsule {
    padding: 0.4rem 0.9rem;
  }
  .btn-admin-pill {
    display: none;
  }
  .hero-title-sticker {
    padding: 0.45rem 1.4rem;
    border-radius: 26px;
    border-width: 3.5px;
    transform: rotate(-1deg);
  }
  .title-text-pasunpop {
    font-size: clamp(2rem, 6.5vw, 2.5rem);
  }
  .tagline-pill {
    font-size: 1.05rem;
    padding: 0.35rem 1rem;
  }
  .hero-action-buttons {
    flex-direction: column;
    width: 100%;
  }
  .action-card-btn {
    width: 100%;
    min-width: 0;
  }
  .polaroid-frame.main-polaroid {
    max-width: 340px;
    padding: 1rem 1rem 1.4rem;
    transform: rotate(1deg);
  }
  .photo-container {
    height: 220px;
  }
  .polaroid-hand-text {
    font-size: 1.25rem;
  }
  .badge-school-pride,
  .badge-yellow-school {
    top: -10px;
    left: 4px;
    transform: rotate(-3deg);
  }
  .badge-100-creative,
  .badge-green-art {
    top: 14px;
    right: 4px;
    transform: rotate(3deg);
  }
  .badge-pink-care {
    bottom: 25px;
    left: 4px;
    transform: rotate(-3deg);
  }
  .badge-safe-voice,
  .badge-gray-ikat {
    bottom: -10px;
    right: 4px;
    transform: rotate(2deg);
  }
  .btn-pop-submit {
    padding: 0.85rem 1.6rem;
    font-size: 1.1rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .section-header-pill {
    max-width: 100%;
    flex-wrap: wrap;
    padding: 0.35rem 0.9rem;
  }
  .aspiration-card-header {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .aspiration-message-body {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .aspiration-card-footer {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .mobile-table-scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0369A1;
    background: #E0F2FE;
    border: 1.5px dashed #0284C7;
    border-radius: 12px;
    padding: 0.5rem 0.85rem;
    margin-bottom: 0.6rem;
  }
  .admin-table-container {
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    display: block;
  }
  .admin-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
  }
  .admin-quick-links .btn-auth {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }
  .ticker-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }
  .ticker-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
  }
  .ticker-stat-divider {
    display: none;
  }
  .ticker-stat-item {
    background: #FFF;
    border: 1.5px solid var(--text-dark);
    border-radius: 14px;
    padding: 0.6rem 0.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 2px 2px 0 var(--text-dark);
  }
  .ticker-num {
    font-size: 1.25rem;
  }
  .ticker-title {
    font-size: 0.75rem;
  }
  .mood-selector-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .mood-card-inner {
    flex-direction: row;
    text-align: left;
    padding: 0.9rem 1.2rem;
    gap: 1rem;
    align-items: center;
  }
  .mood-emoji {
    font-size: 2.2rem;
    margin-bottom: 0;
  }
  .thoughts-form-card {
    padding: 2.2rem 1.6rem;
    border-radius: 24px;
  }
  .aspirations-feed-grid {
    grid-template-columns: 1fr;
  }
  .gallery-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .category-filters-container {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .category-filters-container::-webkit-scrollbar {
    height: 4px;
  }
  .category-filters-container::-webkit-scrollbar-thumb {
    background: var(--color-pink);
    border-radius: 9999px;
  }
  .search-box-wrapper {
    max-width: 100%;
    width: 100%;
  }
  .upload-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 2rem 1.6rem;
  }
  .admin-nav-tabs-wrapper {
    flex-direction: column;
  }
  .admin-main-tab {
    width: 100%;
    justify-content: space-between;
  }
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }
  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }
  .modal-window {
    padding: 1.6rem 1.2rem;
    border-radius: 20px;
    width: 95vw;
    max-height: 90vh;
  }
  .search-box-wrapper form {
    flex-wrap: wrap;
  }
  .search-input {
    min-width: 0;
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  .site-header {
    padding: 0.4rem 0.5rem;
    margin-bottom: 0.8rem;
  }
  .nav-capsule {
    padding: 0.35rem 0.55rem;
    gap: 0.35rem;
  }
  .brand-logo .nav-crest-icon {
    width: 24px;
    height: 24px;
  }
  .brand-logo .logo-bubble {
    font-size: 0.95rem;
    padding: 0.15rem 0.45rem;
  }
  .btn-auth {
    padding: 0.3rem 0.55rem;
    font-size: 0.74rem;
  }
  .btn-auth span:first-child {
    font-size: 0.72rem;
  }
  .btn-pop-submit {
    padding: 0.75rem 1rem;
    font-size: 0.96rem;
    width: 100%;
    box-sizing: border-box;
  }
  .user-chip {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.74rem;
    padding: 0.25rem 0.45rem;
  }
  .hero-title-sticker {
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    border-width: 3px;
    margin-bottom: 0.8rem;
  }
  .title-text-pasunpop {
    font-size: clamp(1.5rem, 7vw, 1.95rem);
    text-shadow: 2px 2px 0px var(--text-dark);
    -webkit-text-stroke: 1.5px var(--text-dark);
  }
  .title-star-o {
    width: 1em;
    height: 1em;
    font-size: 0.8em;
  }
  .tagline-pill {
    font-size: 0.85rem;
    padding: 0.3rem 0.7rem;
    white-space: normal;
    line-height: 1.4;
  }
  .polaroid-frame.main-polaroid {
    max-width: 290px;
    padding: 0.75rem 0.75rem 1.1rem;
  }
  .photo-container {
    height: 185px;
  }
  .polaroid-hand-text {
    font-size: 1.05rem;
  }
  .badge-school-pride,
  .badge-yellow-school {
    top: -8px;
    left: 2px;
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
    transform: rotate(-2deg);
  }
  .badge-100-creative,
  .badge-green-art {
    top: 8px;
    right: 2px;
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
    transform: rotate(2deg);
  }
  .badge-pink-care {
    bottom: 20px;
    left: 2px;
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
    transform: rotate(-2deg);
  }
  .badge-safe-voice,
  .badge-gray-ikat {
    bottom: -8px;
    right: 2px;
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
    transform: rotate(1deg);
  }
  .scrapbook-badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
  }
  .target-selector-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .category-pills-row {
    gap: 0.35rem;
  }
  .btn-category-pill {
    font-size: 0.76rem;
    padding: 0.3rem 0.65rem;
  }
  .thoughts-form-card {
    padding: 1.6rem 1rem;
    border-radius: 20px;
  }
  .card-media-wrapper {
    height: 200px;
  }
  .filter-mood-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .asp-filter-btn {
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
  }
}

/* ===================================================================
   PASONE-POP! REVISED BRANDING & RED STAR ACCENT
   =================================================================== */
.red-star-accent,
.star-red {
  color: var(--color-red-star);
  display: inline-block;
  font-weight: 900;
  text-shadow: 1.5px 1.5px 0 var(--text-dark);
}

.title-text-pasunpop .title-star-o,
.hero-red-star {
  color: var(--color-red-star) !important;
  display: inline-block;
  animation: starPulse 2.5s infinite ease-in-out;
}

@keyframes starPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(12deg); }
}

.logo-bubble .logo-red-star {
  color: var(--color-red-star);
  margin-left: 1px;
}

/* ===================================================================
   ASPIRATION FORM VALIDATION & STEP-BY-STEP STYLES
   =================================================================== */
.required-mark {
  color: var(--color-red-star);
  font-weight: 800;
  margin-left: 3px;
}

.field-error-msg {
  display: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #DC2626;
  margin-top: 0.4rem;
  padding: 0.3rem 0.6rem;
  background: #FEE2E2;
  border: 1.5px solid #EF4444;
  border-radius: var(--radius-sm);
  align-items: center;
  gap: 0.4rem;
}

.field-error-msg.visible {
  display: flex;
  animation: errorShake 0.35s ease;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.input-field.is-invalid,
.textarea-wrapper.is-invalid textarea {
  border-color: #DC2626 !important;
  background-color: #FEF2F2 !important;
  box-shadow: 3px 3px 0 #DC2626 !important;
}

/* Step 3: Ditujukan Kepada Selector Cards */
.target-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .target-selector-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.target-choice-card {
  cursor: pointer;
  margin: 0;
  display: block;
}

.target-choice-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.target-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 0.5rem;
  background: #FFFFFF;
  border: 2.5px solid var(--text-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-sm);
  text-align: center;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.target-card-inner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hard);
  background: var(--color-blue-light);
}

.target-choice-card input[type="radio"]:checked + .target-card-inner {
  background: var(--color-yellow);
  border-color: var(--text-dark);
  box-shadow: var(--shadow-hard);
  transform: scale(1.02);
}

.target-card-inner .target-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.target-card-inner .target-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.target-card-inner .target-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.badge-target-to {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 800;
  background: #F1F5F9;
  border: 1.5px solid var(--text-dark);
  color: var(--text-dark);
}

/* ===================================================================
   ADMIN HERO PHOTO MANAGEMENT STYLES
   =================================================================== */
.hero-manage-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .hero-manage-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.hero-preview-polaroid {
  background: #FFFFFF;
  border: var(--border-thick);
  border-radius: 22px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-hard-lg);
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

.hero-preview-frame {
  width: 100%;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--text-dark);
  background: #E2E8F0;
  position: relative;
}

.hero-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-upload-dropzone {
  border: 3px dashed #CBD5E1;
  background: #F8FAFC;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-upload-dropzone:hover,
.hero-upload-dropzone.dragover {
  border-color: var(--color-blue-deep);
  background: var(--color-blue-light);
}

.preset-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.preset-thumb-btn {
  border: 2.5px solid var(--text-dark);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #FFF;
  height: 75px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.preset-thumb-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hard-sm);
}

.preset-thumb-btn.active {
  border-color: var(--color-red-star);
  box-shadow: 0 0 0 2px var(--color-red-star);
}

.preset-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================================================
   LOGO & OFFICIAL EMBLEM STYLING (Pasone-pop! + OSIS + SMA Pasundan 1)
   =================================================================== */

/* Mobile Drawer Crests */
.drawer-crest-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
}

/* OSIS Emblem & Badge Styling */
.hero-crest-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.15));
}

/* Page Header Banner Crests */
.banner-crest-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}

.admin-crest-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Footer Logos */
.footer-badge-sipasone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFF;
  border: 2px solid var(--text-dark);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 2px 2px 0 var(--text-dark);
  margin-top: 0.6rem;
}

.footer-crest-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-crest-icon {
    width: 20px;
    height: 20px;
  }
}
