:root {
  --teal: #02977f;
  --teal-dark: #007f72;
  --mint: #12ba85;
  --ink: #213839;
  --line: #a7d8cf;
  --desktop-width: 1000px;
  --desktop-height: 2050px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #eef3f2;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.page-frame {
  width: 100%;
  min-height: 100vh;
  background: #fff;
}

.scene {
  position: relative;
  width: 100%;
  min-width: var(--desktop-width);
  min-height: var(--desktop-height);
  background: #fff;
}

.site-header {
  position: relative;
  background: #fff;
}

.top-line {
  height: 6px;
  background: var(--teal);
}

.server-strip {
  height: 34px;
  margin-left: 32%;
  padding-left: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 34px 100%);
}

.server-time::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #aaf2b6;
}

.account-actions {
  height: 100%;
  display: flex;
}

.account-actions a {
  display: grid;
  place-items: center;
  min-width: 112px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  background: #006772;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.brand-row {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12%;
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #544289;
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
}

.brand em {
  font-style: italic;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px dashed #137e8c;
  color: #137e8c;
  font-size: 18px;
  font-weight: 900;
}

.contact {
  color: #009d88;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-decoration: none;
}

.ticker {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 10px;
  background: #1b2738;
  color: #d8eff2;
  font-size: 10px;
  white-space: nowrap;
}

.ticker b {
  color: #fff;
}

.main-nav {
  height: 40px;
  display: flex;
  justify-content: center;
  gap: 46px;
  align-items: center;
  background: var(--teal);
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
}

.main-nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.hero {
  height: 280px;
  display: flex;
  align-items: center;
  padding: 0 12%;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 117, 117, 0.94), rgba(0, 145, 132, 0.52)),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 255, 255, 0.1) 31px 32px),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(255, 255, 255, 0.08) 25px 26px),
    radial-gradient(circle at 78% 50%, rgba(255, 255, 255, 0.28), transparent 18%),
    #057d85;
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
}

.hero p {
  margin: 0;
  font-size: 13px;
  line-height: 2;
}

.about-section,
.plans-section,
.why-section,
.info-section,
.rules-section,
.support-section,
.payouts-section {
  border-top: 1px solid var(--line);
}

.about-section {
  padding: 32px 12% 48px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 54% 55%, transparent 0 84px, rgba(4, 160, 135, 0.1) 86px, transparent 88px);
}

h2 {
  margin: 0 0 34px;
  color: #00977e;
  text-align: center;
  font-size: 28px;
  font-weight: 400;
}

.about-grid {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 36px;
  align-items: start;
}

.video-card {
  height: 238px;
  overflow: hidden;
  border: 0;
  background: #102323;
}

.about-copy p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.9;
}

.read-more {
  float: right;
  color: #06a982;
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  text-decoration: none;
}

.plans-section {
  padding: 42px 2% 58px;
  background: linear-gradient(#fbffff, #f8ffff);
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  max-width: 1220px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  min-height: 270px;
  padding: 28px 18px 24px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at calc(100% - 40px) 50%, #f7fff8 0 44px, transparent 45px),
    linear-gradient(180deg, #008676 0 34%, #0fc189 100%);
}

.plan-card::after {
  content: "$";
  position: absolute;
  top: 122px;
  right: 42px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 6px solid #f2b31b;
  background: #fff;
  color: #15b483;
  font-size: 17px;
  font-weight: 900;
}

.plan-card h3 {
  margin: 0 0 62px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.plan-card strong {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1;
  text-align: left;
}

.rate {
  position: relative;
  display: block;
  margin: 0 0 14px 42px;
  z-index: 3;
  color: #d31725;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.plan-card span,
.plan-card small {
  display: block;
  position: relative;
  z-index: 2;
  font-weight: 700;
}

.plan-card span {
  margin-top: 18px;
  font-size: 12px;
}

.plan-card small {
  margin-top: 26px;
  font-size: 12px;
}

.plan-card button,
.support-request button,
.modal-panel button[type="submit"],
.support-form button {
  border: 0;
  background: #006f70;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.plan-card button {
  margin-top: 19px;
  padding: 9px 14px;
  font-size: 11px;
}

.plan-card button:hover,
.support-request button:hover,
.modal-panel button[type="submit"]:hover,
.support-form button:hover,
.account-actions a:hover {
  background: #004f55;
}

.why-section {
  padding: 36px 12% 42px;
  background: #fff;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}

.feature-card {
  min-height: 100px;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #13a98a;
  background: #fff;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 10px solid #20c783;
  border-radius: 50%;
  color: #13a98a;
  font-size: 21px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 0 0 7px;
  color: #06977b;
  font-size: 14px;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  text-align: justify;
}

.info-section,
.rules-section,
.support-section,
.payouts-section {
  padding: 36px 12% 48px;
  background: #f7fffd;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.info-grid article {
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.info-grid h3 {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 15px;
}

.info-grid p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.content-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.content-panel p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
}

.support-request,
.modal-panel form {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}

label {
  display: grid;
  gap: 6px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.support-request button,
.modal-panel button[type="submit"] {
  padding: 13px 18px;
}

.form-message {
  min-height: 18px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.payouts-section table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
}

.payouts-section th,
.payouts-section td {
  border: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  font-size: 13px;
}

.payouts-section th {
  background: var(--teal);
  color: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px 12%;
  background: #073b3c;
  color: #dff7f2;
}

.footer-brand {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.site-footer p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.site-footer a {
  color: #dff7f2;
  font-size: 12px;
  text-decoration: none;
}

.copyright {
  text-align: right;
}

.chat-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #15c393;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(460px, 100%);
  padding: 28px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.modal-panel h2 {
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  background: #edf8f6;
  color: var(--teal-dark);
  font-weight: 900;
  cursor: pointer;
}

.support-chat {
  position: fixed;
  right: 18px;
  bottom: 64px;
  z-index: 8;
  display: none;
  width: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.22);
}

.support-chat.is-open {
  display: block;
}

.support-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--teal);
  color: #fff;
}

.support-head button {
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.support-body {
  height: 160px;
  overflow: auto;
  padding: 13px;
}

.support-body p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
}

.support-form {
  display: grid;
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--line);
}

.support-form input {
  border: 0;
}

.support-form button {
  padding: 0 14px;
}

.auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: linear-gradient(135deg, #eefaf7, #d7f3ed);
}

.auth-shell {
  width: min(460px, calc(100vw - 32px));
}

.auth-brand {
  display: block;
  margin-bottom: 18px;
  color: #544289;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.auth-card {
  padding: 30px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.auth-card h1 {
  margin: 0 0 22px;
  color: var(--teal-dark);
  text-align: center;
}

.auth-card form {
  display: grid;
  gap: 14px;
}

.auth-card button {
  border: 0;
  padding: 13px 18px;
  background: #006f70;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.auth-card button:hover {
  background: #004f55;
}

.auth-card > p {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 999px) {
  body {
    min-height: calc(100vw * 2.05);
  }

  .page-frame {
    width: 100vw;
    height: calc(100vw * 2.05);
    min-height: calc(100vw * 2.05);
    overflow: hidden;
  }

  .scene {
    position: absolute;
    inset: 0 auto auto 0;
    width: var(--desktop-width);
    min-width: var(--desktop-width);
    transform: scale(calc(100vw / 1000px));
    transform-origin: top left;
  }

  .chat-button,
  .support-chat {
    position: absolute;
  }

  .support-chat {
    right: 18px;
    bottom: 64px;
  }
}
