*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:   #06101e;
  --gold: #b8872c;
  --text: #eaeaef;
  --sub:  #8c8c9e;
  --dim:  #3a3a4a;
}

html, body {
  height: 100%;
  font-family: 'Barlow', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.splash {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px 40px;
  position: relative;
  background: transparent;
}

.splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 120% at 50% 50%, transparent 30%, rgba(4,10,30,0.85) 100%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.splash__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  position: relative;
  z-index: 1;
}


.logo-reveal {
  width: min(920px, 95vw);
  position: relative;
  margin-top: -30px;
  clip-path: inset(0 0 15% 0);
  margin-bottom: -30px;
  animation: logoZoom 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes logoZoom {
  0%   { opacity: 0; transform: scale(0.55); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}

.logo-reveal__base {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(1px 0 0 rgba(0,0,0,0.9)) drop-shadow(-1px 0 0 rgba(0,0,0,0.9)) drop-shadow(0 1px 0 rgba(0,0,0,0.9)) drop-shadow(0 -1px 0 rgba(0,0,0,0.9));
}

.logo-reveal__glow {
  position: absolute;
  inset: 0;
  background: url('images/logobackground.png') 60% -10% / 120% 120% no-repeat;
  -webkit-mask-image: url('images/tradeuplogo.png');
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url('images/tradeuplogo.png');
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: center;
  pointer-events: none;
  filter: brightness(1.4) saturate(1.3) contrast(1.1) drop-shadow(2px 4px 8px rgba(120,120,120,0.6));
}


.splash__tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(18px, 2.8vw, 26px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  margin-bottom: 48px;
  opacity: 0.85;
}

.splash__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 56px;
  padding: 24px 40px;
  border: 1px solid rgba(30,58,138,0.6);
  border-radius: 12px;
  background: rgba(8,20,60,0.5);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(180,215,255,0.07);
  backdrop-filter: blur(10px);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.stat strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #4a7fd4;
}

.stat span {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.stat__divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.splash__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 52px;
  background: rgba(8,20,60,0.5);
  color: rgba(180,215,255,0.92);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid rgba(30,58,138,0.65);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35), inset 0 1px 0 rgba(180,215,255,0.07);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}

.splash__btn:hover {
  background: rgba(30,58,138,0.45);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45), inset 0 1px 0 rgba(180,215,255,0.12);
  transform: translateY(-2px);
}

.splash__btn:active { transform: translateY(0); }

@media (max-width: 500px) {
  .splash__stats {
    gap: 20px;
    padding: 20px 24px;
  }
  .stat__divider { display: none; }
}