/* ============================================================
   GAME PORTAL – Payment Section – Handcrafted Styles
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --color-bg: #181818;
  --color-panel: #212121;
  --color-brand: #E3320D;
  --color-fg: #FCFCFC;
  --color-fg-80: rgba(252, 252, 252, 0.8);
  --color-fg-50: rgba(252, 252, 252, 0.5);
  --color-fg-40: rgba(252, 252, 252, 0.4);
  --color-outline: rgba(255, 255, 255, 0.15);
  --color-outline-dim: rgba(255, 255, 255, 0.1);
  --color-hover-fill: rgba(255, 255, 255, 0.05);
  --color-ink: #000;
  --font-base: 'Montserrat', sans-serif;
  --content-max: 1420px;
  --gap-base: 20px;
  --radius-base: 10px;
  --transition-base: 0.3s ease;
}

/* ---------- Foundation ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-fg);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; border: none; outline: none; }

/* ---------- Layout ---------- */
.layout-root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 2560px;
  margin: 0 auto;
  position: relative;
}
.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Interactive Elements ---------- */
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 3px solid;
  border-radius: var(--radius-base);
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  user-select: none;
  text-align: center;
}
.action-outline {
  background: var(--color-hover-fill);
  border-color: var(--color-fg);
  color: var(--color-fg);
  padding: 25px 61px;
  font-size: 20px;
  line-height: 24px;
}
.action-outline:hover {
  background: var(--color-fg);
  color: var(--color-ink);
}
.action-solid {
  background: var(--color-fg);
  border-color: var(--color-fg);
  color: var(--color-ink);
  padding: 25px 61px;
  font-size: 20px;
  line-height: 24px;
}
.accent-text { color: var(--color-brand); }
.weight-semibold { font-weight: 600; }

/* ---------- SITE BANNER ---------- */
.masthead {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  z-index: 50;
}
.masthead-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 80px;
  margin-top: 60px;
}
.brand-link { flex-shrink: 0; }
.brand {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
}
.brand-mark { width: 111px; height: 125px; }
.brand-wordmark { width: 192px; height: 79px; }

.primary-nav {
  display: flex;
  align-items: center;
}
.primary-nav-list {
  display: flex;
  gap: 40px;
}
.primary-nav-list a {
  font-size: 18px;
  font-weight: 600;
  line-height: 35px;
  transition: opacity var(--transition-base);
}
.primary-nav-list a:hover { opacity: 0.7; }
.primary-nav-list a.current { color: var(--color-brand); }



/* ---------- MASTHEAD ---------- */
.intro {
  position: relative;
  overflow: hidden;
}
.intro-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.intro-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.intro-cast-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1920px;
  height: 100%;
  z-index: -1;
}
.intro-cast-img {
  position: absolute;
  width: 1024px;
  height: 1024px;
  bottom: 0;
  right: 0;
}
.intro-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ornament { position: absolute; }
.ornament-star-tl { width: 32px; height: 32px; left: 30px; top: 30px; }
.ornament-lines-l { width: 151px; height: 64px; left: 238px; top: 200px; }
.ornament-dots-l { width: 34px; height: 132px; left: 140px; top: 361px; }
.ornament-dots-r { width: 34px; height: 132px; right: 75px; bottom: 173px; transform: rotate(180deg); }

.intro-content {
  position: relative;
  z-index: 1;
  padding-top: 220px;
  padding-bottom: 80px;
}
.intro-heading {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 64px;
  line-height: 1.1;
  color: var(--color-fg);
  max-width: 834px;
}
.break-mobile { display: none; }

/* ---------- PAYMENT MODULE ---------- */
.topup-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 16px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 340px);
  gap: 10px 20px;
  width: 100%;
}
.field-group {
  display: flex;
  flex-direction: column;
}
.field-group label {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: var(--color-fg);
  margin-bottom: 12px;
}
.field-shell, .field-select {
  background: #fff;
  border-radius: 100px;
  display: flex;
  align-items: center;
  padding-right: 20px;
  gap: 12px;
  height: 48px;
  transition: box-shadow 0.3s ease;
}
.field-shell.has-error, .field-select.has-error {
  box-shadow: 0 0 0 3px #E3320D !important;
}
.field-shell input, .field-select input {
  flex: 1;
  background: transparent;
  color: #000;
  font-size: 16px;
  padding: 12px 24px;
  height: 100%;
  width: 100%;
}
.field-shell input::placeholder, .field-select input::placeholder {
  color: #747474;
}
.field-suffix {
  color: var(--color-brand);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  white-space: nowrap;
}
.field-select {
  cursor: pointer;
  position: relative;
  overflow: visible;
}
.field-select input { pointer-events: none; cursor: pointer; }
.field-select-arrow {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}
.field-select.is-open .field-select-arrow {
  transform: rotate(180deg);
}

