:root {
  --text-primary: #ffffff;
  --text-secondary: #9c88b2;
  --text-tertiary: #918dbe;
  --bg-dark: #1d1d27;
  --bg-darker: #121219;
  --bg-item: #282835;
  --border-color: #1d1b37;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-darker);
  color: var(--text-primary);
  font-size: 12px;
  padding-bottom: 70px;
}

* {
  box-sizing: border-box;
}

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

.page-container {
  max-width: 390px;
  margin: 0 auto;
  background-color: var(--bg-dark);
  position: relative;
  padding-bottom: 70px; /* Space for fixed footer */
}

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

/* CSS for section section:Header */
.site-header {
  background-color: var(--bg-darker);
  padding: 10px;
  height: 70px;
  display: flex;
  align-items: flex-end;
}
.header-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-back {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}
.header-icon {
  width: 24px;
  height: 24px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-action-item {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  flex-direction: column;
}
.header-action-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* CSS for section section:BannerTop */
.banner-section {
  position: relative;
  overflow: hidden;
}
.banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background-image: radial-gradient(circle at 20.7% 82.9%, #ff1346 6%, #9f1014 94%);
}
.banner-merged-images {
  position: relative;
  width: 100%;
  height: 140px;
}
.banner-deco-1 {
  width: 100%;

}
.banner-char-1 {
  position: absolute;
  width: 320px;
  height: 140px;
  top: 0;
  left: 71px;
}
.banner-logo-container {
  position: absolute;
  width: 149px;
  height: 115px;
  top: 51px;
  left: 34px;
}
.banner-logo-img {
  position: absolute;
  width: 85px;
  height: 41px;
  top: -14px;
  left: 35px;
}
.banner-logo-text-box {
  position: absolute;
  width: 138px;
  height: 36px;
  top: 32px;
  left: 9px;
  background-color: #8a0a0e;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.banner-logo-text {
  margin: 0;
  font-size: 10px;
  line-height: 1.2;
  color: var(--text-primary);
}

.pagination-dots-red {
    background-color: #9f1014;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 5px;
}
.pagination-dots-red .point{
  width: 5px;
  height: 5px;
  background-color: #F66986;
  border-radius: 10px;
}
.pagination-dots-red .point.focus{
  width: 30px;
}

/* CSS for section section:UserInfo */
.user-info-section {
  background-image: radial-gradient(circle at 50% 99.6%, #282835 0%, #3d3e48 100%);
  padding: 20px 0 0 0;
  position: relative;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}
.user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: auto;
  position: relative;
  z-index: 1;
}
.user-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  margin-top: 14px;
}
.balance-label {
  color: var(--text-secondary);
  font-size: 14px;
  flex-basis: 48px;
  text-align: left;
}
.balance-amount {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-primary);
  flex-grow: 1;
  text-align: center;
}
.balance-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-basis: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.balance-toggle img {
  width: 16px;
  height: 16px;
}
.user-details {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.details-row {
  display: flex;
  height: 40px;
  padding: 0 10px;
}
.details-row:first-child {
  border-bottom: 0.5px solid var(--border-color);
}
.detail-item {
  display: flex;
  align-items: center;
  width: 50%;
  font-size: 12px;
}
.detail-label {
  color: var(--text-secondary);
  padding: 0 10px;
  flex-shrink: 0;
}
.detail-value {
  color: var(--text-primary);
}
.user-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  font-size: 12px;
  color: var(--text-secondary);
}
.user-notice p {
  margin: 0;
}
.notice-icon {
  width: 14px;
  height: 14px;
}

/* CSS for section section:Menu */
.menu-section {
  padding: 10px;
}
.menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.menu-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-item);
  height: 40px;
  padding: 0 10px;
  border-radius: 4px;
}
.menu-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-icon {
  width: 24px;
  height: 24px;
}
.menu-text {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-title {
  color: var(--text-primary);
  font-size: 12px;
}
.menu-subtitle {
  color: var(--text-tertiary);
  font-size: 10px;
}
.menu-arrow {
  width: 24px;
  height: 24px;
}

/* CSS for section section:BannerBottom */
.banner-background-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background-image: radial-gradient(circle at 20.7% 82.9%, #e1daf1 6%, #918dbe 94%);
}
.banner-deco-2 {
  width: 100%;
}
.banner-char-2 {
  position: absolute;
  width: 187px;
  height: 250px;
  top: -24px;
  left: 196px;
}
.banner-logo-container-bottom {
  position: absolute;
  width: 149px;
  height: 115px;
  top: 51px;
  left: 34px;
}
.banner-logo-img-bottom {
  position: absolute;
  width: 85px;
  height: 41px;
  top: -21px;
  left: 33px;
}
.banner-logo-text-box-bottom {
  position: absolute;
  width: 138px;
  height: 36px;
  top: 29px;
  left: 6px;
  background-color: rgba(14, 28, 103, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.pagination-dots {
    background-color: #3e3a69;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 5px;
}
.pagination-dots .point{
  width: 5px;
  height: 5px;
  background-color: #C5A2E9;
  border-radius: 10px;
}
.pagination-dots .point.focus{
  width: 30px;
}

/* CSS for section section:FooterNav */
.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #2a2a3a;
}
.footer-nav-container {
  width: 100%;
  max-width: 390px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 20px;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-icon {
  width: 20px;
  height: 20px;
}
.nav-label {
  font-size: 10px;
  color: var(--text-secondary);
}
.nav-item.active .nav-label {
  color: var(--text-primary);
}