/* ============================================
   I LOVE YOU ASH - $UICIDEBOY$ AESTHETIC
   Dark, Grunge, but Romantic AF
   Mobile-First Design
   ============================================ */

:root {
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --bg-card: #111111;
  --bg-card-hover: #151515;
  --text-primary: #f5f5f5;
  --text-secondary: #888888;
  --text-muted: #555555;
  --accent-red: #8b0000;
  --accent-red-light: #a50000;
  --accent-pink: #ff1493;
  --accent-pink-dim: #cc1177;
  --accent-glow: #ff006680;
  --accent-gold: #d4af37;
  --border-color: #222222;
  --border-color-light: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Space Mono', monospace;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   LIGHTBOX - For tall iPhone photos
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 15px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 36px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--accent-pink);
}

/* ============================================
   VIGNETTE EFFECT
   ============================================ */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(0,0,0,0.4) 100%);
}

/* ============================================
   GRAIN OVERLAY - That $B Texture
   ============================================ */
.grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   FLOATING HEARTS
   ============================================ */
.floating-hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-heart {
  position: absolute;
  color: var(--accent-red);
  opacity: 0.12;
  animation: floatUp 18s linear infinite;
  font-size: 18px;
  text-shadow: 0 0 10px var(--accent-glow);
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg) scale(0.5);
    opacity: 0;
  }
  5% {
    opacity: 0.12;
  }
  95% {
    opacity: 0.12;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg) scale(1);
    opacity: 0;
  }
}

/* Tap hearts animation */
.tap-heart {
  position: fixed;
  pointer-events: none;
  z-index: 1001;
  animation: tapHeartAnim 1.5s ease-out forwards;
  font-size: 24px;
  color: var(--accent-pink);
  text-shadow: 0 0 20px var(--accent-pink);
}

@keyframes tapHeartAnim {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.5) rotate(20deg) translateY(-100px);
    opacity: 0;
  }
}

/* Tap indicator */
.tap-indicator {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(0,0,0,0.6);
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  opacity: 0;
  animation: fadeInOut 4s ease-in-out 2s forwards;
  pointer-events: none;
}

.tap-indicator span {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; display: none; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(139, 0, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 20, 147, 0.08) 0%, transparent 40%),
    var(--bg-dark);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
}

.cross-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.cross {
  font-size: 36px;
  color: var(--accent-red);
  display: inline-block;
  text-shadow: 0 0 30px var(--accent-glow);
  animation: crossPulse 3s ease-in-out infinite;
}

.cross-group .cross:nth-child(2) {
  animation-delay: 0.5s;
}

.cross-group .cross:nth-child(3) {
  animation-delay: 1s;
}

@keyframes crossPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.intro-text {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero h1,
.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4.5rem, 22vw, 8rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--text-primary);
  text-shadow: 
    0 0 30px rgba(139, 0, 0, 0.4),
    0 0 60px rgba(139, 0, 0, 0.2);
  line-height: 1;
}

.hero-line {
  width: 60px;
  height: 1px;
  background: var(--accent-red);
  margin: 20px auto;
  opacity: 0.6;
}

.tagline {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 20px;
  margin-bottom: 30px;
}

.date-badge::before,
.date-badge::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent-red);
}

.date-badge::before {
  top: -4px;
  left: -4px;
  border-right: none;
  border-bottom: none;
}

.date-badge::after {
  bottom: -4px;
  right: -4px;
  border-left: none;
  border-top: none;
}

