/* =========================================================
   INTERNATIONAL TRADER
   Lightweight responsive stylesheet
   No external libraries or fonts required
========================================================= */

/* ==================== BASE / RESET ==================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: #030b1a;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(28, 74, 135, .10), transparent 34%),
    #030b1a;
  color: #f4f7ff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* ==================== PAGE ==================== */
.page {
  position: relative;
  width: min(780px, calc(100% - 34px));
  margin: 0 auto;
  padding: 34px 0 42px;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 555px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 50% 42%, rgba(0, 111, 255, .07), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.welcome-pill,
.status-pill,
.focus-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 217, 255, .42);
  border-radius: 999px;
  background: rgba(4, 14, 31, .48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.welcome-pill {
  min-height: 34px;
  padding: 0 18px;
  color: #16d8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(48px, 8vw, 78px);
  line-height: .94;
  font-weight: 800;
  letter-spacing: -3px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #12a9ff, #8b3cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 14px auto 13px;
  max-width: 600px;
  color: #b6c0d3;
  font-size: 15px;
  line-height: 1.5;
}

.status-pill {
  gap: 9px;
  min-height: 32px;
  padding: 0 14px;
  border-color: rgba(108, 72, 255, .65);
  color: #dfe7f7;
  font-size: 12px;
  font-weight: 600;
}

.status-pill i {
  color: #66748d;
  font-style: normal;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e79a;
  box-shadow: 0 0 10px rgba(0, 231, 154, .65);
}

/* ==================== PROFILE SECTION ==================== */

.profile-block {
  margin-top: 27px;
}

/* Outer glowing gradient ring */
.profile-ring {
  display: grid;
  place-items: center;
  width: 188px;
  height: 188px;
  margin: 0 auto 8px;
  padding: 5px;
  border-radius: 50%;

  background: conic-gradient(
    from 220deg,
    #00d9ff,
    #187dff,
    #8c38ff,
    #00d9ff
  );

  box-shadow:
    0 0 20px rgba(0, 174, 255, .28),
    0 0 34px rgba(112, 45, 255, .18);
}

/* Profile picture container */
.profile-logo {
  display: grid;
  place-items: center;

  width: 100%;
  height: 100%;

  overflow: hidden;
  border: 1px solid rgba(255, 193, 74, .65);
  border-radius: 50%;

  background: #030405;

  box-shadow:
    inset 0 0 30px rgba(255, 190, 60, .06);
}

/* Profile picture */
.profile-logo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  border-radius: 50%;
}

/* Profile title */
.profile-block h2 {
  font-size: 20px;
  line-height: 1.2;
}

/* Profile subtitle */
.profile-block p {
  margin-top: 5px;
  color: #8f9aaf;
  font-size: 12px;
}
/* ==================== BACKGROUND CANDLESTICKS ==================== */
.candle-chart {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

.chart-left,
.chart-right {
  position: absolute;
  display: block;
  background: transparent;
  fill: none;
}

.chart-left {
  left: -4px;
  top: 205px;
  width: 39%;
  height: 205px;
  opacity: .34;
}

.chart-right {
  right: -2px;
  top: 105px;
  width: 39%;
  height: 300px;
  opacity: .39;
}

.candle-set line {
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}

.candle-set rect {
  stroke: none;
  rx: 1;
}

.candle-set.blue line {
  stroke: #1769c5;
}

.candle-set.blue rect {
  fill: #125fae;
  opacity: .48;
}

.candle-set.purple line {
  stroke: #7034c6;
}

.candle-set.purple rect {
  fill: #5e269f;
  opacity: .50;
}

.trend-line {
  fill: none;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
  opacity: .42;
}

.chart-left .trend-line {
  stroke: #125fac;
}

.chart-right .trend-line {
  stroke: #622bb1;
}

/* ==================== COMMON CARDS ==================== */
.card,
.footer-card {
  position: relative;
  width: 100%;
  border: 1px solid rgba(95, 124, 166, .25);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(11, 24, 45, .92), rgba(6, 17, 34, .94));
  box-shadow: 0 8px 28px rgba(0, 0, 0, .10);
}

