/* =========================
   Xonmart • Coming Soon
   ========================= */
:root {
    --xm-bg: #0a0f14;
    --xm-card: #0f151c;
    --xm-surface: #101720;
    --xm-border: rgba(255, 255, 255, .12);
    --xm-text: #e6edf3;
    --xm-muted: #8da3b4;
    --xm-green: #14f195;
    --xm-green-2: #12d186;
    --xm-orange: #ff9d20;
    --ring: 0 0 0 .2rem rgba(20, 241, 149, .18);
    --shine-speed: 1.55s;
    /* slower pass */
    --shine-core: rgba(255, 255, 255, .55);
    /* bright center */
    --shine-soft: rgba(255, 255, 255, .10);
    /* falloff */
    --shine-tilt: -22deg;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    color: var(--xm-text);
    background: var(--xm-bg);
    font-family: "Roboto Condensed", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    overflow-x: hidden;
}

/* Vanta target + gradient overlay */
#bg {
    position: fixed;
    inset: 0;
    z-index: -1;
}

#bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1400px 500px at 15% -10%, rgba(20, 241, 149, .15), transparent 40%),
        radial-gradient(1200px 520px at 85% -10%, rgba(255, 157, 32, .12), transparent 40%),
        linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .85));
}

/* Hero */
.container {
    width: min(1100px, 92%);
    margin-inline: auto
}

.hero {
    padding: 48px 0 60px;
    text-align: center
}

.logo {
    height: 88px;
    filter: drop-shadow(0 6px 12px rgba(20, 241, 149, .15))
}

.title {
    margin: .8rem 0 .25rem;
    font-family: "Righteous", cursive;
    letter-spacing: .5px;
    line-height: 1.1;
    font-size: clamp(28px, 5vw, 52px)
}

.title .spark {
    color: #ccfff0;
    text-shadow: 0 0 18px rgba(20, 241, 149, .45)
}

.title .glow {
    display: block;
    color: #fff;
    opacity: .9
}

.tagline {
    margin: 10px auto 18px;
    max-width: 780px;
    color: var(--xm-muted);
    font-size: clamp(14px, 1.7vw, 18px)
}

/* ===== NEW Neon Pop Countdown ===== */
.neon-count {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    margin: 28px 0 38px;
}

.cd-sep {
    font-size: 34px;
    line-height: 38px;
    opacity: .85;
    margin-top: 28px;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% {
        opacity: .3
    }
}

.cd-group {
    display: grid;
    gap: 6px;
    justify-items: center
}

.cd-label {
    color: #cfe0ef;
    font-size: 12px;
    opacity: .85
}

.cd-digits {
    display: flex;
    gap: 8px
}

.cd-digit {
    --w: 64px;
    --h: 76px;
    width: var(--w);
    height: var(--h);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 40px;
    letter-spacing: 1px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #e9fff6;
    background: linear-gradient(180deg, #0d141b, #0a1016);
    border: 1px solid var(--xm-border);
    border-radius: 14px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .03),
        0 14px 28px rgba(0, 0, 0, .28);
    position: relative;
    transition: transform .12s ease, filter .12s ease;
}

.cd-digit::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: 0 0 22px rgba(20, 241, 149, .0);
    pointer-events: none;
    transition: box-shadow .34s ease;
}

.cd-digit.pop {
    animation: pop .34s cubic-bezier(.2, .65, .2, 1);
}

@keyframes pop {
    0% {
        transform: scale(.88);
        filter: brightness(.9)
    }

    45% {
        transform: scale(1.18);
        filter: brightness(1.1)
    }

    100% {
        transform: scale(1);
        filter: none
    }
}

.cd-digit.pop::after {
    box-shadow: 0 0 22px rgba(20, 241, 149, .35);
}

/* Neon CTA button */
.btn-neon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    color: #08110e;
    font-weight: 800;
    letter-spacing: .2px;
    padding: 14px 26px;
    border-radius: 14px;
    background: var(--xm-green);
    border: 0;
    cursor: pointer;
    transition: transform .15s ease;
    box-shadow: 0 10px 26px rgba(20, 241, 149, .18);
}

.btn-neon,
.btn-join {
    position: relative;
    overflow: hidden;
      z-index: 0;
}

.btn-neon::before,
.btn-join::before{
  content:"";
  position:absolute;
  top:-25%;
  bottom:-25%;
  left:-45%;
  width:38%;                       /* wider band for visibility */
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--shine-soft) 25%,
    var(--shine-core) 50%,
    var(--shine-soft) 75%,
    transparent 100%
  );
  transform: skewX(var(--shine-tilt)) translateX(-160%);
  filter: blur(1.2px);
  opacity:.95;
  pointer-events:none;
  will-change: transform;
}

