/* MAAKE Beauty — Coming Soon (centered) */
:root {
  --cs-ink: #1a1612;
  --cs-muted: #6b635a;
  --cs-gold: #ca9c46;
  --cs-gold-deep: #9a7330;
  --cs-danger: #9f1239;
  --cs-panel: #12100e;
  --cs-font: "DM Sans", system-ui, sans-serif;
  --cs-display: "Cormorant Garamond", Georgia, serif;
}

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

html, body { margin: 0; min-height: 100%; }

.cs-body {
  font-family: var(--cs-font);
  color: var(--cs-ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.cs-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(202, 156, 70, 0.22), transparent 60%),
    radial-gradient(ellipse 55% 45% at 50% 100%, rgba(184, 137, 58, 0.14), transparent 55%),
    linear-gradient(180deg, #fffdf9 0%, #f5efe6 48%, #ebe2d4 100%);
}

.cs-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: cs-orb-float 14s ease-in-out infinite alternate;
}

.cs-orb--1 {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  top: 8%;
  left: 8%;
  background: rgba(202, 156, 70, 0.28);
}

.cs-orb--2 {
  width: min(36vw, 320px);
  height: min(36vw, 320px);
  right: 6%;
  bottom: 12%;
  background: rgba(232, 213, 168, 0.35);
  animation-delay: -4s;
}

@keyframes cs-orb-float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(12px, -18px) scale(1.06); }
}

.cs-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.cs-main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem;
}

.cs-inner {
  width: min(100%, 36rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: cs-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cs-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.cs-logo-wrap {
  margin: 0 0 1.75rem;
  animation: cs-rise 1.05s 0.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cs-logo {
  display: block;
  height: clamp(44px, 9vw, 64px);
  width: auto;
  max-width: min(240px, 72vw);
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(26, 22, 18, 0.08));
}

.cs-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cs-gold-deep);
  animation: cs-rise 1.05s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cs-headline {
  margin: 0 0 0.9rem;
  font-family: var(--cs-display);
  font-size: clamp(1.75rem, 4.5vw, 2.55rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cs-ink);
  max-width: 16ch;
  animation: cs-rise 1.05s 0.16s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cs-sub {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--cs-muted);
  max-width: 34ch;
  animation: cs-rise 1.05s 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cs-rule {
  width: 48px;
  height: 1px;
  margin: 1.75rem 0;
  background: linear-gradient(90deg, transparent, var(--cs-gold), transparent);
  animation: cs-rise 1.05s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cs-actions {
  animation: cs-rise 1.05s 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cs-dev-trigger {
  appearance: none;
  border: 1px solid rgba(26, 22, 18, 0.16);
  background: rgba(255, 253, 249, 0.55);
  color: var(--cs-muted);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.15rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.cs-dev-trigger:hover {
  color: var(--cs-ink);
  border-color: var(--cs-gold-deep);
  background: rgba(202, 156, 70, 0.12);
  transform: translateY(-1px);
}

.cs-meta {
  margin: 2.25rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cs-muted);
  animation: cs-rise 1.05s 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* —— Restricted modal —— */
.cs-modal[hidden] { display: none !important; }

.cs-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.cs-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.72);
  backdrop-filter: blur(4px);
  animation: cs-fade 0.25s ease both;
}

@keyframes cs-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cs-modal__panel {
  position: relative;
  width: min(100%, 420px);
  background: var(--cs-panel);
  color: #f3efe8;
  padding: 1.75rem 1.5rem 1.35rem;
  border: 1px solid rgba(202, 156, 70, 0.35);
  text-align: left;
  animation: cs-panel-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cs-panel-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.cs-modal__stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    #ca9c46 0 10px,
    #1a1612 10px 20px
  );
}

.cs-modal__badge {
  margin: 0.65rem 0 0.5rem;
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.45);
  padding: 0.28rem 0.55rem;
}

.cs-modal__title {
  margin: 0 0 0.75rem;
  font-family: var(--cs-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
}

.cs-modal__warn {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #fecdd3;
  background: rgba(159, 18, 57, 0.28);
  border-left: 3px solid var(--cs-danger);
}

.cs-modal__hint {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #c4bbb0;
  line-height: 1.45;
}

.cs-modal__error {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fda4af;
}

.cs-digits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.cs-digit {
  width: 100%;
  aspect-ratio: 1;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 700;
  border: 1px solid rgba(243, 239, 232, 0.22);
  background: #1c1916;
  color: #fff;
  outline: none;
  caret-color: var(--cs-gold);
}

.cs-digit:focus {
  border-color: var(--cs-gold);
  box-shadow: 0 0 0 2px rgba(202, 156, 70, 0.25);
}

.cs-submit {
  width: 100%;
  border: 0;
  background: var(--cs-gold);
  color: #1a1612;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 1rem;
  cursor: pointer;
}

.cs-submit:hover { filter: brightness(1.05); }

.cs-cancel {
  width: 100%;
  margin-top: 0.55rem;
  border: 0;
  background: transparent;
  color: #9a9186;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.55rem;
}

.cs-cancel:hover { color: #e8e0d6; }

.cs-modal__legal {
  margin: 1rem 0 0;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f675e;
  text-align: center;
}

@media (max-width: 520px) {
  .cs-main { padding: 2rem 1.15rem 2.5rem; }
  .cs-logo { height: 40px; }
}