/* Server Modal */
.realm-dialog-overlay {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.56);
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.realm-dialog-overlay.is-open {
  display: flex;
}
.realm-dialog {
  background: var(--color-panel);
  border-radius: 40px;
  padding: 48px 65px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: modalFadeIn 0.25s ease;
}
.realm-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-shrink: 0;
}
.realm-dialog-title {
  color: var(--color-fg);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
}
.realm-dialog-close {
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.realm-dialog-close svg {
  width: 100%;
  height: 100%;
}
.realm-dialog-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.realm-dialog-body::-webkit-scrollbar {
  display: none;
}
.realm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.realm-scrollbar {
  margin-top: 32px;
  flex-shrink: 0;
}
.realm-scrollbar-track {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  position: relative;
}
.realm-scrollbar-thumb {
  height: 100%;
  background: var(--color-fg);
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 0;
  min-width: 30px;
  transition: width 0.1s;
}

/* Server Card */
.realm-card {
  background: var(--color-bg);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 140px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.realm-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.realm-card-flag {
  position: absolute;
  top: 0;
  left: 0;
  width: 21px;
  height: 21px;
}
.realm-card-top {
  flex: 1;
}
.realm-card-id {
  color: var(--color-fg);
  font-size: 12px;
  font-weight: 400;
  opacity: 0.6;
}
.realm-card-name {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  margin-top: 2px;
}
.realm-card-bottom {
  margin-top: 8px;
}
.realm-card-online {
  font-size: 12px;
  color: rgba(253,253,253,0.4);
}
.realm-card-online span {
  color: var(--color-fg);
}
.realm-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.realm-card-footer-title {
  font-size: 14px;
  font-weight: 600;
}
.realm-card-arrow {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Payment Method Modal */
.method-dialog-overlay {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.56);
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.method-dialog-overlay.is-open {
  display: flex;
}
.method-dialog {
  background: var(--color-panel);
  border-radius: 40px;
  padding: 48px 65px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: modalFadeIn 0.25s ease;
}
.method-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-shrink: 0;
}
.method-dialog-title {
  color: var(--color-fg);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
}
.method-dialog-close {
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.method-dialog-close svg {
  width: 100%;
  height: 100%;
}
.method-dialog-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 16px;
}
.method-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.method-card {
  background: var(--color-bg);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 160px;
  transition: transform 0.2s, box-shadow 0.2s;
  --method-color: #FCFCFC;
  --method-hover-color: var(--color-brand);
}
.method-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.method-card:hover .method-card-flag path {
  fill: var(--method-hover-color);
}
.method-card:hover .method-card-name {
  color: var(--method-hover-color);
}
.method-card:hover .method-card-arrow circle {
  fill: var(--method-hover-color);
}
.method-card-flag {
  position: absolute;
  top: 0;
  left: 0;
  width: 21px;
  height: 21px;
}
.method-card-flag path {
  fill: var(--method-color);
  transition: fill var(--transition-base);
}
.method-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.method-card-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.method-card-logo img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
}
.method-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.method-card-name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  color: var(--method-color);
  transition: color var(--transition-base);
}
.method-card-arrow {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.method-card-arrow circle {
  transition: fill var(--transition-base);
}

.total-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: var(--color-fg);
  margin-top: 14px;
}
.currency-icon { width: 38px; height: 30px; }
.total-preview-text span { white-space: nowrap; }

.form-note {
  color: var(--color-fg-50);
  font-size: 14px;
  line-height: 24px;
  margin-top: 26px;
  max-width: 700px;
}
.form-note a { color: var(--color-fg-50); }
.form-note u { text-decoration: underline; }

.form-footer {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  align-items: center;
}
.action-submit {
  height: 78px;
  min-width: 240px;
}


/* ---------- GOODS CATALOG ---------- */
.catalog-section {
  margin-top: 80px;
}
.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.section-heading {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 64px;
  line-height: 1;
  color: var(--color-fg);
}
.hide-desktop { display: none; }

