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

:root {
  --primary-bg: #020617;
  --secondary-bg: #0f172a;
  --accent-gold: #fbbf24;
  --accent-gold-soft: rgba(251, 191, 36, 0.1);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glow-color: rgba(59, 130, 246, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--primary-bg);
  background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-x: hidden;
}

/* Background Animated Orbs */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: float 25s infinite ease-in-out alternate;
}

.orb-1 { width: 500px; height: 500px; background: #1e3a8a; top: -10%; left: -5%; }
.orb-2 { width: 600px; height: 600px; background: #0c4a6e; bottom: -15%; right: -5%; animation-delay: -7s; }
.orb-3 { width: 300px; height: 300px; background: var(--accent-gold); top: 30%; left: 40%; opacity: 0.08; animation-duration: 30s; }

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 80px) scale(1.15); }
}

.container {
  max-width: 1100px;
  width: 100%;
  border-radius: 32px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--glass-border);
}

.image-section {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.image-section img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 80%, var(--glass-bg) 100%);
  z-index: 1;
}

.image-section:hover img {
  transform: scale(1.08);
}

.content-section {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.01);
}

.badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  align-self: flex-start;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.message-paragraph {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.8rem;
  font-weight: 300;
}

.highlight {
  color: var(--text-main);
  font-weight: 500;
}

.signature-container {
  margin-top: 3rem;
  padding-top: 2rem;
}

.signature {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent-gold);
}

/* Counter Section */
.counter-box {
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.counter-item {
  text-align: center;
}

.counter-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.2rem;
}

.counter-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Guestbook Section */
.guestbook-section {
  padding: 4rem;
  background: rgba(0, 0, 0, 0.1);
}

.guestbook-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--text-main);
}

.comment-form {
  max-width: 600px;
  margin: 0 auto 5rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-field {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.input-field:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
}

textarea.input-field {
  min-height: 150px;
  resize: none;
}

.submit-btn {
  padding: 1.2rem 2.5rem;
  background: var(--accent-gold);
  color: var(--primary-bg);
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px -10px rgba(251, 191, 36, 0.4);
}

.submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px -10px rgba(251, 191, 36, 0.6);
}

.comments-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.comment-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.4s ease;
}

.comment-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.04);
}

.comment-header {
  margin-bottom: 1rem;
}

.comment-author {
  display: block;
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.comment-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comment-text {
  color: var(--text-main);
  line-height: 1.7;
  font-weight: 300;
}

/* Legacy Section */
.legacy-comments {
  margin-top: 5rem;
  opacity: 0.6;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--primary-bg);
  background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
  color: var(--text-main);
  min-height: 100vh;
  margin: 0;
  padding: 2rem;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 900px) {
  body {
    padding: 0;
  }

  .container {
    border-radius: 0;
    border: none;
    max-width: 100%;
  }

  .hero-section { grid-template-columns: 1fr; }
  .image-section { height: 400px; }
  .content-section { padding: 3rem 1.5rem; }
  h1 { font-size: 2.2rem; text-align: center; }
  .badge { align-self: center; }
  .signature-container { text-align: center; }
  
  .counter-box { 
    grid-template-columns: repeat(3, 1fr); 
    padding: 1.5rem 1rem;
    gap: 0.75rem;
  }
  
  .counter-value { font-size: 1.8rem; }
  .counter-label { font-size: 0.6rem; }
}

@media (max-width: 480px) {
  .counter-box { 
    grid-template-columns: repeat(2, 1fr); 
  }
}

/* Music Control */
.music-control {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.music-control:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
  border-color: var(--accent-gold);
}

.music-control.muted .music-icon {
  opacity: 0.4;
}

.music-icon {
  font-size: 1.2rem;
  animation: pulse 2s infinite ease-in-out;
}

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

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--glass-border);
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.site-footer p {
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

