@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;600;700&display=swap");

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #D4A017;
  --gold-light: #F0C040;
  --gold-dark: #A07010;
  --red: #CC1417;
  --dark: #0A0A0A;
  --white: #F5F0E8;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: "Barlow", sans-serif;
  background: var(--dark);
  color: var(--white);
  min-height: 100vh;
}

/* ── BACKGROUND ── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("eagle.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.55) saturate(0.85);
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,160,23,0.12) 0%, transparent 55%),
    linear-gradient(180deg,
      rgba(10,10,10,0.15) 0%,
      rgba(10,10,10,0.45) 35%,
      rgba(10,10,10,0.80) 65%,
      rgba(10,10,10,0.96) 100%
    );
}

/* ── PAGE WRAPPER ── */
.page {
  position: relative;
  z-index: 10;
  width: min(100%, 560px);
  max-width: 560px;
  margin: 0 auto;
  padding: 0 18px 60px;
  text-align: center;
}

/* ── HEADER ── */
.header {
  padding-top: 44px;
  margin-bottom: 24px;
  animation: fadeDown 0.7s ease both;
}

.logo-ring {
  display: inline-block;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  padding: 5px;
  box-shadow: 0 0 28px rgba(212,160,23,0.4), 0 0 6px rgba(204,20,23,0.4) inset;
  margin-bottom: 18px;
}

.logo-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.brand-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.12em;
  line-height: 1.05;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0,0,0,0.9);
}

.brand-name span {
  color: var(--gold-light);
}

.alert-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 30px;
  margin-top: 8px;
}

/* ── HERO XAUUSD ── */
.hero {
  margin: 30px 0 28px;
  animation: fadeUp 0.7s 0.15s ease both;
}

.xauusd-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  opacity: 0.85;
}

.xauusd-main {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4.5rem, 18vw, 7.5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #F5C518 0%, #D4A017 40%, #A07010 80%, #F0C040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 24px rgba(212,160,23,0.5));
}

.xauusd-sub {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(245,240,232,0.55);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  animation: fadeUp 0.7s 0.25s ease both;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.divider-icon {
  color: var(--gold);
  font-size: 1.1rem;
}

/* ── FEATURES ── */
.features {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s 0.35s ease both;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: 10px;
  padding: 14px 18px;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}

.feature-item:hover {
  background: rgba(212,160,23,0.1);
  border-color: rgba(212,160,23,0.35);
}

.feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,160,23,0.22), rgba(212,160,23,0.06));
  border: 1px solid rgba(212,160,23,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 1px;
}

.feature-text strong {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 2px;
}

.feature-text span {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.5);
  font-weight: 300;
}

/* ── SIGNAL STRIP ── */
.signal-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212,160,23,0.18);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
  animation: fadeUp 0.7s 0.45s ease both;
}

.signal-cell {
  flex: 1 1 140px;
  min-width: 0;
  padding: 16px 12px;
  border-right: 1px solid rgba(212,160,23,0.12);
  text-align: center;
}

.signal-cell:last-child {
  border-right: none;
}

.signal-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}

.signal-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
}

/* ── CTA BUTTON ── */
.cta-wrap {
  animation: fadeUp 0.7s 0.55s ease both;
  margin-bottom: 18px;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 16px 20px;
  background: linear-gradient(135deg, #D4A017 0%, #A07010 100%);
  color: #0A0A0A;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(212,160,23,0.35), 0 2px 6px rgba(0,0,0,0.5);
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
  position: relative;
  overflow: hidden;
  animation: floatButton 4s ease-in-out infinite;
}

.cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212,160,23,0.45), 0 3px 10px rgba(0,0,0,0.6);
  filter: brightness(1.06);
}

.cta-btn:active {
  transform: translateY(0);
}

.tg-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ── SUPPORT LINE ── */
.support-line {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.35);
  animation: fadeUp 0.7s 0.65s ease both;
}

.support-line a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.support-line a:hover {
  text-decoration: underline;
}

@keyframes floatButton {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* ── DISCLAIMER ── */
.disclaimer {
  margin-top: 40px;
  font-size: 0.65rem;
  color: rgba(245,240,232,0.2);
  line-height: 1.6;
  padding: 0 10px;
  animation: fadeUp 0.7s 0.7s ease both;
}

@media (max-width: 520px) {
  html,
  body,
  .page {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .page {
    padding: 0 10px 40px;
  }

  .header {
    padding-top: 24px;
  }

  .logo-ring {
    width: 90px;
    height: 90px;
  }

  .brand-name {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

  .alert-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .hero {
    margin: 22px 0 20px;
  }

  .xauusd-main {
    font-size: clamp(2.6rem, 16vw, 4.8rem);
  }

  .xauusd-sub {
    font-size: 0.72rem;
  }

  .cta-wrap {
    margin-bottom: 16px;
  }

  .cta-btn {
    padding: 13px 14px;
    font-size: 0.92rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 8px;
    gap: 10px;
  }

  .feature-icon {
    width: 34px;
    height: 34px;
  }

  .feature-text {
    width: 100%;
  }

  .signal-strip {
    gap: 10px;
  }

  .signal-cell {
    width: 100%;
    min-width: 0;
    border-right: none;
    border-bottom: 1px solid rgba(212,160,23,0.12);
  }

  .signal-cell:last-child {
    border-bottom: none;
  }

  .support-line,
  .disclaimer {
    padding: 0 8px;
  }
}


/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}