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

html, body {
  font-family: Arial, sans-serif;
  background: #07040d;
  color: #f7f2ff;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(173, 110, 255, 0.18), transparent 35%),
    radial-gradient(circle at top right, rgba(255, 105, 180, 0.12), transparent 30%),
    radial-gradient(circle at bottom center, rgba(120, 70, 220, 0.16), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero-card {
  position: relative;
  max-width: 900px;
  width: 100%;
  padding: 4rem 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(210, 150, 255, 0.22);
  box-shadow:
    0 0 30px rgba(155, 80, 255, 0.18),
    inset 0 0 25px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  overflow: visible;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

/* little bite marks to make it look eaten like a cookie */
.bite {
  position: absolute;
  width: 44px;
  height: 44px;
  background: #07040d;
  border-radius: 50%;
  z-index: 2;
}

.bite-1 {
  top: 26px;
  right: 86px;
}

.bite-2 {
  top: 54px;
  right: 42px;
}

.bite-3 {
  top: 96px;
  right: 74px;
}

/* snackling */
.snackling-corner {
  position: absolute;
  top: -30px;
  right: -18px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(12deg);
}

.snackling-body {
  position: relative;
  width: 95px;
  height: 95px;
  border-radius: 35% 45% 40% 50%;
  background: linear-gradient(145deg, #8c52ff, #ff7ccc);
  box-shadow:
    0 0 18px rgba(255, 120, 204, 0.35),
    0 0 30px rgba(140, 82, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.snackling-eye {
  position: absolute;
  top: 32px;
  width: 10px;
  height: 14px;
  background: #13071d;
  border-radius: 50%;
}

.snackling-eye.left {
  left: 28px;
}

.snackling-eye.right {
  right: 28px;
}

.snackling-mouth {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 22px;
  height: 12px;
  transform: translateX(-50%);
  border-bottom: 4px solid #13071d;
  border-radius: 0 0 20px 20px;
}

.nom-text {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #ffb3df;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 125, 200, 0.45);
}

/* improve card spacing on smaller screens */
@media (max-width: 640px) {
  .hero-card {
    padding: 3.2rem 1.2rem 2.4rem;
    border-radius: 22px;
  }

  .snackling-corner {
    top: -22px;
    right: -10px;
    transform: scale(0.85) rotate(12deg);
  }

  .bite-1 {
    top: 18px;
    right: 62px;
  }

  .bite-2 {
    top: 42px;
    right: 24px;
  }

  .bite-3 {
    top: 78px;
    right: 52px;
  }
}

.tag {
  color: #ff9ad5;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h1 {
  font-size: 4rem;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(190, 120, 255, 0.5);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.2rem;
  color: #ddd3f3;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 0.9rem 1.4rem;
  border-radius: 14px;
  font-weight: bold;
  transition: 0.25s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #7a3cff, #ff6ec7);
  color: white;
  box-shadow: 0 0 20px rgba(160, 90, 255, 0.35);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.secondary {
  border: 1px solid #b68cff;
  color: #f4eaff;
  background: rgba(255, 255, 255, 0.03);
}

.btn.secondary:hover {
  border-color: #ff9ad5;
  color: #ffb8e3;
}

.section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #f7ddff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(194, 143, 255, 0.25);
  border-radius: 18px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 18px rgba(145, 88, 255, 0.12);
}

.card h3 {
  margin-bottom: 0.75rem;
  color: #ffb4df;
}

.card p,
.about-text {
  color: #ddd3f3;
  line-height: 1.7;
}

.footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: #a995c9;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.7rem;
  }

  .subtitle {
    font-size: 1rem;
  }
}
