/*
Theme Name: NaiLish Glossy Babe
Theme URI: https://example.com/
Author: NaiLish
Description: A glossy Y2K-style NaiLish landing page and email checkout theme.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: nailish-glossy-babe
*/

:root {
  color-scheme: light;
  --ink: #3a075f;
  --deep: #5d097d;
  --hot-pink: #ff49ad;
  --pink: #ff8bd4;
  --teal: #42dce4;
  --aqua: #b9fbff;
  --purple: #b886ff;
  --lavender: #efd8ff;
  --paper: #fff7fd;
  --white: #ffffff;
  --line: rgba(255, 73, 173, 0.36);
  --shadow: 0 22px 45px rgba(93, 9, 125, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 10%, rgba(66, 220, 228, 0.42), transparent 26%),
    radial-gradient(circle at 90% 4%, rgba(255, 139, 212, 0.44), transparent 28%),
    linear-gradient(135deg, #fff7fd 0%, #f5e2ff 43%, #d9fbff 100%);
  color: var(--ink);
  font-family: "Fredoka", Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.94) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 73, 173, 0.42) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(66, 220, 228, 0.48) 0 1px, transparent 2px);
  background-position: 0 0, 30px 48px, 74px 18px;
  background-size: 92px 92px, 118px 118px, 146px 146px;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 54px);
  border-bottom: 3px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 235, 250, 0.84);
  box-shadow: 0 10px 26px rgba(255, 73, 173, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-block;
  color: transparent;
  background: linear-gradient(120deg, var(--hot-pink) 0%, var(--pink) 28%, var(--teal) 58%, var(--purple) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  text-shadow:
    1px 1px 0 var(--white),
    2px 2px 0 var(--white),
    4px 4px 0 var(--deep),
    6px 6px 0 rgba(255, 73, 173, 0.32),
    0 8px 18px rgba(255, 73, 173, 0.28);
  filter: drop-shadow(0 0 10px rgba(66, 220, 228, 0.42));
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  color: var(--deep);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a,
.button,
.mini-button {
  border: 2px solid var(--white);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--white), #ffe0f5 45%, #d6fbff);
  box-shadow: 0 6px 0 rgba(93, 9, 125, 0.18), inset 0 0 0 1px rgba(255, 73, 173, 0.2);
}

nav a {
  padding: 9px 14px;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 77px);
  grid-template-rows: auto auto;
  align-content: center;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(26px, 5vw, 58px) clamp(14px, 5vw, 80px) clamp(38px, 6vw, 72px);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 18px clamp(10px, 4vw, 50px) auto;
  height: 72%;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(255, 139, 212, 0.24), rgba(184, 134, 255, 0.2), rgba(66, 220, 228, 0.24));
  filter: blur(2px);
}

.hero::after {
  right: clamp(18px, 8vw, 110px);
  bottom: 36px;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, var(--white) 0 9%, transparent 10%),
    linear-gradient(135deg, var(--hot-pink), var(--purple), var(--teal));
  box-shadow: var(--shadow);
  opacity: 0.84;
}

.hero-art {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(8px, 1.4vw, 16px);
  border: 4px solid var(--white);
  border-radius: clamp(18px, 4vw, 36px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(236, 245, 255, 0.72));
  box-shadow: var(--shadow), inset 0 0 0 3px rgba(255, 73, 173, 0.22);
}

.hero-art img {
  display: block;
  width: 100%;
  border-radius: clamp(12px, 3vw, 24px);
}

.hero-art.image-failed::after {
  display: grid;
  min-height: 220px;
  place-items: center;
  content: "NaiLish";
  border-radius: clamp(12px, 3vw, 24px);
  background: linear-gradient(135deg, var(--hot-pink), var(--purple), var(--teal));
  color: var(--white);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  text-shadow: 3px 3px 0 var(--deep);
}

.hero-art.image-failed img {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 8px 16px;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe5f8, #dcfbff);
  color: var(--hot-pink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 6px 0 rgba(93, 9, 125, 0.14);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1;
}

h1,
h2 {
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  max-width: 930px;
  margin: 0 auto 16px;
  color: var(--pink);
  font-size: clamp(3.2rem, 8vw, 7rem);
  text-shadow:
    2px 2px 0 var(--white),
    4px 4px 0 var(--white),
    7px 7px 0 var(--deep),
    0 12px 24px rgba(255, 73, 173, 0.28);
}

h2 {
  margin-bottom: 12px;
  color: var(--hot-pink);
  font-size: clamp(2.25rem, 5.5vw, 4.8rem);
  text-shadow:
    2px 2px 0 var(--white),
    4px 4px 0 rgba(93, 9, 125, 0.18);
}

h3 {
  margin-bottom: 8px;
  color: var(--deep);
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-shadow: 1px 1px 0 var(--white), 2px 2px 0 rgba(255, 73, 173, 0.24);
}

.hero-text,
.section-intro p,
.bundle p,
.coming-soon p,
.product-card p {
  color: #6c3484;
  font-weight: 600;
  line-height: 1.55;
}

.hero-text {
  max-width: 650px;
  margin: 0 auto 24px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  color: var(--deep);
  font-weight: 700;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 42px;
  padding: 0 15px;
  color: var(--deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.mini-button.light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--deep);
}

.button:hover,
nav a:hover,
.mini-button:hover {
  transform: translateY(-1px);
}

.section-intro,
.coming-soon {
  position: relative;
  max-width: 1080px;
  padding: 74px clamp(16px, 6vw, 86px) 28px;
}

.section-intro::after {
  display: block;
  width: min(100%, 580px);
  height: 18px;
  margin-top: 24px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hot-pink), var(--purple), var(--teal));
  box-shadow: 0 8px 20px rgba(93, 9, 125, 0.16);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  padding: 0 clamp(16px, 6vw, 86px) 78px;
}

