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

body {
  background: #F5F0E8;
  color: #0A0A0A;
  font-family: 'Inter', -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

/* ===== PAGE ===== */
.picker-page {
  width: 100%;
  max-width: 1100px;
  padding: 4rem 2.5rem;
}

/* ===== HEADER ===== */
.picker-header {
  margin-bottom: 3.5rem;
}

.picker-title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.picker-tagline {
  font-size: 1.1rem;
  font-weight: 400;
  color: #3A3A3A;
  margin-bottom: 1rem;
  max-width: 400px;
}

.picker-prompt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #0A0A0A;
  text-transform: uppercase;
}

/* ===== GRID ===== */
.picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* ===== CARD BASE ===== */
.picker-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #0A0A0A;
  border: 3px solid #0A0A0A;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.picker-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 #0A0A0A;
  z-index: 2;
}

.picker-card:active {
  transform: translate(0, 0);
  box-shadow: none;
}

/* ===== PREVIEW AREAS ===== */
.picker-preview {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid #0A0A0A;
  position: relative;
  overflow: hidden;
}

.prev-icon {
  font-size: 1.3rem;
  z-index: 1;
  transition: transform 0.2s ease;
}

.picker-card:hover .prev-icon {
  transform: scale(1.1);
}

/* — Techy — */
.techy-prev {
  background: #0a0a0a;
  color: #00ff41;
  font-family: 'JetBrains Mono', monospace;
}

.techy-prev::before {
  content: '>';
  position: absolute;
  left: 12px;
  top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #00ff41;
  opacity: 0.3;
}

/* — Elegant — */
.elegant-prev {
  background: #0C0A0E;
  color: #D4A853;
}

.elegant-script {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 500;
}

.elegant-prev::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4A853, transparent);
}

/* — Cutesy — */
.cutesy-prev {
  background: #FFFEF5;
  color: #1A1A1A;
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  border-bottom: 4px solid #1A1A1A;
}

.cutesy-prev::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 3px solid #FF6B5B;
  border-radius: 50%;
}

/* — Bold — */
.bold-prev {
  background: #FFFFFF;
  color: #000000;
  border-bottom: 4px solid #000;
}

.bold-type {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: -0.05em;
}

/* — Glass — */
.glass-prev {
  background: linear-gradient(135deg, #1a1030, #1e1540, #151030);
  color: #A78BFA;
}

.glass-prev::before {
  content: '';
  position: absolute;
  inset: 15px;
  border-radius: 12px;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.12);
  backdrop-filter: blur(4px);
}

/* — Retro — */
.retro-prev {
  background: #1A0A2E;
  position: relative;
  overflow: hidden;
}

.retro-prev::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255, 45, 149, 0.08) 39px, rgba(255, 45, 149, 0.08) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(0, 240, 255, 0.08) 39px, rgba(0, 240, 255, 0.08) 40px);
}

.retro-prev::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 60px;
  border-radius: 50%;
  background: #FF2D95;
  box-shadow: 0 0 40px #FF2D95, 0 0 80px rgba(255, 45, 149, 0.3);
  opacity: 0.6;
}

.retro-glow {
  font-family: 'Russo One', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: #00F0FF;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6), 0 0 30px rgba(0, 240, 255, 0.2);
}

.card-retro:hover .retro-glow {
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.8), 0 0 40px rgba(0, 240, 255, 0.4), 0 0 60px rgba(255, 45, 149, 0.2);
}

/* ===== INFO AREA ===== */
.picker-info {
  padding: 1rem 1.2rem;
  background: #F5F0E8;
}

.picker-info h2 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.picker-info p {
  font-size: 0.7rem;
  color: #666;
  font-weight: 400;
}

/* Dark card info overrides */
.card-techy .picker-info,
.card-elegant .picker-info,
.card-glass .picker-info,
.card-retro .picker-info {
  background: #0A0A0A;
  color: #EEEEF0;
}

.card-techy .picker-info p,
.card-elegant .picker-info p,
.card-glass .picker-info p,
.card-retro .picker-info p {
  color: #777;
}

/* ===== FOOTER ===== */
.picker-footer {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #999;
  text-transform: uppercase;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .picker-page {
    padding: 3rem 1rem;
  }

  .picker-title {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .picker-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .picker-preview {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .picker-grid {
    grid-template-columns: 1fr;
  }

  .picker-preview {
    height: 100px;
  }
}
