:root {
  --bg: #02040d;
  --panel: rgba(7, 12, 29, 0.78);
  --panel-strong: rgba(9, 13, 32, 0.92);
  --line: rgba(0, 220, 255, 0.34);
  --line-pink: rgba(255, 39, 217, 0.5);
  --cyan: #00eaff;
  --pink: #ff34dd;
  --gold: #ffd447;
  --text: #f3f7ff;
  --muted: #aab7ce;
  --deep-shadow: 0 0 30px rgba(0, 234, 255, 0.13), 0 0 46px rgba(255, 52, 221, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at 25% 10%, rgba(0, 234, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 80% 20%, rgba(255, 52, 221, 0.13), transparent 30rem),
    url("../optimized_background_webp/main_dark_neon_website_background_1920x1080.webp") center top / cover fixed,
    var(--bg);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: min(100%, 1620px);
  margin: 0 auto;
  padding: 16px 16px 24px;
}

.topbar {
  display: grid;
  grid-template-columns: 270px minmax(360px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  margin-bottom: 10px;
}

.brand img {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(0, 234, 255, 0.45));
}

.main-nav,
.topbar__wallet,
.topbar__actions {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: 28px;
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  color: #efe7d7;
  font-size: 17px;
  text-shadow: 0 0 10px rgba(0, 234, 255, 0.18);
}

.main-nav__link img {
  width: 22px;
  height: 22px;
}

.main-nav__link.is-active {
  color: var(--cyan);
  border-bottom: 2px solid var(--cyan);
}

.topbar__wallet {
  gap: 10px;
}

.wallet-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid rgba(0, 173, 255, 0.35);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(6, 9, 21, 0.94), rgba(9, 13, 31, 0.74));
  box-shadow: inset 0 0 18px rgba(0, 234, 255, 0.07);
}

.wallet-pill img {
  width: 24px;
  height: 24px;
}

.wallet-pill__plus {
  width: 27px !important;
  height: 27px !important;
}

.topbar__actions {
  gap: 12px;
}

.image-button {
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  transition: transform 160ms ease, filter 160ms ease;
}

.image-button:hover,
.image-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.12) drop-shadow(0 0 12px rgba(255, 52, 221, 0.45));
  outline: none;
}

.image-button--login img {
  width: 160px;
  height: 56px;
}

.image-button--signup img {
  width: 180px;
  height: 56px;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 20px;
  align-items: start;
}

.main-column,
.sidebar {
  min-width: 0;
}

.sidebar {
  display: grid;
  gap: 16px;
}

.hero-panel {
  position: relative;
  border: 1px solid rgba(70, 190, 255, 0.22);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 6, 18, 0.94) 0%, rgba(3, 6, 18, 0.76) 42%, rgba(3, 6, 18, 0.28) 78%),
    url("../optimized_background_webp/hero_cyber_arcade_background_1200x500.webp") center right / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(200, 0, 255, 0.08), 0 0 24px rgba(145, 0, 255, 0.12), var(--deep-shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 72px 42px 28px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.hero-copy h1 {
  margin: 0 0 8px;
  color: #eff6ff;
  font-size: clamp(2.1rem, 3.2vw, 3.15rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 101, 255, 0.45);
}

.hero-copy h1 span {
  display: block;
}

.hero-copy em {
  color: var(--cyan);
  font-style: normal;
  text-shadow: 0 0 12px rgba(0, 234, 255, 0.6), 0 0 22px rgba(255, 52, 221, 0.55);
}

.hero-copy p {
  max-width: 620px;
  margin: 0 0 14px;
  color: #d8dfec;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions img {
  width: 250px;
  height: auto;
}

.feature-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  align-items: center;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #d9e3f2;
  font-size: 14px;
}

.feature-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feature-strip img {
  width: 24px;
  height: 24px;
}

.ad-box {
  display: grid;
  place-items: center;
  align-content: center;
  color: rgba(245, 235, 255, 0.74);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(8, 11, 30, 0.72), rgba(9, 12, 31, 0.46)),
    url("../optimized_background_webp/advertisement_box_background_970x90.webp") center / cover;
  border: 1px solid var(--line-pink);
  box-shadow: inset 0 0 24px rgba(0, 234, 255, 0.08), 0 0 18px rgba(255, 52, 221, 0.12);
}

