@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-pink: #ff4b8b;
  --deep-pink: #ff1493;
  --rose-gold: #ffd1dc;
  --bg-dark: #07030c;
  --card-bg: rgba(15, 6, 25, 0.28);
  --card-border: rgba(255, 182, 193, 0.22);
  --text-main: #fff0f5;
  --text-muted: rgba(255, 240, 245, 0.88);
  --font-heading: 'Great Vibes', cursive;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
}

/* FIXED FULL-VIEWPORT BACKGROUND IMAGE FOR PERFECT IOS SAFARI RENDERING */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(circle at 50% 30%, rgba(15, 6, 26, 0.25) 0%, rgba(7, 3, 12, 0.75) 80%), url('assets/bg.jpg');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  z-index: -2;
  pointer-events: none;
}

/* LOCK SCROLL ON BODY WHEN SITE IS LOCKED */
body.site-locked {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: none !important;
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* SITE LOCK OVERLAY (LOCKED UNTIL 11 AUGUST 00:00:00) */
.site-lock-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 2, 12, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
  touch-action: none;
  transition: opacity 0.5s ease;
}

/* LOCK SCREEN BACKGROUND VIDEO */
.lock-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4) blur(4px);
  pointer-events: none;
}

.site-lock-card {
  background: rgba(20, 8, 32, 0.94);
  border: none !important;
  outline: none !important;
  border-radius: 32px;
  padding: 2.8rem 2rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85) !important;
  animation: popUp 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  position: relative;
  z-index: 2;
  transition: transform 0.15s ease;
}

.site-lock-card.shake-error {
  animation: shakeError 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeError {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

.lock-icon-wrapper {
  width: 75px;
  height: 75px;
  margin: 0 auto 1.2rem auto;
  background: rgba(255, 20, 147, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 182, 193, 0.3);
  box-shadow: 0 0 30px rgba(255, 20, 147, 0.4);
}

.lock-emoji {
  font-size: 2.3rem;
}

.lock-badge {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--primary-pink);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.lock-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 20px rgba(255, 75, 139, 0.5);
}

.lock-subtitle {
  font-size: 1rem;
  color: var(--rose-gold);
  margin-bottom: 1.8rem;
}

/* COUNTDOWN TIMER UNITS BOX */
.countdown-timer-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1.8rem;
}

.time-unit {
  background: rgba(12, 4, 20, 0.85);
  border: 1px solid rgba(255, 75, 139, 0.35);
  border-radius: 20px;
  padding: 14px 18px;
  min-width: 85px;
  box-shadow: inset 0 0 15px rgba(255, 20, 147, 0.2);
}

.time-val {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 15px var(--primary-pink);
}

.time-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 240, 245, 0.7);
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

.time-colon {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-pink);
  margin-top: -18px;
  animation: blinkColon 1s infinite;
}

@keyframes blinkColon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* PASSWORD UNLOCK FORM STYLES */
.pass-unlock-box {
  margin-bottom: 1.6rem;
  width: 100%;
}

.pass-input-group {
  display: flex;
  gap: 8px;
  justify-content: center;
  max-width: 380px;
  margin: 0 auto;
}

.pass-input {
  flex: 1;
  background: rgba(12, 4, 20, 0.85);
  border: 1px solid rgba(255, 182, 193, 0.35);
  border-radius: 30px;
  padding: 12px 18px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pass-input::placeholder {
  color: rgba(255, 240, 245, 0.5);
}

.pass-input:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 15px rgba(255, 20, 147, 0.35);
}

.pass-btn {
  background: linear-gradient(135deg, #ff4b8b 0%, #ff1493 100%);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 20, 147, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.pass-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(255, 20, 147, 0.7);
}

.pass-error-msg {
  color: #ff5252;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 6px;
  min-height: 18px;
}

.lock-footer-tag {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rose-gold);
  background: rgba(255, 20, 147, 0.15);
  padding: 8px 20px;
  border-radius: 20px;
  display: inline-block;
  border: 1px dashed rgba(255, 182, 193, 0.3);
}

/* MUSIC PROMPT MODAL OVERLAY WITH MAX KORZH COVER */
.music-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 3, 12, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.5s ease;
}

.music-modal-box {
  background: rgba(20, 9, 30, 0.92);
  border: none !important;
  outline: none !important;
  border-radius: 28px;
  padding: 2.2rem 1.8rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85) !important;
  animation: popUp 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  position: relative;
}

@keyframes popUp {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* SECRET BLIND DATE INVITATION MODAL BOX (BORDER & OUTLINE REMOVED ENTIRELY) */
.date-box {
  background: rgba(22, 9, 32, 0.94);
  border: none !important;
  outline: none !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85) !important;
}

