/*
  DAE Ajans Premium Countdown Website
  Responsive, animated and mobile-friendly.
*/

:root {
  --bg: #090712;
  --bg-2: #100d24;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --soft: rgba(255, 255, 255, 0.08);
  --soft-2: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.14);
  --pink: #ff2d75;
  --cyan: #00f2ea;
  --gold: #ffd166;
  --purple: #7c3cff;
  --radius: 32px;
  --radius-lg: 44px;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.55);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(124, 60, 255, 0.32), transparent 34rem),
    linear-gradient(135deg, #070611 0%, #120d28 45%, #080611 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.aurora {
  position: fixed;
  z-index: -3;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  filter: blur(58px);
  opacity: 0.42;
  pointer-events: none;
  animation: auroraMove 11s ease-in-out infinite alternate;
}

.aurora-1 {
  top: -12rem;
  left: -10rem;
  background: var(--pink);
}

.aurora-2 {
  right: -14rem;
  top: 18%;
  background: var(--cyan);
  animation-delay: -3s;
}

.aurora-3 {
  left: 34%;
  bottom: -18rem;
  background: var(--purple);
  animation-delay: -6s;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 34px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 58px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04)),
    rgba(10, 8, 22, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 45, 117, 0.24), transparent 23rem),
    radial-gradient(circle at 90% 12%, rgba(0, 242, 234, 0.18), transparent 24rem),
    radial-gradient(circle at 54% 84%, rgba(255, 209, 102, 0.12), transparent 28rem);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
  opacity: 0.75;
}

.navbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand img {
  width: 52px;
  height: 52px;
  display: block;
  filter: drop-shadow(0 12px 22px rgba(0, 242, 234, 0.2));
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a {
  padding: 11px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-1px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 170px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
  padding: 54px 18px 28px;
}

.hero-copy {
  max-width: 680px;
}

.badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 15px;
  border: 1px solid rgba(0, 242, 234, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 242, 234, 0.08);
  box-shadow: inset 0 0 24px rgba(0, 242, 234, 0.06);
  font-weight: 800;
  font-size: 0.9rem;
}

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(0, 242, 234, 0.12), 0 0 22px var(--cyan);
}

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

h1 span {
  display: block;
  margin-top: 14px;
  color: transparent;
  background: linear-gradient(92deg, #ffffff 0%, var(--cyan) 32%, var(--gold) 62%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.78;
}

.actions {
  margin-top: 34px;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.btn {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: #070611;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--pink));
  box-shadow: 0 18px 42px rgba(255, 45, 117, 0.24), 0 14px 38px rgba(0, 242, 234, 0.13);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
}

.trust-row {
  width: min(560px, 100%);
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trust-row div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.trust-row strong {
  display: block;
  font-size: 1.28rem;
  line-height: 1;
}

.trust-row span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.84rem;
}

.count-card {
  position: relative;
  display: grid;
  place-items: center;
}

.count-card-glow {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 45, 117, 0.22), transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(0, 242, 234, 0.2), transparent 52%);
  filter: blur(18px);
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

.phone-frame {
  position: relative;
  width: min(420px, 100%);
  min-height: 620px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0.04)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    0 30px 100px rgba(0,0,0,0.48),
    inset 0 1px 0 rgba(255,255,255,0.24);
  backdrop-filter: blur(18px);
  transform: rotate(2deg);
}

.phone-top {
  position: absolute;
  z-index: 3;
  top: 23px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(0, 0, 0, 0.56);
}

.phone-top span:first-child {
  width: 36px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.23);
}

.phone-top span:last-child {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 242, 234, 0.55);
}

.live-preview {
  position: relative;
  min-height: 594px;
  padding: 56px 20px 20px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(0,0,0,0.08)),
    radial-gradient(circle at 50% 30%, rgba(255, 45, 117, 0.22), transparent 22rem),
    linear-gradient(160deg, #12102c, #070611 60%);
}

