/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family: Arial, Helvetica, sans-serif;

  color: #eefaf3;

  background:
    radial-gradient(
      circle at 5% 30%,
      rgba(62, 190, 120, 0.16),
      transparent 35%
    ),
    radial-gradient(
      circle at 95% 80%,
      rgba(40, 150, 90, 0.12),
      transparent 38%
    ),
    #04130b;

  overflow-x: hidden;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
  position: relative;
  z-index: 2;

  width: min(1450px, calc(100% - 40px));

  margin: 0 auto;

  padding: 30px 0 70px;
}

/* =========================================================
   HEADER
========================================================= */

.header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.logo {
  color: #f00404;

  font-size: 42px;

  font-weight: 700;

  letter-spacing: -1px;
}

.subtitle {
  margin-top: 6px;

  color: #62e6a1;

  font-size: 13px;
}

/* =========================================================
   CLOCK
========================================================= */

.clock-box {
  display: flex;

  align-items: center;

  gap: 8px;

  padding: 10px 14px;

  border: 1px solid rgba(85, 205, 135, 0.35);

  border-radius: 12px;

  background: rgba(4, 18, 11, 0.9);

  color: #ffffff;

  font-weight: 700;
}

.online-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #5fe29c;

  box-shadow: 0 0 10px #5fe29c;
}

/* =========================================================
   MARQUEE
========================================================= */

.marquee {
  margin: 20px 0 32px;

  padding-bottom: 15px;

  border-bottom: 1px solid rgba(85, 205, 135, 0.18);

  overflow: hidden;

  white-space: nowrap;
}

.marquee-track {
  display: flex;

  width: max-content;

  animation: marqueeMove 25s linear infinite;
}

.marquee-track span {
  padding-right: 130px;

  color: #62e6a1;

  font-size: 12px;
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   PAGE LAYOUT
========================================================= */

.page-layout {
  position: relative;

  display: grid;

  grid-template-columns:
    360px
    minmax(0, 1fr);

  gap: 36px;

  align-items: start;
}

/* =========================================================
   VÒNG QUAY BÊN TRÁI
========================================================= */

.lucky-panel {
  position: sticky;

  top: 25px;

  width: 360px;

  padding: 18px;

  background: rgba(6, 20, 13, 0.97);

  border: 1px solid rgba(82, 205, 135, 0.33);

  border-radius: 18px;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);

  text-align: center;
}

.lucky-panel-header {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 12px;

  text-align: left;
}

.lucky-icon {
  width: 40px;
  height: 40px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: rgba(70, 205, 130, 0.12);

  border-radius: 10px;

  font-size: 20px;
}

.lucky-panel-header h2 {
  color: #f50707;

  font-size: 17px;
}

.lucky-panel-header p {
  margin-top: 4px;

  color: #81968a;

  font-size: 10px;
}

.demo-badge {
  display: inline-block;

  margin-bottom: 18px;

  padding: 5px 8px;

  color: #63dda0;

  background: rgba(70, 205, 130, 0.08);

  border: 1px solid rgba(70, 205, 130, 0.25);

  border-radius: 7px;

  font-size: 8px;

  font-weight: 900;
}

/* =========================================================
   WHEEL
========================================================= */

.wheel-wrapper {
  position: relative;

  width: 245px;
  height: 245px;

  margin: 0 auto 18px;
}

.pointer {
  position: absolute;

  top: -7px;
  left: 50%;

  transform: translateX(-50%);

  width: 0;
  height: 0;

  border-left: 13px solid transparent;

  border-right: 13px solid transparent;

  border-top: 28px solid #ffd95a;

  z-index: 100;
}

.wheel {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: hidden;

  border: 5px solid #6ee0a5;

  border-radius: 50%;

  background: conic-gradient(
    #18704a 0deg 30deg,
    #0d3724 30deg 60deg,

    #23744e 60deg 90deg,
    #103f2a 90deg 120deg,

    #206846 120deg 150deg,
    #0a301f 150deg 180deg,

    #1c5e3f 180deg 210deg,
    #103c29 210deg 240deg,

    #24754f 240deg 270deg,
    #0d3422 270deg 300deg,

    #1d6342 300deg 330deg,
    #123f2b 330deg 360deg
  );

  transition: transform 5s cubic-bezier(0.12, 0.72, 0.12, 1);

  box-shadow: 0 0 25px rgba(70, 205, 130, 0.2);
}

/* =========================================================
   WHEEL CENTER
========================================================= */

