* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'arial, sans-serif';
}

body {
  background-color: #0b0f19;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

.assets-icon {
  width: 19px;
  height: 19px;
  object-fit: contain;
  vertical-align: middle;
  position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background-color: #090d16;
  border-bottom: 1px solid #1a233a;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-logo img {
  height: 30px;
  object-fit: contain;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-select {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8a9bbd;
  font-size: 0.9rem;
  cursor: pointer;
}

.hamburger-btn {
  background: #141c2e;
  border: 1px solid #233252;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  display: none;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: #0d1527;
  border-left: 1px solid #1f2d4a;
  z-index: 201;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #1f2d4a;
}

.sidebar-header img {
  height: 28px;
}

.close-btnx {
  background: none;
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btnx i {
  font-size: 20px;
}

.sidebar-menu {
  list-style: none;
  padding: 10px 0;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #8a9bbd;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.2s;
}

.sidebar-menu li a i {
  width: 20px;
  text-align: center;
}

.sidebar-menu li.active a,
.sidebar-menu li a:hover {
  background: #15223c;
  color: #38bdf8;
  border-left: 4px solid #38bdf8;
}

.banner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
  border-bottom: 1px solid #141c2e;
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
}

.control-bar {
  max-width: 1000px;  
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 38px;
  padding: 0px;
  margin-top: 0px;
  margin-bottom: 20px;
  border-bottom: 1px solid #141c2e;
}

.tab-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-tab {
  padding: 8px 16px;
  border-radius: 3px;
  border: 0.9px solid #233252;
  background: #101726;
  color: #64748b;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-tab.active {
  background: #1d3261;
  border-color: #38bdf8;
  color: #ffffff;
}

.live-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 0.8rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}

.stats-item {
  display: flex;
  align-items: center;
  gap: 3px;
}

.live-stats i {
  color: #38bdf8;
  font-size: 0.85rem;
}

.content-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px 25px 16px;
}

.redeem-card {
  background: #0f172a no-repeat center center;
  background-size: cover;
  border: 1px solid #2b4270;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.redeem-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.redeem-sub {
  font-size: 0.9rem;
  color: #8a9bbd;
  margin-bottom: 20px;
}

.redeem-form {
  display: flex;
  max-width: 550px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #38bdf8;
}

.redeem-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(11, 20, 38, 0.85);
  border: none;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
}

