:root {
  --primary: #ec4899;
  --secondary: #fdf2f8;
  --accent: #0891b2;
  --text: #831843;
  --bg: #fafafa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(14px, 4vw, 16px);
  overflow-x: hidden;
}

h1 {
  font-size: clamp(22px, 5vw, 36px);
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

/* Screen reader utility for radio buttons */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gallery CSS Implementation */
.gallery-main {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#img-1:checked ~ .gallery-main .slide-1,
#img-2:checked ~ .gallery-main .slide-2,
#img-3:checked ~ .gallery-main .slide-3,
#img-4:checked ~ .gallery-main .slide-4 {
  opacity: 1;
  z-index: 10;
}

#img-1:checked ~ .thumbnails label[for="img-1"],
#img-2:checked ~ .thumbnails label[for="img-2"],
#img-3:checked ~ .thumbnails label[for="img-3"],
#img-4:checked ~ .thumbnails label[for="img-4"] {
  border-color: var(--primary);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.5);
}

/* High Contrast CTA Button */
.btn-cta {
  min-height: 48px;
  padding: 14px 36px;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
  background-color: #db2777;
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.6);
}

.btn-cta:active {
  transform: translateY(0);
}