.ad-box span,
.ad-box small {
  color: rgba(231, 218, 252, 0.76);
  font-size: 11px;
}

.ad-box strong {
  font-size: 18px;
  font-weight: 500;
}

.announcement-box {
  gap: 3px;
  padding: 8px 18px;
  text-transform: none;
  letter-spacing: 0;
}

.announcement-box strong {
  color: #fff7d2;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 212, 71, 0.34), 0 0 18px rgba(255, 52, 221, 0.28);
}

.announcement-box p {
  max-width: 820px;
  margin: 0;
  color: #d8dfec;
  font-size: 13px;
  line-height: 1.25;
  text-transform: none;
}

.ad-box--top {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: min(728px, 58%);
  height: 54px;
  transform: translateX(-50%);
  background-image:
    linear-gradient(180deg, rgba(8, 11, 30, 0.78), rgba(9, 12, 31, 0.5)),
    url("../optimized_background_webp/advertisement_box_background_728x90.webp");
}

.ad-box--wide {
  width: 100%;
  height: 90px;
  margin: 14px 0;
}

.ad-box--side {
  min-height: 600px;
  background-image:
    linear-gradient(180deg, rgba(8, 11, 30, 0.78), rgba(9, 12, 31, 0.46)),
    url("../optimized_background_webp/advertisement_box_background_300x600.webp");
}

.ad-box--side strong {
  max-width: 130px;
  font-size: 26px;
  line-height: 1.05;
}

.announcement-box--side {
  gap: 15px;
  padding: 34px;
}

.announcement-box--side strong {
  max-width: 250px;
  color: #c9eaff;
  font-size: 27px;
  line-height: 1.08;
}

.announcement-box--side p {
  max-width: 240px;
  color: #f1e9ff;
  font-size: 18px;
  line-height: 1.25;
}

.announcement-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 44px;
  margin-top: 4px;
  color: #fff5ff;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid rgba(0, 234, 255, 0.72);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(13, 73, 141, 0.88), rgba(16, 24, 93, 0.9));
  box-shadow: 0 0 22px rgba(0, 234, 255, 0.22), inset 0 0 16px rgba(255, 255, 255, 0.12);
}

.announcement-button:hover,
.announcement-button:focus-visible {
  border-color: rgba(255, 52, 221, 0.84);
  box-shadow: 0 0 24px rgba(255, 52, 221, 0.32), 0 0 18px rgba(0, 234, 255, 0.18);
  outline: none;
}

.panel {
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--deep-shadow);
}

.panel--games {
  margin-top: 14px;
  padding: 8px 10px 12px;
}

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 35px;
}

.section-heading h2,
.why-panel h2,
.leaderboard-panel h2,
.contact-panel h2,
.community-panel h2,
.site-footer h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #f3e8c8;
}

.section-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-heading h2 img {
  width: 24px;
  height: 24px;
}

.game-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.game-controls select {
  width: 150px;
  height: 31px;
  padding: 0 30px 0 12px;
  color: #e9efff;
  border: 1px solid rgba(172, 205, 255, 0.26);
  border-radius: 5px;
  background: rgba(6, 9, 20, 0.82);
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 13px;
  text-transform: uppercase;
}

.view-all img {
  width: 20px;
  height: 20px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 9px;
}

.game-card {
  position: relative;
  min-width: 0;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(5, 10, 28, 0.88);
  border: 1px solid rgba(0, 211, 255, 0.32);
  box-shadow: inset 0 0 18px rgba(0, 234, 255, 0.08);
}

.game-card--soon {
  border-color: rgba(255, 52, 221, 0.55);
}

.game-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 6px 7px 7px;
  min-height: 37px;
}

.game-card__points {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ffd878;
  font-size: 11px;
  white-space: nowrap;
}

.game-card__points img {
  width: 14px;
  height: 14px;
}

.game-card__play,
.game-card__soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 21px;
  padding: 0 8px;
  color: var(--cyan);
  font-size: 11px;
  text-transform: uppercase;
  border: 1px solid rgba(0, 234, 255, 0.75);
  border-radius: 3px;
  background: rgba(2, 15, 35, 0.82);
}