/* Promo card */
.promo-tile {
  position: relative;
  width: 340px;
  height: 200px;
  border-radius: 0;
  overflow: hidden;
}
.promo-tile-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  z-index: 0;
}
.promo-tile-bg svg { width: 100%; height: 100%; }
.promo-tile-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 20px;
  gap: 20px;
}
.promo-tile-subtitle {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
}
.promo-tile-price {
  font-weight: 600;
  font-size: 28px;
  line-height: 39px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.promo-tile-old-price {
  color: var(--color-brand);
  font-size: 16px;
  line-height: 19px;
  opacity: 0.75;
  text-decoration: line-through;
}

/* Shop grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
}
.catalog-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}
.catalog-item-icon { width: 92px; height: 92px; }
.catalog-item-info { flex: 1; }
.catalog-item-name {
  font-weight: 600;
  font-size: 24px;
  line-height: 34px;
  color: var(--color-fg);
}
.catalog-item-desc {
  font-size: 20px;
  line-height: 30px;
  color: var(--color-fg);
  opacity: 0.7;
  margin-top: 4px;
}
.catalog-item-price {
  font-weight: 600;
  font-size: 24px;
  line-height: 34px;
  text-transform: uppercase;
  color: var(--color-brand);
}

/* ---------- VIP SECTION ---------- */
.tier-section {
  margin-top: 155px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.tier-section::-webkit-scrollbar { display: none; }
.tier-track {
  display: flex;
  gap: 20px;
  padding: 0 40px;
  width: max-content;
  margin: 0 auto;
}
.tier-card {
  position: relative;
  width: 460px;
  min-height: 600px;
  background: var(--color-panel);
  border-radius: 20px;
  overflow: hidden;
  padding: 40px 30px;
  flex-shrink: 0;
}
.tier-mascot {
  position: absolute;
  right: 0; top: 0;
  z-index: 0;
  pointer-events: none;
}
.tier-mascot img { width: auto; height: auto; max-height: 300px; }

.tier-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.tier-name {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 23px;
  line-height: 27px;
}
.tier-name-platinum {
  background: linear-gradient(138.8deg, #CDE9FF 5.7%, #CEA1FF 27.03%, #858AF6 41.02%, #CEF2FF 68.68%, #B692EA 94%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tier-price {
  font-weight: 700;
  font-size: 30px;
  line-height: 39px;
  color: var(--color-fg);
}
.tier-period {
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  color: var(--color-fg-40);
}
.tier-buy-btn {
  height: 57px;
  padding: 16px 61px;
  font-size: 20px;
}

.tier-features {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 64px;
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--color-fg);
  font-size: 13px;
  line-height: 18px;
  padding: 3px 0 10px;
  border-bottom: 1px solid var(--color-outline);
}
.tier-features li:last-child { border-bottom-color: transparent; }
.tier-features li::before {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 11px;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg width='19' height='16' viewBox='0 0 19 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 9L7.55405 14.5L17.5 1.5' stroke='%23FDFDFD' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---------- FAQ SECTION ---------- */
.help-section {
  margin-top: 112px;
}
.help-list {
  margin-top: 64px;
}
.help-item {
  border-bottom: 2px solid var(--color-fg-50);
  padding: 40px 0 25px;
  cursor: pointer;
  user-select: none;
}
.help-item:first-child { padding-top: 0; }
.help-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 175px;
}
.help-question h4 {
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  flex: 1;
}
.help-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.help-icon svg { width: 100%; height: 100%; }
.help-icon-plus { display: block; }
.help-icon-minus { display: none; }
.help-item.is-open .help-icon-plus { display: none; }
.help-item.is-open .help-icon-minus { display: block; }

.help-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--color-fg-80);
  font-size: 20px;
  line-height: 30px;
  margin-top: 15px;
  max-width: 1180px;
}
.help-answer a { text-decoration: underline; }
.help-item.is-open .help-answer {
  max-height: 500px;
}

