:root {
  --color-main: #0066cc;
  --color-primary: #003d82;
  --color-bg: #eef1f6;
  --color-border: #333;
  --color-text: #111;
  --layout-auth: 28rem;
  --layout-app: 72rem;
  --layout-dashboard: 90rem;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  min-width: 320px;
  background: var(--color-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  font-size: 1rem;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-height: 100vh;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  width: 91.666667%;
  margin: 0 auto;
  padding: 1rem 0;
}

.admin-entry-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--color-main);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.admin-entry-link:hover {
  background: var(--color-primary);
}

.lang-btn {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 9999px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  display: inline-flex;
  text-decoration: none;
}

.lang-btn img {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-wrap {
  width: 91.666667%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-wrap img {
  width: 41.666667%;
  max-width: 14rem;
  margin-top: 1.5rem;
  object-fit: contain;
}

.content {
  padding: 2.5rem 0;
  margin-top: 1rem;
  width: 100%;
}

.content-inner {
  width: 91.666667%;
  margin: 0 auto;
}

.title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  color: var(--color-main);
  font-weight: 700;
  text-align: center;
  margin: 0;
}

.title--uppercase {
  text-transform: uppercase;
}

.subtitle {
  color: #000;
  font-size: 0.875rem;
  margin: 0.5rem 0 0;
  text-align: center;
}

.field {
  margin-top: 1rem;
}

.field--mb {
  margin-top: 0;
  margin-bottom: 1rem;
}

.form-block {
  width: 100%;
  margin-top: 1rem;
}

.field-input-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
}

.field-input-wrap:focus-within {
  border-color: var(--color-main);
}

.field-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  color: #000;
}

.field-input::placeholder {
  color: #666;
}

.toggle-password {
  border: none;
  background: transparent;
  padding: 0;
  margin-left: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.toggle-password svg {
  width: 1.25rem;
  height: 1.25rem;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #000;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.forgot-link {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.forgot-link:hover {
  text-decoration: underline;
}

.actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.btn-signin {
  width: 100%;
  border: none;
  border-radius: 0.375rem;
  background: var(--color-primary);
  color: #fff;
  padding: 1rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-signin:hover {
  background: #002d61;
}

.btn-signin span {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-text {
  color: #000;
  font-size: 0.875rem;
  text-align: center;
}

.footer-text a,
.footer-text .link {
  font-weight: 700;
  text-decoration: underline;
  color: #000;
  cursor: pointer;
}

.footer-text a:hover,
.footer-text .link:hover {
  color: var(--color-main);
}

/* Phone input with country code */
.phone-input-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  padding: 0;
  overflow: visible;
}

.phone-input-wrap:focus-within {
  border-color: var(--color-main);
}

.country-selector {
  position: relative;
  flex-shrink: 0;
  border-right: 1px solid #ddd;
}

.country-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border: none;
  background: transparent;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.country-btn .flag,
.country-option .flag {
  width: 1.25rem;
  height: 0.875rem;
  display: inline-block;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  border-radius: 1px;
  flex-shrink: 0;
}

.country-btn .arrow {
  width: 0;
  height: 0;
  margin-left: 0.2rem;
  border-left: 0.22rem solid transparent;
  border-right: 0.22rem solid transparent;
  border-top: 0.28rem solid #666;
}

.country-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 20;
  width: min(18.5rem, 80vw);
  max-height: 16rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.country-dropdown.is-open {
  display: flex;
  flex-direction: column;
}

.country-search {
  width: 100%;
  border: none;
  border-bottom: 1px solid #eee;
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
  outline: none;
}

.country-list {
  overflow-y: auto;
  max-height: 13.5rem;
}

.country-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.625rem 0.75rem;
  cursor: pointer;
  text-align: left;
  font-size: 0.875rem;
}

.country-option__name {
  flex: 1;
  min-width: 0;
}

.country-option__dial {
  color: #666;
  font-size: 0.8125rem;
}

.country-empty {
  margin: 0;
  padding: 0.75rem;
  color: #666;
  font-size: 0.875rem;
}

.country-option:hover {
  background: #f3f4f6;
}

.phone-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  padding: 0.75rem 1rem;
  color: #000;
}

.phone-input::placeholder {
  color: #666;
}

/* Gender selector row */
.gender-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid var(--color-main);
  border-radius: 8px;
}

.gender-label {
  color: rgba(0, 0, 0, 0.6);
  font-size: 1rem;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
  user-select: none;
}

.radio-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-icon {
  width: 1rem;
  height: 1rem;
  border: 1px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.radio-label input:checked + .radio-icon {
  background: var(--color-main);
  border-color: var(--color-main);
}

.radio-label input:checked + .radio-icon::after {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  background: #fff;
  border-radius: 50%;
}

.radio-text {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
}

/* Terms checkbox row */
.terms-row {
  display: flex;
  width: 100%;
  margin: 1rem 0;
}

.terms-row .checkbox-label {
  align-items: flex-start;
}

.terms-row .checkbox-label input {
  margin-top: 0.125rem;
}

.terms-text {
  font-size: 0.875rem;
  color: #000;
  font-weight: 600;
}

.terms-link {
  font-size: 0.875rem;
  color: var(--color-main);
  font-weight: 600;
  text-decoration: underline;
  margin: 0 0.5rem;
}

.btn-submit {
  width: 100%;
  border: none;
  border-radius: 0.375rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.875rem 1rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.15s ease;
}

.btn-submit:hover {
  background: #002d61;
}

.actions--register {
  margin-top: 1rem;
}

.footer-terms {
  width: 100%;
  text-align: center;
  color: #000;
  font-size: 0.875rem;
}

.footer-terms a {
  color: #000;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.5rem;
}

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

/* Dashboard */
.dashboard {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  background: #fff;
}

.dashboard-header {
  width: 100%;
  background: #e4eaf1;
  padding: 1rem 0;
}

.dashboard-header-inner,
.hero-inner,
.section-inner {
  width: 100%;
  max-width: var(--layout-dashboard);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.dashboard-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-logo img {
  width: 3rem;
  height: 3rem;
  display: block;
  object-fit: contain;
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-contact {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-main);
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-contact:hover {
  background: #0055aa;
}

.btn-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: transparent;
  color: var(--color-main);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.btn-profile svg {
  width: 1.75rem;
  height: 1.75rem;
}

.btn-profile__photo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-main);
}

.hero {
  width: 100%;
  text-align: center;
  position: relative;
  background: #e4eaf1;
  padding: 2.5rem 0;
}

.hero-inner {
  max-width: var(--layout-dashboard);
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 600;
  margin: 0;
  color: #111;
}

.hero-desc {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #475569;
}

.hero-image {
  width: 100%;
  max-width: 100%;
  margin: 1rem auto 0;
  display: block;
  border-radius: 0.75rem;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--color-main);
  color: #fff;
}