.date-modal-icon {
  font-size: 3.8rem;
  margin-bottom: 0.8rem;
  animation: heartPulse 1.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

.date-modal-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--primary-pink);
  margin-bottom: 1.2rem;
  text-shadow: 0 0 25px rgba(255, 75, 139, 0.8);
}

/* INVITATION TEXT CONTAINER WITH ROTATING RUNNING BORDER */
.date-modal-text-wrap {
  position: relative;
  padding: 3px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.date-modal-text-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, #ff1493 30%, #ff4b8b 50%, #ffd1dc 70%, transparent 100%);
  animation: rotateBorder 2.8s linear infinite;
}

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

.date-modal-text-inner {
  position: relative;
  z-index: 2;
  background: rgba(18, 7, 28, 0.96);
  border-radius: 19px;
  padding: 16px 20px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  text-shadow: 0 0 12px rgba(255, 75, 139, 0.5);
}

/* RUNAWAY BUTTON CONTAINER */
.date-btn-container {
  position: relative;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.runaway-btn {
  transition: top 0.25s ease, left 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.music-modal-cover-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.2rem auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4), 0 0 20px rgba(255, 75, 139, 0.3);
  border: 2px solid rgba(255, 182, 193, 0.4);
  animation: floatCover 3s ease-in-out infinite alternate;
}

@keyframes floatCover {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-6px) scale(1.03); }
}

.music-modal-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.music-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 15px rgba(255, 75, 139, 0.4);
}

.music-modal-desc {
  font-size: 1rem;
  font-weight: 600;
  color: var(--rose-gold);
  margin-bottom: 1.8rem;
}

.music-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-btn {
  padding: 14px 26px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.yes-btn {
  background: linear-gradient(135deg, #ff4b8b 0%, #ff1493 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 20, 147, 0.5);
}

.yes-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 35px rgba(255, 20, 147, 0.8);
}

.no-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 240, 245, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.no-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* RESPONSIVE iOS CONTROL CENTER PLAYER CARD */
.ios-full-player-card {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  width: 260px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: rgba(35, 35, 38, 0.92);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  padding: 12px 14px 14px 14px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  display: none;
  flex-direction: column;
  animation: slideDown 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform-origin: top right;
  scrollbar-width: none;
}

.ios-full-player-card::-webkit-scrollbar {
  display: none;
}

.ios-player-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.ios-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.ios-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

.ios-cover-wrapper {
  width: 100%;
  height: 190px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  margin-bottom: 10px;
}

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

.ios-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2px;
  margin-bottom: 8px;
}

.ios-text-meta { text-align: left; }
.ios-song-title { font-size: 1rem; font-weight: 700; color: #ffffff; line-height: 1.2; }
.ios-artist-name { font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); font-weight: 400; margin-top: 2px; }

/* LIVE ADAPTIVE EQUALIZER DOTS */
.ios-equalizer-dots {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.ios-equalizer-dots span {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.ios-equalizer-dots.playing span {
  border-radius: 3px;
  animation: eqDotBounce 0.8s infinite ease-in-out alternate;
}

.ios-equalizer-dots.playing span:nth-child(1) { animation-delay: 0.1s; }
.ios-equalizer-dots.playing span:nth-child(2) { animation-delay: 0.35s; }
.ios-equalizer-dots.playing span:nth-child(3) { animation-delay: 0.2s; }
.ios-equalizer-dots.playing span:nth-child(4) { animation-delay: 0.55s; }
.ios-equalizer-dots.playing span:nth-child(5) { animation-delay: 0.4s; }
.ios-equalizer-dots.playing span:nth-child(6) { animation-delay: 0.65s; }

@keyframes eqDotBounce {
  0% { height: 4px; border-radius: 50%; opacity: 0.5; }
  100% { height: 16px; border-radius: 3px; opacity: 1; background: var(--primary-pink); }
}

/* Progress Slider & Timers */
.ios-progress-block { padding: 0 2px; margin-bottom: 8px; }

.ios-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.ios-progress-fill {
  width: 0%;
  height: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.ios-time-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
  font-weight: 500;
}

/* Control Buttons Row */
.ios-controls-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 4px 0 8px 0;
  padding: 0 4px;
}

.ios-ctrl-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  outline: none;
  opacity: 0.95;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.ios-ctrl-btn:active {
  transform: scale(0.9);
  opacity: 0.6;
}

.star-btn { font-size: 1rem; color: rgba(255, 255, 255, 0.7); }

.play-main-btn {
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Volume Row */
.ios-volume-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}

.volume-icon { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }

.ios-volume-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  outline: none;
}

