/* =========================================================
   MERCLONA — RESPONSIVE COMING SOON
   Desktop uses the supplied artwork for pixel accuracy.
   Mobile switches to real HTML/CSS sections.
   ========================================================= */

:root {
  --navy: #06172b;
  --navy-2: #0b2038;
  --gold: #e5ad3d;
  --gold-light: #ffd878;
  --white: #f7f7f7;
  --muted: #c8ced7;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--navy);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--navy);
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  width: 100%;
  min-height: 100vh;
  background: var(--navy);
}

/* ---------------- DESKTOP ---------------- */

.desktop-layout {
  width: 100%;
  display: flex;
  justify-content: center;
  background: var(--navy);
}

.desktop-art-wrap {
  position: relative;
  width: min(100%, 1440px);
  line-height: 0;
}

.desktop-art {
  width: 100%;
  height: auto;
}

/* Desktop countdown sits over the existing "Stay Tuned" area. */
.desktop-countdown-card {
  position: absolute;
  right: 4.2%;
  bottom: 4.8%;
  width: 39.5%;
  min-width: 410px;
  padding: 11px 16px 10px;
  border: 1px solid rgba(229, 173, 61, .9);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(6, 20, 38, .96), rgba(5, 17, 31, .97));
  box-shadow: 0 8px 25px rgba(0, 0, 0, .4);
  text-align: center;
  line-height: normal;
  z-index: 3;
}

.desktop-countdown-title {
  margin-bottom: 7px;
  color: #f5ca63;
  font-size: clamp(13px, 1.35vw, 20px);
  font-weight: 800;
  letter-spacing: .08em;
}

.desktop-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.desktop-time-box {
  padding: 7px 4px 6px;
  border: 1px solid rgba(229, 173, 61, .42);
  border-radius: 5px;
  background: rgba(0, 0, 0, .28);
}