/* ---------- ACTION BANNER ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
  height: 629px;
  margin-top: 158px;
}
.cta-backdrop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: -3;
}
.cta-cast {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1920px;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}
.cta-cast-left {
  position: absolute;
  width: 678px;
  height: 678px;
  bottom: -10px;
  left: 0;
}
.cta-cast-right {
  position: absolute;
  width: 678px;
  height: 678px;
  right: 0;
  bottom: 0;
}
.cta-decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.ornament-star-br {
  width: 32px; height: 32px;
  right: 30px; bottom: 22px;
  transform: rotate(180deg);
}
.cta-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
}
.cta-heading {
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 48px;
  line-height: 58px;
  color: var(--color-fg);
}
.cta-button {
  max-width: 244px;
  width: 100%;
  height: auto;
}

/* ---------- PAGE FOOTER ---------- */
.page-footer {
  background: var(--color-bg);
  padding: 65px 0;
}
.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}
.footer-about {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 615px;
}
.footer-brand { width: 220px; }
.footer-disclaimer {
  color: var(--color-fg);
  opacity: 0.5;
  font-size: 14px;
  line-height: 22px;
}
.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  font-weight: 600;
  font-size: 18px;
  line-height: 35px;
  transition: opacity var(--transition-base);
}
.footer-links a:hover { opacity: 0.7; }

.footer-side {
  display: flex;
  flex-direction: column;
  gap: 42px;
}
.footer-social-list {
  display: flex;
  gap: 20px;
}
.social-link {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--color-outline-dim);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), border-color var(--transition-base);
}
.social-link:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-fg-40);
}
.social-link img { width: 100%; height: 100%; }

.card-brands {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 30px 30px;
}
.card-brands img { height: 30px; width: auto; }