.product-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px 16px 20px;
  border: 3px solid var(--white);
  border-radius: 28px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.96) 0 10%, transparent 11%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 219, 247, 0.9) 48%, rgba(198, 249, 255, 0.9));
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 73, 173, 0.18);
}

.product-card::before {
  position: absolute;
  top: 15px;
  right: 18px;
  width: 22px;
  height: 22px;
  content: "";
  background: var(--white);
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
  filter: drop-shadow(0 0 7px rgba(255, 73, 173, 0.62));
}

.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 10px;
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 28px rgba(255, 139, 212, 0.2);
}

.product-image.image-failed {
  display: none;
}

.product-card span {
  justify-self: start;
  padding: 8px 14px;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hot-pink), var(--purple));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 0 rgba(93, 9, 125, 0.2);
}

.bundle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(16px, 6vw, 86px);
  padding: clamp(28px, 6vw, 56px);
  border: 4px solid var(--white);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.54), transparent 18%),
    linear-gradient(135deg, #ff8bd4 0%, #b886ff 48%, #42dce4 100%);
  color: var(--white);
  box-shadow: var(--shadow), inset 0 0 0 3px rgba(93, 9, 125, 0.16);
}

.bundle::before {
  position: absolute;
  left: 22px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  content: "";
  background: var(--white);
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
  opacity: 0.9;
}

.bundle h2,
.bundle p,
.bundle .eyebrow {
  color: var(--white);
}

.bundle h2 {
  text-shadow:
    2px 2px 0 var(--deep),
    4px 4px 0 rgba(93, 9, 125, 0.22);
}

.bundle .eyebrow {
  background: rgba(255, 255, 255, 0.22);
}

.bundle-price {
  display: grid;
  min-width: 210px;
  gap: 6px;
  text-align: right;
}

.bundle-price strong {
  color: #fff6a6;
  font-size: clamp(2.7rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1;
  text-shadow:
    2px 2px 0 var(--hot-pink),
    4px 4px 0 var(--deep);
}

.bundle-price span {
  font-size: 0.95rem;
  font-weight: 700;
}

.coming-soon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 310px);
  align-items: center;
  gap: clamp(20px, 5vw, 60px);
  padding-bottom: 84px;
}

.coming-soon img {
  width: 100%;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
}

footer {
  padding: 28px clamp(16px, 6vw, 86px);
  border-top: 3px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 235, 250, 0.72);
  color: #6c3484;
  font-weight: 700;
}

footer p {
  margin: 0;
}

.checkout-hero {
  position: relative;
  max-width: 980px;
  padding: clamp(44px, 8vw, 86px) clamp(16px, 6vw, 86px) 24px;
}

.checkout-hero h1 {
  margin-left: 0;
  text-align: left;
}

.checkout-hero .hero-text {
  margin-left: 0;
  text-align: left;
}

.checkout-layout {
  padding: 0 clamp(16px, 6vw, 86px) 84px;
}

.checkout-form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.form-card,
.checkout-summary {
  border: 3px solid var(--white);
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.95) 0 9%, transparent 10%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 219, 247, 0.92) 48%, rgba(198, 249, 255, 0.92));
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 73, 173, 0.16);
}

.form-card {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
}

.form-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.form-note {
  color: #6c3484;
  font-weight: 600;
  line-height: 1.5;
}

.order-list,
.field-grid {
  display: grid;
  gap: 12px;
}

.order-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 82px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--deep);
  font-weight: 700;
}

.bundle-choice {
  background: linear-gradient(135deg, rgba(255, 139, 212, 0.35), rgba(66, 220, 228, 0.3));
}

label {
  color: var(--deep);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 73, 173, 0.18);
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  min-height: 116px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(66, 220, 228, 0.22), inset 0 0 0 1px rgba(255, 73, 173, 0.18);
}

input[type="checkbox"] {
  width: 22px;
  min-height: 22px;
  margin-top: 0;
  accent-color: var(--hot-pink);
}

.checkout-summary {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 10px;
  padding: clamp(18px, 3vw, 28px);
}

.checkout-summary p {
  margin: 0;
  color: #6c3484;
  font-weight: 700;
}

.checkout-summary strong {
  color: var(--hot-pink);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  text-shadow: 2px 2px 0 var(--white), 4px 4px 0 rgba(93, 9, 125, 0.18);
}

.checkout-summary span {
  color: #6c3484;
  font-weight: 700;
}

.checkout-submit {
  grid-column: 1 / -1;
  width: fit-content;
  border: 0;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

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

  .bundle {
    align-items: flex-start;
    flex-direction: column;
  }

  .bundle-price {
    text-align: left;
  }

  .coming-soon {
    grid-template-columns: 1fr;
  }

  .coming-soon img {
    max-width: 280px;
  }

  .checkout-form {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
  }

  nav a {
    padding: 8px 11px;
  }

  .hero {
    padding-top: 24px;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.6rem);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    border-radius: 22px;
  }
}
