@charset "UTF-8";

/* ==========================================================================
   Zero-CDN Persian Typography (Vazirmatn) & Material Symbols Icons
   ========================================================================== */

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/Vazirmatn-Variable.woff2') format('woff2-variations'),
       url('../fonts/vazirmatn/Vazirmatn-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  src: url('../fonts/icons/Material-Symbols-Outlined.woff2') format('woff2');
  font-display: swap;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* ==========================================================================
   Luxury Apple Music Aurora Player (Exact Reference Match)
   - Deep cosmic violet/indigo ambient glow
   - Multi-layered soundwave aura around circular portrait
   - 36-bar reactive soundwave visualizer & scrubber
   - Tactile frosted-glass playback controls
   - 60fps performance floor (transform & opacity only)
   - Zero inline CSS, high-contrast Persian typography
   ========================================================================== */

:root {
  --bg-deep: #0b061d;
  --purple-glow: #6d28d9;
  --purple-bright: #a855f7;
  --pink-neon: #ec4899;
  --cyan-neon: #38bdf8;
  
  --text-pure: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.75);
  --text-faint: rgba(255, 255, 255, 0.45);

  --glass-card: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-highlight: rgba(255, 255, 255, 0.38);

  --spring-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-natural: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-feature-settings: 'ss01' 1;
  font-feature-settings: 'ss01' 1;
}

html, body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-pure);
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  direction: rtl;
  overflow-x: hidden;
  position: relative;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 25%, #3b167a 0%, #17093b 50%, #090417 100%);
  background-attachment: fixed;
}

/* ==========================================================================
   Ambient Dynamic Aurora Orbs (60fps Background Glow)
   ========================================================================== */

.ambient-backdrop {
  position: fixed;
  inset: -10%;
  background: radial-gradient(circle at 50% 28%, rgba(139, 92, 246, 0.55) 0%, transparent 55%),
              radial-gradient(circle at 85% 70%, rgba(236, 72, 153, 0.4) 0%, transparent 50%),
              radial-gradient(circle at 15% 65%, rgba(56, 189, 248, 0.35) 0%, transparent 50%),
              radial-gradient(circle at 50% 90%, rgba(109, 40, 217, 0.3) 0%, transparent 60%);
  filter: blur(60px);
  z-index: -2;
  transform: translate3d(0, 0, 0) scale(1.05);
  will-change: transform;
  backface-visibility: hidden;
  pointer-events: none;
  animation: aurora-flow 16s ease-in-out infinite alternate;
}

@keyframes aurora-flow {
  0% { transform: translate3d(0, 0, 0) scale(1.02); }
  50% { transform: translate3d(-10px, 15px, 0) scale(1.08); }
  100% { transform: translate3d(12px, -8px, 0) scale(1.04); }
}

.ambient-noise {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(5, 2, 14, 0.7) 100%);
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   Mobile Player Canvas Container
   ========================================================================== */

.player-container {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  padding: 26px 24px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header (School Badge & Occasion Tag)
   ========================================================================== */

.player-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.school-capsule-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  padding: 6px 16px;
  border-radius: 9999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.school-badge-icon {
  font-size: 16px;
  color: var(--pink-neon);
}

.school-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-pure);
}

.school-divider {
  font-size: 10px;
  color: var(--text-faint);
}

.academic-year {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan-neon);
}

.occasion-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fce7f3;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(236, 72, 153, 0.4);
  padding: 4px 16px;
  border-radius: 9999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 12px rgba(236, 72, 153, 0.2);
}

.occasion-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--pink-neon);
  box-shadow: 0 0 8px var(--pink-neon);
}

/* ==========================================================================
   Center Stage: Circular Portrait & Creative Dynamic Wave Equalizer Aura
   ========================================================================== */

.avatar-stage {
  position: relative;
  width: 270px;
  height: 270px;
  max-width: 74vw;
  max-height: 74vw;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  margin: 10px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0);
  contain: layout style;
}

/* Ambient Diffuse Backlight behind the portrait */
.aura-glow-diffuse {
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.75) 0%, rgba(244, 63, 94, 0.5) 45%, rgba(56, 189, 248, 0.3) 65%, transparent 75%);
  filter: blur(34px);
  z-index: 1;
  opacity: 0.8;
  transform: translateZ(0) scale(0.96);
  will-change: transform, opacity;
  backface-visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s var(--spring-bounce);
}

