/* Modern coming-soon styles for Jamils */
:root {
  /* Aurora — default theme */
  --bg-1: #031321; /* deep blue-green */
  --bg-2: #073b3a; /* teal */
  --glass: rgba(255, 255, 255, 0.06);
  --muted: rgba(255, 255, 255, 0.65);
  --accent1: #4ade80; /* lime green */
  --accent2: #60a5fa; /* sky blue */
  --glass-2: rgba(255, 255, 255, 0.04);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body section {
  margin: 0;
  width: 100%;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  background:
    radial-gradient(
      1200px 600px at 10% 12%,
      rgba(74, 222, 128, 0.03),
      transparent
    ),
    radial-gradient(
      900px 500px at 90% 90%,
      rgba(96, 165, 250, 0.02),
      transparent
    ),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

.page-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) blur(1px);
  z-index: 0;
  opacity: 0.3;
}

.wrap {
  min-height: 100vh;
  display: grid;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.scene {
  position: relative;
  width: 100%;
  /* ensure the scene is visually wide on larger viewports */
  min-width: 1024px;
  /* allow it to scale up but not exceed the viewport minus padding */
  max-width: calc(100% - 50px);
  border-radius: 20px;
  padding: 50px;
  overflow: hidden;
  backdrop-filter: blur(6px) saturate(120%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow:
    0 10px 30px rgba(2, 6, 23, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.background-blobs {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      600px 300px at 12% 20%,
      rgba(74, 222, 128, 0.1),
      transparent 10%
    ),
    radial-gradient(
      500px 250px at 86% 78%,
      rgba(96, 165, 250, 0.08),
      transparent 10%
    );
  filter: blur(36px);
  transform: translateZ(0);
  pointer-events: none;
  z-index: 1; /* ensure orbs and content can layer above this blurred backdrop */
}

/* Orbiting decorative circles */
.orb-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3; /* behind content (content is z-index:5) */
}

.orb-wrap-1 {
  width: 700px;
  height: 700px;
  animation: spin-slow 90s linear infinite;
}
.orb-wrap-2 {
  width: 500px;
  height: 500px;
  animation: spin-slow-rev 120s linear infinite;
}

/* make orbs smaller and more translucent so background shows through */
.orb {
  position: absolute;
  left: 50%;
  top: 0%;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(20px);
  mix-blend-mode: screen;
  opacity: 0.45; /* translucent so underlying blobs remain visible */
}

.orb-1 {
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(74, 222, 128, 0.14),
    rgba(74, 222, 128, 0.06) 30%,
    rgba(74, 222, 128, 0.02) 60%,
    transparent 70%
  );
  background: #21a656;
}

.orb-2 {
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(96, 165, 250, 0.12),
    rgba(96, 165, 250, 0.05) 28%,
    rgba(96, 165, 250, 0.02) 56%,
    transparent 70%
  );
  background: #60a5fa;
}

/* subtle counter-rotation on the orb itself to create a lighting shimmer */
.orb {
  animation: orb-rotate 1s linear infinite;
}

@keyframes spin-slow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes spin-slow-rev {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
@keyframes orb-rotate {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(-360deg);
  }
}

/* responsive: scale down orbit wrappers on small screens so orbs stay visible */
@media (max-width: 800px) {
  .orb-wrap-1 {
    width: 520px;
    height: 520px;
  }
  .orb-wrap-2 {
    width: 360px;
    height: 360px;
  }
  .orb-1 {
    width: 120px;
    height: 120px;
  }
  .orb-2 {
    width: 90px;
    height: 90px;
  }
}

/* Theme switcher controls (small floating UI) */
.theme-switcher {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 12;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(6px);
}
.theme-btn {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
}
.theme-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}
.theme-btn.active {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #031025;
}

.content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: 300px; /* increased size per request */
  height: auto;
  display: block;
  margin-bottom: 20px;
  transform-origin: center;
  animation: popIn 900ms cubic-bezier(0.2, 0.9, 0.3, 1) both 300ms;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.92) rotate(-6deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

.title {
  font-family: "Great Vibes", cursive; /* stylist script font */
  font-size: clamp(50px, 6vw, 100px); /* larger and more elegant */
  letter-spacing: -0.01em;
  margin: 6px 0 30px 0;
  font-weight: 400;
  color: linear-gradient(90deg, var(--accent1), var(--accent2));
  text-shadow: 0 20px 28px rgba(7, 10, 30, 0.45);
  line-height: 1.02;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.9, 0.3, 1) both 550ms;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subtitle {
  color: var(--muted);
  margin: 0 0 20px 0;
  max-width: 700px;
  font-size: 17px; /* slightly larger for balance with the title */
  font-weight: 500;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.9, 0.3, 1) both 650ms;
}

.countdown {
  display: flex;
  gap: 14px;
  margin: 18px 0 22px 0;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.9, 0.3, 1) both 750ms;
}
.countdown-item {
  background: var(--glass-2);
  padding: 12px 16px;
  border-radius: 12px;
  min-width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown-item span {
  font-weight: 700;
  font-size: 18px;
}
.countdown-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

/* subscription form removed — styles folded out */

.decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.footer {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  text-align: center;
}
.footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* responsive tweaks */
@media (max-width: 600px) {
  .scene {
    padding: 28px;
  }
  .logo {
    width: 110px;
  }
  .subscribe {
    flex-direction: column;
  }
  .subscribe button {
    width: 100%;
  }
  .countdown {
    gap: 8px;
  }
}

/* Additional responsive fixes */
@media (max-width: 1200px) {
  /* allow the scene to shrink on medium screens */
  .scene {
    min-width: unset;
    max-width: calc(100% - 24px);
    padding: 40px;
    border-radius: 16px;
  }
  .wrap {
    padding: 32px 16px;
  }
  .theme-switcher {
    top: 12px;
    right: 12px;
    padding: 6px;
    gap: 6px;
  }
}

@media (max-width: 800px) {
  /* scale hero elements for smaller screens */
  .logo {
    width: 140px;
  }
  .title {
    font-size: clamp(28px, 8vw, 44px);
  }
  .subtitle {
    font-size: 15px;
    max-width: 92%;
  }
  .background-blobs {
    filter: blur(28px);
  }
  .orb-wrap-1 {
    width: 420px;
    height: 420px;
  }
  .orb-wrap-2 {
    width: 300px;
    height: 300px;
  }
  .orb-1 {
    width: 120px;
    height: 120px;
  }
  .orb-2 {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 110px;
  }
  .scene {
    padding: 20px;
  }
  .title {
    font-size: clamp(22px, 10vw, 36px);
  }
  .theme-switcher {
    display: none;
  }
  .countdown {
    flex-wrap: wrap;
    gap: 10px;
  }
  .countdown-item {
    min-width: 64px;
    padding: 10px;
  }
}