.wheel-center {
  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  width: 44px;
  height: 44px;

  display: flex;

  align-items: center;
  justify-content: center;

  background: #03130b;

  border: 3px solid #6ee0a5;

  border-radius: 50%;

  font-size: 13px;

  z-index: 50;
}

/* =========================================================
   WHEEL LABEL
========================================================= */

.wheel-label {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 41%;

  height: 16px;

  margin-top: -8px;

  padding-right: 5px;

  transform-origin: left center;

  color: #fa0707;

  font-size: 7px;

  font-weight: 900;

  text-align: right;

  text-shadow: 0 1px 2px #000000;

  z-index: 10;
}

.label-1 {
  transform: rotate(15deg) translateX(10px);
}

.label-2 {
  transform: rotate(45deg) translateX(10px);
}

.label-3 {
  transform: rotate(75deg) translateX(10px);
}

.label-4 {
  transform: rotate(105deg) translateX(10px);
}

.label-5 {
  transform: rotate(135deg) translateX(10px);
}

.label-6 {
  transform: rotate(165deg) translateX(10px);
}

.label-7 {
  transform: rotate(195deg) translateX(10px);
}

.label-8 {
  transform: rotate(225deg) translateX(10px);
}

.label-9 {
  transform: rotate(255deg) translateX(10px);
}

.label-10 {
  transform: rotate(285deg) translateX(10px);
}

.label-11 {
  transform: rotate(315deg) translateX(10px);
}

.label-12 {
  transform: rotate(345deg) translateX(10px);
}

/* =========================================================
   SPIN BUTTON
========================================================= */