/* Creative Undulating Circular Soundwave SVG (60fps GPU transform/opacity only - zero dynamic drop-shadow repaint) */
.circular-soundwave-svg {
  position: absolute;
  inset: -45px;
  width: calc(100% + 90px);
  height: calc(100% + 90px);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.wave-path {
  transform-origin: 180px 180px;
  will-change: transform, opacity;
  transition: opacity 0.4s ease;
}

.wave-path-1 {
  opacity: 0.92;
  animation: wave-breathe-1 7s ease-in-out infinite alternate;
}

.wave-path-2 {
  opacity: 0.78;
  animation: wave-breathe-2 9s ease-in-out infinite alternate;
}

.wave-path-3 {
  opacity: 0.62;
  animation: wave-breathe-3 12s ease-in-out infinite alternate;
}

.eq-radial-bars-group {
  transform-origin: 180px 180px;
  will-change: transform, opacity;
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

@keyframes wave-breathe-1 {
  0% { transform: scale(0.97) rotate(0deg); opacity: 0.85; }
  100% { transform: scale(1.06) rotate(16deg); opacity: 1; }
}

@keyframes wave-breathe-2 {
  0% { transform: scale(1.05) rotate(0deg); opacity: 0.7; }
  100% { transform: scale(0.96) rotate(-18deg); opacity: 0.9; }
}

@keyframes wave-breathe-3 {
  0% { transform: scale(0.98) rotate(0deg); opacity: 0.55; }
  100% { transform: scale(1.04) rotate(12deg); opacity: 0.8; }
}

/* Dynamic Active Equalizer Motion when audio plays */
.is-playing .aura-glow-diffuse {
  opacity: 1;
  transform: translateZ(0) scale(1.22);
  animation: aura-glow-breathe 2.4s ease-in-out infinite;
}

@keyframes aura-glow-breathe {
  0%, 100% {
    transform: translateZ(0) scale(1.12);
    opacity: 0.85;
  }
  50% {
    transform: translateZ(0) scale(1.28);
    opacity: 1;
  }
}

.is-playing .wave-path-1 {
  opacity: 1;
  animation: wave-active-spin-1 14s linear infinite, wave-pulse-scale 2.2s ease-in-out infinite alternate;
}

.is-playing .wave-path-2 {
  opacity: 0.95;
  animation: wave-active-spin-2 18s linear infinite reverse, wave-pulse-scale 2.7s ease-in-out infinite alternate 0.4s;
}

.is-playing .wave-path-3 {
  opacity: 0.85;
  animation: wave-active-spin-1 25s linear infinite, wave-pulse-scale 3.2s ease-in-out infinite alternate 0.8s;
}

.is-playing .eq-radial-bars-group {
  opacity: 1;
  animation: eq-radial-spin 22s linear infinite;
}

.is-playing .eq-radial-bar {
  animation: eq-bar-pulse 1.3s ease-in-out infinite alternate;
}

.is-playing .eq-radial-bar:nth-child(2n) { animation-delay: 0.12s; animation-duration: 1.1s; }
.is-playing .eq-radial-bar:nth-child(3n) { animation-delay: 0.24s; animation-duration: 1.5s; }
.is-playing .eq-radial-bar:nth-child(4n) { animation-delay: 0.38s; animation-duration: 1.3s; }
.is-playing .eq-radial-bar:nth-child(5n) { animation-delay: 0.52s; animation-duration: 1.6s; }

@keyframes eq-radial-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes eq-bar-pulse {
  0% {
    opacity: 0.55;
  }
  100% {
    opacity: 1;
  }
}

@keyframes wave-active-spin-1 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes wave-active-spin-2 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes wave-pulse-scale {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.08); }
  100% { transform: scale(0.96); }
}

/* The Circular Portrait Disc */
.avatar-disc {
  width: 204px;
  height: 204px;
  max-width: 58vw;
  max-height: 58vw;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50% !important;
  overflow: hidden;
  position: relative;
  z-index: 4;
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.75), 0 0 32px rgba(168, 85, 247, 0.55);
  background: radial-gradient(circle at 40% 30%, #351566 0%, #120627 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.4s var(--spring-bounce), border-color 0.4s ease;
}