.card {
  display: flex;
  align-items: center;
  min-height: 78px;
  margin-top: 10px;
  padding: 12px 17px;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.card:hover {
  border-color: rgba(71, 169, 255, .35);
  background: linear-gradient(110deg, rgba(13, 29, 53, .96), rgba(7, 18, 36, .96));
  transform: translateY(-1px);
}

.card:active {
  transform: translateY(0);
}

.card-icon {
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-right: 15px;
  border: 1px solid rgba(65, 107, 160, .34);
  border-radius: 13px;
  background: rgba(12, 30, 57, .72);
  font-size: 27px;
}

.card-text {
  min-width: 0;
  flex: 1;
}

.card h3 {
  font-size: 15.5px;
  line-height: 1.3;
  font-weight: 700;
}

.card p {
  margin-top: 4px;
  color: #8997ad;
  font-size: 12px;
  line-height: 1.35;
}

.arrow {
  flex: 0 0 auto;
  margin-left: 12px;
  color: #c5d0e1;
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
}

.gift-icon {
  color: #ffbf45;
  border-color: rgba(255, 190, 69, .38);
}

.bolt-icon {
  color: #9a51ff;
  border-color: rgba(126, 64, 255, .34);
}

.learn-icon {
  color: #00e6bc;
  border-color: rgba(0, 230, 188, .34);
}

/* ==================== TELEGRAM CARD ==================== */
.telegram-icon {
  border-color: rgba(0, 192, 255, .34);
  background: rgba(4, 73, 112, .25);
}

.telegram-icon svg {
  width: 30px;
  height: 30px;
  fill: #16b9f3;
  filter: drop-shadow(0 0 7px rgba(0, 183, 255, .22));
}

.join-now {
  margin-right: 8px;
  color: #12b9ef;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3px;
}

/* ==================== COUNTDOWN CARD ==================== */
.countdown-card {
  min-height: 112px;
  cursor: default;
}

.countdown-copy {
  min-width: 0;
  flex: 1;
}

.eyebrow {
  display: block;
  color: #10c5ec;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.countdown-copy h3 {
  margin-top: 8px;
}

.progress-track {
  width: min(520px, 78%);
  height: 7px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(76, 102, 139, .16);
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #09e0dc, #7739ef);
  transition: width 1s linear;
}

.countdown-circle {
  flex: 0 0 88px;
  display: grid;
  place-items: center;
  align-content: center;
  width: 88px;
  height: 88px;
  margin-left: 16px;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(#09182e, #09182e) padding-box,
    conic-gradient(#1b8cff, #873cff, #1b8cff) border-box;
  box-shadow: 0 0 18px rgba(55, 113, 255, .16);
}

.countdown-circle strong {
  font-size: 34px;
  line-height: 1;
}

.countdown-circle small {
  margin-top: 3px;
  color: #b4bfd1;
  font-size: 8px;
  letter-spacing: .5px;
}

/* ==================== CTA CARD ==================== */
.cta-card {
  justify-content: space-between;
  min-height: 69px;
  padding-left: 25px;
  padding-right: 20px;
}

.cta-copy {
  text-align: center;
  flex: 1;
}

.cta-copy h3 {
  margin-top: 5px;
  font-size: 14px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  margin-left: 18px;
  padding: 0 18px;
  border: 1px solid rgba(23, 176, 255, .55);
  border-radius: 18px;
  background: linear-gradient(100deg, rgba(10, 45, 77, .65), rgba(107, 40, 220, .95));
  color: #4ee3ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
}

.cta-button b {
  color: #d7e7ff;
  font-size: 17px;
}

/* ==================== MARKET CARD ==================== */
.market-card {
  display: block;
  padding: 17px 22px 13px;
  min-height: 175px;
}

.market-head h3 {
  margin-top: 8px;
}

.live-dot {
  display: inline-block;
  margin-left: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 210, 134, .14);
  color: #00e79a;
  font-size: 9px;
  font-weight: 800;
  vertical-align: middle;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 13px;
  height: 78px;
  margin-top: 14px;
}

.bar-chart span {
  flex: 1;
  min-width: 5px;
  max-width: 48px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #6838e2, #148bc9);
  opacity: .85;
}

.market-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.market-bottom small {
  color: #66758b;
  font-size: 9px;
}

.market-bottom strong {
  color: #00e99b;
  font-size: 11px;
}

/* ==================== CONTACT CARD ==================== */
.contact-icon {
  color: #13d6ff;
  border-color: rgba(0, 204, 255, .34);
}

/* ==================== FOOTER ==================== */
.footer-card {
  margin-top: 10px;
  padding: 17px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #18a9ff, #7437e8);
  font-size: 18px;
  font-weight: 900;
}

.footer-brand h3 {
  font-size: 15px;
}

.footer-brand p {
  margin-top: 4px;
  color: #8997ad;
  font-size: 11px;
}

.socials {
  display: flex;
  gap: 9px;
  margin-left: auto;
}

.socials a {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: rgba(29, 45, 69, .76);
  color: #dbe5f5;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 17px;
}

.footer-links a {
  display: flex;
  flex-direction: column;
  min-height: 62px;
  padding: 11px 13px;
  border: 1px solid rgba(79, 110, 151, .20);
  border-radius: 11px;
  background: rgba(5, 17, 34, .48);
}

.footer-links strong {
  font-size: 11px;
}

.footer-links span {
  margin-top: 4px;
  color: #77869e;
  font-size: 9px;
}

/* ==================== MOBILE ==================== */
@media (max-width: 600px) {
  .page {
    width: min(100% - 20px, 780px);
    padding-top: 20px;
  }

  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 60px);
    letter-spacing: -2px;
  }

  .hero-subtitle {
    font-size: 12px;
    padding: 0 14px;
  }

  .profile-ring {
    width: 165px;
    height: 165px;
  }

  .chart-left {
    left: -48px;
    top: 205px;
    width: 58%;
    opacity: .25;
  }

  .chart-right {
    right: -48px;
    top: 112px;
    width: 58%;
    opacity: .28;
  }

  .card {
    min-height: 70px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .card-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    margin-right: 11px;
  }

  .card h3 {
    font-size: 13px;
  }

  .card p {
    font-size: 10px;
  }

  .arrow {
    font-size: 25px;
  }

  .join-now {
    display: none;
  }

  .countdown-card {
    min-height: 100px;
  }

  .countdown-circle {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
  }

  .countdown-circle strong {
    font-size: 29px;
  }

  .progress-track {
    width: 90%;
  }

  .cta-card {
    padding: 12px 13px;
  }

  .cta-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }

  .cta-copy h3 {
    font-size: 11px;
  }

  .cta-button {
    min-height: 36px;
    padding: 0 11px;
    margin-left: 9px;
    font-size: 9px;
  }

  .market-card {
    padding: 14px;
  }

  .bar-chart {
    gap: 6px;
    height: 65px;
  }

  .footer-brand {
    flex-wrap: wrap;
  }

  .socials {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .footer-links {
    gap: 7px;
  }

  .footer-links a {
    padding: 9px;
  }

  .footer-links strong {
    font-size: 9px;
  }

  .footer-links span {
    font-size: 7px;
  }
}

/* ==================== SMALL PHONES ==================== */
@media (max-width: 390px) {
  .hero {
    min-height: 480px;
  }

  .welcome-pill {
    font-size: 10px;
  }

  .status-pill {
    font-size: 10px;
  }

  .profile-ring {
    width: 150px;
    height: 150px;
  }

  .card h3 {
    font-size: 12px;
  }

  .countdown-copy p {
    max-width: 190px;
  }

  .countdown-circle {
    flex-basis: 70px;
    width: 70px;
    height: 70px;
  }

  .countdown-circle strong {
    font-size: 27px;
  }
}

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

  .card,
  .progress-track span {
    transition: none;
  }
}