.game-card__soon {
  color: #bfc6da;
  border-color: rgba(255, 52, 221, 0.45);
}

.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: stretch;
}

.why-panel {
  padding: 18px 22px;
}

.why-panel h2 {
  margin-bottom: 18px;
  color: #9fd9ff;
  text-align: center;
}

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

.why-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
}

.why-list img {
  grid-row: 1 / span 2;
  width: 56px;
  height: 56px;
}

.why-list h3 {
  margin: 0 0 5px;
  color: var(--cyan);
  font-size: 13px;
  text-transform: uppercase;
}

.why-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.leaderboard-panel {
  padding: 16px 18px;
}

.leaderboard-panel h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #d7c3fb;
}

.leaderboard-panel h2 img {
  width: 24px;
  height: 24px;
}

.leaderboard-list {
  margin: 0 0 10px 22px;
  padding: 0;
  color: #ffc8f5;
}

.leaderboard-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 6px 0;
  color: #dbe5f6;
  font-size: 13px;
}

.leaderboard-list strong {
  color: #ffe472;
}

.image-button--wide img {
  width: 260px;
  height: 44px;
}

.points-card,
.contact-panel,
.community-panel,
.support-panel {
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--deep-shadow);
}

.points-card {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr 54px;
  gap: 14px;
  align-items: center;
  min-height: 106px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 188, 45, 0.55);
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.points-card:hover,
.points-card:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
  outline: none;
}

.points-card > img:first-child {
  width: 62px;
  height: 62px;
}

.points-card span {
  display: block;
  color: #e6d8a2;
  font-size: 12px;
  text-transform: uppercase;
}

.points-card strong {
  display: block;
  color: #fff7d2;
  font-size: 29px;
}

.points-card p {
  margin: 5px 0 0;
  color: #f0e7cf;
  font-size: 13px;
}

.points-card__gift {
  width: 45px;
  height: 45px;
}

.contact-panel {
  padding: 18px;
  border: 1px solid rgba(255, 52, 221, 0.7);
}

.contact-panel__header {
  display: grid;
  grid-template-columns: 1fr 62px;
  gap: 14px;
  align-items: start;
}

.contact-panel h2 {
  color: #c9eaff;
  font-size: 20px;
}

.contact-panel p {
  margin: 8px 0 14px;
  color: #c3ccdc;
  line-height: 1.35;
}

.contact-panel__header img {
  width: 58px;
  height: 58px;
}

.field {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-bottom: 10px;
  padding: 0 12px;
  border: 1px solid rgba(183, 207, 255, 0.24);
  border-radius: 5px;
  background: rgba(8, 12, 25, 0.82);
}

.field img {
  width: 22px;
  height: 22px;
}

.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  color: #eef4ff;
  border: 0;
  outline: 0;
  background: transparent;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a7b0c0;
}

.field--textarea {
  align-items: start;
  padding-top: 10px;
}

.field textarea {
  height: 48px;
  resize: vertical;
}

.send-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(250px, 100%);
  height: 48px;
  margin: 14px auto 4px;
  color: #fff5ff;
  text-transform: uppercase;
  border: 1px solid rgba(255, 89, 239, 0.78);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(116, 18, 126, 0.9), rgba(55, 16, 93, 0.92));
  box-shadow: 0 0 22px rgba(255, 52, 221, 0.36), inset 0 0 16px rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.send-button img {
  width: 20px;
  height: 20px;
}

.form-status {
  min-height: 20px;
  margin: 8px 0 0 !important;
  text-align: center;
  font-size: 13px;
}

.form-status[data-state="success"] {
  color: #6affd8;
}

.form-status[data-state="error"] {
  color: #ff8cac;
}

.community-panel {
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(255, 52, 221, 0.38);
  background:
    linear-gradient(180deg, rgba(8, 11, 29, 0.86), rgba(7, 11, 28, 0.74)),
    url("../optimized_background_png/leaderboard_panel_background_520x260.png") center / cover;
}

.community-panel h2 {
  color: #d7ddff;
}

.community-panel p {
  max-width: 330px;
  margin: 8px auto 10px;
  color: #b8c2d4;
  font-size: 13px;
}