.is-playing .avatar-disc {
  transform: translateZ(0) scale(1.035);
  border-color: rgba(255, 255, 255, 0.65);
}

.avatar-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Luxury Default Fallback (Centered glowing emblem, NO awkward letters) */
.avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 40% 25%, #4c1d95 0%, #1c0a38 80%, #0c0419 100%);
  position: relative;
}

.fallback-capsule-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.35), rgba(139, 92, 246, 0.35));
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.6), inset 0 0 14px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s var(--spring-bounce);
}

.fallback-capsule-icon {
  font-size: 38px;
  color: #ffffff;
  filter: drop-shadow(0 2px 8px rgba(236, 72, 153, 0.5));
}

.is-playing .fallback-capsule-badge {
  transform: scale(1.1);
  box-shadow: 0 0 36px rgba(236, 72, 153, 0.8);
}

/* ==========================================================================
   Student Name & Classroom Information
   ========================================================================== */

.student-info-section {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transform: translateZ(0);
  contain: layout style;
}

.student-name {
  font-size: 27px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 8px;
  letter-spacing: -0.4px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
}

.classroom-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--glass-border);
  padding: 5px 16px;
  border-radius: 9999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.classroom-icon {
  font-size: 15px;
  color: var(--cyan-neon);
}

.teacher-tag {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-faint);
}

/* ==========================================================================
   Waveform Visualizer & Scrubber (36 Frequency Bars)
   ========================================================================== */

.waveform-scrubber-section {
  width: 100%;
  margin-bottom: 22px;
  padding: 0 6px;
  flex-shrink: 0;
  direction: ltr !important;
  contain: layout style;
}

.waveform-track {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5px;
  padding: 6px 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  direction: ltr !important;
  transform: translateZ(0);
  contain: layout style;
}

.wave-bar {
  flex: 1 1 0;
  min-width: 3px;
  max-width: 6px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.25);
  transition: background-color 0.15s ease, transform 0.2s var(--ease-natural);
  transform-origin: center;
}

/* Active / Played Wave Bars (Neon Gradient) */
.wave-bar.is-played {
  background: linear-gradient(180deg, var(--pink-neon) 0%, var(--purple-bright) 60%, var(--cyan-neon) 100%);
}

/* Subtle Rhythmic Motion when audio plays */
.is-playing .wave-bar.is-played {
  animation: bar-active-bounce 1.4s ease-in-out infinite;
}

.is-playing .wave-bar:nth-child(2n).is-played { animation-delay: 0.15s; }
.is-playing .wave-bar:nth-child(3n).is-played { animation-delay: 0.3s; }
.is-playing .wave-bar:nth-child(4n).is-played { animation-delay: 0.45s; }

@keyframes bar-active-bounce {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.18); }
}

/* Natural Symmetrical Waveform Profile (Zero Inline Styles) */
.wave-bar:nth-child(1), .wave-bar:nth-child(36) { height: 20%; }
.wave-bar:nth-child(2), .wave-bar:nth-child(35) { height: 28%; }
.wave-bar:nth-child(3), .wave-bar:nth-child(34) { height: 42%; }
.wave-bar:nth-child(4), .wave-bar:nth-child(33) { height: 58%; }
.wave-bar:nth-child(5), .wave-bar:nth-child(32) { height: 46%; }
.wave-bar:nth-child(6), .wave-bar:nth-child(31) { height: 74%; }
.wave-bar:nth-child(7), .wave-bar:nth-child(30) { height: 88%; }
.wave-bar:nth-child(8), .wave-bar:nth-child(29) { height: 96%; }
.wave-bar:nth-child(9), .wave-bar:nth-child(28) { height: 70%; }
.wave-bar:nth-child(10), .wave-bar:nth-child(27) { height: 55%; }
.wave-bar:nth-child(11), .wave-bar:nth-child(26) { height: 84%; }
.wave-bar:nth-child(12), .wave-bar:nth-child(25) { height: 100%; }
.wave-bar:nth-child(13), .wave-bar:nth-child(24) { height: 80%; }
.wave-bar:nth-child(14), .wave-bar:nth-child(23) { height: 54%; }
.wave-bar:nth-child(15), .wave-bar:nth-child(22) { height: 42%; }
.wave-bar:nth-child(16), .wave-bar:nth-child(21) { height: 68%; }
.wave-bar:nth-child(17), .wave-bar:nth-child(20) { height: 90%; }
.wave-bar:nth-child(18), .wave-bar:nth-child(19) { height: 95%; }