.footer-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #535353;
  padding-top: 32px;
  margin-top: 54px;
  gap: 40px;
}
.footer-note {
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: var(--color-fg);
  opacity: 0.5;
}
.footer-legal-nav {
  display: flex;
  gap: 32px;
}
.footer-legal-nav li {
  font-size: 14px;
  line-height: 22px;
  color: var(--color-fg);
  opacity: 0.5;
  cursor: pointer;
}
.footer-legal-nav a { transition: opacity var(--transition-base); }
.footer-legal-nav a:hover { opacity: 0.8; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* ---- Tablet Landscape (844 - 1419) ---- */
@media (max-width: 1419px) {
  .wrap { max-width: 100%; padding: 0 30px; }
  .masthead-row { margin-top: 20px; gap: 40px; }
  .brand-mark { width: 70px; height: 79px; }
  .brand-wordmark { width: 120px; height: auto; }
  .primary-nav-list { gap: 24px; }
  .primary-nav-list a { font-size: 16px; }

  .intro-content { padding-top: 160px; padding-bottom: 60px; }
  .intro-heading { font-size: 36px; line-height: 36px; }
  .intro-cast-wrap { width: 822px; }
  .intro-cast-img { width: 400px; height: 400px; bottom: -80px; }
  .ornament-star-tl { width: 16px; height: 16px; left: 16px; top: 10px; }
  .ornament-lines-l { width: 56px; height: 24px; left: 57px; top: 86px; }
  .ornament-dots-l { width: 17px; height: 66px; left: 17px; top: 150px; }
  .ornament-dots-r { width: 17px; height: 66px; right: 18px; top: 220px; bottom: auto; }

  .field-grid { grid-template-columns: repeat(2, minmax(auto, 350px)); }
  .field-group label { font-size: 20px; line-height: 30px; }
  .action-submit { height: 70px; }

  .section-heading { font-size: 36px; line-height: 36px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 20px; margin-top: 27px; }
  .catalog-item-icon { width: 54px; height: 54px; }
  .catalog-item-name { font-size: 15px; line-height: 22px; }
  .catalog-item-desc { font-size: 11px; line-height: 16px; }
  .catalog-item-price { font-size: 15px; line-height: 22px; }
  .catalog-item { gap: 11px; padding-bottom: 20px; }
  .promo-tile { display: none; }

  .tier-section { margin-top: 48px; }
  .tier-track { padding: 0 30px; }
  .tier-card { width: 360px; min-height: auto; padding: 30px 20px; }
  .tier-name { font-size: 23px; }
  .tier-price { font-size: 30px; }
  .tier-features { margin-top: 64px; }
  .tier-features li { font-size: 13px; }

  .help-section { margin-top: 48px; }
  .help-list { margin-top: 27px; }
  .help-question { gap: 11px; }
  .help-question h4 { font-size: 15px; line-height: 20px; }
  .help-icon { width: 36px; height: 36px; }
  .help-item { padding: 22px 0 13px; }
  .help-answer { font-size: 13px; line-height: 17px; margin-top: 11px; }

  .cta-section { height: 404px; margin-top: 60px; }
  .cta-cast { width: 842px; }
  .cta-cast-left { width: 435px; height: 435px; bottom: 0; left: -80px; }
  .cta-cast-right { width: 435px; height: 435px; bottom: 0; right: -40px; }
  .cta-heading { font-size: 30px; line-height: 30px; }
  .cta-content { gap: 40px; }
  .cta-button { font-size: 20px; padding: 17px 40px; max-width: 156px; border-radius: 6px; }

  .footer-brand { width: 158px; }
  .footer-social-list { gap: 20px; }
  .social-link { width: 40px; height: 40px; }
  .footer-links a { font-size: 16px; line-height: 16px; }

  .method-dialog { padding: 40px 46px; border-radius: 32px; }
  .method-dialog-title { font-size: 28px; }
  .method-dialog-close { width: 36px; height: 36px; }
  .method-card { width: 100%; min-height: 140px; }
  .method-card-logo img { max-width: 100px; max-height: 50px; }
  .method-card-name { font-size: 13px; }
  .method-card-arrow { width: 26px; height: 26px; }
}

/* ---- Tablet (679 - 843) ---- */
@media (max-width: 855px) {
  .primary-nav { display: none; }

  .masthead-row { margin-top: 71px; align-items: flex-start; }
  .brand-mark { width: 80px; height: 90px; }
  .brand-wordmark { width: 140px; }

  .intro-content { padding-top: 280px; padding-bottom: 60px; }
  .intro-heading { font-size: 64px; line-height: 1.1; }
  .intro-cast-wrap { width: 840px; }
  .intro-cast-img { width: 840px; height: 840px; bottom: -100px; }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  .field-group label { font-size: 40px; line-height: 61px; margin-bottom: 24px; }
  .field-shell, .field-select { height: 98px; border-radius: 204px; padding-right: 42px; }
  .field-shell input, .field-select input { font-size: 32px; padding: 24px 49px; }
  .field-select-arrow { width: 65px; height: 65px; }
  .realm-dialog { padding: 40px 46px; border-radius: 32px; }
  .realm-dialog-title { font-size: 48px; }
  .realm-dialog-close { width: 36px; height: 36px; }
  .realm-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .realm-card { min-height: 180px; padding: 20px; border-radius: 20px; }
  .realm-card-name { font-size: 24px; }
  .realm-card-id { font-size: 16px; }
  .realm-card-online { font-size: 16px; }
  .realm-card-footer-title { font-size: 18px; }
  .realm-card-arrow { width: 42px; height: 42px; }
  .total-preview {
    font-size: 49px; line-height: 60px;
    margin-top: 20px;
    justify-content: flex-end;
  }
  .currency-icon { width: 77px; height: 62px; }
  .form-note { font-size: 28px; line-height: 45px; margin-top: 40px; }
  .form-footer {
    flex-direction: column-reverse;
    width: 100%;
    margin-top: 40px;
    gap: 24px;
  }
  .action-submit {
    width: 100%;
    height: auto;
    padding: 28px;
    font-size: 30px;
    border-radius: 16px;
  }

  .section-heading { font-size: 36px; line-height: 44px; }
  .catalog-section { margin-top: 80px; }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 48px;
  }
  .catalog-item-icon { width: 97px; height: 97px; }
  .catalog-item-name { font-size: 28px; line-height: 39px; }
  .catalog-item-desc { font-size: 20px; line-height: 30px; }
  .catalog-item-price { font-size: 28px; line-height: 39px; }
  .catalog-item { gap: 20px; }

  .tier-section { margin-top: 97px; }
  .tier-card { width: 340px; padding: 32px 24px; }
  .tier-name { font-size: 36px; line-height: 43px; }
  .tier-price { font-size: 44px; line-height: 70px; }
  .tier-period { font-size: 38px; line-height: 50px; }
  .tier-features { margin-top: 96px; gap: 10px; }
  .tier-features li { font-size: 20px; padding: 4px 0 14px; }
  .tier-buy-btn { padding: 28px; font-size: 30px; border-radius: 16px; }

  .help-section { margin-top: 97px; }
  .help-list { margin-top: 31px; }
  .help-question h4 { font-size: 17px; line-height: 21px; }
  .help-question { gap: 86px; }
  .help-icon { width: 31px; height: 31px; }
  .help-item { padding: 19px 0; }
  .help-answer { font-size: 9px; line-height: 14px; margin-top: 7px; }

  .cta-section { height: 1172px; }
  .cta-heading { font-size: 62px; line-height: 74px; }
  .cta-button { font-size: 51px; padding: 38px; max-width: 859px; border-radius: 25px; height: 174px; }
  .cta-content { padding-top: 112px; padding-bottom: 76px; }

  .page-footer { padding: 76px 0 61px; }
  .footer-row { flex-direction: column; gap: 87px; }
  .footer-brand { width: 278px; }
  .footer-about { gap: 87px; }
  .footer-disclaimer { font-size: 24px; line-height: 38px; }
  .footer-links { gap: 20px; }
  .footer-links a { font-size: 36px; line-height: 43px; }
  .social-link { width: 64px; height: 64px; }

  .footer-strip { margin-top: 87px; padding-top: 87px; flex-direction: column; align-items: flex-start; gap: 87px; }
  .footer-note { font-size: 32px; line-height: 56px; width: 556px; }
  .footer-legal-nav { flex-direction: column; gap: 30px; }
  .footer-legal-nav li { font-size: 32px; line-height: 51px; }

  .method-dialog { padding: 32px 30px; border-radius: 28px; }
  .method-dialog-title { font-size: 42px; }
  .method-dialog-close { width: 32px; height: 32px; }
  .method-dialog-header { margin-bottom: 24px; }
  .method-card { width: 100%; min-height: 160px; }
  .method-card-logo img { max-width: 100px; max-height: 50px; }
  .method-card-name { font-size: 22px; }
  .method-card-arrow { width: 36px; height: 36px; }
}