.community-panel > img {
  width: 62px;
  height: 62px;
  margin: 0 auto 8px;
}

.image-button--community img {
  width: 300px;
  height: 64px;
}

.support-panel {
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(0, 234, 255, 0.45);
  background:
    radial-gradient(circle at 18% 16%, rgba(0, 234, 255, 0.14), transparent 9rem),
    radial-gradient(circle at 86% 20%, rgba(255, 52, 221, 0.16), transparent 9rem),
    linear-gradient(180deg, rgba(8, 11, 29, 0.9), rgba(7, 11, 28, 0.78)),
    url("../optimized_background_png/leaderboard_panel_background_520x260.png") center / cover;
}

.support-panel > img {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  filter: drop-shadow(0 0 12px rgba(255, 212, 71, 0.55));
}

.support-panel h2 {
  margin: 0;
  color: #dff8ff;
  font-size: 19px;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 234, 255, 0.34), 0 0 18px rgba(255, 52, 221, 0.28);
}

.support-panel p {
  max-width: 360px;
  margin: 8px auto 0;
  color: #c5d0e3;
  font-size: 13px;
  line-height: 1.4;
}

.support-panel__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: #fff7ff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 7px;
  border: 1px solid rgba(0, 234, 255, 0.62);
  background: linear-gradient(180deg, rgba(12, 78, 132, 0.88), rgba(16, 28, 78, 0.92));
  box-shadow: 0 0 18px rgba(0, 234, 255, 0.24), inset 0 0 14px rgba(255, 255, 255, 0.1);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.support-button--paypal {
  border-color: rgba(255, 89, 239, 0.72);
  background: linear-gradient(180deg, rgba(116, 18, 126, 0.9), rgba(55, 16, 93, 0.92));
  box-shadow: 0 0 18px rgba(255, 52, 221, 0.28), inset 0 0 14px rgba(255, 255, 255, 0.1);
}

.support-button:hover,
.support-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.12);
  outline: none;
  box-shadow: 0 0 24px rgba(0, 234, 255, 0.36), 0 0 26px rgba(255, 52, 221, 0.18);
}

.support-panel__note {
  color: #aeb9ce !important;
  font-size: 12px !important;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(120px, 0.7fr)) minmax(190px, 0.9fr);
  gap: 26px;
  align-items: start;
  margin-top: 22px;
  padding: 22px 10px 0;
  border-top: 1px solid rgba(0, 234, 255, 0.08);
}

.site-footer__brand {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
}

.site-footer__brand img {
  width: 220px;
}