.ios-volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* PERSISTENT FLOATING MUSIC BUTTON (SUMMON PLAYER ANYWHERE ON SITE) */
.floating-player-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(35, 35, 38, 0.88);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 182, 193, 0.35);
  padding: 6px 16px 6px 8px;
  border-radius: 30px;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 20px rgba(255, 75, 139, 0.3);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.floating-player-toggle:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(45, 45, 50, 0.95);
  box-shadow: 0 12px 35px rgba(255, 20, 147, 0.5);
}

.mini-toggle-cover {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Orientation Alert */
.orientation-alert {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #ff1493, #ff4b8b);
  color: white;
  text-align: center;
  padding: 10px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

@media screen and (min-width: 320px) and (max-width: 900px) and (orientation: landscape) {
  .orientation-alert { display: block; }
}

.app-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 2;
  overflow-x: hidden;
}

/* HERO SECTION WITH USER PIXEL HEART & NEON FLARE */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  perspective: 1000px;
}

.heart-container {
  position: relative;
  width: 230px;
  height: 230px;
  margin-bottom: 2.2rem;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
  -webkit-touch-callout: none !important;
  touch-action: manipulation !important;
}

.heart-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 20, 147, 0.75) 0%, rgba(255, 75, 139, 0.25) 50%, rgba(255, 75, 139, 0) 75%);
  border-radius: 50%;
  animation: glowPulse 2.8s ease-in-out infinite alternate;
  pointer-events: none;
}

.heart-aura-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 270px;
  height: 270px;
  border: 2px dashed rgba(255, 75, 139, 0.45);
  border-radius: 50%;
  animation: rotateAura 18s linear infinite;
  pointer-events: none;
}

@keyframes rotateAura {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.heart-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 25px #ff1493) drop-shadow(0 0 50px #ff4b8b) drop-shadow(0 0 80px rgba(255, 20, 147, 0.9));
  animation: realisticHeartbeat 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  transform-origin: center;
  transition: filter 0.2s ease, opacity 0.25s ease, transform 0.15s ease;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
  -webkit-touch-callout: none !important;
  touch-action: manipulation !important;
}

@keyframes realisticHeartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.15); }
  28% { transform: scale(1.05); }
  42% { transform: scale(1.22); }
  70% { transform: scale(1); }
  100% { transform: scale(1); }
}

@keyframes glowPulse {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.85); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.25); }
}

/* PIGGY BURST PARTICLES */
.pig-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  user-select: none;
  filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.6));
  transition: transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.9s ease;
}

.sub-heading {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  color: var(--rose-gold);
  text-shadow: 0 0 25px rgba(255, 208, 220, 0.85), 0 0 50px rgba(255, 75, 139, 0.6);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.main-heading {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #ffb6c1 40%, #ff4b8b 80%, #ff1493 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 25px rgba(255, 75, 139, 0.5);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  background: rgba(12, 6, 23, 0.32);
  padding: 12px 24px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 182, 193, 0.18);
}

.action-btn {
  background: linear-gradient(135deg, #ff4b8b 0%, #ff1493 100%);
  color: white;
  border: none;
  padding: 15px 34px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 20, 147, 0.55);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.action-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(255, 20, 147, 0.8);
}

/* SECTION STYLES */
.section-block { margin: 4rem 0; }
.section-title-wrap { text-align: center; margin-bottom: 2.5rem; }
.badge {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  color: var(--primary-pink);
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: block;
}
.section-title { font-size: 2.1rem; font-weight: 700; color: #fff; text-shadow: 0 0 20px rgba(0,0,0,0.9); }

/* TIMELINE MEMORIES */
.timeline-list {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-pink) 0%, rgba(255, 20, 147, 0.1) 100%);
  transform: translateX(-50%);
}

.timeline-card-item {
  position: relative;
  width: 50%;
  padding: 0 1.8rem;
  margin-bottom: 3.5rem;
}

.timeline-card-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-card-item:nth-child(even) { left: 50%; text-align: left; }

.timeline-marker {
  position: absolute;
  top: 24px;
  width: 16px;
  height: 16px;
  background: var(--primary-pink);
  border: 4px solid var(--bg-dark);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-pink);
  z-index: 3;
}

.timeline-card-item:nth-child(odd) .timeline-marker { right: -8px; }
.timeline-card-item:nth-child(even) .timeline-marker { left: -8px; }

.card-box {
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.card-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary-pink);
  background: rgba(18, 9, 28, 0.42);
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 75, 139, 0.28);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--rose-gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.card-heading { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; color: #fff; text-shadow: 0 0 10px rgba(0,0,0,0.7); }
.card-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1.2rem; }

