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

:root {
  --header-gradient: linear-gradient(135deg, #ff6b9d, #ff8eb4);
  --card-bg: rgba(255, 255, 255, 0.92);
  --text-primary: #2c2c2c;
  --text-secondary: #5a5a5a;
  --accent-pink: #e84393;
  --accent-red: #d63031;
  --strawberry: #ff4d6d;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body {
  background: linear-gradient(135deg, #ffb6c1, #ff9a9e, #ff7b89);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  position: relative;
  padding: 20px;
  line-height: 1.6;
}

.container {
  max-width: 900px;
  width: 100%;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: visible;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.header {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--header-gradient);
  padding: 30px;
  color: white;
  position: relative;
  overflow: visible;
  border-radius: 24px 24px 0 0;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="rgba(255,255,255,0.1)" d="M40,80 Q50,60 70,70 T100,60 T130,70 T160,60 T190,80 Q180,100 160,90 T130,100 T100,90 T70,100 T40,90Z"/></svg>');
  background-size: 300px;
  opacity: 0.2;
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px 24px 0 0;
  background: transparent;
  pointer-events: none;
  z-index: 1;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.profile-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  width: 180px;
  height: 180px;
}

.profile-image::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  z-index: 1;
}

.chaeyoung-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  z-index: 2;
  position: relative;
}

.chaeyoung-video {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  z-index: 5;
  position: relative;
}

.name-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px;
  position: relative;
  z-index: 2;
}

.english-name {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: -1rem;
  color: rgba(255, 255, 255, 0.9);
}

.korean-name {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.18);
  padding: 8px 18px;
  border-radius: 20px;
  display: inline-block;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-weight: 400;
  text-align: center;
  line-height: 1.8;
}

.highlight {
  color: var(--accent-pink);
  font-weight: 600;
  background: rgba(232, 67, 147, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 40px;
}

.stat-box {
  background: white;
  padding: 25px 15px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(232, 67, 147, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(232, 67, 147, 0.15);
  border-color: rgba(232, 67, 147, 0.2);
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-pink);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0 40px;
}

.btn {
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 200px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(1px);
}

.once-btn {
  background: linear-gradient(to right, #e84393, #d63031);
  color: white;
}

.ig-btn {
  background: linear-gradient(45deg, #833ab4, #fd1d1d);
  color: white;
  text-decoration: none;
}

.footer {
  text-align: center;
  padding: 25px;
  color: rgba(90, 30, 51, 0.7);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
}

.footer-main {
  display: flex;
  flex-direction: column;
}

.footer p {
  margin: 0;
  font-style: italic;
}

.footer .disclaimer {
  font-size: 0.75em;
  opacity: 0.6;
  line-height: 1.5;
  padding-top: 5px;
}

.footer .creator {
  font-size: 0.85em;
  font-style: normal;
}

.footer a {
  color: var(--accent-pink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--accent-red);
  text-decoration: underline;
}

.footer .stanmoe-link {
  font-weight: 600;
}

/* Floating strawberries */
.strawberries {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.strawberry {
  position: absolute;
  top: -50px;
  font-size: 1.8rem;
  animation: strawberry-float 10s infinite ease-in;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0.6;
  z-index: 1;
}

@keyframes strawberry-float {
  0% {
    top: -50px;
    opacity: 0;
    transform: rotate(0deg);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    top: 100vh;
    opacity: 0;
    transform: rotate(360deg);
  }
}

/* Alpine.js Content System */
.content-system {
  margin-top: 20px;
}

.content-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  padding: 0 20px;
}

.nav-btn {
  background: rgb(255, 185, 249);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgb(255, 255, 255);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.nav-btn:hover,
.nav-btn.active {
  background: rgba(232, 67, 147, 0.3);
  border-color: rgba(232, 67, 147, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 67, 147, 0.2);
}

.dynamic-content {
  margin: 2rem 0;
  min-height: 400px;
  padding: 0 40px 40px;
}

.content-section {
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  color: var(--accent-pink);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.section-header p {
  color: var(--text-secondary);
  font-style: italic;
}

/* Home Content */
.home-content {
  text-align: center;
}

.home-content h2 {
  color: var(--accent-pink);
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

.quick-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.quick-stat {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.quick-stat .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-pink);
}

/* Gallery Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(232, 67, 147, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.gallery-tags {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0;
  flex-wrap: wrap;
}

.tag {
  background: rgba(232, 67, 147, 0.8);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Tattoo Cards */
.tattoos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.tattoo-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(232, 67, 147, 0.1);
}

.tattoo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(232, 67, 147, 0.15);
}

.tattoo-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.tattoo-info h3 {
  color: var(--accent-pink);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.tattoo-location {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.tattoo-meaning {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tattoo-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
}

/* Quiz Styles */
.quiz-container {
  max-width: 600px;
  margin: 0 auto;
}

.quiz-start {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.quiz-progress {
  margin-bottom: 2rem;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(232, 67, 147, 0.2);
  border-radius: 4px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-pink);
  transition: width 0.3s ease;
}

.question-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.question-card h3 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: 1.3rem;
}

.quiz-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-option {
  padding: 1rem 1.5rem;
  border: 2px solid rgba(232, 67, 147, 0.2);
  background: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  font-size: 1rem;
}

.quiz-option:hover {
  border-color: var(--accent-pink);
  background: rgba(232, 67, 147, 0.05);
}

.quiz-option.selected {
  background: var(--accent-pink);
  color: white;
  border-color: var(--accent-pink);
}

.quiz-next {
  width: 100%;
  margin-top: 1rem;
}

.quiz-results {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.quiz-results h3 {
  color: var(--accent-pink);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.score {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.score-message {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 25px 15px;
    overflow: hidden; /* Reset to hidden on mobile */
  }
  
  .profile-image {
    margin: 0 auto 20px;
  }
  
  .chaeyoung-video {
    width: 200px; /* Smaller on mobile but still larger than original */
    height: 200px;
  }
  
  .name-container {
    padding-left: 0;
  }
  
  .info-section {
    padding: 25px 15px;
  }
  
  .korean-name {
    font-size: 2.6rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .stats {
    grid-template-columns: 1fr;
    margin: 20px 15px;
  }
  
  .buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .dynamic-content {
    padding: 0 15px 30px;
  }
  
  .gallery-grid,
  .tattoos-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-stats {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .quick-stat {
    width: 200px;
  }
  
  .content-nav {
    gap: 0.5rem;
  }
  
  .nav-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 20px 10px;
  }
  
  .chaeyoung-video {
    width: 180px; /* Back to original size on very small screens */
    height: 180px;
  }
  
  .korean-name {
    font-size: 2.2rem;
  }
  
  .subtitle {
    font-size: 1.1rem;
    padding: 6px 14px;
  }
  
  .stat-value {
    font-size: 2rem;
  }
}