.site-footer p,
.site-footer a {
  color: #bfc7d4;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav,
.socials {
  min-height: 96px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer h2 {
  margin-bottom: 10px;
  color: #d8c694;
}

.site-footer a {
  display: block;
  margin: 4px 0;
}

.socials__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.socials__icons img {
  width: 34px;
  height: 34px;
}

.content-page {
  min-height: 560px;
  padding: 34px 38px;
  border: 1px solid rgba(0, 194, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(3, 6, 18, 0.94), rgba(3, 6, 18, 0.75)),
    url("../optimized_background_webp/hero_cyber_arcade_background_1200x500.webp") right top / min(620px, 55%) auto no-repeat,
    var(--panel);
  box-shadow: var(--deep-shadow);
}

.content-page--simple {
  background:
    linear-gradient(180deg, rgba(3, 6, 18, 0.94), rgba(6, 9, 24, 0.84)),
    url("../optimized_background_webp/main_dark_neon_website_background_1920x1080.webp") center / cover;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-kicker img {
  width: 34px;
  height: 34px;
}

.content-page h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #f8fbff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 101, 255, 0.45);
}

.content-page > p,
.page-intro {
  max-width: 680px;
  color: #d8dfec;
  font-size: 18px;
  line-height: 1.55;
}

.feature-card-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 24px;
}

.steps-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card,
.step-card {
  min-height: 148px;
  padding: 18px;
  border: 1px solid rgba(0, 234, 255, 0.28);
  border-radius: 8px;
  background: rgba(5, 10, 28, 0.82);
  box-shadow: inset 0 0 18px rgba(0, 234, 255, 0.08);
}

.feature-card img,
.step-card img {
  width: 62px;
  height: 62px;
  margin-bottom: 12px;
}

.feature-card h2,
.step-card h2 {
  margin: 0 0 7px;
  color: var(--cyan);
  font-size: 16px;
  text-transform: uppercase;
}

.feature-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.step-card {
  position: relative;
  text-align: center;
}

.step-card img {
  margin: 0 auto 12px;
}

.step-card__number {
  position: absolute;
  top: -13px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  background: rgba(2, 15, 35, 0.94);
  transform: translateX(-50%);
  box-shadow: 0 0 14px rgba(0, 234, 255, 0.35);
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 42px;
  margin-top: 8px;
  color: #fff5ff;
  text-transform: uppercase;
  border: 1px solid rgba(255, 89, 239, 0.78);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(116, 18, 126, 0.9), rgba(55, 16, 93, 0.92));
  box-shadow: 0 0 22px rgba(255, 52, 221, 0.26), inset 0 0 16px rgba(255, 255, 255, 0.1);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.contact-art-card {
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(255, 52, 221, 0.42);
  border-radius: 8px;
  background: rgba(5, 10, 28, 0.74);
}

.contact-art-card img {
  width: min(180px, 60%);
  margin-top: 24px;
  filter: drop-shadow(0 0 18px rgba(0, 234, 255, 0.28));
}

.contact-form-card {
  padding: 24px;
  border: 1px solid rgba(0, 234, 255, 0.24);
  border-radius: 8px;
  background: rgba(5, 10, 28, 0.72);
}

.contact-form-card .field textarea {
  height: 150px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.faq-item {
  border: 1px solid rgba(255, 52, 221, 0.42);
  border-radius: 7px;
  background: rgba(5, 10, 28, 0.78);
  overflow: hidden;
}

.faq-question {
  display: grid;
  grid-template-columns: 34px 1fr 24px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 10px 14px;
  color: #f8fbff;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.faq-question img {
  width: 28px;
  height: 28px;
}

.faq-answer {
  display: none;
  margin: 0;
  padding: 0 52px 16px 60px;
  color: var(--muted);
  line-height: 1.45;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
}

.modal-layer[hidden],
.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: relative;
  width: min(520px, 100%);
  max-height: min(720px, calc(100vh - 28px));
  overflow-y: auto;
  padding: 34px 42px 28px;
  text-align: center;
  border: 1px solid rgba(255, 52, 221, 0.72);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(6, 9, 22, 0.94), rgba(8, 10, 24, 0.9)),
    url("../optimized_background_png/points_rewards_panel_background_420x180.png") center / cover;
  box-shadow: 0 0 34px rgba(255, 52, 221, 0.34), inset 0 0 24px rgba(0, 234, 255, 0.08);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  color: #ffc4f8;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.auth-modal__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
}

.auth-modal h2 {
  margin: 0 0 5px;
  color: #f8fbff;
  font-size: 25px;
  text-transform: uppercase;
}

.auth-modal p {
  color: #c9d3e4;
}

.auth-row,
.terms-check {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 12px;
  color: #dbe5f6;
  font-size: 13px;
}

.auth-row a,
.auth-switch a {
  color: var(--cyan);
}

.terms-check {
  justify-content: flex-start;
  text-align: left;
}

.auth-switch {
  margin: 14px 0 0;
  font-size: 13px;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 5px 12px 5px 5px;
  color: #fff;
  border: 1px solid rgba(0, 234, 255, 0.44);
  border-radius: 999px;
  background: rgba(5, 8, 22, 0.78);
  box-shadow: 0 0 16px rgba(0, 234, 255, 0.16), inset 0 0 18px rgba(255, 52, 221, 0.08);
}

.profile-chip em {
  max-width: 140px;
  color: #ffd477;
  font-size: 11px;
  font-style: normal;
  line-height: 1.1;
}

.profile-chip img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.profile-page-shell {
  display: grid;
  gap: 16px;
}

.profile-back {
  width: max-content;
}

.profile-hero {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
}

.profile-sidebar-card,
.profile-main-card,
.account-settings-panel,
.profile-login-required .profile-main-card,
.avatar-panel,
.legal-card {
  border: 1px solid rgba(0, 194, 255, 0.22);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--deep-shadow);
}