.btn-primary:hover {
  background: #0055aa;
}

.btn-outline {
  border: 1px solid var(--color-main);
  color: var(--color-main);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(0, 102, 204, 0.08);
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.75rem;
  }
}

/* Dashboard sections */
.section-title {
  color: #000;
  font-weight: 600;
  text-align: center;
  font-size: 1.875rem;
  margin: 0 0 1rem;
}

.section-desc {
  font-size: 0.875rem;
  text-align: center;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

.section-block {
  width: 100%;
  padding: 2.5rem 0;
}

.section-block--muted {
  background: #f8fafc;
}

/* Menu grid */
.menu-section {
  width: 100%;
  padding: 1.5rem 0;
  background: #fff;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.section-title--menu {
  margin-bottom: 1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.menu-item {
  text-align: center;
  text-decoration: none;
  color: #000;
  display: block;
}

.menu-item-icon img {
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
  display: block;
}

.menu-item-label {
  white-space: nowrap;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  color: #000;
}

/* Offer cards */
.offer-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.offer-card {
  text-align: center;
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  color: #fff;
}

.offer-card h4 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 600;
}

.offer-card p {
  font-size: 0.875rem;
  margin: 2rem 0 0;
  line-height: 1.6;
}

.offer-card--purple {
  background: linear-gradient(to bottom right, #677ae5, #764ea7);
}

.offer-card--pink {
  background: linear-gradient(to bottom right, #f190f5, #f55b76);
}

.offer-card--cyan {
  background: linear-gradient(to bottom right, #4baffe, #06edfe);
}

/* Testimonials */
.testimonial-marquee {
  overflow: hidden;
  margin: 2.5rem 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.testimonial-grid {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: testimonial-scroll 32s linear infinite;
}

.testimonial-marquee:hover .testimonial-grid {
  animation-play-state: paused;
}

.testimonial-card {
  width: min(22rem, 82vw);
  flex: 0 0 min(22rem, 82vw);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  color: #000;
  display: flex;
  flex-direction: column;
  background: #fff;
}

@keyframes testimonial-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-grid {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }

  .testimonial-card[aria-hidden="true"] {
    display: none;
  }
}

.testimonial-card > p {
  text-align: center;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
}

.testimonial-author img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem 0.75rem 0 0;
}

.testimonial-name {
  color: #000;
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: #475569;
}

/* Featured results */
.results-marquee {
  overflow: hidden;
  margin: 2.5rem 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.results-grid {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: results-scroll 28s linear infinite;
}

.results-marquee:hover .results-grid {
  animation-play-state: paused;
}

.results-grid li {
  flex: 0 0 min(18rem, 78vw);
  width: min(18rem, 78vw);
}

.results-grid img {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes results-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .results-grid {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .results-grid li[aria-hidden="true"] {
    display: none;
  }
}

/* Team */
.team-section {
  padding: 2.5rem 0;
}

.team-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100px;
  height: 100px;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.team-name {
  margin: 0.5rem 0 0;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
}

.team-role {
  font-size: 0.875rem;
  color: #1e41b1;
  font-weight: 600;
}

/* CTA banner */
.cta-banner {
  width: 100%;
  padding: 2.5rem 0;
  background: linear-gradient(to right, #1e42b4, #1c47c5, #1d4cd4);
  color: #fff;
  text-align: center;
}

.cta-banner h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.cta-banner p {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
}

.cta-banner-btn {
  display: inline-flex;
  margin-top: 1.5rem;
  background: #fff;
  border-radius: 0.375rem;
  font-weight: 600;
  color: var(--color-main);
  padding: 0.375rem 1rem;
  text-decoration: none;
}

/* Footer */
.dashboard-footer {
  width: 100%;
  padding: 1.5rem 0 3.5rem;
  background: #1e293b;
}

.dashboard-footer p {
  color: #fff;
  font-size: 0.875rem;
  text-align: center;
  margin: 0;
}

/* Bottom tab bar */
.tabbar-footer {
  width: 100%;
}

.tabbar-placeholder {
  height: 82px;
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  height: 50px;
  padding: 0 1rem calc(0.375rem + env(safe-area-inset-bottom, 0));
  background: #e4eaf1;
  border-top: 1px solid #d8dee9;
  overflow: visible;
}

.tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  color: #111;
  min-width: 0;
  padding-bottom: 0.125rem;
}

.tabbar-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  margin-bottom: 0.125rem;
  flex-shrink: 0;
}

.tabbar-item__img {
  width: auto;
  height: 2rem;
  max-height: 2rem;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.tabbar-item__icon--logo {
  height: auto;
  margin-bottom: 0;
  overflow: visible;
}

.tabbar-item__logo {
  width: 5rem;
  height: 5rem;
  max-width: 5rem;
  max-height: 5rem;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: -2.75rem;
  margin-bottom: 0;
  position: relative;
  z-index: 20;
}

.tabbar-item__text {
  position: relative;
  z-index: 30;
  font-size: 0.75rem;
  line-height: 1;
  white-space: nowrap;
}

.tabbar-item--active .tabbar-item__text {
  color: var(--color-main);
}

.tabbar-item--center .tabbar-item__text {
  color: #111;
  margin-top: 0.125rem;
}

/* App pages (Activity, etc.) */
.activity-page {
  overflow-x: hidden;
}

.app-main {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  background: #fff;
  overflow-x: hidden;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: none;
}

.activity-page .page-shell {
  min-height: calc(100vh - 64px);
}

.page-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #ebedf0;
  width: 100%;
}

.page-navbar__inner {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 1rem;
  padding-top: env(safe-area-inset-top, 0);
}

.page-navbar__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: #1989fa;
  text-decoration: none;
  flex-shrink: 0;
}

.page-navbar__back svg {
  width: 1.25rem;
  height: 1.25rem;
}

.page-navbar__title {
  flex: 1;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  color: #323233;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-navbar__spacer {
  width: 2rem;
  flex-shrink: 0;
}

.activity-content {
  flex: 1;
  width: 100%;
  padding: 1rem 1rem 3.5rem;
  box-sizing: border-box;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #000;
}

.activity-media {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.activity-media img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0.75rem;
}

.certificate-content {
  padding: 1rem;
  padding-bottom: 3.5rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #000;
}

/* Withdrawal page */
.withdrawal-page {
  background: #fff;
}

.withdrawal-shell {
  padding-top: 1.5rem;
}

.withdrawal-content {
  width: 100%;
  padding: 1rem;
  padding-bottom: 2rem;
  box-sizing: border-box;
}

.withdrawal-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.withdrawal-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 0.375rem;
  padding: 0.375rem 0.5rem;
  color: #fff;
  text-decoration: none;
  background: #b5bbc3;
}

.withdrawal-tab--active {
  background: #475569;
}

.withdrawal-balance-card {
  position: relative;
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--color-main);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.withdrawal-history-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.withdrawal-history-link svg {
  width: 1.5rem;
  height: 1.5rem;
}

.withdrawal-balance-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.withdrawal-balance-title img {
  width: 1.5rem;
  height: 1.5rem;
}

.withdrawal-balance-amount {
  display: flex;
  align-items: flex-end;
  margin-top: 1rem;
}

.withdrawal-balance-value {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
}

.withdrawal-balance-currency {
  margin-left: 0.5rem;
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.withdrawal-balance-note {
  margin: 0;
  padding-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.withdrawal-summary-card {
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-radius: 0.75rem;
  background: var(--color-main);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.withdrawal-summary-row {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
}

.withdrawal-summary-row--border {
  padding-bottom: 1rem;
  border-bottom: 1px solid #fff;
}

.withdrawal-summary-label {
  font-weight: 700;
}

.withdrawal-summary-value {
  margin-left: auto;
  font-size: 1.125rem;
  font-weight: 700;
}

.withdrawal-form-title {
  margin: 1.5rem 0 0;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-main);
}

.withdrawal-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.withdrawal-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid #000;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.withdrawal-field__label {
  font-size: 1rem;
  font-weight: 600;
  color: #000;
}

.withdrawal-field__control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.withdrawal-field__control input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  color: #000;
}

.withdrawal-field__control input::placeholder {
  color: #999;
}

.withdrawal-field__control--select {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.withdrawal-field__control--select input,
.withdrawal-field__control--select select {
  cursor: pointer;
}

.withdrawal-field__control--select select {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  color: #000;
  appearance: none;
  -webkit-appearance: none;
}

.withdrawal-account-text {
  flex: 1;
  font-size: 1rem;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdrawal-account-text--set {
  color: #000;
}

.wd-sheet[hidden] {
  display: none;
}

.wd-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.wd-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.wd-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  padding: 1.25rem 1.25rem 1.75rem;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
}

.wd-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.wd-sheet__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-main);
}

.wd-sheet__close {
  border: none;
  background: transparent;
  color: #666;
  font-size: 1.75rem;
  line-height: 1;
  padding: 0 0.25rem;
  cursor: pointer;
}

.wd-sheet__step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wd-sheet__step[hidden] {
  display: none;
}

.wd-sheet__empty {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
}

.wd-sheet__secondary {
  width: 100%;
  border: 1px solid var(--color-main);
  border-radius: 9999px;
  padding: 0.875rem 1rem;
  background: #fff;
  color: var(--color-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.wd-account-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wd-account-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  width: 100%;
  border: 1px solid #000;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.wd-account-item--active {
  border-color: var(--color-main);
  box-shadow: inset 0 0 0 1px var(--color-main);
}

.wd-account-item__address {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  word-break: break-all;
}

.wd-account-item__network {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-main);
}

.withdrawal-field__arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #999;
}

