/* =========================================================
   DREAMVERSE — DISCLAIMER PAGE
   Professional dark interface inspired by modern
   fintech/trading website layouts.
========================================================= */

:root {
  --bg: #070b12;
  --bg-soft: #0b111b;
  --surface: #101722;
  --surface-hover: #141d2a;

  --gold: #d4af37;
  --gold-light: #f0cf68;
  --gold-soft: rgba(212, 175, 55, 0.12);

  --text: #f4f6f8;
  --text-soft: #c7ced8;
  --muted: #8993a2;

  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.22);

  --container: 1120px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --transition: 0.25s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(212, 175, 55, 0.08),
      transparent 38%
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* =========================================================
   GLOBAL ELEMENTS
========================================================= */

img {
  max-width: 100%;
  height: auto;
}

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

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

::selection {
  background: var(--gold);
  color: #05070b;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  width: 100%;

  background: rgba(7, 11, 18, 0.88);

  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}


.site-header .container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  min-height: 76px;

  margin: 0 auto;

  display: flex;
  align-items: center;
}


.logo {
  display: inline-flex;

  align-items: center;
  gap: 10px;

  color: var(--text);

  font-size: 1.15rem;
  font-weight: 800;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.logo img {
  width: 34px;
  height: 34px;

  object-fit: contain;

  display: block;
}


/* =========================================================
   MAIN
========================================================= */

main {
  width: 100%;
}


/* =========================================================
   DISCLAIMER HERO
========================================================= */

.section {
  padding: 90px 0 100px;
}


.section > .container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  margin: 0 auto;
}


.section-header {
  max-width: 820px;

  margin: 0 auto 55px;

  text-align: center;
}


.section-header > p:first-child {
  margin-bottom: 14px;

  color: var(--gold-light);

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}


.section-header h1 {
  margin-bottom: 22px;

  color: var(--text);

  font-size: clamp(
    2.4rem,
    6vw,
    4.5rem
  );

  line-height: 1.04;

  font-weight: 800;

  letter-spacing: -0.045em;
}


.section-header > p:last-child {
  max-width: 680px;

  margin: 0 auto;

  color: var(--muted);

  font-size: 1rem;

  line-height: 1.8;
}


/* =========================================================
   LEGAL CONTENT
========================================================= */

.legal-content {
  width: min(
    100%,
    900px
  );

  margin: 0 auto;

  padding: clamp(
    28px,
    5vw,
    58px
  );

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    );

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.28);

  position: relative;

  overflow: hidden;
}


/* subtle gold line */

.legal-content::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );

  opacity: 0.7;
}


.legal-content h2 {
  margin-top: 42px;
  margin-bottom: 14px;

  color: var(--text);

  font-size: 1.2rem;

  line-height: 1.35;

  font-weight: 750;

  letter-spacing: -0.01em;
}


.legal-content h2:first-child {
  margin-top: 0;
}


.legal-content p {
  margin-bottom: 18px;

  color: var(--text-soft);

  font-size: 0.96rem;

  line-height: 1.85;
}


.legal-content p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   IMPORTANT NOTICE
========================================================= */

.legal-notice {
  margin-top: 42px;
  padding: 22px 24px;

  background: var(--gold-soft);

  border: 1px solid var(--border-gold);

  border-radius: var(--radius-md);

  color: var(--text-soft);

  font-size: 0.92rem;

  line-height: 1.7;
}


.legal-notice strong {
  color: var(--gold-light);
}


/* =========================================================
   LAST UPDATED
========================================================= */

.legal-updated {
  margin-top: 40px !important;
  padding-top: 22px;

  border-top: 1px solid var(--border);

  color: var(--muted) !important;

  font-size: 0.78rem !important;

  letter-spacing: 0.04em;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  padding: 34px 0;

  border-top: 1px solid var(--border);

  background: #05080d;
}


.site-footer .container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;
}


.site-footer p {
  color: var(--muted);

  font-size: 0.78rem;
}


.site-footer a {
  color: var(--gold-light);

  font-weight: 700;

  transition: var(--transition);
}


.site-footer a:hover {
  color: var(--text);
}


/* =========================================================
   HOVER / FOCUS
========================================================= */

a:focus-visible {
  outline: 2px solid var(--gold-light);

  outline-offset: 4px;

  border-radius: 4px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

  .section {
    padding: 75px 0 80px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .legal-content {
    padding: 36px;
  }

  .site-footer .container {
    flex-direction: column;

    align-items: flex-start;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .site-header .container {
    width: min(
      calc(100% - 28px),
      var(--container)
    );

    min-height: 68px;
  }


  .logo {
    font-size: 1rem;
  }


  .logo img {
    width: 30px;
    height: 30px;
  }


  .section {
    padding: 62px 0 65px;
  }


  .section > .container {
    width: min(
      calc(100% - 28px),
      var(--container)
    );
  }


  .section-header {
    margin-bottom: 32px;
  }


  .section-header > p:first-child {
    font-size: 0.66rem;
  }


  .section-header h1 {
    font-size: clamp(
      2rem,
      11vw,
      3rem
    );

    letter-spacing: -0.04em;
  }


  .section-header > p:last-child {
    font-size: 0.9rem;

    line-height: 1.75;
  }


  .legal-content {
    padding: 25px 21px;

    border-radius: var(--radius-md);
  }


  .legal-content h2 {
    margin-top: 34px;

    font-size: 1.05rem;
  }


  .legal-content p {
    font-size: 0.9rem;

    line-height: 1.8;
  }


  .legal-notice {
    margin-top: 32px;

    padding: 18px;

    font-size: 0.86rem;
  }


  .site-footer {
    padding: 28px 0;
  }


  .site-footer .container {
    width: min(
      calc(100% - 28px),
      var(--container)
    );

    gap: 10px;
  }


  .site-footer p {
    font-size: 0.72rem;
  }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

  .section-header h1 {
    font-size: 1.85rem;
  }


  .legal-content {
    padding: 22px 17px;
  }


  .legal-content h2 {
    font-size: 1rem;
  }


  .legal-content p {
    font-size: 0.86rem;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }

}
