/* ==========================================================================
   PRYNCESS GREEN - PERSONAL WEBSITE
   Aesthetic: Cute, Minimalistic, Pretty, Feminine & Elegant
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Parisienne&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables & Design System --- */
:root {
  /* Color Palette: Petal Blush, Champagne Rose, Sage Mist, Warm Pearl */
  --bg-main: #FCFAF8;
  --bg-gradient: radial-gradient(circle at 10% 10%, #FDF0F3 0%, #FCFAF8 40%, #FBF6F4 85%, #F4F7F5 100%);
  --bg-card: rgba(255, 255, 255, 0.76);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  
  --pink-blush: #FBEBED;
  --pink-petal: #F5D3DB;
  --pink-accent: #E58EA3;
  --pink-deep: #C7627D;
  
  --gold-champagne: #D6A374;
  --gold-soft: #F5E2CC;
  --gold-glow: rgba(214, 163, 116, 0.28);
  
  --sage-mist: #E7EFE9;
  --sage-accent: #8DA18E;
  
  --text-dark: #2E2220;
  --text-body: #61504C;
  --text-light: #9B8985;
  
  --border-glass: rgba(235, 208, 202, 0.5);
  --border-delicate: rgba(225, 190, 185, 0.35);
  
  --shadow-ambient: 0 10px 30px -10px rgba(175, 130, 120, 0.12);
  --shadow-lift: 0 18px 40px -8px rgba(185, 125, 115, 0.2);
  --shadow-glow: 0 0 25px rgba(229, 142, 163, 0.25);
  
  /* Typography Stacks */
  --font-cursive: 'Parisienne', 'Great Vibes', cursive;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout Transitions */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --transition-smooth: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  /* Visual stability fallback as recommended in Modern Web Guidance */
  font-size-adjust: from-font;
}

/* Soft ambient background glow orbs */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.65;
}

body::before {
  width: 380px;
  height: 380px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, #F8DBE2 0%, rgba(254, 230, 235, 0) 70%);
}

body::after {
  width: 440px;
  height: 440px;
  bottom: 5%;
  left: -100px;
  background: radial-gradient(circle, #E3EFE5 0%, rgba(227, 239, 229, 0) 70%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* --- Section Headings --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #7D5D57;
  background: rgba(246, 235, 238, 0.6);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(220, 200, 195, 0.45);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 0.8rem;
}

.section-title .cursive-accent {
  font-family: var(--font-cursive);
  font-weight: 400;
  color: var(--pink-deep);
  font-size: 1.25em;
  letter-spacing: 0.5px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION BAR (Subtle Floating Island)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 1.2rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}

.nav-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: center;
}

.nav-pill {
  pointer-events: auto;
  width: 100%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(225, 210, 206, 0.45);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px -4px rgba(80, 50, 45, 0.05);
  padding: 0.45rem 1.15rem 0.45rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 24px -4px rgba(80, 50, 45, 0.08);
  border-color: rgba(215, 195, 190, 0.65);
}

/* Brand / Logo in Nav */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  user-select: none;
}

.nav-crown-icon {
  width: 24px;
  height: 19px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 1px 3px rgba(214, 163, 116, 0.25));
}

.nav-brand:hover .nav-crown-icon {
  transform: translateY(-1px) scale(1.05);
}

.nav-brand-text {
  font-family: var(--font-cursive);
  font-size: 1.55rem;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: 0.3px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.3px;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--gold-champagne);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
  opacity: 0.8;
}

.nav-link:hover {
  color: var(--text-dark);
}

.nav-link:hover::after {
  width: 16px;
}

/* Nav Actions - Subtle Tonal Button */
.nav-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #4A3A37;
  background: rgba(246, 235, 238, 0.7);
  border: 1px solid rgba(220, 195, 190, 0.5);
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: none;
  transition: var(--transition-smooth);
}

.nav-action-btn:hover {
  background: #FFFFFF;
  color: var(--text-dark);
  border-color: rgba(200, 165, 160, 0.75);
  box-shadow: 0 3px 12px rgba(120, 80, 75, 0.08);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--text-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 92vh;
  padding-top: 8rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Royal Crown Centerpiece */
.hero-crown-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.4rem;
  cursor: pointer;
}