.date-badge .label {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.date-badge .date {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-divider span:not(.heart-icon) {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}

.heart-icon {
  color: var(--accent-red);
  font-size: 14px;
  animation: heartPulse 1.5s ease-in-out infinite;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.scroll-indicator {
  animation: bounce 2.5s infinite;
}

.scroll-indicator span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.scroll-indicator .arrow {
  font-size: 20px;
  color: var(--accent-red);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
  padding: 80px 25px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 50%, var(--bg-dark) 100%);
  text-align: center;
}

.quote-container {
  max-width: 340px;
  margin: 0 auto;
  position: relative;
}

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: var(--accent-red);
  opacity: 0.3;
  line-height: 0;
  display: block;
  margin-bottom: -10px;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.quote-attribution {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}

/* ============================================
   MAIN PHOTO SECTION
   ============================================ */
.main-photo {
  padding: 80px 20px;
  text-align: center;
}

.photo-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 30px;
}

.photo-frame {
  position: relative;
  max-width: 300px;
  margin: 0 auto 25px;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.photo-frame:active {
  transform: rotate(0deg) scale(1.02);
}

.photo-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 2px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Main photo frame image styles */
.photo-frame img,
.main-frame img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(139, 0, 0, 0.08) 50%, transparent 60%);
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.placeholder-text {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.placeholder-hint {
  font-size: 10px;
  color: var(--accent-red);
  opacity: 0.7;
}

.tape {
  position: absolute;
  width: 55px;
  height: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
}

.tape-1 {
  top: -8px;
  left: 15px;
  transform: rotate(-20deg);
}

.tape-2 {
  bottom: -8px;
  right: 15px;
  transform: rotate(20deg);
}

.photo-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-red);
  opacity: 0.4;
}

.corner-tl { top: -5px; left: -5px; border-right: none; border-bottom: none; }
.corner-tr { top: -5px; right: -5px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -5px; left: -5px; border-right: none; border-top: none; }
.corner-br { bottom: -5px; right: -5px; border-left: none; border-top: none; }

.photo-caption {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.photo-date {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Clickable photo indicator */
.clickable-photo {
  position: relative;
}

.clickable-photo::after {
  content: 'tap to enlarge';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--accent-red);
  opacity: 0;
  transition: opacity 0.3s ease;
  letter-spacing: 0.1em;
}

.clickable-photo:active::after {
  opacity: 1;
}

/* ============================================
   LIVE COUNTER SECTION
   ============================================ */
.live-counter {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0507 50%, var(--bg-dark) 100%);
}

.counter-display {
  max-width: 350px;
  margin: 0 auto;
  text-align: center;
}

.counter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.counter-item {
  text-align: center;
}

.counter-item.large {
  margin-bottom: 10px;
}

.counter-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-pink);
  text-shadow: 0 0 30px var(--accent-glow);
  min-width: 70px;
}

.counter-item.large .counter-value {
  font-size: 72px;
}

.counter-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.counter-sep {
  font-size: 36px;
  color: var(--accent-red);
  font-weight: 300;
}

.counter-subtext {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 20px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  padding: 80px 20px;
  background: var(--bg-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 350px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 25px 15px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-pink));
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.stat-card.visible::before {
  transform: scaleX(1);
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-pink);
  margin-bottom: 8px;
  text-shadow: 0 0 20px var(--accent-glow);
}

.stat-number.infinity {
  font-size: 42px;
}

.stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ============================================
   SECTION TITLES & SUBTITLES
   ============================================ */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cross-small {
  color: var(--accent-red);
  font-size: 0.7em;
}

.section-subtitle {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 35px;
}

/* ============================================
   REASONS SECTION - FLIP CARDS
   ============================================ */
.reasons {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  overflow: hidden;
}

.reasons-list {
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

/* Flip Card Styles */
.flip-card {
  background: transparent;
  perspective: 1000px;
  height: 120px;
  cursor: pointer;
  overflow: hidden;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 1px solid var(--border-color);
  padding: 18px 15px;
  display: flex;
  align-items: center;
}

.flip-card-front {
  background: var(--bg-card);
  gap: 15px;
}

.flip-card-front::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--accent-red);
}

.flip-card-back {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.2) 0%, var(--bg-card) 100%);
  transform: rotateY(180deg);
  border-color: var(--accent-red);
}

.flip-card-back p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.5;
}

.reason-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-red);
  min-width: 35px;
  font-family: 'Playfair Display', serif;
}

.flip-card-front p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.reason-card.special {
  position: relative;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.15) 0%, var(--bg-card) 100%);
  border: 1px solid var(--accent-red);
  margin-top: 10px;
  padding: 20px 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  height: auto;
  overflow: hidden;
}

.reason-card.special::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-red), var(--accent-pink));
}

.reason-card.special p {
  color: var(--text-primary);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
}

/* ============================================
   OUR SONG - SPOTIFY SECTION
   ============================================ */
.our-song {
  padding: 80px 20px;
  background: var(--bg-dark);
}

.spotify-container {
  max-width: 380px;
  margin: 0 auto;
  position: relative;
}