.profile-sidebar-card {
  padding: 26px;
  text-align: center;
}

.profile-avatar-large {
  width: 210px;
  height: 210px;
  margin: 0 auto 12px;
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(255, 52, 221, 0.26));
}

.profile-sidebar-card h1,
.profile-main-card h2,
.avatar-panel h2 {
  margin: 0 0 10px;
  color: #f8fbff;
  text-transform: uppercase;
}

.profile-username-row {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.profile-username-row h1 {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.profile-username-edit {
  min-height: 30px;
  padding: 6px 12px;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  border: 1px solid rgba(0, 234, 255, 0.55);
  border-radius: 5px;
  background: rgba(2, 15, 35, 0.72);
  box-shadow: 0 0 12px rgba(0, 234, 255, 0.14);
  cursor: pointer;
}

.profile-username-edit:hover,
.profile-username-edit:focus-visible {
  color: #fff;
  border-color: rgba(255, 52, 221, 0.82);
  box-shadow: 0 0 18px rgba(255, 52, 221, 0.28);
}

.email-editor,
.username-editor {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 14px;
  text-align: left;
  border: 1px solid rgba(255, 52, 221, 0.45);
  border-radius: 8px;
  background: rgba(5, 10, 28, 0.82);
  box-shadow: inset 0 0 22px rgba(0, 234, 255, 0.08), 0 0 16px rgba(255, 52, 221, 0.14);
}

.email-editor[hidden],
.username-editor[hidden] {
  display: none;
}

.email-editor label,
.username-editor label {
  color: #9fd9ff;
  font-size: 12px;
  text-transform: uppercase;
}

.email-editor input,
.username-editor input {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  color: #fff;
  border: 1px solid rgba(0, 234, 255, 0.48);
  border-radius: 6px;
  background: rgba(3, 9, 24, 0.92);
  box-shadow: inset 0 0 12px rgba(0, 234, 255, 0.08);
}

.email-editor input:focus,
.username-editor input:focus {
  outline: none;
  border-color: rgba(255, 52, 221, 0.85);
  box-shadow: 0 0 16px rgba(255, 52, 221, 0.24), inset 0 0 12px rgba(0, 234, 255, 0.12);
}

.username-editor__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.username-editor__actions .small-neon-button,
.username-editor__actions .ghost-button {
  min-height: 34px;
  padding: 7px 10px;
}

.username-editor__status {
  min-height: 18px;
  margin: 0;
  text-align: center;
  font-size: 12px;
}

.profile-rank {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  color: #ffc8fb;
  border: 1px solid rgba(255, 52, 221, 0.7);
  border-radius: 5px;
  background: rgba(64, 8, 83, 0.45);
  text-transform: uppercase;
}

.email-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  color: #d7f9ff;
  font-size: 12px;
  line-height: 1.1;
  border: 1px solid rgba(0, 234, 255, 0.5);
  border-radius: 999px;
  background: rgba(2, 15, 35, 0.72);
  box-shadow: 0 0 14px rgba(0, 234, 255, 0.14);
}

.email-badge.is-verified {
  color: #7dffd5;
  border-color: rgba(60, 255, 143, 0.62);
  box-shadow: 0 0 14px rgba(60, 255, 143, 0.18);
}

.email-badge.is-unverified {
  color: #ffd477;
  border-color: rgba(255, 212, 71, 0.62);
  box-shadow: 0 0 14px rgba(255, 212, 71, 0.16);
}

.small-neon-button,
.ghost-button {
  min-height: 38px;
  padding: 8px 16px;
  color: #f8fbff;
  border: 1px solid rgba(0, 234, 255, 0.7);
  border-radius: 6px;
  background: rgba(2, 15, 35, 0.82);
  box-shadow: 0 0 16px rgba(0, 234, 255, 0.18);
  cursor: pointer;
}

.profile-meta {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 16px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.profile-meta p {
  margin: 0;
}

.profile-meta strong,
.profile-meta span {
  display: block;
}

.online-dot::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: #3cff8f;
  box-shadow: 0 0 10px rgba(60, 255, 143, 0.75);
}

.profile-main-card,
.account-settings-panel,
.avatar-panel,
.legal-card {
  padding: 22px;
}

.verification-alert,
.account-settings-panel,
.profile-login-required .profile-main-card {
  border: 1px solid rgba(255, 52, 221, 0.36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 234, 255, 0.08), transparent 15rem),
    rgba(5, 10, 28, 0.78);
  box-shadow: var(--deep-shadow);
}