.btn-neon::after,
.btn-join::after{
  content:"";
  position:absolute;
  top:-35%;
  bottom:-35%;
  left:-55%;
  width:40%;
  background: radial-gradient(60% 100% at 50% 50%, rgba(20,241,149,.28), rgba(20,241,149,0) 70%);
  transform: skewX(var(--shine-tilt)) translateX(-170%);
  filter: blur(12px);
  opacity:.7;
  pointer-events:none;
  will-change: transform;
}

.btn-neon:hover::before,
.btn-neon:hover::after,
.btn-join:hover::before,
.btn-join:hover::after{
  animation: xmShine var(--shine-speed) cubic-bezier(.20,.8,.25,1) both;
}

.btn-neon:hover::before,
.btn-join:hover::before {
    left: 50%;
}

.btn-neon:hover,
.btn-join:hover{
  box-shadow: 0 14px 32px rgba(20,241,149,.28);
}

/* when the Join Program button is disabled/busy, don't show shine */
.btn-join:is(:disabled, .is-busy)::before,
.btn-join:is(:disabled, .is-busy)::after{ display:none; }


@keyframes xmShine{
  0%   { transform: skewX(var(--shine-tilt)) translateX(-170%); }
  100% { transform: skewX(var(--shine-tilt)) translateX(170%);  }
}
.btn-neon.small {
    padding: 10px 18px;
    font-size: 14px
}

/* Socials */
.socials {
    margin: 18px 0 6px;
    display: flex;
    justify-content: center;
    gap: 14px
}

.socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid var(--xm-border);
    background: rgba(255, 255, 255, .05);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}

.socials a:hover {
    transform: translateY(-3px)
}

/* Brand hovers */
.soc[data-net="facebook"]:hover {
    color: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 0 16px rgba(24, 119, 242, .45);
}

.soc[data-net="youtube"]:hover {
    color: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 0 16px rgba(255, 0, 0, .45);
}

.soc[data-net="tiktok"]:hover {
    color: #25F4EE;
    border-color: #25F4EE;
    box-shadow: 0 0 16px rgba(37, 244, 238, .45);
}

.soc[data-net="twitch"]:hover {
    color: #9146FF;
    border-color: #9146FF;
    box-shadow: 0 0 16px rgba(145, 70, 255, .45);
}

.soc[data-net="instagram"]:hover {
    color: #E1306C;
    border-color: #E1306C;
    box-shadow: 0 0 16px rgba(225, 48, 108, .45);
}

/* ===== Modal (Beta) ===== */
.modal-wrap {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    z-index: 20;
    background: rgba(6, 10, 14, .64);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transform: scale(.98);
    transition: all .2s ease;
}

.modal-wrap.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1)
}

.modal-card {
    width: min(1000px, 96vw);
    background: rgba(16, 22, 29, .92);
    border: 1px solid var(--xm-border);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
    position: relative;
    overflow: hidden;
    animation: popIn .25s ease;
}

@keyframes popIn {
    from {
        transform: translateY(10px);
        opacity: .8
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border: 1px solid var(--xm-border);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.modal-close:hover {
    border-color: #fff
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr
}

@media (max-width:900px) {
    .modal-grid {
        grid-template-columns: 1fr
    }

    .visual {
        display: none
    }
}

/* Visual side */
.visual {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background:
        radial-gradient(600px 180px at 10% 0, rgba(20, 241, 149, .18), transparent 50%),
        radial-gradient(500px 180px at 100% 10%, rgba(255, 157, 32, .12), transparent 50%),
        linear-gradient(180deg, #0e1520, #0b1118);
}

.visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9
}

.visual .shine {
    position: absolute;
    inset: -30%;
    background: conic-gradient(from 230deg, rgba(20, 241, 149, .08), rgba(255, 255, 255, .0), rgba(255, 157, 32, .08), rgba(255, 255, 255, .0));
    animation: spin 10s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(1turn)
    }
}

.visual-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    text-align: center;
    color: #bfe9db;
    font-size: 12px;
    opacity: .85
}

/* Form side */
.form {
    padding: 24px 22px
}