.time-stamps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  direction: ltr;
  margin-top: 4px;
  padding: 0 4px;
  contain: layout style;
}

.time-stamp-item {
  display: inline-block;
  min-width: 3.8em;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
  transform: translateZ(0);
}

#current-time {
  text-align: left;
}

#duration-time {
  text-align: right;
}

/* ==========================================================================
   Tactile Playback Controls (Center Play Button + 10s Replay / Skip)
   ========================================================================== */

.playback-controls {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
  flex-shrink: 0;
}

/* Skip Buttons (-10s / +10s) */
.ctrl-skip-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  color: var(--text-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s var(--spring-bounce), background-color 0.2s ease, border-color 0.2s ease;
}

.ctrl-skip-btn:active {
  transform: scale(0.90);
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--glass-highlight);
}

.ctrl-skip-btn .material-symbols-outlined {
  font-size: 24px;
}

/* Main Luxury Play Button */
.ctrl-play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6366f1 100%);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(147, 51, 234, 0.6),
              0 0 26px rgba(236, 72, 153, 0.4);
  transition: transform 0.2s var(--spring-bounce), box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.ctrl-play-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, transparent 100%);
  border-radius: 9999px 9999px 0 0;
  pointer-events: none;
}

.ctrl-play-btn:active {
  transform: scale(0.92);
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.45);
}

.ctrl-play-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  position: relative;
  z-index: 1;
}

.ctrl-play-btn #play-icon {
  display: block;
}

.ctrl-play-btn #pause-icon {
  display: none;
}

.is-playing .ctrl-play-btn #play-icon,
.ctrl-play-btn.is-playing #play-icon {
  display: none;
}

.is-playing .ctrl-play-btn #pause-icon,
.ctrl-play-btn.is-playing #pause-icon {
  display: block;
}

/* ==========================================================================
   Action Buttons Grid (Download Voice & Story Video Blueprint Compliant)
   Both buttons are fully active, balanced, and styled in 2 equal columns
   ========================================================================== */

.action-buttons-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.action-card-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 12px 10px;
  color: var(--text-pure);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s var(--spring-bounce), background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.action-card-btn:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--glass-highlight);
}

.btn-icon-audio {
  color: var(--cyan-neon);
  font-size: 20px;
}

.btn-icon-video {
  color: var(--pink-neon);
  font-size: 20px;
}

/* ==========================================================================
   Interactive Floating Toast Notification
   ========================================================================== */

.player-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(18, 9, 40, 0.94);
  border: 1px solid rgba(236, 72, 153, 0.4);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(168, 85, 247, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--spring-bounce), opacity 0.3s ease;
  z-index: 100;
  text-align: center;
  white-space: nowrap;
}

.player-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Teacher Note & Memory Archive
   ========================================================================== */

.teacher-note-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.archive-footer {
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  margin-top: 6px;
  flex-shrink: 0;
}

.archive-heading {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 10px;
  font-weight: 600;
}

.archive-occasions-list {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.archive-pill {
  font-size: 11.5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-dim);
  padding: 5px 12px;
  border-radius: 8px;
}

/* ==========================================================================
   Secure Public Landing Card (Root URL without exposing Admin Portal)
   ========================================================================== */

.landing-container {
  justify-content: center;
  min-height: 100dvh;
}

.landing-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 36px 24px;
  text-align: center;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.landing-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(6, 182, 212, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-icon {
  font-size: 36px;
  color: #ffffff;
}

.landing-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.landing-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan-neon);
  margin-bottom: 18px;
}

.landing-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.landing-security-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #a7f3d0;
  font-size: 11.5px;
  font-weight: 600;
}

.landing-lock-icon {
  font-size: 16px;
}