.spotify-container iframe {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* ============================================
   DRAGGABLE POLAROIDS GALLERY
   ============================================ */
.gallery {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  overflow: hidden;
}

.polaroid-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 320px;
  margin: 0 auto;
  padding: 0 10px;
}

.polaroid {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  position: relative;
  width: 100%;
  overflow: hidden;
}

.polaroid.featured {
  grid-column: span 2;
}

.polaroid-photo {
  width: 100%;
  height: 130px;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  overflow: hidden;
  position: relative;
}

.polaroid.featured .polaroid-photo {
  height: 180px;
}

/* Polaroid image styles - FORCE FIT */
.polaroid-photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
}

.polaroid-photo .placeholder-text {
  color: var(--text-muted);
  font-size: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.polaroid-caption {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  color: var(--text-secondary);
  text-align: center;
  padding: 8px 4px 4px 4px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: lowercase;
}

.shake-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 25px;
  letter-spacing: 0.1em;
}

/* Reset animation */
.polaroid.resetting {
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   FIRST MESSAGE SECTION
   ============================================ */
.first-message {
  padding: 80px 20px;
  background: var(--bg-dark);
}

.message-bubble-container {
  max-width: 340px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  position: relative;
}

.message-bubble.sent {
  background: var(--accent-red);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.message-bubble.received {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.message-bubble p {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}

.message-time {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 5px;
}

.message-bubble.received .message-time {
  color: var(--text-muted);
}

.message-note {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 25px;
}

/* ============================================
   BUCKET LIST SECTION
   ============================================ */
.bucket-list {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.bucket-list-items {
  max-width: 350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bucket-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.bucket-item:active {
  border-color: var(--accent-red);
  transform: translateX(5px);
}

.bucket-check {
  font-size: 20px;
  color: var(--text-muted);
}

.bucket-item.checked .bucket-check {
  color: var(--accent-pink);
}

.bucket-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.bucket-item.checked .bucket-text {
  color: var(--accent-pink);
  font-style: italic;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */
.timeline {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #05070d 50%, var(--bg-dark) 100%);
}

.timeline-container {
  max-width: 340px;
  margin: 0 auto;
  position: relative;
  padding-left: 35px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-red), var(--accent-pink), var(--accent-red));
}

.timeline-item {
  position: relative;
  padding-bottom: 35px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-marker {
  position: absolute;
  left: -31px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--bg-dark);
  border: 2px solid var(--accent-red);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.timeline-marker.active {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  box-shadow: 0 0 20px var(--accent-pink);
  animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
  0%, 100% { box-shadow: 0 0 10px var(--accent-pink); }
  50% { box-shadow: 0 0 25px var(--accent-pink); }
}

.timeline-date {
  font-size: 11px;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 5px;
}

.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.timeline-content p:last-child {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   I LOVE WHEN YOU SECTION
   ============================================ */
.love-when {
  padding: 80px 20px;
  background: var(--bg-dark);
}

.love-when-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 380px;
  margin: 0 auto;
}

.love-when-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.love-when-item:active {
  border-color: var(--accent-pink);
  transform: scale(1.02);
}

.love-icon {
  display: block;
  font-size: 20px;
  color: var(--accent-red);
  margin-bottom: 10px;
}

.love-when-item p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ============================================
   THINGS I NOTICE SECTION
   ============================================ */
.notice-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.notice-items {
  max-width: 350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  border-left: 2px solid var(--accent-red);
  background: rgba(139, 0, 0, 0.03);
}

.notice-icon {
  color: var(--accent-pink);
  font-size: 14px;
  flex-shrink: 0;
}

.notice-item p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================
   PROMISES SECTION
   ============================================ */
.promises {
  padding: 80px 20px;
  background: var(--bg-dark);
}

.promises-container {
  max-width: 350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, var(--bg-card) 100%);
  transition: all 0.3s ease;
}

.promise-item:active {
  border-color: var(--accent-red);
  transform: translateX(5px);
}

.promise-icon {
  font-size: 18px;
  color: var(--accent-red);
  flex-shrink: 0;
}

.promise-item p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================
   LETTER SECTION
   ============================================ */
.letter {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.letter-container {
  max-width: 340px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 35px 25px;
  position: relative;
}

.letter-container::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(139, 0, 0, 0.2);
  pointer-events: none;
}

.letter-seal {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--accent-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-primary);
  box-shadow: 0 5px 20px rgba(139, 0, 0, 0.5);
}

.letter-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}

.letter-header .cross {
  font-size: 16px;
  margin: 0;
  animation: none;
}

.letter-content {
  font-family: 'Cormorant Garamond', serif;
}

.letter-greeting {
  font-style: italic;
  color: var(--accent-pink) !important;
  font-size: 18px !important;
  margin-bottom: 20px !important;
}

.letter-content p {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.signature {
  text-align: right;
  color: var(--text-primary) !important;
  font-style: italic;
  margin-top: 30px !important;
  margin-bottom: 0 !important;
}

.signature-name {
  color: var(--accent-pink);
  display: block;
  margin-top: 5px;
}

/* ============================================
   US PHOTO SECTION
   ============================================ */
.us-photo {
  padding: 80px 20px;
  background: var(--bg-dark);
  text-align: center;
}

.us-photo-frame {
  max-width: 320px;
  margin: 0 auto 20px;
  padding: 15px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 2px solid var(--accent-red);
  position: relative;
}

.us-photo-frame::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 20, 147, 0.2);
  pointer-events: none;
}

.us-photo-placeholder {
  aspect-ratio: 3/4;
  max-height: 350px;
  background: linear-gradient(145deg, #222 0%, #111 100%);
  border: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  overflow: hidden;
}

/* Us photo image styles */
.us-photo-frame img,
.us-photo-placeholder img {
  width: 100%;
  height: 100%;
  max-height: 350px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.us-caption {
  font-family: 'Homemade Apple', cursive;
  font-size: 16px;
  color: var(--accent-pink);
}

/* ============================================
   FINAL SECTION
   ============================================ */
.final {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse at 50% 30%, rgba(255, 20, 147, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 70%, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
    var(--bg-dark);
}

.final-content {
  position: relative;
  z-index: 2;
}

.final-crosses {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  font-size: 30px;
  color: var(--accent-red);
  opacity: 0.6;
}

.big-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 12vw, 5rem);
  letter-spacing: 0.1em;
  background: linear-gradient(180deg, var(--text-primary) 0%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 5px;
  cursor: pointer;
}

.subtext {
  font-size: 16px;
  color: var(--text-secondary);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.heart-container {
  margin: 50px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beating-heart {
  font-size: 70px;
  color: var(--accent-red);
  animation: heartbeat 1.3s infinite;
  text-shadow: 0 0 30px var(--accent-glow);
  position: relative;
  z-index: 2;
}

.heart-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: heartbeat 1.3s infinite;
  filter: blur(20px);
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.1); }
  60% { transform: scale(1); }
}

.final-message {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.final-submessage {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.handwritten {
  font-family: 'Homemade Apple', cursive;
  font-size: 20px;
  color: var(--accent-pink);
  margin-bottom: 40px;
}

.final-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.final-divider span:not(.heart-icon) {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}

.footer-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.15em;
}

.domain {
  font-size: 13px;
  color: var(--accent-pink);
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-red);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-pink);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: var(--accent-red);
  color: var(--text-primary);
}

/* ============================================
   VISIBLE STATE FOR ANIMATIONS
   ============================================ */
.visible {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 360px) {
  html {
    font-size: 14px;
  }
  
  .hero h1 {
    letter-spacing: 0.1em;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .letter-container {
    padding: 25px 18px;
  }
  
  .stats-grid {
    gap: 10px;
  }
  
  .stat-card {
    padding: 20px 10px;
  }
  
  .flip-card {
    height: 100px;
  }
  
  .counter-item.large .counter-value {
    font-size: 56px;
  }
}

/* Larger phones */
@media (min-width: 400px) {
  .photo-frame {
    max-width: 340px;
  }
  
  .polaroid-wall,
  .reasons-list,
  .timeline-container,
  .letter-container,
  .stats-grid,
  .bucket-list-items,
  .promises-container,
  .love-when-grid,
  .spotify-container,
  .notice-items,
  .message-bubble-container {
    max-width: 420px;
  }
  
  .stat-number {
    font-size: 42px;
  }
}

/* Tablet and up - still mobile focused but slightly bigger */
@media (min-width: 500px) {
  .love-when-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
.polaroid-wall {
  max-width: 500px;
  }
  
  .polaroid.featured {
  width: 300px;
  }
}