.muted {
    color: var(--xm-muted)
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.col {
    flex: 1 1 260px
}

.col.half {
    flex-basis: calc(50% - 12px)
}

.col.full {
    flex-basis: 100%
}

.label {
    display: block;
    font-size: 14px;
    color: #d6efe6;
    margin-bottom: 6px
}

.field {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    color: #fff;
    background: #0c1218;
    border: 1px solid var(--xm-border);
    transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

.field:focus {
    outline: none;
    border-color: var(--xm-green);
    box-shadow: var(--ring)
}

.field:active {
    transform: scale(.995)
}

.phone {
    display: flex;
    gap: 8px
}

/* prettier country-code dropdown with custom caret */
.phone .code {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #0c1218;
    color: #e6edf3;
    border: 1px solid var(--xm-border);
    border-radius: 12px;
    height: 48px;
    padding: 0 34px 0 12px;
    line-height: 48px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23e6edf3' viewBox='0 0 16 16'%3e%3cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592c.86 0 1.319 1.013.753 1.658l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.phone .code:focus {
    outline: none;
    border-color: #14f195;
    box-shadow: 0 0 0 .2rem rgba(20, 241, 149, .15);
}

.phone .flex {
    flex: 1
}

/* Role toggle (radio chips) */
.role-toggle {
    display: flex;
    gap: 10px
}

.role-toggle input {
    display: none
}

.role-pill {
    user-select: none;
    cursor: pointer;
    border: 1px solid var(--xm-border);
    background: #0c1218;
    color: #e6edf3;
    border-radius: 999px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    transition: .15s ease;
}

.role-pill:hover {
    border-color: var(--xm-green)
}

.role-toggle input:checked+.role-pill {
    background: var(--xm-green);
    color: #07110a;
    border-color: var(--xm-green);
    box-shadow: 0 10px 22px rgba(20, 241, 149, .2)
}

/* Join button (modal) */
.btn-join {
    position: relative;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    color: #08110e;
    font-weight: 800;
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(90deg, #12d186, #14f195, #1bf5a5);
    background-size: 200% 100%;
    border: 0;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(20, 241, 149, .18);
    animation: shift 3.5s linear infinite;
}

.btn-join:is([disabled], .is-busy) {
    cursor: not-allowed;
    opacity: .85;
}

@keyframes shift {
    to {
        background-position: 200% 0
    }
}

.btn-join .pulse {
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    pointer-events: none;
    border: 2px solid rgba(20, 241, 149, .35);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: .4;
        transform: scale(.98)
    }

    50% {
        opacity: 1;
        transform: scale(1)
    }
}

/* Success popup */
.modal-card.success {
    max-width: 560px
}

.success-inner {
    padding: 32px 26px;
    text-align: center
}

.check-wrap {
    display: grid;
    place-items: center;
    margin-bottom: 10px
}

.check {
    width: 120px;
    height: 120px
}

.ring {
    fill: none;
    stroke: rgba(20, 241, 149, .25);
    stroke-width: 6;
    filter: drop-shadow(0 0 12px rgba(20, 241, 149, .2))
}

.tick {
    fill: none;
    stroke: var(--xm-green);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: draw 1s ease forwards .15s;
    filter: drop-shadow(0 0 10px rgba(20, 241, 149, .5))
}

@keyframes draw {
    to {
        stroke-dashoffset: 0
    }
}

.footer {
    padding: 26px 0 30px;
    text-align: center;
    color: #9bb0c0;
    font-size: 13px
}

/* Utility */
.me-1 {
    margin-right: .25rem
}

.me-2 {
    margin-right: .5rem
}

.mt-2 {
    margin-top: .5rem
}

/* ====== Responsive countdown ====== */
/* Tablet – make cards a bit smaller */
@media (max-width: 992px) {
    .cd-digit {
        --w: 58px;
        --h: 68px;
        width: var(--w);
        height: var(--h);
        font-size: 36px;
    }
}

/* Phones – switch to 2×2 grid and hide the ":" separators */
@media (max-width: 680px) {
    .neon-count {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2px;
        row-gap: 16px;
        justify-content: center;
        align-items: start;
        margin: 18px 18px 28px;
    }

    .neon-count .cd-sep {
        display: none;
    }

    /* hide colons on small screens */
    .cd-group {
        justify-items: center;
    }

    .cd-digits {
        gap: 6px;
    }

    .cd-label {
        font-size: 11px;
    }

    .cd-digit {
        --w: 56px;
        --h: 64px;
        width: var(--w);
        height: var(--h);
        font-size: 32px;
    }

    .modal-wrap {
        padding: 2px;
    }
}

/* Very small phones */
@media (max-width: 420px) {
    .cd-digit {
        --w: 50px;
        --h: 58px;
        width: var(--w);
        height: var(--h);
        font-size: 28px;
    }
}