.spin-button {
  width: 100%;

  height: 43px;

  border: none;

  border-radius: 9px;

  color: #04130b;

  background: linear-gradient(90deg, #97e3b7, #51cb88);

  font-size: 12px;

  font-weight: 900;

  cursor: pointer;
}

.spin-button:disabled {
  opacity: 0.5;

  cursor: not-allowed;
}

/* =========================================================
   RESULT
========================================================= */

.wheel-result {
  display: none;

  margin-top: 12px;

  padding: 12px;

  background: rgba(70, 205, 130, 0.08);

  border: 1px solid rgba(70, 205, 130, 0.28);

  border-radius: 9px;
}

.wheel-result.show {
  display: block;

  animation: resultShow 0.35s ease;
}

@keyframes resultShow {
  from {
    opacity: 0;

    transform: translateY(6px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.wheel-result small {
  color: #81968a;

  font-size: 8px;
}

.wheel-result h3 {
  margin: 5px 0 9px;

  color: #69dfa2;

  font-size: 18px;
}

.wheel-result a {
  display: flex;

  align-items: center;
  justify-content: center;

  height: 34px;

  color: #04130b;

  background: #66db9f;

  border-radius: 7px;

  text-decoration: none;

  font-size: 10px;

  font-weight: 900;
}

/* =========================================================
   DASHBOARD
========================================================= */

.dashboard-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 2.15fr)
    minmax(300px, 1fr);

  gap: 24px;

  align-items: start;
}

.left-column,
.right-column {
  display: flex;

  flex-direction: column;

  gap: 24px;

  min-width: 0;
}

/* =========================================================
   CARD
========================================================= */

.card {
  padding: 24px;

  background: rgba(6, 20, 13, 0.94);

  border: 1px solid rgba(82, 205, 135, 0.3);

  border-radius: 18px;
}

.card-title {
  display: flex;

  align-items: center;

  gap: 11px;
}

.card-icon {
  width: 36px;
  height: 36px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: rgba(70, 205, 130, 0.12);

  border-radius: 10px;
}

.card-title h2 {
  color: #00ebfc;

  font-size: 20px;
}

.card-title p {
  margin-top: 3px;

  color: #84988b;

  font-size: 11px;
}

/* =========================================================
   FEATURES
========================================================= */

.feature-list {
  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 14px;

  margin: 24px 0;

  color: #a1b3a7;

  font-size: 13px;
}

.feature-list li::before {
  content: "•";

  margin-right: 10px;

  color: #61dc9d;
}

/* =========================================================
   FIND BUTTON
========================================================= */

.find-gate-btn {
  width: 100%;

  height: 51px;

  border: none;

  border-radius: 10px;

  color: #05150d;

  background: linear-gradient(90deg, #93e0b4, #50ca87);

  font-weight: 900;

  cursor: pointer;
}

/* =========================================================
   FORM
========================================================= */

.field-label {
  display: block;

  margin: 20px 0 9px;

  color: #e8f5ec;

  font-size: 12px;

  font-weight: 800;
}

.custom-select {
  position: relative;
}

.select-button {
  width: 100%;

  height: 50px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 0 14px;

  border: 1px solid rgba(80, 205, 135, 0.45);

  border-radius: 10px;

  background: #06110c;

  color: #ffffff;

  font-weight: 800;

  cursor: pointer;
}

/* =========================================================
   DROPDOWN
========================================================= */

.target-dropdown {
  display: none;

  position: absolute;

  left: 0;
  top: calc(100% + 7px);

  width: 100%;

  max-height: 390px;

  overflow-y: auto;

  background: #07140d;

  border: 1px solid rgba(80, 205, 135, 0.45);

  border-radius: 10px;

  z-index: 9999;
}

.target-dropdown.show {
  display: block;
}

.target-option {
  width: 100%;

  min-height: 53px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding: 0 15px;

  border: none;

  border-bottom: 1px solid rgba(80, 205, 135, 0.12);

  background: transparent;

  color: #ffffff;

  cursor: pointer;
}

.target-option:hover {
  background: rgba(70, 205, 130, 0.08);
}

.target-option strong {
  color: #ffffff;
}

.target-option span {
  color: #64dda0;

  font-size: 9px;

  font-weight: 900;
}

/* =========================================================
   ACCOUNT
========================================================= */

.account-input {
  width: 100%;

  height: 50px;

  padding: 0 14px;

  outline: none;

  border: 1px solid rgba(80, 205, 135, 0.4);

  border-radius: 10px;

  background: #06110c;

  color: #ffffff;
}

.execute-btn {
  width: 100%;

  height: 50px;

  margin-top: 15px;

  border: none;

  border-radius: 10px;

  background: linear-gradient(90deg, #315f48, #43805d);

  color: #ffffff;

  font-weight: 800;

  cursor: pointer;
}

.support-btn {
  width: 100%;

  height: 48px;

  margin-top: 15px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid rgba(80, 205, 135, 0.42);

  border-radius: 10px;

  color: #67dfa1;

  text-decoration: none;

  font-size: 12px;

  font-weight: 800;
}

/* =========================================================
   SYSTEM INFO
========================================================= */

.info-row {
  min-height: 48px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-top: 10px;

  padding: 0 13px;

  border: 1px solid rgba(80, 205, 135, 0.2);

  border-radius: 10px;

  background: rgba(3, 14, 9, 0.75);

  color: #8b9f93;

  font-size: 12px;
}

.info-row strong {
  color: #ffffff;

  font-size: 11px;
}

/* =========================================================
   LIVE
========================================================= */

.live-header {
  display: flex;

  align-items: center;
  justify-content: space-between;
}

.live-label {
  color: #61df9f;

  font-size: 9px;

  font-weight: 900;
}

.activity-list {
  max-height: 300px;

  display: flex;

  flex-direction: column;

  gap: 7px;

  margin-top: 15px;

  overflow-y: auto;
}

.activity-item {
  padding: 10px 11px;

  background: #06110c;

  border-radius: 8px;
}

.activity-text {
  display: flex;

  align-items: center;

  gap: 5px;

  color: #82968a;

  font-size: 10px;
}

.activity-text strong {
  color: #64dda0;
}

.activity-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #61df9f;
}

.activity-item small {
  display: block;

  margin: 5px 0 0 11px;

  color: #53665a;

  font-size: 8px;
}

/* =========================================================
   FAQ
========================================================= */

.faq-section {
  margin-top: 45px;

  padding-top: 30px;

  border-top: 1px solid rgba(80, 205, 135, 0.16);
}

.faq-section h2 {
  margin-bottom: 22px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  margin-bottom: 7px;

  color: #65dda0;

  font-size: 13px;
}

.faq-item p {
  color: #81968a;

  font-size: 13px;

  line-height: 1.6;
}

/* =========================================================
   MODAL
========================================================= */

.modal-overlay {
  display: none;

  position: fixed;

  inset: 0;

  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.86);

  backdrop-filter: blur(7px);

  z-index: 99999;
}

.modal-overlay.show {
  display: flex;
}

.warning-modal {
  width: 390px;

  max-width: 100%;

  padding: 28px;

  text-align: center;

  background: #291017;

  border: 1px solid #9f3048;

  border-radius: 15px;
}

.warning-icon {
  margin-bottom: 15px;

  color: #ff627d;

  font-size: 32px;
}

.warning-modal h2 {
  margin-bottom: 10px;

  color: #ff637d;
}

.warning-modal p {
  margin-bottom: 20px;

  color: #d18291;

  line-height: 1.6;
}

.warning-modal button {
  width: 100%;

  height: 44px;

  border: 1px solid #a13a50;

  border-radius: 9px;

  background: transparent;

  color: #ff647e;

  font-weight: 900;

  cursor: pointer;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1500px) {
  .lucky-panel {
    position: static;

    width: 100%;

    margin-bottom: 24px;
  }

  .wheel-wrapper {
    width: 330px;
    height: 330px;

    max-width: 80vw;
    max-height: 80vw;
  }

  .wheel-label {
    font-size: 9px;
  }
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 24px);
  }

  .header {
    flex-direction: column;

    align-items: flex-start;
  }

  .logo {
    font-size: 31px;
  }

  .wheel-wrapper {
    width: 280px;
    height: 280px;
  }

  .wheel-label {
    font-size: 7px;
  }
} /* =========================================================
   RUNG NHẸ POPUP
========================================================= */