.verification-alert {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
  margin: 0 0 16px;
  padding: 14px;
}

.verification-alert strong,
.verification-alert span {
  display: block;
}

.verification-alert strong {
  color: #ffd477;
  text-transform: uppercase;
}

.verification-alert span {
  color: var(--muted);
}

.verification-alert button {
  grid-row: span 2;
}

.account-settings-panel {
  display: grid;
  gap: 14px;
}

.account-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.account-actions .small-neon-button,
.account-actions .ghost-button {
  min-width: 0;
  padding-right: 10px;
  padding-left: 10px;
}

.account-settings-status {
  min-height: 20px;
  margin: 0;
}

.profile-login-required {
  display: grid;
  gap: 16px;
}

.profile-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.profile-stat {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 84px;
  padding: 12px;
  border: 1px solid rgba(255, 212, 71, 0.34);
  border-radius: 8px;
  background: rgba(5, 10, 28, 0.8);
}

.profile-stat img {
  grid-row: span 2;
  width: 42px;
  height: 42px;
}

.profile-stat span {
  color: #e6d8a2;
  font-size: 12px;
  text-transform: uppercase;
}

.profile-stat strong {
  color: #fff7d2;
  font-size: 24px;
}

.profile-progress {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid rgba(255, 52, 221, 0.36);
  border-radius: 8px;
  background: rgba(5, 10, 28, 0.76);
}

.profile-progress div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.progress-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  box-shadow: 0 0 14px rgba(255, 52, 221, 0.55);
}

.mini-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.mini-section-heading h3 {
  margin: 0;
  text-transform: uppercase;
}

.mini-section-heading a {
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 13px;
}

.unlocked-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.unlocked-row img {
  border: 1px solid rgba(0, 234, 255, 0.35);
  border-radius: 8px;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(70px, 1fr));
  gap: 14px;
}

.avatar-choice {
  position: relative;
  padding: 0;
  border: 1px solid rgba(0, 234, 255, 0.26);
  border-radius: 10px;
  background: rgba(5, 10, 28, 0.72);
  cursor: pointer;
}

.avatar-choice.is-selected {
  border-color: var(--pink);
  box-shadow: 0 0 18px rgba(255, 52, 221, 0.42);
}

.avatar-choice img {
  width: 100%;
  border-radius: 10px;
}

.avatar-choice span {
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(5, 8, 22, 0.95);
}

.feature-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: min(780px, calc(100vh - 28px));
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(255, 52, 221, 0.72);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(6, 9, 22, 0.95), rgba(8, 10, 24, 0.92)),
    url("../optimized_background_webp/main_dark_neon_website_background_1920x1080.webp") center / cover;
  box-shadow: 0 0 34px rgba(255, 52, 221, 0.34), inset 0 0 24px rgba(0, 234, 255, 0.08);
}

.feature-modal h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.feature-modal h2 img {
  width: 32px;
  height: 32px;
}

.modal-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.modal-tabs button {
  min-height: 36px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  background: rgba(5, 10, 28, 0.72);
}

.modal-tabs .is-active {
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 234, 255, 0.28);
}

.leaderboard-table {
  display: grid;
  gap: 6px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 34px 38px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: rgba(5, 10, 28, 0.72);
}

.leaderboard-row img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.leaderboard-row em {
  color: #ffe472;
  font-style: normal;
}

.leaderboard-current {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 234, 255, 0.2);
}

.leaderboard-current > span {
  display: block;
  margin-bottom: 6px;
  color: #9fd9ff;
  text-transform: uppercase;
  font-size: 12px;
}

.premium-heading,
.premium-layout,
.modal-actions {
  display: grid;
  gap: 18px;
}

.premium-heading {
  grid-template-columns: 92px 1fr;
  align-items: center;
}

.premium-heading img {
  width: 78px;
  height: 78px;
}