.btn-send {
  padding: 0 18px;
  background: #38bdf8;
  border: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-send:hover {
  background: #38bdf8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.redeem-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 10px;
  font-weight: 600;
  min-height: 18px;
  text-align: left;
}

.event-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 5px;
  padding: 10px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title i {
  color: #38bdf8;
}

.skin-scroll-container {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

.skin-scroll-container::-webkit-scrollbar {
  height: 3px;
}

.skin-scroll-container::-webkit-scrollbar-thumb {
  background: #38bdf8;
  border-radius: 10px;
}

.skin-card {
  min-width: 100px;
  background: #182238;
  border: 1px solid #28385a;
  border-radius: 0px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.skin-card:hover {
  transform: translateY(-4px);
}

.skin-img {
  width: 100%;
  height: 160px;
  display: block;
  object-fit: cover;
}

.price-box {
  background: url(../img/button.png) no-repeat center center;
  background-size: 100% 100%;
  padding: 4px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 0px solid #ffb74d;
  border-radius: 0px;
  margin-top: 0px;
}

.old-price {
  font-size: 10px;
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1;
  margin-bottom: 2px;
  font-style: italic;
}

.discount-price {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 800;
  font-size: 10px;
  color: #ffffff;
  line-height: 1;
}

.diamond-icon {
  width: 10px;
  height: 10px;
  object-fit: contain;
  vertical-align: middle;
  position: relative;
  top: 0px;
}

.diamond-icons {
  width: 12px;
  height: 12px;
  object-fit: contain;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.history-empty {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
  display: none;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
  color: #38bdf8;
}

footer {
  background: #070a12;
  border-top: 1px solid #141c2e;
  padding: 40px 20px;
  text-align: center;
}

.moonton-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 24px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.8);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.modal-card {
  background: linear-gradient(180deg, #18233c 0%, #0f172a 100%);
  border: 1px solid #273759;
  border-radius: 12px;
  width: 100%;
  max-width: 440px;
  padding: 10px;
  position: relative;
}

.modal-header-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #38bdf8;
}

.modal-header-title h3 {
  font-size: 1.1rem;
  color: #fff;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn i {
  font-size: 20px;
}

.confirm-box {
  background: #0b1120;
  border: 1px solid #1a2640;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
}
.confirm-box > div {
  text-align: left;
}
#modalItemImg {
  width: 70px;
  height: 70px;
  object-fit: cover;
  object-position: top;
  border-radius: 5px;
  border: 1px solid #38bdf8;
}

.btn-confirm {
  width: 100%;
  padding: 12px;
  background: #38bdf8;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.guide-box {
  background: #090e1a;
  border: 1px solid #1e2d4a;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.guide-avatar {
  width: 52px;
  height: 52px;
  border-radius: 5px;
  border: 1px solid #38bdf8;
  object-fit: cover;
  flex-shrink: 0;
}

.guide-content {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
}

.id-prefix {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 2px;
}

.id-bracket {
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 700;
  margin-top: 2px;
}

.id-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.id-col strong {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.pointer-arrow {
  color: #38bdf8;
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.tag-label {
  background: #233863;
  border: 1px solid #3b578d;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.status-alerts {
  min-height: 20px;
  margin-bottom: 10px;
  text-align: left;
}

.alert-msg {
  font-size: 10px;
  font-weight: 600;
}

.form-inputs {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
}

.game-id-group {
  flex: 1.5;
}

.zone-id-group {
  flex: 1;
}

.input-field {
  text-align: left;
}

.input-field label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 4px;
}

.input-field input {
  width: 100%;
  padding: 10px;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.9rem;
  outline: none;
}

.input-field input:focus {
  border-color: #38bdf8;
}

.input-field input::-webkit-input-placeholder {
  color: #000000 !important;
  opacity: 1;
}

.input-field input::-moz-placeholder {
  color: #000000 !important;
  opacity: 1;
}

.input-field input:-ms-input-placeholder {
  color: #000000 !important;
}

.input-field input::placeholder {
  color: #000000 !important;
  opacity: 1;
}

.error-message {
  color: #ef4444;
  font-size: 10px;
  margin-bottom: 14px;
  text-align: left;
  min-height: 16px;
  font-weight: 600;
}

.btn-verify {
  width: 100%;
  padding: 12px;
  background: #38bdf8;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: not-allowed;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.notice-card {
  text-align: center;
  padding: 0 0 24px 0;
  overflow: hidden;
}

.notice-header {
  background: #1a2a4a;
  padding: 16px;
  justify-content: space-between;
  margin-bottom: 0;
  border-bottom: 1px solid #273759;
}

.notice-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.notice-body {
  padding: 24px 20px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.notice-icon {
  font-size: 2.8rem;
  color: #38bdf8;
  margin-bottom: 16px;
}

.notice-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.notice-body p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 320px;
}

.btn-notice-ok {
  width: 100%;
  max-width: 240px;
  padding: 10px;
  background: #38bdf8;
  border: 1px solid #38bdf8;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s ease;
}

.btn-notice-ok:active {
  transform: scale(0.98);
}

.custom-select {
  width: 100%;
  padding: 10px;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
}

.custom-select:focus {
  border-color: #38bdf8;
}

.loading-box {
  text-align: center;
  padding: 24px 10px;
}

.loading-icon {
  font-size: 2.2rem;
  color: #38bdf8;
  margin-bottom: 12px;
}

.loading-box p {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 600;
}

.login-subtext {
  text-align: center;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.login-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-login-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 14px;
  background: rgba(30, 58, 110, 0.4);
  border: 1px solid #2b4270;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-login-option:hover {
  background: rgba(37, 99, 235, 0.25);
  border-color: #38bdf8;
}

.login-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.input-field-group {
  text-align: left;
}

.custom-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(11, 20, 38, 0.8);
  border: 1px solid #233559;
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
}

.custom-input:focus {
  border-color: #38bdf8;
}

.sub-label {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 4px;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.toggle-pass-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a9bbd;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 5;
}

.google-input {
  width: 100%;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 4px;
  color: #202124;
  font-size: 0.95rem;
  outline: none;
}

.google-input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 1px #1a73e8;
}

.alert-error-text {
  color: #d93025;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 6px;
  margin-bottom: 6px;
  text-align: left;
}

@media (max-width: 480px) {
  .control-bar {
    padding: 0 10px;
    gap: 4px;
  }

  .btn-tab {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .live-stats {
    font-size: 0.68rem;
    gap: 6px;
  }

  .live-stats i {
    font-size: 0.75rem;
  }
}