.withdrawal-all-btn {
  border: none;
  border-radius: 0.25rem;
  padding: 0.25rem 0.75rem;
  background: var(--color-main);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.withdrawal-toggle-password {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #666;
}

.withdrawal-toggle-password svg {
  width: 1.5rem;
  height: 1.5rem;
}

.withdrawal-submit {
  width: 100%;
  margin-top: 1rem;
  border: none;
  border-radius: 9999px;
  padding: 0.875rem 1rem;
  background: var(--color-main);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

/* Update password page */
.password-page {
  background: #fff;
}

.password-shell {
  padding-top: 1.5rem;
}

.password-form {
  width: 100%;
  padding: 0 1rem 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.password-form--spaced {
  gap: 1.5rem;
}

.password-field {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.password-field__label {
  color: #000;
  font-weight: 600;
  font-size: 1rem;
}

.password-field__control {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ebedf0;
}

.password-field__control input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  color: #000;
}

.password-field__control input::placeholder {
  color: #c8c9cc;
}

.password-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  padding: 0;
  margin-left: 0.5rem;
  cursor: pointer;
  color: #969799;
}

.password-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.password-submit {
  width: 100%;
  margin-top: 0.5rem;
  border: none;
  border-radius: 9999px;
  padding: 0.875rem 1rem;
  background: var(--color-main);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.password-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.payment-page {
  background: #fff;
}

.payment-shell {
  padding-top: 1.5rem;
}

.payment-content {
  width: 100%;
  padding: 1rem 1rem 2rem;
  box-sizing: border-box;
}

.payment-step[hidden] {
  display: none;
}

.payment-lead {
  margin: 0 0 1.25rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.45;
}

.payment-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 0.75rem;
  border: 1px solid #000;
  border-radius: 0.5rem;
  padding: 0.9rem 1rem;
  background: #fff;
  box-sizing: border-box;
}

.payment-card__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.payment-card__address {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  word-break: break-all;
}

.payment-card__network {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-main);
}

.payment-card__edit {
  flex-shrink: 0;
  border: 1px solid var(--color-main);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  background: #fff;
  color: var(--color-main);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.notifications-page {
  background: #fff;
}

.notifications-shell {
  padding-top: 1.5rem;
}

.notifications-content {
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

/* Change language page */
.language-page {
  background: #fff;
}

.language-shell {
  padding-top: 1.5rem;
}

.language-content {
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.language-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.language-item {
  width: 100%;
  border: 1px solid var(--color-main);
  border-radius: 0.75rem;
  padding: 1rem 0.75rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  background: #fff;
  color: var(--color-main);
  cursor: pointer;
  font-family: inherit;
}

.language-item--active {
  background: var(--color-main);
  color: #fff;
}

/* Starting page */
.starting-page {
  background: #fff;
}

.starting-page .app-main {
  min-height: auto;
}

.starting {
  width: 100%;
  padding-bottom: 2.5rem;
  background: #fff;
}

.starting-notice {
  color: #000;
  background: #fff;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 40px;
}

.starting-notice__wrap {
  overflow: hidden;
  width: 100%;
}

.starting-notice__content {
  display: inline-block;
  white-space: pre;
  animation: starting-marquee 480s linear infinite;
}

@keyframes starting-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.starting-inner {
  width: 91.666667%;
  margin: 0 auto;
  padding: 1.5rem 0 0;
}

.starting-hello {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #000;
}

.starting-hello-text {
  font-size: 1rem;
  line-height: 1.4;
}

.starting-username {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.2;
}

.starting-vip {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.starting-vip-label {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.starting-vip img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  display: block;
}

.starting-swiper {
  height: 400px;
  margin-top: 1.5rem;
  overflow: hidden;
  position: relative;
}

.starting-track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
}

.starting-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  box-sizing: border-box;
}

.starting-img-box {
  width: 100%;
  max-width: 22rem;
  background: #eeeeee;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  min-height: 220px;
}

.starting-img-box img {
  width: 140px;
  height: 140px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin-top: auto;
}

.starting-btn {
  display: block;
  width: 100%;
  margin: 1rem auto 0;
  border: none;
  border-radius: 0.25rem;
  padding: 0.85rem 1rem;
  background: var(--color-main);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.starting-card {
  margin-top: 1.5rem;
  background: var(--color-main);
  border-radius: 0.75rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1rem 2.5rem;
}

.starting-card__icon {
  width: 3.5rem;
  height: 3.5rem;
}

.starting-card__title {
  margin: 0.5rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #a5dbff;
}

.starting-card__amount {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.starting-card__note {
  margin: 0.5rem 0 0;
  padding: 0 1.5rem;
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.4;
}

.starting-card__split {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #fff;
}

.starting-stat {
  flex: 1;
  text-align: center;
}

.starting-stat img {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto;
  display: block;
}

.starting-stat__label {
  margin-top: 0.25rem;
  font-weight: 700;
  color: #a5dbff;
}

.starting-stat__amount {
  margin-top: 0.25rem;
  font-weight: 700;
}

.starting-stat__note {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.35;
}

.starting-bonus {
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #fff;
  text-align: center;
}

.starting-bonus__label,
.starting-bonus__amount {
  font-weight: 700;
}

.starting-important {
  margin-top: 1.5rem;
  text-align: center;
}

.starting-important__title {
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
}

.starting-important__text {
  color: var(--color-main);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.25rem;
  line-height: 1.5;
}

.tabbar-item--center.tabbar-item--active .tabbar-item__text {
  color: var(--color-main);
}

.withdrawal-history-panel {
  margin-top: 1.5rem;
}

.withdrawal-filter-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.withdrawal-filter-tab {
  border: none;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #000;
  cursor: pointer;
}

.withdrawal-filter-tab--active {
  background: var(--color-main);
}

.withdrawal-empty {
  margin-top: 1rem;
  padding: 2rem 1rem;
  text-align: center;
  color: #969799;
  font-size: 0.875rem;
}

.records-page {
  background: #e6ecf2;
  min-height: 100vh;
}

.records-page .page-navbar {
  background: #e6ecf2;
  border-bottom: none;
}

.records-content {
  width: 91.666667%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 0 6rem;
}

.records-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 91.666667%;
  margin: 0 auto;
}

.records-tab {
  border: none;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #b5bbc3;
  cursor: pointer;
}

.records-tab--active {
  background: #475569;
}

.records-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.record-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  background: #fff;
  border-radius: 0.6rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.record-card__media {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.4rem;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}

.record-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.record-card__body {
  flex: 1;
  min-width: 0;
}

.record-card__body h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.record-card__body p {
  margin: 0;
  font-size: 0.8125rem;
  color: #0066cc;
  font-weight: 600;
}

.record-card__body small {
  display: block;
  margin-top: 0.2rem;
  color: #646566;
  font-size: 0.75rem;
}

.record-card__status {
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: #475569;
}

.record-card__status--completed {
  background: #0d7a3d;
}

.record-card__status--pending {
  background: #b5bbc3;
  color: #111;
}

.records-submit {
  display: block;
  width: 100%;
  margin-top: 1rem;
  border: none;
  border-radius: 9999px;
  padding: 0.9rem 1rem;
  background: var(--color-main);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.records-submit[hidden] {
  display: none;
}

.task-overlay[hidden] {
  display: none !important;
}

.task-overlay {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.task-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.task-modal {
  position: relative;
  width: min(20rem, 100%);
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.task-modal__close {
  position: absolute;
  top: 0.35rem;
  right: 0.6rem;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
}

.task-modal__title {
  margin: 0 0 0.85rem;
  color: var(--color-main);
  font-size: 1.05rem;
  font-weight: 800;
}

.task-modal__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  border-radius: 0.75rem;
  padding: 0.85rem;
  margin-bottom: 0.85rem;
}

.task-modal__media img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
}

.task-modal__name {
  margin: 0 0 0.85rem;
  color: #111;
  font-size: 0.9rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.task-modal__rows {
  margin-bottom: 1.1rem;
}

.task-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-top: 1px solid #eee;
  font-size: 0.95rem;
  color: #444;
}

.task-modal__row strong {
  color: #111;
  font-weight: 800;
}

.task-modal__row-value--green {
  color: #16a34a !important;
}

.task-modal__submit {
  width: 100%;
  border: none;
  border-radius: 9999px;
  padding: 0.8rem 1rem;
  background: var(--color-main);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.task-modal__submit[disabled] {
  opacity: 0.6;
  cursor: default;
}

.notice-overlay[hidden] {
  display: none !important;
}

.notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.notice-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.notice-modal {
  position: relative;
  width: min(22rem, 100%);
  background: #fff;
  border-radius: 1rem;
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.notice-modal__title {
  margin: 0 0 0.75rem;
  color: var(--color-main);
  font-size: 1.15rem;
  font-weight: 800;
}

.notice-modal__text {
  margin: 0 0 1.15rem;
  color: #111;
  font-size: 0.98rem;
  line-height: 1.5;
}

.notice-modal__ok {
  width: 100%;
  border: none;
  border-radius: 9999px;
  padding: 0.8rem 1rem;
  background: var(--color-main);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.tx-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.tx-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid #ebedf0;
  border-radius: 0.6rem;
  background: #fff;
}

.tx-item--btn {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.tx-item--btn:hover {
  border-color: #c5d4e8;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.tx-item small {
  display: block;
  margin-top: 0.25rem;
  color: #646566;
  font-size: 0.75rem;
}

.topup-box {
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.topup-input {
  flex: 1;
  border: none;
  border-radius: 0.4rem;
  padding: 0.55rem 0.7rem;
  font: inherit;
}

/* Deposit page */
.deposit-page {
  background: #d8dde6;
}

.deposit-page .app-main,
.deposit-page .page-shell {
  background: #d8dde6;
}

.deposit-page .page-navbar {
  background: #d8dde6;
  border-bottom: none;
}

.deposit-page .page-navbar__title {
  color: #1989fa;
  font-weight: 700;
}

.deposit-content {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0 1rem 2rem;
  box-sizing: border-box;
}

.deposit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 8.5rem;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 0.85rem;
  background: #1d4ed8;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.12);
  color: #fff;
}

.deposit-card + .deposit-card {
  margin-top: 1rem;
}

.deposit-card__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.deposit-card__head svg {
  width: 1.25rem;
  height: 1.25rem;
}

.deposit-card__amount {
  margin-top: 0.85rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.deposit-topup-btn {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  border: none;
  border-radius: 0.3rem;
  padding: 0.35rem 1.15rem;
  background: #f97316;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.deposit-activity {
  margin-top: 2.5rem;
}

.deposit-activity .withdrawal-tab {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.deposit-activity .withdrawal-tabs {
  margin-bottom: 1rem;
}

/* Profile page — matches source layout: w-11/12 mx-auto py-6 */
.profile-page,
.profile-page .app-main,
.profile-page .page-shell {
  background: #eef1f6;
}

.profile-shell {
  padding-top: 1rem;
}

.profile-content {
  width: 91.666667%;
  margin: 0 auto;
  padding: 1.5rem 0;
  box-sizing: border-box;
}

.profile-card {
  background: #fff;
  border: 2px solid var(--color-main);
  border-radius: 0.75rem;
  padding: 1rem;
}

.profile-header {
  display: flex;
  align-items: center;
}

.profile-avatar-wrap {
  position: relative;
  margin-right: 0.75rem;
  flex-shrink: 0;
  cursor: pointer;
}

.profile-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 4px solid var(--color-main);
  object-fit: cover;
  display: block;
  background: #dbe4ef;
}

.profile-avatar-edit {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid #fff;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}

.profile-welcome {
  color: var(--color-main);
}

.profile-username {
  color: #000;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25;
}

.profile-vip-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.profile-vip-badge {
  display: inline-block;
  border-radius: 9999px;
  padding: 0 0.75rem;
  background: var(--color-main);
  color: #fff;
  font-size: 0.875rem;
}

.profile-vip-icon {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.profile-stats {
  margin-top: 1.5rem;
}

.profile-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #000;
}

.profile-stat-row + .profile-stat-row {
  margin-top: 0.25rem;
}

.profile-stat-label {
  color: var(--color-main);
}

.profile-stat-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.profile-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.profile-copy-btn img {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.profile-credit-row {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.profile-credit-label {
  color: #000;
  font-size: 0.875rem;
  white-space: nowrap;
}

.profile-credit-bar-wrap {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
  width: 100%;
  min-width: 0;
}

.profile-progress {
  flex: 1;
  width: 100%;
  height: 8px;
  background: rgb(228, 234, 241);
  overflow: hidden;
}

.profile-progress__fill {
  display: block;
  height: 100%;
  background: rgb(30, 65, 177);
}

.profile-credit-percent {
  margin-left: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
}

.profile-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.profile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 0;
  background: #fff;
  border: 2px solid var(--color-main);
  border-radius: 0.375rem;
  color: #000;
  text-decoration: none;
}

.profile-action-btn img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.profile-action-btn span {
  font-weight: 700;
  font-size: 1.125rem;
}

.profile-section {
  margin-top: 1.5rem;
}

.profile-section--other {
  padding-bottom: 1rem;
}

.profile-section-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.profile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: 0.75rem;
  color: #000;
  text-decoration: none;
}

.profile-menu-item img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex-shrink: 0;
}

.profile-menu-item span {
  font-weight: 600;
}

.profile-menu-arrow {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  flex-shrink: 0;
  color: #969799;
}

/* VIP page */
.vip-page {
  background: #e6ecf2;
  min-height: 100vh;
}

.vip-page .app-layout {
  min-height: 100vh;
  width: 100%;
  max-width: none;
  margin: 0;
  background: #e6ecf2;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  background: #e6ecf2;
  box-sizing: border-box;
}

.app-header__logo {
  flex-shrink: 0;
}

.app-header__logo img {
  max-height: 40px;
  width: auto;
  display: block;
}

.app-header__contact {
  margin-left: auto;
  background: var(--color-main);
  padding: 0.375rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  font-size: 1rem;
}

.app-header__profile {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.app-header__profile img {
  width: 2.25rem;
  height: 2.25rem;
  display: block;
}

.vip-page .app-main {
  background: #e6ecf2;
}

.vip-page .page-navbar {
  background: #e6ecf2;
  border-bottom: none;
}

.vip-content {
  width: 100%;
  padding: 1rem;
  padding-bottom: 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.vip-card {
  width: 100%;
  margin-bottom: 1rem;
  border: 1px solid var(--color-main);
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
}

.vip-card__icon {
  width: 4rem;
  height: 4rem;
  margin-right: 1rem;
  flex-shrink: 0;
  object-fit: contain;
}

.vip-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.vip-card__head {
  display: flex;
  align-items: center;
  width: 100%;
}

.vip-card__level {
  font-size: 1.125rem;
  color: var(--color-main);
  font-weight: 600;
  margin-right: 0.5rem;
}

.vip-tag {
  margin-left: auto;
  background: var(--color-main);
  color: #fff;
  font-size: 0.875rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.vip-card__price {
  margin-top: 0.5rem;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
}

.vip-card__benefits {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.9);
  font-weight: 500;
}

.terms-page {
  overflow-x: hidden;
  background: #eef1f6;
}

.terms-content {
  width: 100%;
  padding: 1.25rem 1.1rem 3.5rem;
  box-sizing: border-box;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111;
  text-align: center;
}

.terms-body {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.terms-heading {
  text-align: center;
  margin: 0 0 1.15rem;
}

.terms-heading strong {
  font-size: 1.65rem;
  font-weight: 800;
  color: #111;
}

.terms-item {
  margin: 0 0 1.15rem;
  text-align: center;
}

.terms-body p {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  line-height: 1.65;
  text-align: center;
  color: #111;
}

.terms-sub {
  padding-left: 0;
}

.faqs-body,
.faqs-body p {
  text-align: left;
}

.faqs-heading {
  text-align: center;
  margin: 0 0 1.5rem;
  color: var(--color-main);
}

.faqs-heading strong {
  font-size: 1.75rem;
  font-weight: 800;
}

.faqs-section {
  background: #fff;
  border-radius: 0.85rem;
  padding: 1rem 1.1rem 0.85rem;
  margin: 0 0 0.85rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
  text-align: left;
}

.faqs-section-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  line-height: 1.35;
}

.faqs-list {
  margin: 0;
  padding: 0 0 0 1.2rem;
}

.faqs-list li {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #222;
  text-align: left;
}

.about-heading {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
}

.about-section-title {
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .offer-grid,
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page > .top-bar,
  .page > .logo-wrap,
  .page > .content {
    width: 100%;
    max-width: var(--layout-auth);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }

  .page .content-inner {
    width: 100%;
    max-width: none;
  }

  .dashboard-header-inner,
  .hero-inner,
  .section-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 2.125rem;
  }

  .hero-desc,
  .section-desc {
    font-size: 1rem;
  }

  .menu-item-label {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .menu-grid {
    gap: 0.75rem;
  }
}

/* Flag sprites (common countries) */
.flag-ae { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Crect width='900' height='200' fill='%23007a3d'/%3E%3Crect y='200' width='900' height='200' fill='%23fff'/%3E%3Crect y='400' width='900' height='200' fill='%23000'/%3E%3Crect width='250' height='600' fill='%23ff0000'/%3E%3C/svg%3E"); }
.flag-us { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7410 3900'%3E%3Crect width='7410' height='3900' fill='%23b22234'/%3E%3Cpath d='M0,450h7410m0,600H0m0,600h7410m0,600H0m0,600h7410m0,600H0' stroke='%23fff' stroke-width='300'/%3E%3Crect width='2964' height='2100' fill='%233c3b6e'/%3E%3C/svg%3E"); }
.flag-gb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23012169'/%3E%3Cpath d='M0,0 60,30M60,0 0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 60,30M60,0 0,30' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E"); }
.flag-in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Crect width='900' height='200' fill='%23ff9933'/%3E%3Crect y='200' width='900' height='200' fill='%23fff'/%3E%3Crect y='400' width='900' height='200' fill='%23138808'/%3E%3Ccircle cx='450' cy='300' r='60' fill='none' stroke='%2300080' stroke-width='8'/%3E%3C/svg%3E"); }
.flag-sa { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Crect width='900' height='600' fill='%23006c35'/%3E%3C/svg%3E"); }

@media (min-width: 1024px) {
  html {
    font-size: 15px;
  }

  body,
  .dashboard,
  .app-main,
  .page-shell,
  .withdrawal-shell,
  .profile-shell,
  .vip-page .app-layout {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .dashboard-header-inner,
  .hero-inner,
  .section-inner,
  .page-navbar__inner,
  .withdrawal-content,
  .deposit-content,
  .profile-content,
  .password-form,
  .notifications-content,
  .language-content,
  .starting-inner,
  .vip-content,
  .terms-content,
  .activity-content,
  .certificate-content {
    width: 100%;
    max-width: var(--layout-dashboard);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .hero-desc,
  .section-desc,
  .offer-card p,
  .testimonial-card > p {
    font-size: 1.0625rem;
  }

  .dashboard-logo img {
    width: 3.5rem;
    height: 3.5rem;
  }

  .menu-item-icon img {
    width: 4.5rem;
    height: 4.5rem;
  }

  .menu-grid {
    gap: 1.5rem;
  }

  .btn-contact,
  .btn-primary,
  .btn-outline {
    font-size: 1rem;
    padding: 0.625rem 1.25rem;
  }

  .offer-card h4 {
    font-size: 1.625rem;
  }

  .team-member img {
    width: 120px;
    height: 120px;
  }

  .team-name {
    font-size: 1.125rem;
  }

  .profile-content {
    width: 91.666667%;
  }

  .vip-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .vip-card {
    margin-bottom: 0;
  }

  .dashboard-footer p {
    max-width: var(--layout-dashboard);
    margin: 0 auto;
    padding: 0 2.5rem;
    box-sizing: border-box;
  }

  .tabbar {
    height: 58px;
  }
}

.reward-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
  overflow: auto;
}

.reward-overlay[hidden] {
  display: none;
}

.reward-modal {
  position: relative;
  width: min(24rem, 86vw);
  max-width: 384px;
}

.reward-modal__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.reward-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background: #003d82;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.contact-page .page-shell {
  min-height: 100vh;
  background: #fff;
}

.contact-content {
  width: 91.666%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-heading {
  margin: 0;
  color: #000;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.contact-intro {
  margin: 0;
  color: #333;
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--color-main);
  border-radius: 0.75rem;
  color: #000;
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
}

.contact-service-card svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--color-main);
}

.chat-page {
  margin: 0;
  min-height: 100vh;
  background: #cdd1dc;
}

.chat-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 40rem;
  margin: 0 auto;
  background: #cdd1dc;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100px;
  padding: 0 1rem;
  background: #2c6ee5;
  flex-shrink: 0;
}

.chat-header__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: #fff;
  text-decoration: none;
}

.chat-header__back svg {
  width: 1.35rem;
  height: 1.35rem;
}

.chat-header__logo {
  height: 72px;
  width: auto;
  max-width: 70%;
  object-fit: contain;
}

.chat-body {
  flex: 1;
  padding: 1.25rem 1rem 1.5rem;
}

.chat-body--live {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 100px);
  padding: 0;
}

.chat-body--live[hidden] {
  display: none !important;
}

.chat-loading,
.chat-leave-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.9rem 1rem;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.35;
}

.chat-leave-tip__icon {
  color: #2c6ee5;
  font-size: 1.35rem;
  line-height: 1;
}

.chat-leave-form {
  margin-top: 1.25rem;
}

.chat-leave-label {
  margin: 0 0 0.5rem;
  color: #333;
  font-size: 0.95rem;
}

.chat-leave-text {
  display: block;
  width: 100%;
  min-height: 8rem;
  padding: 0.75rem;
  border: 1px solid #b7bec9;
  border-radius: 0.35rem;
  background: #fff;
  resize: vertical;
  font: inherit;
}

.chat-leave-error {
  margin: 0.65rem 0 0;
  color: #c0392b;
  font-size: 0.875rem;
  font-weight: 600;
}

.chat-leave-submit {
  display: block;
  margin: 1.1rem auto 0;
  min-width: 8rem;
  padding: 0.55rem 1.5rem;
  border: none;
  border-radius: 0.25rem;
  background: #2c6ee5;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chat-bubble {
  max-width: 80%;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  background: #fff;
}

.chat-bubble--user {
  align-self: flex-end;
  background: #2c6ee5;
  color: #fff;
}

.chat-bubble--admin {
  align-self: flex-start;
}

.chat-bubble__meta {
  font-size: 0.7rem;
  opacity: 0.75;
  margin-bottom: 0.2rem;
}

.chat-composer {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #fff;
  border-top: 1px solid #c5cad3;
}

.chat-composer__input {
  flex: 1;
  border: 1px solid #c5cad3;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
}

.chat-composer__send {
  border: none;
  border-radius: 999px;
  background: #2c6ee5;
  color: #fff;
  font-weight: 700;
  padding: 0.55rem 1rem;
  cursor: pointer;
}

.wd-receipt[hidden] {
  display: none;
}

.wd-receipt {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.wd-receipt__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 40, 0.58);
  backdrop-filter: blur(6px);
}

.wd-receipt__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(24.5rem, calc(100% - 1.5rem));
  max-height: 94vh;
  overflow: auto;
  transform: translate(-50%, -50%);
}

.wd-receipt__paper {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0.7rem, transparent 0.42rem, #fff 0.44rem) top left / 0.85rem 0.85rem repeat-x,
    radial-gradient(circle at 0 0.15rem, transparent 0.42rem, #fff 0.44rem) bottom left / 0.85rem 0.85rem repeat-x,
    #fff;
  background-repeat: repeat-x, repeat-x, no-repeat;
  background-position: top, bottom, center;
  padding: 1.35rem 1.2rem 1.2rem;
  box-shadow: 0 24px 60px rgba(8, 18, 40, 0.28);
}

.wd-receipt__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.15rem 0 1.1rem;
}

.wd-receipt__mark {
  width: 3.1rem;
  height: 3.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #1a7ae8 0%, #0066cc 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 102, 204, 0.28);
}

.wd-receipt__mark svg {
  width: 1.45rem;
  height: 1.45rem;
}

.wd-receipt__site {
  margin: 0 0 0.2rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wd-receipt__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.wd-receipt__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  padding: 1.05rem 0.9rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #f4f8ff 0%, #eef4fc 100%);
}

.wd-receipt__hero-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.wd-receipt__amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0f172a;
  line-height: 1.1;
}

.wd-receipt__status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wd-receipt__status--reviewing {
  background: #fff4e0;
  color: #b45309;
}

.wd-receipt__status--success {
  background: #def7e8;
  color: #0d7a3d;
}

.wd-receipt__status--reject {
  background: #fde4e4;
  color: #b42318;
}

.wd-receipt__rows {
  margin: 0.15rem 0 0;
  display: grid;
}

.wd-receipt__rows > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.95rem 0.1rem;
  border-bottom: 1px dashed #d7deea;
}

.wd-receipt__rows dt {
  flex: 0 0 7.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.01em;
}

.wd-receipt__rows dd {
  margin: 0;
  flex: 1;
  text-align: right;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  word-break: break-all;
}

.wd-receipt__rows dd:has(.wd-receipt__copy) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem;
}

.wd-receipt__copy {
  border: none;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  background: #e8f1ff;
  color: #0066cc;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.wd-receipt__note {
  margin: 1rem 0 0;
  text-align: center;
  color: #94a3b8;
  font-size: 0.72rem;
}

.wd-receipt__actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.wd-receipt__btn {
  border-radius: 999px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.wd-receipt__btn--primary {
  border: none;
  background: linear-gradient(180deg, #1a7ae8 0%, #0066cc 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 102, 204, 0.28);
}

.wd-receipt__btn--ghost {
  border: 1px solid #d5dbe3;
  background: #fff;
  color: #334155;
}

@media print {
  body * {
    visibility: hidden;
  }

  .wd-receipt,
  .wd-receipt * {
    visibility: visible;
  }

  .wd-receipt {
    position: static;
    background: #fff;
  }

  .wd-receipt__backdrop,
  .wd-receipt__actions,
  .wd-receipt__copy {
    display: none;
  }

  .wd-receipt__panel {
    position: static;
    transform: none;
    width: 100%;
    max-height: none;
    overflow: visible;
  }

  .wd-receipt__paper {
    box-shadow: none;
  }
}

/* Member-page motion */
@keyframes epic-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes epic-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes epic-fade-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes epic-scale-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes epic-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes epic-pop {
  0% { transform: scale(0.86); }
  70% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes epic-soft-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes epic-bar-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.dashboard-header,
.page-navbar {
  animation: epic-fade-down 0.4s ease both;
}

.dashboard .hero-inner,
.dashboard .menu-section,
.dashboard .section-block,
.dashboard .team-section,
.dashboard .cta-banner,
.profile-content,
.starting-inner,
.records-content,
.vip-content,
.activity-content,
.deposit-content,
.withdrawal-content,
.language-content,
.notifications-content,
.contact-content,
.certificate-content {
  animation: epic-fade-up 0.5s ease both;
}

.dashboard .hero-title { animation: epic-fade-up 0.55s ease both; }
.dashboard .hero-desc { animation: epic-fade-up 0.55s 0.08s ease both; }
.dashboard .hero-image { animation: epic-fade-up 0.6s 0.14s ease both; }
.dashboard .hero-actions { animation: epic-fade-up 0.55s 0.2s ease both; }

.menu-item,
.offer-card,
.team-member,
.profile-card,
.profile-action-btn,
.profile-menu-item,
.profile-section,
.starting-card,
.starting-btn,
.vip-card,
.record-card,
.deposit-card,
.language-item,
.featured-card,
.results-grid li {
  animation: epic-fade-up 0.45s ease both;
}

.menu-item:nth-child(1) { animation-delay: 0.04s; }
.menu-item:nth-child(2) { animation-delay: 0.08s; }
.menu-item:nth-child(3) { animation-delay: 0.12s; }
.menu-item:nth-child(4) { animation-delay: 0.16s; }
.menu-item:nth-child(5) { animation-delay: 0.2s; }
.menu-item:nth-child(6) { animation-delay: 0.24s; }
.menu-item:nth-child(7) { animation-delay: 0.28s; }
.menu-item:nth-child(8) { animation-delay: 0.32s; }

.offer-card:nth-child(1) { animation-delay: 0.08s; }
.offer-card:nth-child(2) { animation-delay: 0.16s; }
.offer-card:nth-child(3) { animation-delay: 0.24s; }

.team-member:nth-child(1) { animation-delay: 0.06s; }
.team-member:nth-child(2) { animation-delay: 0.12s; }
.team-member:nth-child(3) { animation-delay: 0.18s; }
.team-member:nth-child(4) { animation-delay: 0.24s; }
.team-member:nth-child(5) { animation-delay: 0.3s; }
.team-member:nth-child(6) { animation-delay: 0.36s; }

.profile-action-btn:nth-child(1) { animation-delay: 0.08s; }
.profile-action-btn:nth-child(2) { animation-delay: 0.14s; }
.profile-menu-item:nth-child(1) { animation-delay: 0.08s; }
.profile-menu-item:nth-child(2) { animation-delay: 0.14s; }
.profile-menu-item:nth-child(3) { animation-delay: 0.2s; }
.vip-card:nth-child(1) { animation-delay: 0.05s; }
.vip-card:nth-child(2) { animation-delay: 0.1s; }
.vip-card:nth-child(3) { animation-delay: 0.15s; }
.vip-card:nth-child(4) { animation-delay: 0.2s; }
.vip-card:nth-child(5) { animation-delay: 0.25s; }

.menu-item,
.offer-card,
.team-member,
.profile-menu-item,
.profile-action-btn,
.vip-card,
.record-card,
.deposit-card,
.language-item,
.btn-contact,
.btn-primary,
.btn-outline,
.starting-btn,
.deposit-topup-btn,
.tabbar-item,
.results-grid li {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu-item:hover,
.profile-menu-item:hover,
.profile-action-btn:hover,
.vip-card:hover,
.record-card:hover,
.deposit-card:hover,
.language-item:hover,
.offer-card:hover,
.team-member:hover,
.results-grid li:hover {
  transform: translateY(-4px);
}

.menu-item-icon img,
.profile-menu-item img,
.profile-action-btn img,
.starting-card__icon,
.starting-stat img {
  transition: transform 0.25s ease;
}

.menu-item:hover .menu-item-icon img,
.profile-menu-item:hover img,
.profile-action-btn:hover img {
  transform: scale(1.08) rotate(-4deg);
}

.btn-primary:hover,
.btn-contact:hover,
.starting-btn:hover,
.deposit-topup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 102, 204, 0.22);
}

.btn-outline:hover {
  transform: translateY(-2px);
}

.menu-item:active,
.profile-menu-item:active,
.profile-action-btn:active,
.btn-primary:active,
.btn-contact:active,
.starting-btn:active,
.tabbar-item:active {
  transform: scale(0.97);
}

.tabbar {
  animation: epic-slide-up 0.4s ease both;
}

.tabbar-item--center .tabbar-item__logo {
  animation: epic-pop 0.45s ease both;
}

.tabbar-item--active .tabbar-item__text {
  animation: epic-fade-in 0.25s ease;
}

.dashboard-logo img,
.profile-avatar {
  animation: epic-soft-float 3.6s ease-in-out infinite;
}

.profile-progress__fill {
  transform-origin: left center;
  animation: epic-bar-in 0.8s ease both;
}

.reward-overlay:not([hidden]) {
  animation: epic-fade-in 0.25s ease;
}

.reward-modal {
  animation: epic-scale-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wd-sheet:not([hidden]) .wd-sheet__panel,
.wd-receipt:not([hidden]) .wd-receipt__panel {
  animation: epic-fade-up 0.3s ease;
}

.page-navbar__back {
  transition: transform 0.2s ease, color 0.2s ease;
}

.page-navbar__back:hover {
  transform: translateX(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-header,
  .page-navbar,
  .dashboard .hero-inner,
  .dashboard .hero-title,
  .dashboard .hero-desc,
  .dashboard .hero-image,
  .dashboard .hero-actions,
  .dashboard .menu-section,
  .dashboard .section-block,
  .dashboard .team-section,
  .dashboard .cta-banner,
  .profile-content,
  .starting-inner,
  .records-content,
  .vip-content,
  .activity-content,
  .deposit-content,
  .withdrawal-content,
  .language-content,
  .notifications-content,
  .contact-content,
  .certificate-content,
  .menu-item,
  .offer-card,
  .team-member,
  .profile-card,
  .profile-action-btn,
  .profile-menu-item,
  .profile-section,
  .starting-card,
  .starting-btn,
  .vip-card,
  .record-card,
  .deposit-card,
  .language-item,
  .featured-card,
  .results-grid li,
  .tabbar,
  .tabbar-item--center .tabbar-item__logo,
  .dashboard-logo img,
  .profile-avatar,
  .profile-progress__fill,
  .reward-overlay:not([hidden]),
  .reward-modal,
  .wd-sheet:not([hidden]) .wd-sheet__panel,
  .wd-receipt:not([hidden]) .wd-receipt__panel {
    animation: none !important;
  }

  .menu-item:hover,
  .profile-menu-item:hover,
  .profile-action-btn:hover,
  .vip-card:hover,
  .record-card:hover,
  .deposit-card:hover,
  .language-item:hover,
  .offer-card:hover,
  .team-member:hover,
  .btn-primary:hover,
  .btn-contact:hover,
  .starting-btn:hover,
  .deposit-topup-btn:hover,
  .btn-outline:hover {
    transform: none;
  }
}