.premium-heading h2 {
  margin-bottom: 4px;
  color: var(--cyan);
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.premium-heading p {
  margin: 0;
}

.premium-layout {
  grid-template-columns: 240px 1fr;
}

.premium-target,
.unlock-option,
.daily-day {
  border: 1px solid rgba(255, 52, 221, 0.44);
  border-radius: 8px;
  background: rgba(5, 10, 28, 0.78);
}

.premium-target {
  padding: 14px;
}

.premium-target img {
  border-radius: 7px;
}

.premium-target h3 {
  margin: 12px 0 4px;
  text-transform: uppercase;
}

.premium-options {
  display: grid;
  gap: 14px;
}

.unlock-option {
  display: grid;
  grid-template-columns: 28px 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.unlock-option img {
  width: 58px;
  height: 58px;
}

.unlock-option strong,
.unlock-option span {
  display: block;
}

.unlock-option strong {
  color: var(--gold);
  font-size: 22px;
}

.modal-actions {
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

.daily-modal {
  text-align: center;
}

.daily-hero {
  display: grid;
  place-items: center;
  gap: 8px;
  margin: 8px 0 18px;
}

.daily-hero img {
  width: 96px;
  height: 96px;
}

.daily-hero strong {
  color: var(--cyan);
}

.daily-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.daily-day {
  min-height: 120px;
  padding: 10px 6px;
}

.daily-day img {
  width: 46px;
  height: 46px;
  margin: 8px auto;
}

.daily-day.current {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 234, 255, 0.35);
}

.daily-day.claimed {
  opacity: 0.68;
}

.legal-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.legal-list article {
  padding: 16px;
  border: 1px solid rgba(0, 234, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 10, 28, 0.7);
}

.legal-list h2 {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 18px;
}

.legal-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 1300px) {
  .topbar {
    grid-template-columns: 240px 1fr;
  }

  .topbar__wallet,
  .topbar__actions {
    grid-column: span 1;
  }

  .page-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-box--side {
    min-height: 360px;
  }

  .contact-panel {
    grid-row: span 2;
  }

  .games-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-shell {
    padding: 10px;
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
  }

  .topbar__wallet,
  .topbar__actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-panel {
    background-image:
      linear-gradient(90deg, rgba(3, 6, 18, 0.94) 0%, rgba(3, 6, 18, 0.78) 55%, rgba(3, 6, 18, 0.35) 100%),
      url("../optimized_background_webp/hero_cyber_arcade_background_1200x500.webp");
    background-position: center;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 2.3rem;
  }

  .hero-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .feature-strip {
    justify-content: center;
  }

  .ad-box--top {
    width: calc(100% - 24px);
  }

  .announcement-box--side {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .game-controls {
    justify-content: start;
    flex-wrap: wrap;
  }

  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lower-grid,
  .sidebar,
  .why-list,
  .site-footer,
  .feature-card-grid,
  .steps-grid,
  .contact-page-grid,
  .profile-hero,
  .premium-layout {
    grid-template-columns: 1fr;
  }

  .account-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .verification-alert {
    grid-template-columns: 1fr;
  }

  .verification-alert button {
    grid-row: auto;
  }

  .avatar-grid {
    grid-template-columns: repeat(5, minmax(70px, 1fr));
  }

  .site-footer nav,
  .socials {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: min(260px, 100%);
  }

  .main-nav__link {
    font-size: 14px;
  }

  .hero-actions img {
    width: min(320px, 100%);
    height: auto;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel__header,
  .points-card,
  .site-footer__brand {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .image-button--community img {
    width: min(300px, 100%);
    height: auto;
  }

  .support-panel__actions {
    grid-template-columns: 1fr;
  }

  .content-page {
    padding: 26px 18px;
    background-image:
      linear-gradient(180deg, rgba(3, 6, 18, 0.94), rgba(6, 9, 24, 0.84)),
      url("../optimized_background_webp/main_dark_neon_website_background_1920x1080.webp");
    background-size: cover;
  }

  .auth-modal {
    padding: 30px 18px 24px;
  }

  .auth-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-stats-grid,
  .account-actions,
  .daily-track,
  .modal-actions {
    grid-template-columns: 1fr;
  }

  .avatar-grid {
    grid-template-columns: repeat(3, minmax(70px, 1fr));
  }
}