.warning-modal.shake {
  animation: modalShake 0.38s ease;
}

@keyframes modalShake {
  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-5px);
  }

  40% {
    transform: translateX(5px);
  }

  60% {
    transform: translateX(-3px);
  }

  80% {
    transform: translateX(3px);
  }

  100% {
    transform: translateX(0);
  }
}
/* =========================================================
   MATRIX BACKGROUND
========================================================= */

#matrixCanvas {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  z-index: -1;

  pointer-events: none;

  background: #020805;
}

/* Để nội dung website nằm phía trên nền */

body {
  position: relative;

  background: transparent;
}

.container {
  position: relative;

  z-index: 2;
}
/* =========================================
   TELEGRAM + ZALO FLOATING CONTACT
========================================= */

.contact-floating {
  position: fixed;

  left: 370px;
  bottom: 100px;

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 22px;

  z-index: 99999;

  /* Cả cụm bay lên xuống nhẹ */
  animation: contactFloating 4s ease-in-out infinite;
}

/* =========================================
   ICON CHUNG
========================================= */

.contact-icon {
  position: relative;

  width: 68px;
  height: 68px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  text-decoration: none;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Khi đưa chuột vào */

.contact-icon:hover {
  transform: scale(1.12);
}

/* =========================================
   TELEGRAM
========================================= */

.telegram-contact {
  background: linear-gradient(145deg, #38bdf8, #168bd2);

  border: 4px solid #8de5ff;

  box-shadow:
    0 0 0 7px rgba(32, 160, 220, 0.13),
    0 0 25px rgba(32, 170, 230, 0.7);
}

/* Icon máy bay Telegram */

.telegram-contact svg {
  width: 35px;
  height: 35px;

  fill: #ffffff;

  transform: translate(-1px, 1px);
}

/* =========================================
   ZALO
========================================= */

.zalo-contact {
  background: #ffffff;

  border: 4px solid #2878ff;

  box-shadow:
    0 0 0 7px rgba(40, 120, 255, 0.13),
    0 0 25px rgba(40, 120, 255, 0.65);
}

.zalo-text {
  color: #2878ff;

  font-family: Arial, sans-serif;

  font-size: 18px;

  font-weight: 900;

  letter-spacing: -1px;
}

/* =========================================
   VÒNG SÓNG BÊN NGOÀI
========================================= */

.contact-icon::before {
  content: "";

  position: absolute;

  inset: -8px;

  border-radius: 50%;

  border: 2px solid rgba(90, 210, 255, 0.35);

  animation: contactPulse 2.4s ease-out infinite;

  pointer-events: none;
}

.zalo-contact::before {
  border-color: rgba(50, 110, 255, 0.35);
}

/* =========================================
   BAY LÊN XUỐNG
========================================= */

@keyframes contactFloating {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* =========================================
   SÓNG LAN RA NGOÀI
========================================= */

@keyframes contactPulse {
  0% {
    transform: scale(0.92);

    opacity: 0.8;
  }

  70% {
    transform: scale(1.3);

    opacity: 0;
  }

  100% {
    transform: scale(1.3);

    opacity: 0;
  }
}

/* =========================================
   ĐIỆN THOẠI
========================================= */

@media (max-width: 700px) {
  .contact-floating {
    left: 20px;
    bottom: 35px;

    gap: 18px;
  }

  .contact-icon {
    width: 56px;
    height: 56px;
  }

  .telegram-contact svg {
    width: 29px;
    height: 29px;
  }

  .zalo-text {
    font-size: 15px;
  }
}
/* =========================================================
   LOADING TÌM CỔNG
========================================================= */

.gate-loading-overlay {
  display: none;

  position: fixed;

  inset: 0;

  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.88);

  backdrop-filter: blur(8px);

  z-index: 999999;
}

.gate-loading-overlay.show {
  display: flex;
}

.gate-loading-box {
  width: 700px;

  max-width: 95%;

  padding: 32px;

  background: rgba(3, 15, 8, 0.97);

  border: 1px solid rgba(65, 255, 105, 0.55);

  border-radius: 12px;

  box-shadow: 0 0 30px rgba(30, 255, 90, 0.15);

  font-family: "Courier New", monospace;
}

.gate-loading-title {
  color: #45ff6b;

  text-align: center;

  font-size: 24px;

  font-weight: 900;

  letter-spacing: 3px;

  text-shadow: 0 0 8px rgba(50, 255, 90, 0.75);

  animation: gateTitleGlow 1.2s ease-in-out infinite alternate;
}

@keyframes gateTitleGlow {
  from {
    opacity: 0.75;
  }

  to {
    opacity: 1;
  }
}

.gate-loading-line {
  width: 100%;
  height: 1px;

  margin: 22px 0;

  background: linear-gradient(90deg, transparent, #32e962, transparent);
}

.gate-loading-info {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 12px;

  color: #45ff6b;

  font-size: 16px;
}

.gate-loading-info strong {
  color: #7dff98;

  font-size: 18px;
}

/* =========================
   THANH LOADING
========================= */

.gate-progress {
  position: relative;

  width: 100%;
  height: 25px;

  overflow: hidden;

  background: rgba(0, 30, 10, 0.8);

  border: 1px solid #34db60;

  box-shadow: inset 0 0 10px rgba(40, 255, 90, 0.1);
}

.gate-progress-bar {
  width: 0%;
  height: 100%;

  background: repeating-linear-gradient(
    45deg,
    #0be844 0px,
    #0be844 12px,
    #46ff74 12px,
    #46ff74 24px
  );

  box-shadow: 0 0 15px rgba(40, 255, 90, 0.6);

  transition: width 0.08s linear;
}

.gate-loading-status {
  margin-top: 15px;

  color: #78b985;

  font-size: 13px;

  min-height: 18px;
}

/* MOBILE */

@media (max-width: 600px) {
  .gate-loading-box {
    padding: 22px 18px;
  }

  .gate-loading-title {
    font-size: 16px;

    letter-spacing: 1px;
  }

  .gate-loading-info {
    font-size: 13px;
  }
}
.u888-label.u888-winner {
  animation: u888WinnerFlash 0.35s ease-in-out 8 alternate;
}

@keyframes u888WinnerFlash {
  0% {
    color: #ff3030;
    opacity: 0.35;

    text-shadow: none;

    filter: brightness(1);
  }

  100% {
    color: #ffff00;

    opacity: 1;

    text-shadow:
      0 0 5px #ffffff,
      0 0 10px #ffff00,
      0 0 20px #6dff9d;

    filter: brightness(2.5);
  }
} /* =========================================================
   CHỮ U888 PHÁT SÁNG KHI TRÚNG
========================================================= */

#u888Label.u888-win {
  animation: u888Glow 0.35s ease-in-out 8 alternate;
}

@keyframes u888Glow {
  0% {
    color: #ff2b2b;

    text-shadow: 0 0 0 transparent;

    filter: brightness(1);
  }

  100% {
    color: #fff700;

    text-shadow:
      0 0 4px #ffffff,
      0 0 8px #fff700,
      0 0 14px #fff700,
      0 0 22px #6eff9d;

    filter: brightness(2.5);
  }
}
/* =========================================================
   KẾT QUẢ VÒNG QUAY + NÚT NHẬN NGAY
========================================================= */

.wheel-result {
  display: none;

  margin-top: 14px;
  padding: 14px;

  background: rgba(70, 205, 130, 0.08);

  border: 1px solid rgba(70, 205, 130, 0.3);

  border-radius: 10px;

  text-align: center;
}

.wheel-result.show {
  display: block;

  animation: wheelResultShow 0.35s ease;
}

@keyframes wheelResultShow {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wheel-result small {
  color: #82968a;

  font-size: 9px;
}

.wheel-result h3 {
  margin: 7px 0 12px;

  color: #69dfa2;

  font-size: 20px;

  text-shadow: 0 0 10px rgba(80, 230, 150, 0.45);
}

/* NÚT NHẬN NGAY */

.claim-button {
  width: 100%;
  height: 40px;

  display: flex;

  align-items: center;
  justify-content: center;

  background: linear-gradient(90deg, #8ee1b2, #54ce8c);

  border-radius: 8px;

  color: #03130b;

  text-decoration: none;

  font-size: 11px;

  font-weight: 900;

  cursor: pointer;

  transition: 0.2s ease;
}

.claim-button:hover {
  transform: translateY(-2px);

  box-shadow: 0 0 16px rgba(80, 220, 145, 0.35);
}
/* ẨN HOÀN TOÀN KHUNG KẾT QUẢ BÊN DƯỚI */
.wheel-result,
.wheel-result.show {
  display: none !important;
}
/* =========================================================
   MOBILE FIX
========================================================= */

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 20px);

    padding: 15px 0 50px;
  }

  /* HEADER */

  .header {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;
  }

  .logo {
    font-size: 32px;
  }

  .subtitle {
    font-size: 12px;
  }

  .clock-box {
    min-width: auto;

    padding: 8px 12px;

    font-size: 12px;
  }

  /* CHỮ CHẠY */

  .marquee {
    margin: 15px 0 20px;
  }

  .marquee-track span {
    font-size: 11px;
  }

  /* =========================================
       QUAN TRỌNG:
       MOBILE CHỈ CÒN 1 CỘT
    ========================================= */

  .page-layout {
    display: flex;

    flex-direction: column;

    width: 100%;

    gap: 20px;
  }

  /* VÒNG QUAY */

  .lucky-panel {
    position: static;

    width: 100%;

    max-width: 420px;

    margin: 0 auto;

    padding: 18px;
  }

  .wheel-wrapper {
    width: 300px;
    height: 300px;

    max-width: 82vw;
    max-height: 82vw;
  }

  .wheel-label {
    font-size: 8px;
  }

  /* =========================================
       DASHBOARD
    ========================================= */

  .dashboard-grid {
    display: flex;

    flex-direction: column;

    width: 100%;

    gap: 20px;
  }

  .left-column,
  .right-column {
    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 20px;
  }

  /* CARD */

  .card {
    width: 100%;

    min-width: 0;

    padding: 18px;

    border-radius: 15px;
  }

  .card-title {
    align-items: flex-start;
  }

  .card-title h2 {
    font-size: 19px;

    line-height: 1.2;

    word-break: normal;

    white-space: normal;
  }

  .card-title p {
    font-size: 10px;

    line-height: 1.4;
  }

  /* DANH SÁCH */

  .feature-list {
    font-size: 12px;

    line-height: 1.6;

    gap: 10px;
  }

  .feature-list li {
    word-break: normal;

    overflow-wrap: break-word;
  }

  /* FORM */

  .field-label {
    font-size: 12px;

    line-height: 1.4;
  }

  .select-button,
  .account-input,
  .execute-btn,
  .support-btn {
    width: 100%;

    min-width: 0;
  }

  .select-button {
    font-size: 12px;
  }

  /* SYSTEM INFO */

  .info-row {
    width: 100%;

    min-width: 0;

    font-size: 11px;
  }

  /* LIVE ACTIVITY */

  .activity-list {
    width: 100%;

    max-height: 280px;
  }

  /* TELEGRAM + ZALO */

  .contact-floating {
    left: 18px;

    bottom: 90px;

    gap: 14px;
  }

  .contact-icon {
    width: 54px;
    height: 54px;
  }

  .telegram-contact svg {
    width: 27px;
    height: 27px;
  }

  .zalo-text {
    font-size: 14px;
  }
}
/* =========================================================
   MOBILE - ĐƯA VÒNG QUAY XUỐNG DƯỚI KIỂM TRA THIẾT BỊ
========================================================= */

@media (max-width: 768px) {
  /* Toàn bộ trang xếp dọc */
  .page-layout {
    display: flex !important;
    flex-direction: column !important;

    width: 100%;

    gap: 20px;
  }

  /*
       Bỏ lớp bọc dashboard trên mobile
       để có thể sắp xếp từng card riêng
    */

  .dashboard-grid,
  .left-column,
  .right-column {
    display: contents !important;
  }

  /* 1. KIỂM TRA HỆ THỐNG */

  .left-column > .card:first-child {
    order: 1;
  }

  /* 2. KIỂM TRA THIẾT BỊ */

  .targets-card {
    order: 2;
  }

  /* 3. VÒNG QUAY MAY MẮN */

  .lucky-panel {
    order: 3;

    position: static !important;

    width: 100% !important;

    max-width: 100%;

    margin: 0 auto;

    top: auto;
    left: auto;
  }

  /* 4. SYSTEM INFO */

  .right-column > .card:first-child {
    order: 4;
  }

  /* 5. LIVE ACTIVITY */

  .live-card {
    order: 5;
  }

  /* CARD MOBILE */

  .card {
    width: 100%;

    min-width: 0;
  }

  /* VÒNG QUAY */

  .wheel-wrapper {
    width: 300px;
    height: 300px;

    max-width: 82vw;
    max-height: 82vw;

    margin: 0 auto 22px;
  }
} /* TĂNG KÍCH THƯỚC TÊN CỔNG TRÊN VÒNG QUAY */

.wheel-label {
  font-size: 11px !important;
  font-weight: 900 !important;
}

@media (max-width: 768px) {
  .wheel-label {
    font-size: 11px !important;
  }
}
/* =========================================================
   POPUP CỔNG KHẢ DỤNG
========================================================= */

.available-overlay {
  display: none;

  position: fixed;

  inset: 0;

  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.88);

  backdrop-filter: blur(8px);

  z-index: 999999;
}

