:root {
  --pink-primary: #ff5c98;
  --pink-bg: #ff65a3;
  --pink-dark: #e8337b;
  --pink-deep: #c41860;
  --pink-light: #ffa4ce;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--pink-bg);
  background: radial-gradient(circle at 50% 40%, #ffa8d0 0%, #ff62a1 52%, #e52977 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  color: #ffffff;
  position: relative;
  user-select: none;
  padding: 0.75rem;
}

/* Ambient glow & cyber grid */
.ambient-glow {
  position: absolute;
  width: min(700px, 100vw);
  height: min(700px, 100vh);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 130, 185, 0.25) 45%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 2;
  pointer-events: none;
}

/* Content container */
.content-container {
  position: relative;
  z-index: 10;
  padding: 1rem;
  width: 100%;
  max-width: 680px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.content-card {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3.5rem);
  box-shadow: 
    0 20px 50px rgba(160, 20, 80, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.content-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 26px 60px rgba(160, 20, 80, 0.32),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Y2K decorative corner stars */
.content-card::before,
.content-card::after {
  position: absolute;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.content-card::before {
  content: '✦';
  top: 16px;
  left: 20px;
}

.content-card::after {
  content: '✦';
  bottom: 16px;
  right: 20px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 6.8vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #fff0f7 40%, #ffd0e5 70%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 16px rgba(140, 10, 65, 0.35));
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.construction-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.6vw, 1.4rem);
  font-weight: 600;
  color: #ffffff;
  margin-top: 1rem;
  letter-spacing: 0.03em;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(140, 10, 65, 0.3);
  max-width: 100%;
}

/* Sprite Animation Layer: on its own DOM z-index layer */
.sprite-layer {
  position: fixed;
  z-index: 30;
  width: 220px;
  height: auto;
  aspect-ratio: 660 / 576;
  max-width: 42vw;
  max-height: 42vh;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  top: 0;
  left: 0;
  transform-origin: center center;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
  will-change: left, top, transform;
}

/* Tablet & Mobile Adjustments */
@media (max-width: 640px) {
  body {
    padding: 0.5rem;
  }

  .content-container {
    padding: 0.5rem;
  }

  .content-card {
    padding: 2.25rem 1.15rem;
    border-radius: 20px;
  }

  .brand-title {
    font-size: clamp(1.4rem, 7.2vw, 2.5rem);
    letter-spacing: -0.02em;
  }

  .construction-subtitle {
    font-size: clamp(0.9rem, 3.8vw, 1.15rem);
    margin-top: 0.75rem;
  }

  .content-card::before {
    top: 12px;
    left: 14px;
    font-size: 1rem;
  }

  .content-card::after {
    bottom: 12px;
    right: 14px;
    font-size: 1rem;
  }

  .sprite-layer {
    width: 150px;
    max-width: 36vw;
  }
}

/* Extra Small Mobile Devices (e.g. 320px - 360px) */
@media (max-width: 380px) {
  body {
    padding: 0.25rem;
  }

  .content-container {
    padding: 0.25rem;
  }

  .content-card {
    padding: 1.75rem 0.75rem;
    border-radius: 16px;
  }

  .brand-title {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
  }

  .construction-subtitle {
    font-size: 0.85rem;
  }

  .sprite-layer {
    width: 120px;
    max-width: 34vw;
  }
}