.hero-crown-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(244, 211, 161, 0.45) 0%, rgba(229, 166, 145, 0.15) 50%, transparent 75%);
  border-radius: 50%;
  animation: pulseAura 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-crown-svg {
  width: 96px;
  height: 72px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 6px 16px rgba(214, 163, 116, 0.4));
  animation: floatCrown 4.5s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.hero-crown-wrapper:hover .hero-crown-svg {
  transform: scale(1.08) rotate(-1deg);
}

/* Welcome Tag */
.hero-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(225, 210, 206, 0.45);
  padding: 0.35rem 1.05rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #8C7874;
  box-shadow: 0 2px 10px rgba(120, 80, 75, 0.04);
  margin-bottom: 1.6rem;
}

.sparkle-icon {
  color: var(--gold-champagne);
  animation: spinTwinkle 3s ease-in-out infinite;
}

/* Big Name: Pryncess Green in Cursive */
.hero-name {
  font-family: var(--font-cursive);
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #2E2220 15%, #9C5568 65%, #C27D66 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(229, 142, 163, 0.15);
  padding: 1rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Cute Pills / Vibe Badges */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.8rem;
}

.hero-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-delicate);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-body);
  box-shadow: 0 3px 10px rgba(180, 140, 130, 0.06);
  transition: var(--transition-smooth);
}

.hero-pill-item:hover {
  transform: translateY(-1px);
  background: #FFFFFF;
  border-color: rgba(215, 185, 180, 0.65);
  box-shadow: 0 3px 12px rgba(120, 80, 75, 0.05);
  color: var(--text-dark);
}

/* Hero Call-to-Actions (Direct Subtle Arrow) */
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero-scroll-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  opacity: 0.65;
  background: none;
  border: none;
  padding: 0.6rem;
  transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
  animation: gentleFloat 2.8s ease-in-out infinite;
  cursor: pointer;
  text-decoration: none;
}

.hero-scroll-indicator:hover {
  color: var(--text-dark);
  opacity: 0.95;
  animation-play-state: paused;
  transform: translateY(3px);
}

.hero-scroll-indicator svg {
  display: block;
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #F3E2E6;
  border: 1px solid rgba(220, 188, 194, 0.6);
  color: #3D2D2A;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  padding: 0.72rem 1.75rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(120, 80, 75, 0.05);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  background: #F9EBF0;
  border-color: rgba(208, 168, 175, 0.85);
  box-shadow: 0 4px 16px rgba(120, 80, 75, 0.09);
  color: #2B1D1B;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(225, 208, 204, 0.65);
  color: #5C4B47;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  padding: 0.72rem 1.65rem;
  border-radius: var(--radius-pill);
  box-shadow: none;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  transform: translateY(-1.5px);
  background: rgba(255, 255, 255, 0.95);
  color: #2B1D1B;
  border-color: rgba(205, 175, 170, 0.85);
  box-shadow: 0 3px 12px rgba(120, 80, 75, 0.06);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 6rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: center;
}

/* Chic Polaroid / Photo Card */
.about-polaroid-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.polaroid-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 90px;
  height: 26px;
  background: rgba(255, 240, 243, 0.8);
  backdrop-filter: blur(4px);
  border: 1px dashed rgba(229, 142, 163, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 3;
}

.polaroid-card {
  background: #FFFFFF;
  padding: 1.1rem 1.1rem 1.8rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px -10px rgba(175, 125, 115, 0.16);
  border: 1px solid rgba(235, 215, 210, 0.5);
  transform: rotate(-1.5deg);
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 360px;
  position: relative;
}

.polaroid-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 24px 44px -8px rgba(175, 125, 115, 0.22);
}

.polaroid-art {
  width: 100%;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #FDECF0 0%, #F5E8E5 50%, #EBF3ED 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.polaroid-art-inner {
  text-align: center;
  padding: 1.5rem;
}

.polaroid-crown-motif {
  width: 64px;
  height: 48px;
  margin: 0 auto 1rem;
  opacity: 0.85;
}