.available-overlay.show {
  display: flex;
}

.available-modal {
  width: 390px;

  max-width: 100%;

  padding: 30px;

  text-align: center;

  background: #061b10;

  border: 1px solid #42d986;

  border-radius: 16px;

  box-shadow: 0 0 35px rgba(60, 220, 130, 0.18);

  animation: availableShow 0.35s ease;
}

@keyframes availableShow {
  from {
    opacity: 0;

    transform: scale(0.94) translateY(10px);
  }

  to {
    opacity: 1;

    transform: scale(1) translateY(0);
  }
}

.available-icon {
  margin-bottom: 12px;

  font-size: 38px;
}

.available-modal h2 {
  margin-bottom: 10px;

  color: #62e6a1;

  font-size: 24px;
}

.available-modal p {
  color: #a1b7aa;

  font-size: 13px;

  line-height: 1.7;
}

.redirect-loading {
  width: 100%;
  height: 10px;

  margin: 22px 0 12px;

  overflow: hidden;

  background: #021008;

  border: 1px solid rgba(80, 220, 140, 0.35);

  border-radius: 20px;
}

.redirect-loading-bar {
  width: 0%;
  height: 100%;

  background: linear-gradient(90deg, #51d48d, #8ee7b6);

  transition: width 0.05s linear;
}

.available-modal small {
  color: #719080;

  font-size: 10px;
}
/* =========================================================
   MÀU CHỮ POPUP CỔNG KHẢ DỤNG
========================================================= */

/* Cổng đang khả dụng */
.available-modal h2 {
  color: #5ff0a5;

  text-shadow: 0 0 12px rgba(95, 240, 165, 0.45);
}

/* U888 hiện đang khả dụng.
   Hệ thống sẽ chuyển sau vài giây... */
.available-modal p {
  color: #e1eee7;

  font-size: 13px;
  font-weight: 500;

  line-height: 1.8;
}

/* Cổng đang khả dụng - đang chuyển... */
.available-modal small,
#redirectText {
  color: #ffd86b;

  font-size: 11px;
  font-weight: 700;

  text-shadow: 0 0 8px rgba(255, 216, 107, 0.35);
}
/* =========================================================
   THIẾT LẬP BẢO MẬT 2FA - CÙNG TONE WEBSITE
========================================================= */