/* ---- Mobile (< 679) ---- */
@media (max-width: 678px) {
  .wrap { padding: 0 20px; }
  .primary-nav { display: none; }

  .masthead-row { margin-top: 35px; align-items: flex-start; padding: 0 29px; }
  .brand-mark { width: 60px; height: 68px; }
  .brand-wordmark { width: 100px; }

  .intro-content { padding-top: 200px; padding-bottom: 40px; }
  .intro-heading { font-size: 36px; line-height: 44px; }
  .break-mobile { display: inline; }
  .intro-cast-wrap { width: 400px; }
  .intro-cast-img { width: 400px; height: 400px; bottom: -50px; right: 0; }
  .ornament-star-tl { width: 16px; height: 16px; left: 20px; top: 10px; }
  .ornament-lines-l { width: 56px; height: 24px; left: 43px; top: 97px; }
  .ornament-dots-l { width: 17px; height: 66px; left: 43px; top: 155px; }
  .ornament-dots-r { width: 17px; height: 66px; right: 20px; top: 268px; bottom: auto; }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 14px;
  }
  .field-group label { font-size: 22px; line-height: 33px; margin-bottom: 13px; }
  .field-shell, .field-select { height: 53px; border-radius: 113px; padding-right: 23px; }
  .field-shell input, .field-select input { font-size: 16px; padding: 13px 27px; }
  .field-select-arrow { width: 36px; height: 36px; }
  .realm-dialog { padding: 24px 20px; border-radius: 20px; max-width: 95%; }
  .realm-dialog-title { font-size: 22px; }
  .realm-dialog-close { width: 17px; height: 17px; }
  .realm-dialog-header { margin-bottom: 16px; }
  .realm-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .realm-card { min-height: 110px; padding: 12px; border-radius: 12px; }
  .realm-card-name { font-size: 14px; }
  .realm-card-id { font-size: 10px; }
  .realm-card-online { font-size: 10px; }
  .realm-card-footer-title { font-size: 11px; }
  .realm-card-arrow { width: 24px; height: 24px; }
  .realm-card-flag { width: 14px; height: 14px; }
  .realm-scrollbar { margin-top: 16px; }
  .total-preview {
    font-size: 26px; line-height: 32px;
    margin-top: 13px;
    justify-content: center;
  }
  .currency-icon { width: 41px; height: 33px; }
  .form-note { font-size: 15px; line-height: 25px; margin-top: 24px; }
  .form-footer {
    flex-direction: column-reverse;
    width: 100%;
    margin-top: 24px;
    gap: 16px;
  }
  .action-submit {
    width: 100%;
    padding: 17px;
    font-size: 16px;
    border-radius: 10px;
    height: auto;
  }


  .section-heading { font-size: 36px; line-height: 44px; }
  .catalog-section { margin-top: 40px; }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 11px;
    margin-top: 27px;
  }
  .catalog-item { gap: 11px; padding-bottom: 10px; }
  .catalog-item-icon { width: 54px; height: 54px; }
  .catalog-item-name { font-size: 15px; line-height: 22px; }
  .catalog-item-desc { font-size: 11px; line-height: 16px; }
  .catalog-item-price { font-size: 15px; line-height: 22px; }

  .tier-section { margin-top: 49px; }
  .tier-track { padding: 0 20px; }
  .tier-card { width: 280px; padding: 24px 19px; border-radius: 16px; }
  .tier-name { font-size: 23px; line-height: 28px; }
  .tier-price { font-size: 25px; line-height: 46px; }
  .tier-period { font-size: 25px; line-height: 33px; }
  .tier-features { margin-top: 64px; gap: 10px; }
  .tier-features li { font-size: 13px; }
  .tier-buy-btn { padding: 17px; font-size: 16px; border-radius: 10px; width: 100%; }

  .help-section { margin-top: 49px; }
  .help-list { margin-top: 27px; }
  .help-question { gap: 11px; }
  .help-question h4 { font-size: 15px; line-height: 20px; }
  .help-icon { width: 36px; height: 36px; }
  .help-item { padding: 22px 0 13px; }
  .help-answer { font-size: 13px; line-height: 17px; margin-top: 11px; }

  .cta-section { height: 613px; margin-top: 49px; }
  .cta-cast { width: 550px; }
  .cta-cast-left { width: 550px; height: 550px; bottom: 0; left: -60px; }
  .cta-cast-right { width: 550px; height: 550px; bottom: 0; right: -60px; }
  .cta-heading { font-size: 27px; line-height: 33px; }
  .cta-content { padding-top: 49px; padding-bottom: 33px; gap: 30px; }
  .cta-button { font-size: 20px; padding: 17px; max-width: 335px; border-radius: 10px; height: 68px; }
  .ornament-star-br { width: 16px; height: 16px; right: 10px; bottom: 11px; }

  .page-footer { padding: 23px 0 39px; }
  .footer-row { flex-direction: column; gap: 55px; }
  .footer-brand { width: 178px; }
  .footer-about { gap: 55px; }
  .footer-disclaimer { font-size: 16px; line-height: 25px; }
  .footer-links { gap: 20px; flex-wrap: wrap; }
  .footer-links a { font-size: 18px; line-height: 22px; }
  .social-link { width: 72px; height: 72px; border-radius: 9px; }

  .footer-strip { margin-top: 58px; padding-top: 22px; flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-note { font-size: 16px; line-height: 25px; width: 246px; }
  .footer-legal-nav { flex-direction: column; gap: 11px; }
  .footer-legal-nav li { font-size: 16px; line-height: 25px; }
  .card-brands { gap: 20px 20px; }

  .method-dialog { padding: 24px 20px; border-radius: 20px; max-width: 95%; }
  .method-dialog-title { font-size: 22px; }
  .method-dialog-close { width: 17px; height: 17px; }
  .method-dialog-header { margin-bottom: 16px; }
  .method-card { width: 100%; min-height: 110px; padding: 12px; border-radius: 12px; }
  .method-card-flag { width: 14px; height: 14px; }
  .method-card-logo img { max-width: 80px; max-height: 40px; }
  .method-card-name { font-size: 11px; }
  .method-card-arrow { width: 20px; height: 20px; }
  .method-card-bottom { margin-top: 8px; }
}

/* ---- Very small mobile (< 378px) ---- */
@media (max-width: 377px) {
  .masthead-row { margin-top: 25px; padding: 0 15px; }
  .brand-mark { width: 50px; height: 56px; }
  .brand-wordmark { width: 80px; }
  .intro-heading { font-size: 30px; line-height: 37px; }
  .field-group label { font-size: 18px; line-height: 27px; }
  .section-heading { font-size: 30px; line-height: 36px; }
  .catalog-item-icon { width: 48px; height: 48px; }
  .catalog-item-name { font-size: 14px; line-height: 19px; }
  .catalog-item-desc { font-size: 10px; line-height: 15px; }
  .catalog-item-price { font-size: 14px; line-height: 19px; }
  .tier-card { width: 240px; }

  .method-card { width: 100%; }
}