.polaroid-caption {
  font-family: var(--font-cursive);
  font-size: 1.85rem;
  color: var(--text-dark);
  text-align: center;
  margin-top: 1.2rem;
  line-height: 1.2;
}

.polaroid-subcaption {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.2rem;
}

/* About Narrative */
.about-narrative {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--text-dark);
  border-left: 3px solid var(--pink-accent);
  padding-left: 1.2rem;
}

.about-bio {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* Joy Cards */
.joy-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.8rem;
}

.joy-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-delicate);
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.joy-card:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  border-color: rgba(215, 190, 185, 0.65);
  box-shadow: 0 4px 16px -4px rgba(120, 80, 75, 0.08);
}

.joy-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.joy-card:hover .joy-icon {
  transform: scale(1.2) rotate(6deg);
}

.joy-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.joy-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* ==========================================================================
   LOVE NOTES & GUESTBOOK / SAY HELLO
   ========================================================================== */
.contact-section {
  padding: 6rem 0 8rem;
  position: relative;
}

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lift);
  text-align: center;
  position: relative;
}

.contact-crown-seal {
  width: 54px;
  height: 42px;
  margin: 0 auto 1.2rem;
  filter: drop-shadow(0 3px 8px var(--gold-glow));
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 2rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.form-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-delicate);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
  background: #FFFFFF;
  border-color: var(--pink-accent);
  box-shadow: 0 0 0 4px rgba(229, 142, 163, 0.18);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Vibe Selector Pills */
.vibe-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.vibe-pill {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(220, 202, 198, 0.5);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}

.vibe-pill:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(200, 165, 160, 0.7);
  color: var(--text-dark);
}

.vibe-pill.active {
  background: #F3E2E6;
  color: #3D2D2A;
  border-color: rgba(215, 185, 190, 0.8);
  box-shadow: 0 2px 8px rgba(120, 80, 75, 0.06);
}

.submit-btn {
  margin-top: 0.8rem;
  cursor: pointer;
  font-size: 0.92rem;
  align-self: flex-start;
}

/* Sent message notification */
.sent-confirmation {
  display: none;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(255, 240, 245, 0.95);
  border: 1px solid var(--pink-petal);
  border-radius: var(--radius-sm);
  color: var(--pink-deep);
  font-size: 0.95rem;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

/* Error / Rate Limit feedback banner */
.form-feedback.error {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 243, 243, 0.92);
  border: 1px solid rgba(230, 160, 160, 0.5);
  border-radius: var(--radius-sm);
  color: #8C4040;
  font-size: 0.88rem;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

/* Social Connections */
.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem auto 1.6rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(222, 205, 200, 0.5);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition-smooth);
}

.social-pill:hover {
  background: #FFFFFF;
  color: var(--text-dark);
  transform: translateY(-1.5px);
  border-color: rgba(205, 175, 170, 0.8);
  box-shadow: 0 3px 12px rgba(120, 80, 75, 0.06);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  border-top: 1px solid var(--border-delicate);
  position: relative;
  z-index: 1;
}

.footer-crown {
  width: 38px;
  height: 30px;
  margin: 0 auto 0.9rem;
  opacity: 0.75;
}

.footer-name {
  font-family: var(--font-cursive);
  font-size: 2.1rem;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-light);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #6D5B57;
  margin-top: 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(220, 205, 200, 0.5);
  transition: var(--transition-smooth);
}

.back-to-top:hover {
  background: #FFFFFF;
  color: var(--text-dark);
  border-color: rgba(200, 170, 165, 0.8);
  transform: translateY(-1px);
}

/* ==========================================================================
   FLOATING SPARKLE & CONFETTI CANVAS
   ========================================================================== */
#sparkle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes floatCrown {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulseAura {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.75; }
}

@keyframes spinTwinkle {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(45deg); }
  100% { transform: scale(1) rotate(0deg); }
}

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

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-polaroid-container {
    order: -1;
  }
  
  .joy-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none; /* Collapsed for clean mobile view */
  }
  
  .hero-section {
    padding-top: 6.5rem;
    min-height: auto;
  }
  
  .contact-card {
    padding: 2.2rem 1.5rem;
  }
  
  .social-links {
    flex-wrap: wrap;
  }
}

/* Respect user's motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