.system-card {
  position: relative;
}

/* KHUNG 2FA */
.security-2fa {
  position: absolute;

  top: 22px;
  right: 24px;

  width: 310px;
  min-height: 66px;

  box-sizing: border-box;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 11px 14px;

  /* CÙNG NỀN VỚI WEBSITE */
  background: rgba(3, 14, 9, 0.88);

  /* CÙNG VIỀN XANH */
  border: 1px solid rgba(82, 205, 135, 0.3);

  border-radius: 14px;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 16px rgba(70, 205, 130, 0.025);

  cursor: pointer;

  user-select: none;

  z-index: 5;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

/* KHI ĐƯA CHUỘT VÀO */
.security-2fa:hover {
  transform: translateY(-2px);

  background: rgba(5, 25, 15, 0.96);

  border-color: rgba(95, 226, 156, 0.65);

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.25),
    0 0 16px rgba(95, 226, 156, 0.1);
}

/* ICON */
.security-2fa-icon {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(70, 205, 130, 0.12);

  border-radius: 10px;

  font-size: 20px;
}

/* PHẦN CHỮ */
.security-2fa-text {
  min-width: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TIÊU ĐỀ */
.security-2fa-title {
  color: #eefaf3;

  font-size: 14px;

  font-weight: 800;

  line-height: 1.3;

  white-space: nowrap;
}

/* DÒNG MÔ TẢ */
.security-2fa-desc {
  margin-top: 4px;

  color: #84988b;

  font-size: 10.5px;

  line-height: 1.35;

  white-space: nowrap;
}

/* =========================================================
   THÔNG BÁO KHI CLICK 2FA
========================================================= */

.twofa-toast {
  position: fixed;

  top: 22px;
  left: 50%;

  transform: translate(-50%, -12px);

  min-width: 355px;

  max-width: calc(100vw - 30px);

  padding: 16px 18px;

  display: flex;
  align-items: center;
  gap: 10px;

  /* ĐỔI TỪ NÂU SANG XANH ĐEN */
  background: rgba(6, 20, 13, 0.98);

  color: #eefaf3;

  border: 1px solid rgba(82, 205, 135, 0.45);

  border-radius: 10px;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 14px rgba(70, 205, 130, 0.08);

  font-size: 14px;

  font-weight: 700;

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  z-index: 9999999;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

/* HIỆN THÔNG BÁO */
.twofa-toast.show {
  opacity: 1;
  visibility: visible;

  transform: translate(-50%, 0);
}

/* ICON i */
.twofa-toast-icon {
  width: 18px;
  height: 18px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #61dc9d;

  color: #04130b;

  font-size: 12px;

  font-weight: 900;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {
  .security-2fa {
    position: static;

    width: 100%;

    margin-top: 15px;
    margin-bottom: 15px;
  }
}

@media (max-width: 520px) {
  .security-2fa-title {
    white-space: normal;
  }

  .security-2fa-desc {
    white-space: normal;
  }

  .twofa-toast {
    min-width: 0;

    width: calc(100vw - 24px);

    box-sizing: border-box;

    font-size: 13px;
  }
}
/* Bảng TOP 10 thay cho vòng quay */
.ranking-panel {
  box-sizing: border-box;
  padding: 25px 15px 28px;
  border: 1px solid rgba(181, 152, 89, 0.3);
  border-radius: 13px;
  background:
    linear-gradient(rgba(10, 17, 11, 0.67), rgba(10, 17, 11, 0.78)),
    url("waterfall.jpg") center / cover,
    #17271e;
  color: #b5a17b;
  text-align: left;
}

.ranking-panel h2 {
  margin: 0;
  color: #cbb47e;
  text-align: center;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.ranking-time {
  margin: 10px 0 21px;
  color: #c0bcb0;
  text-align: center;
  font-size: 13px;
}

.ranking-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ranking-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 25px 48px;
  align-items: center;
  gap: 6px;
  min-height: 56px;
  padding: 0 8px;
  border: 1px solid rgba(191, 159, 91, 0.12);
  border-radius: 11px;
  background: rgba(24, 26, 20, 0.21);
  font-size: 13px;
  font-weight: 700;
}

.ranking-row + .ranking-row {
  margin-top: 7px;
}

.ranking-row:first-child {
  border-color: rgba(200, 162, 91, 0.4);
}

.ranking-row span:first-child,
.ranking-row strong {
  color: #c7a268;
}

.ranking-row span:nth-child(2) {
  color: #c5c6c1;
}

.ranking-row span.up,
.ranking-row span.down {
  font-size: 18px;
  font-weight: 400;
}

.ranking-row .up {
  color: #55b48c;
}

.ranking-row .down {
  color: #c26f73;
}

.ranking-row strong {
  text-align: right;
}

@media (max-width: 768px) {
  .ranking-panel {
    position: static !important;
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  .lucky-panel {
    order: 2 !important;
  }

  .targets-card {
    order: 3 !important;
  }
}