.live-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 0 68%, rgba(0,0,0,0.42)),
    url("data:image/svg+xml,%3Csvg width='190' height='190' viewBox='0 0 190 190' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,.08)'%3E%3Cpath d='M0 95h190M95 0v190'/%3E%3Ccircle cx='95' cy='95' r='48'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
  pointer-events: none;
}

.live-header,
.creator,
.countdown,
.gift-stream {
  position: relative;
  z-index: 2;
}

.live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), #ff5a99);
  box-shadow: 0 12px 26px rgba(255, 45, 117, 0.32);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.viewer-count {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.74);
  background: rgba(255,255,255,0.1);
  font-size: 0.8rem;
  font-weight: 800;
}

.creator {
  margin-top: 158px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #080611;
  background: linear-gradient(135deg, var(--cyan), var(--gold), var(--pink));
  box-shadow: 0 16px 38px rgba(0, 242, 234, 0.2);
  font-size: 1.4rem;
  font-weight: 950;
}

.creator strong,
.creator small {
  display: block;
}

.creator strong {
  font-size: 1rem;
}

.creator small {
  max-width: 270px;
  margin-top: 5px;
  color: rgba(255,255,255,0.66);
  font-size: 0.78rem;
  line-height: 1.35;
}

.countdown {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.time-box {
  min-height: 112px;
  padding: 15px 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.time-box strong {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-variant-numeric: tabular-nums;
}

.time-box span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,0.62);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gift-stream {
  height: 42px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.2);
}

.gift-stream span {
  height: 42px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.78);
  font-size: 0.84rem;
  animation: giftSlide 7.2s ease-in-out infinite;
}

.services {
  position: relative;
  margin-top: 22px;
  padding: 40px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px rgba(0,0,0,0.28);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-heading p {
  margin: 0 0 10px;
  color: var(--cyan);
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.06);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.22);
}

.service-card.featured {
  background:
    linear-gradient(135deg, rgba(255,45,117,0.18), rgba(0,242,234,0.1)),
    rgba(255,255,255,0.07);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.12);
  font-size: 1.35rem;
}

.service-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding: 20px 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,0.58);
  font-size: 0.9rem;
}

.footer div {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer a {
  color: rgba(255,255,255,0.74);
}

.footer a:hover {
  color: white;
}

@keyframes auroraMove {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(44px, -28px, 0) scale(1.08);
  }
}

@keyframes pulseGlow {
  from {
    opacity: 0.7;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes giftSlide {
  0%, 26% {
    transform: translateY(0);
  }
  34%, 60% {
    transform: translateY(-42px);
  }
  68%, 94% {
    transform: translateY(-84px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .badge,
  .actions {
    margin-left: auto;
    margin-right: auto;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .trust-row {
    margin-left: auto;
    margin-right: auto;
  }

  .phone-frame {
    transform: none;
  }

  .creator {
    margin-top: 120px;
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 20px, 1180px);
    padding: 10px 0 22px;
  }

  .hero {
    min-height: auto;
    padding: 16px;
    border-radius: 30px;
  }

  .navbar {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    padding: 42px 0 10px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    min-height: auto;
    border-radius: 34px;
  }

  .live-preview {
    min-height: 560px;
    border-radius: 25px;
  }

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

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer div {
    justify-content: center;
  }
}

@media (max-width: 470px) {
  .hero {
    padding: 12px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .badge {
    font-size: 0.82rem;
  }

  .actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .phone-frame {
    padding: 10px;
  }

  .live-preview {
    padding: 54px 14px 16px;
  }

  .creator {
    margin-top: 104px;
    align-items: flex-start;
  }

  .countdown {
    gap: 8px;
  }

  .time-box {
    min-height: 98px;
    border-radius: 18px;
  }

  .time-box strong {
    font-size: 2.45rem;
  }

  .time-box span {
    font-size: 0.64rem;
  }

  .services {
    padding: 32px 14px;
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