.media-container {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-photo {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.timeline-video {
  width: 100%;
  height: auto;
  max-height: 480px;
  border-radius: 14px;
  outline: none;
  display: block;
  background: #000;
}

/* SNAKE GAME & SECRET LETTER */
.game-letter-card {
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  overflow: hidden;
}

.snake-wrapper { text-align: center; }
.game-header { margin-bottom: 1.2rem; }
.game-header h3 { font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 0.4rem; }
.game-score { font-size: 1.1rem; font-weight: 700; color: var(--primary-pink); }

.canvas-container {
  display: inline-block;
  background: rgba(12, 6, 23, 0.92);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 0 25px rgba(255, 20, 147, 0.3);
  max-width: 100%;
}

#snake-canvas {
  display: block;
  border-radius: 10px;
  background: #0d0618;
  max-width: 100%;
  height: auto;
}

/* TOUCH D-PAD CONTROLS FOR MOBILE AND TABLETS */
.mobile-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 1.4rem;
  user-select: none;
}

.ctrl-row { display: flex; gap: 30px; }

.ctrl-btn {
  background: linear-gradient(135deg, rgba(255, 75, 139, 0.45) 0%, rgba(255, 20, 147, 0.65) 100%);
  border: 1px solid var(--card-border);
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(255, 20, 147, 0.4);
  transition: transform 0.1s ease, background 0.15s ease;
  touch-action: manipulation;
}

.ctrl-btn:active {
  transform: scale(0.92);
  background: var(--primary-pink);
}

.game-hint { font-size: 0.85rem; color: rgba(255, 240, 245, 0.6); margin-top: 0.8rem; }

/* UNLOCKED SECRET LETTER */
.letter-unlocked-box {
  display: none;
  background: rgba(15, 7, 24, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--primary-pink);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  animation: fadeIn 0.6s ease;
  box-shadow: 0 0 35px rgba(255, 20, 147, 0.35);
}

.letter-badge {
  display: inline-block;
  background: rgba(255, 20, 147, 0.25);
  color: var(--rose-gold);
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.letter-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--primary-pink);
  margin-bottom: 1rem;
}

.letter-paragraph {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 1rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-footer {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem 1rem;
  color: rgba(255, 240, 245, 0.65);
  font-size: 0.9rem;
}

/* RESPONSIVE MEDIA QUERIES FOR MOBILE/TABLET BACKGROUND & LOCK SCREEN */
@media (max-width: 1024px) {
  .mobile-controls {
    display: flex;
  }
}

@media (min-width: 1025px) {
  .mobile-controls {
    display: none;
  }
}

@media (max-width: 768px) {
  body::before {
    background-position: center 35%;
    background-size: cover;
  }
}

@media (max-width: 600px) {
  body::before {
    background-position: center 35%;
    background-size: cover;
  }

  .game-letter-card {
    padding: 1.4rem 0.8rem;
  }

  .canvas-container {
    padding: 3px;
  }

  .site-lock-card {
    padding: 2rem 1.2rem;
  }
  .lock-title { font-size: 1.3rem; }
  .countdown-timer-box { gap: 6px; }
  .time-unit { padding: 10px 12px; min-width: 68px; }
  .time-val { font-size: 1.7rem; }
  .time-colon { font-size: 1.7rem; margin-top: -14px; }

  .pass-input-group {
    flex-direction: column;
    gap: 10px;
  }

  .pass-input {
    width: 100%;
    text-align: center;
  }

  .pass-btn {
    width: 100%;
  }

  /* iOS Player Card Popover on Mobile (iPhone) */
  .ios-full-player-card {
    position: fixed;
    top: 65px;
    right: 12px;
    width: 245px;
    padding: 12px;
    border-radius: 26px;
    z-index: 10002;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
  }

  .ios-cover-wrapper {
    height: 155px;
    border-radius: 18px;
    margin-bottom: 8px;
  }
  .ios-song-title { font-size: 0.92rem; }
  .ios-artist-name { font-size: 0.78rem; }
  .ios-ctrl-btn { font-size: 1.15rem; }
  .play-main-btn { width: 34px; height: 34px; font-size: 1.35rem; }

  .floating-player-toggle {
    top: 14px;
    right: 14px;
    padding: 5px 14px 5px 6px;
    font-size: 0.8rem;
  }
  .mini-toggle-cover { width: 28px; height: 28px; }

  .music-modal-cover-wrapper {
    width: 100px;
    height: 100px;
  }
  .music-modal-title { font-size: 1.15rem; }
  .music-modal-desc { font-size: 0.92rem; }

  .sub-heading { font-size: 2.5rem; }
  .main-heading { font-size: 1.9rem; }
  .timeline-list::before { left: 18px; }
  .timeline-card-item {
    width: 100%;
    padding-left: 45px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-card-item:nth-child(even) { left: 0; }
  .timeline-marker { left: 10px !important; }
}
