/* =========================================================
   FEENANCE
   STYLE.CSS
   ========================================================= */

:root {
  --neon-green: #39FF14;
  --neon-soft: #B8FFA8;

  /* Warna teks utama */
  --text-main: #F5F5EF;
  --text-brand: #EEF2E8;
  --text-finance: #F1F0E8;

  --content-left: clamp(32px, 5.2vw, 88px);
  --content-width: 480px;
}


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

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  position: relative;

  min-height: 100vh;
  min-height: 100svh;

  overflow: hidden;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  color: var(--text-main);

  background: #07130e;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

body::before {
  content: "";

  position: fixed;
  inset: 0;

  z-index: -2;

  background-image:
    url("feenance_bg.png");

  background-repeat: no-repeat;

  background-position:
    center center;

  background-size:
    cover;
}


/* =========================================================
   SUBTLE OVERLAY
   ========================================================= */

body::after {
  content: "";

  position: fixed;
  inset: 0;

  z-index: -1;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.12) 0%,
      rgba(0, 0, 0, 0.03) 58%,
      rgba(0, 0, 0, 0) 100%
    );
}


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

.content {
  position: absolute;

  top: clamp(32px, 5vh, 62px);

  left: var(--content-left);

  width: var(--content-width);

  z-index: 10;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {

  margin-top: -20px;

  display: inline-block;

  padding: 5px 11px 6px;

  border-radius: 8px;

  background: #013811;

  color: #13df00;

  font-size: clamp(16px, 2vw, 22px);

  font-weight: 900;

  font-style: italic;

  letter-spacing: -0.075em;

  line-height: 0.85;

  box-shadow:
    0 3px 12px rgba(57, 255, 20, 0.16);

  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   HEADLINE
   ========================================================= */

.headline {
  margin: 0;
  padding: 0;

  font-weight: 900;

  letter-spacing: -0.06em;

  line-height: 0.9;
}


/* =========================================================
   THE FUN SIDE OF
   ========================================================= */

.headline-small {
  display: block;

  margin: 0;

  color: var(--text-main);

  font-size:
    clamp(25px, 2.45vw, 36px);

  font-weight: 800;

  letter-spacing: -0.045em;

  line-height: 1;

  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   FINANCE
   =========================================================

   Sengaja TIDAK hijau.

   Background Feenance sudah dominan hijau,
   sehingga warna warm-ivory memberikan kontras
   yang jauh lebih baik dan tetap teduh di mata.
   ========================================================= */

.headline-large {
  display: block;

  margin: 2px 0 0 0;

  color: var(--text-finance);

  background: transparent;

  font-size:
    clamp(80px, 7.5vw, 112px);

  font-weight: 900;

  letter-spacing: -0.07em;

  line-height: 0.86;

  text-shadow:
    0 2px 9px rgba(0, 0, 0, 0.24);
}


/* =========================================================
   CHAIN LINE
   ========================================================= */

.chain-line {
  display: inline-block;

  margin-top: 25px;

  padding:
    7px 13px 8px;

  border-radius: 9px;

  background:
    rgba(8, 18, 12, 0.72);

  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.20);

  backdrop-filter:
    blur(6px);

  color: var(--text-main);

  font-size:
    clamp(17px, 1.35vw, 21px);

  font-weight: 800;

  line-height: 1.25;

  white-space: nowrap;
}


/* =========================================================
   MARKET LINKS
   ========================================================= */

.market-links {
  display: flex;

  align-items: center;

  width: 295px;

  margin-top: 27px;

  gap: 10px;
}


/* =========================================================
   MARKET BUTTON
   ========================================================= */

.market-button {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 137px;

  height: 48px;

  border:
    2px solid var(--neon-green);

  border-radius: 10px !important;

  background:
    var(--neon-green);

  color:
    #07350F;

  text-decoration: none;

  font-size: 16px;

  font-weight: 900;

  letter-spacing: -0.02em;

  box-shadow:
    0 3px 12px rgba(57, 255, 20, 0.18);

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}


/* =========================================================
   MARKET BUTTON HOVER
   ========================================================= */

.market-button:hover {
  background:
    var(--neon-soft);

  border-color:
    var(--neon-soft);

  color:
    #123B18;

  box-shadow:
    0 4px 16px rgba(184, 255, 168, 0.25);

  transform:
    translateY(-1px);
}


.market-separator {
  flex: 0 0 auto;

  color:
    var(--text-main);

  font-size: 20px;

  font-weight: 900;
}


/* =========================================================
   CONTRACT
   ========================================================= */

.contract-wrap {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 295px;

  margin-top: 13px;

  gap: 7px;
}


.ca-label {
  flex: 0 0 auto;

  color:
    rgba(245, 245, 239, 0.88);

  font-size: 14px;

  font-weight: 800;

  text-shadow:
    0 1px 5px rgba(0, 0, 0, 0.25);
}


.address {
  display: block;

  max-width: 245px;

  margin: 0;
  padding: 0;

  border: 0;
  outline: none;

  background: transparent;

  color:
    rgba(245, 245, 239, 0.82);

  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    Menlo,
    monospace;

  font-size: 11px;

  font-weight: 500;

  line-height: 1.3;

  text-align: left;

  cursor: pointer;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.25);

  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}


.address:hover {
  color:
    var(--neon-green);

  text-shadow:
    0 0 7px rgba(57, 255, 20, 0.30);
}


.address:focus-visible {
  outline:
    1px solid var(--neon-green);

  outline-offset: 3px;

  border-radius: 3px;
}


/* =========================================================
   COPIED
   ========================================================= */

.copy-status {
  width: 295px;

  margin-top: 4px;

  color:
    var(--neon-green);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.08em;

  text-align: center;

  opacity: 0;

  transition:
    opacity 0.2s ease;
}


.copy-status.show {
  opacity: 1;
}


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

.site-footer {
  position: fixed;

  left:
    var(--content-left);

  bottom: 17px;

  z-index: 50;

  width:
    var(--content-width);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding-top: 9px;

  border-top:
    1px solid rgba(255, 255, 255, 0.18);

  color:
    rgba(245, 245, 239, 0.62);

  font-size: 11px;

  line-height: 1.2;

  white-space: nowrap;
}


/* =========================================================
   SOCIAL
   ========================================================= */

.footer-socials {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 8px;

  flex-shrink: 0;
}


.footer-socials a {
  color:
    rgba(245, 245, 239, 0.70);

  text-decoration: none;

  font-size: 11px;

  font-weight: 600;

  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}


.footer-socials a:hover {
  color:
    var(--neon-green);

  text-shadow:
    0 0 7px rgba(57, 255, 20, 0.25);
}


.footer-socials span {
  color:
    rgba(245, 245, 239, 0.40);
}


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

@media (max-width: 1000px) {

  :root {
    --content-left: 42px;
    --content-width: 420px;
  }


  .brand {
    font-size: 24px;

    margin-bottom: 28px;
  }


  .headline-small {
    font-size: 24px;
  }


  .headline-large {
    font-size: 112px;
  }


  .chain-line {
    font-size: 18px;

    margin-top: 22px;
  }


  .market-links {
    margin-top: 23px;
  }
}


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

@media (max-width: 600px) {

  body {
    overflow: hidden;
  }


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

  body::before {
    background-image:
      url("feenance_ibg.png");

    background-position:
      center center;

    background-size:
      cover;
  }


  body::after {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.00) 0%,
        rgba(0, 0, 0, 0.04) 50%,
        rgba(0, 0, 0, 0.25) 100%
      );
  }


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

     DINAikkan supaya orang di background lebih terlihat.
     Footer tetap fixed di bawah.
     ===================================================== */

  .content {
    top: auto;

    left: 20px;

    bottom: 245px;

    width:
      calc(100vw - 40px);
  }


  /* =====================================================
     BRAND
     ===================================================== */

  .brand {
    margin-bottom: 17px;

    font-size: 23px;

    letter-spacing: -0.075em;
  }


  /* =====================================================
     HEADLINE SMALL
     ===================================================== */

  .headline-small {
    font-size:
      clamp(19px, 5.8vw, 26px);

    line-height: 1;

    color:
      var(--text-main);
  }


  /* =====================================================
     FINANCE
     ===================================================== */

  .headline-large {
    margin-top: 2px;

    background:
      transparent;

    color:
      var(--text-finance);

    font-size:
      clamp(43px, 13.5vw, 61px);

    line-height: 0.87;

    border-radius: 0;

    box-shadow:
      none;

    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.24);
  }


  /* =====================================================
     CHAIN
     ===================================================== */

  .chain-line {
    max-width: 100%;

    margin-top: 16px;

    padding:
      6px 10px 7px;

    font-size:
      clamp(12px, 3.7vw, 16px);

    white-space: nowrap;
  }


  /* =====================================================
     BUTTONS
     ===================================================== */

  .market-links {
    width: 100%;

    margin-top: 16px;

    gap: 8px;
  }


  .market-button {
    width:
      calc((100% - 8px) / 2);

    height: 43px;

    font-size: 14px;

    background:
      var(--neon-green);

    border-color:
      var(--neon-green);

    color:
      #07350F;

    box-shadow:
      0 3px 10px rgba(57, 255, 20, 0.18);
  }


  .market-button:hover {
    background:
      var(--neon-soft);

    border-color:
      var(--neon-soft);

    color:
      #123B18;

    box-shadow:
      0 4px 14px rgba(184, 255, 168, 0.24);

    transform:
      translateY(-1px);
  }


  .market-separator {
    display: none;
  }


  /* =====================================================
     CONTRACT
     ===================================================== */

  .contract-wrap {
    width: 100%;

    margin-top: 9px;

    gap: 5px;
  }


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


  .address {
    max-width:
      calc(100vw - 75px);

    font-size: 9px;
  }


  .copy-status {
    width: 100%;

    font-size: 9px;
  }


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

  .site-footer {
    left: 20px;

    right: 20px;

    bottom:
      max(10px, env(safe-area-inset-bottom));

    width: auto;

    padding-top: 7px;

    gap: 10px;

    font-size: 8px;
  }


  .footer-socials {
    gap: 6px;
  }


  .footer-socials a {
    font-size: 8px;
  }


  .footer-socials span {
    font-size: 8px;
  }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

  .content {
    bottom: 225px;
  }


  .brand {
    font-size: 21px;

    margin-bottom: 15px;
  }


  .headline-small {
    font-size: 19px;
  }


  .headline-large {
    font-size: 43px;

    background:
      transparent;

    color:
      var(--text-finance);

    box-shadow:
      none;

    text-shadow:
      0 2px 7px rgba(0, 0, 0, 0.24);
  }


  .chain-line {
    font-size: 11px;

    margin-top: 14px;
  }


  .market-links {
    margin-top: 14px;
  }


  .market-button {
    height: 40px;

    font-size: 12px;

    background:
      var(--neon-green);

    border-color:
      var(--neon-green);

    color:
      #07350F;
  }


  .market-button:hover {
    background:
      var(--neon-soft);

    border-color:
      var(--neon-soft);

    color:
      #123B18;
  }


  .ca-label {
    font-size: 10px;
  }


  .address {
    font-size: 8px;
  }


  .site-footer {
    font-size: 7px;
  }


  .footer-socials a {
    font-size: 7px;
  }
}


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

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