.desktop-time-box span {
  display: block;
  color: #fff;
  font-size: clamp(20px, 2.1vw, 32px);
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.desktop-time-box small {
  display: block;
  margin-top: 5px;
  color: #cbd0d8;
  font-size: clamp(7px, .7vw, 10px);
  font-weight: 700;
  letter-spacing: .08em;
}

.desktop-launch-date {
  margin: 7px 0 0;
  color: #c8ced7;
  font-size: clamp(7px, .72vw, 10px);
}

@media (max-width: 1050px) and (min-width: 601px) {
  .desktop-countdown-card {
    min-width: 0;
    width: 41%;
    right: 3.5%;
    bottom: 4%;
    padding: 8px 10px;
  }

  .desktop-countdown-title {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .desktop-time-box {
    padding: 5px 2px;
  }

  .desktop-time-box span {
    font-size: 18px;
  }

  .desktop-time-box small {
    font-size: 6px;
  }

  .desktop-launch-date {
    font-size: 7px;
  }
}

/* Mobile version hidden on desktop */
.mobile-layout {
  display: none;
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 600px) {

  .desktop-layout {
    display: none;
  }

  .mobile-layout {
    display: block;
    width: 100%;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 0%, #17375a 0, transparent 38%),
      var(--navy);
  }

  .mobile-header {
    padding: 28px 20px 20px;
    text-align: center;
    background:
      linear-gradient(180deg, #071a30 0%, #0b2139 100%);
  }

  .eyebrow {
    margin: 0 0 8px;
    color: #f2f3f5;
    font-size: clamp(9px, 2.7vw, 13px);
    font-weight: 600;
    letter-spacing: .32em;
  }

  .mobile-header h1 {
    margin: 0;
    font-size: clamp(42px, 14vw, 72px);
    line-height: .95;
    letter-spacing: -.035em;
    font-weight: 800;
    background: linear-gradient(180deg, #ffe49a 0%, #c88d25 55%, #ffcf65 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .gold-line {
    width: 82%;
    max-width: 330px;
    height: 2px;
    margin: 14px auto 11px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    box-shadow: 0 0 10px rgba(229,173,61,.55);
  }

  .tagline {
    margin: 0;
    color: #d9dce2;
    font-size: clamp(9px, 2.7vw, 13px);
    font-weight: 500;
    letter-spacing: .22em;
  }

  .tagline span {
    color: var(--gold);
    margin: 0 6px;
  }

  .mobile-hero {
    padding: 28px 18px 25px;
    text-align: center;
    background:
      linear-gradient(180deg, #081a2e, #061426);
  }

  .small-heading {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
  }

  .mobile-hero h2 {
    margin: 0;
    font-size: clamp(48px, 17vw, 86px);
    line-height: .86;
    letter-spacing: -.04em;
    font-weight: 700;
    color: #fff;
  }

  .mobile-hero h2 strong {
    display: block;
    margin-top: 7px;
    background: linear-gradient(180deg, #ffe18a, #c88d25 62%, #f6c85f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .opportunity {
    width: min(100%, 360px);
    margin: 23px auto 0;
    padding: 10px 12px;
    border: 1px solid #9e7225;
    border-radius: 4px;
    color: var(--gold-light);
    font-size: clamp(9px, 2.5vw, 12px);
    font-weight: 700;
    letter-spacing: .06em;
  }

  /* Countdown */
  .countdown-card {
    width: min(100%, 390px);
    margin: 20px auto 0;
    padding: 14px 12px 12px;
    border: 1px solid #9e7225;
    border-radius: 10px;
    background: linear-gradient(180deg, #102942, #07182b);
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
  }

  .countdown-label {
    margin: 0 0 11px;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
  }

  .countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
  }

  .time-box {
    min-width: 0;
    padding: 9px 3px 8px;
    border: 1px solid rgba(229,173,61,.42);
    border-radius: 6px;
    background: rgba(4, 16, 29, .72);
  }

  .time-box span {
    display: block;
    color: #fff;
    font-size: clamp(20px, 7vw, 31px);
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }

  .time-box small {
    display: block;
    margin-top: 6px;
    color: #c9ced6;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .08em;
  }

  .launch-date {
    margin: 10px 0 0;
    color: #bfc6cf;
    font-size: 9px;
    line-height: 1.4;
  }

  .countdown.finished .countdown-label {
    color: var(--gold-light);
  }

  .countdown.finished .time-box span {
    color: var(--gold-light);
  }

  /* Responsive visual section */
  .mobile-visual {
    position: relative;
    height: clamp(285px, 78vw, 410px);
    overflow: hidden;
    border-top: 1px solid rgba(229,173,61,.45);
    border-bottom: 1px solid rgba(229,173,61,.45);
    background: #15283b;
  }

  .mobile-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(4,16,29,.2), rgba(4,16,29,.05) 45%, rgba(4,16,29,.25)),
      linear-gradient(90deg, rgba(6,23,43,.35), transparent 55%);
    pointer-events: none;
  }

  .mobile-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
  }

  .visual-copy {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 0;
    right: 0;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,.65);
  }

  .visual-copy p {
    margin: 0 0 3px;
    font-size: clamp(16px, 5vw, 25px);
    font-weight: 700;
    letter-spacing: .06em;
  }

  .visual-copy strong {
    display: block;
    color: var(--gold);
    font-size: clamp(18px, 5.5vw, 28px);
  }

  .visual-copy em {
    display: block;
    margin-top: 5px;
    font-family: cursive;
    font-size: clamp(17px, 5vw, 25px);
    font-weight: 400;
  }

  /* Feature cards */
  .features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(229,173,61,.35);
  }

  .feature {
    min-height: 126px;
    padding: 19px 10px;
    text-align: center;
    background: #091c31;
  }

  .feature-icon {
    height: 42px;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 36px;
    line-height: 42px;
    font-weight: 700;
  }

  .feature h3 {
    margin: 0;
    color: #f2f3f5;
    font-size: clamp(9px, 2.5vw, 12px);
    line-height: 1.45;
    letter-spacing: .05em;
  }

  .quote {
    margin: 0;
    padding: 22px 18px;
    text-align: center;
    color: #e7e9ed;
    background: #061426;
    font-size: clamp(13px, 3.5vw, 17px);
    line-height: 1.55;
  }

  .quote b {
    color: var(--gold-light);
    font-family: cursive;
    font-size: 1.2em;
    font-weight: 500;
  }

  .quote span {
    color: var(--gold);
    font-size: 1.5em;
    vertical-align: middle;
  }

  .stay-tuned {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 14px 20px;
    padding: 15px 14px;
    border: 1px solid #a87824;
    border-radius: 10px;
    background: linear-gradient(180deg, #0d2239, #07182b);
    box-shadow: 0 8px 25px rgba(0,0,0,.22);
  }

  .bell {
    color: var(--gold-light);
    font-size: 38px;
    line-height: 1;
  }

  .stay-tuned h2 {
    margin: 0 0 4px;
    color: var(--gold-light);
    font-size: clamp(18px, 5vw, 25px);
  }

  .stay-tuned p {
    margin: 0;
    color: #f0f1f3;
    font-size: clamp(9px, 2.8vw, 13px);
    letter-spacing: .05em;
  }

  .mobile-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
    padding: 17px 15px 21px;
    background: linear-gradient(90deg, #c98d25, #f2c75c, #c98d25);
    color: #071426;
    font-size: 11px;
    font-weight: 700;
  }

  .mobile-footer a {
    color: #071426;
    text-decoration: none;
  }

  .mobile-footer > a:not(:first-child) {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #071426;
    color: #f3ca67;
    font-weight: 800;
  }

  .separator {
    width: 1px;
    height: 21px;
    background: #071426;
    opacity: .75;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .mobile-header {
    padding-top: 23px;
  }

  .feature {
    min-height: 116px;
  }

  .mobile-footer {
    gap: 8px;
    font-size: 10px;
  }

  .stay-tuned {
    gap: 10px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
