.treasure-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 115px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.treasure-hero-bg,
.treasure-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.treasure-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7,18,42,0.6) 0%, rgba(7,18,42,0.2) 40%, rgba(7,18,42,0.8) 100%);
  z-index: 1;
}

.treasure-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.treasure-hero-text {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1rem;
}

.treasure-subtitle {
  color: #fff;
  font-family: 'SeoulHangang', sans-serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}

.treasure-desc {
  color: rgba(255,255,255,0.85);
  font-family: 'SeoulHangang', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  max-width: 38rem;
  margin: 0;
}

.treasure-hero-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
}

.treasure-chest {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(130,236,255,0.5));
}

@media (max-width: 899px) {
  .treasure-hero {
    padding-top: 56px;
  }
  .treasure-hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .treasure-hero-text {
    align-items: center;
    text-align: center;
  }
  .treasure-chest {
    max-width: 320px;
    margin-top: 1.5rem;
  }
  .treasure-subtitle {
    font-size: 20px;
  }
  .treasure-desc {
    font-size: 14px;
  }
}

/* === Treasure chests === */
.treasure-chests {
  padding: 60px 20px;
}

.treasure-chests-title {
  max-width: 1100px;
  margin: 0 auto 40px;
  color: #fff;
  font-family: 'SeoulHangang', sans-serif;
  font-size: 32px;
  text-align: center;
}

.treasure-chests-table {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  font-family: 'SeoulHangang', sans-serif;
}

.treasure-chests-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 16px 0;
  color: #fff;
}

.treasure-chests-row:not(:last-child) {
  border-bottom: 1px solid #62d0f8;
}

.treasure-chests-header {
  color: #82ECFF;
  font-weight: 500;
}

.treasure-chests-sub {
  display: block;
  font-size: 14px;
  color: #82ECFF;
}

.treasure-chests-col:first-child {
  padding-left: 0;
}

.mobile-label {
  display: none;
}

@media (max-width: 899px) {
  .treasure-chests-title {
    font-size: 24px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .treasure-chests-table {
    overflow-x: auto;
  }
  .treasure-chests-row {
    min-width: 480px;
    grid-template-columns: repeat(4, minmax(80px, 1fr));
    font-size: 14px;
  }
  .treasure-chests-header {
    font-size: 14px;
  }
}

/* === Treasure rules === */
.treasure-rules {
  padding: 60px 20px;
  box-sizing: border-box;
}

.treasure-rules-title {
  color: #fff;
  font-family: 'SeoulHangang', sans-serif;
  font-size: 32px;
  margin: 0 0 40px;
  text-align: center;
}

.treasure-rules-list {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.treasure-rule {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #fff;
  font-family: 'SeoulHangang', sans-serif;
  font-size: 18px;
}

.treasure-rule-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.treasure-example {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'SeoulHangang', sans-serif;
}

.treasure-example-label {
  color: #82ECFF;
  font-weight: 700;
  font-size: 18px;
}

.treasure-example-text {
  color: #fff;
  font-size: 16px;
}

@media (max-width: 1099px) and (min-width: 600px) {
  .treasure-rules-list {
    gap: 24px;
  }
  .treasure-rule {
    font-size: 16px;
  }
  .treasure-rule-icon {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 599px) {
  .treasure-rules-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .treasure-rule {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }
  .treasure-rule-icon {
    width: 36px;
    height: 36px;
  }
  .treasure-example {
    margin-top: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .treasure-example-text {
    font-size: 14px;
  }
}
/* === Treasure start === */
.treasure-start {
  padding: 60px 20px;
  box-sizing: border-box;
}

.treasure-start-title {
  color: #fff;
  font-family: 'SeoulHangang', sans-serif;
  font-size: 32px;
  margin: 0 0 40px;
  text-align: center;
}

.treasure-start-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.treasure-start-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid #62d0f8;
  border-radius: 12px;
  background: #07122A;
  color: #fff;
  font-family: 'SeoulHangang', sans-serif;
}

.treasure-start-num {
  font-size: 32px;
  font-weight: 700;
  color: #82ECFF;
  flex-shrink: 0;
}

.treasure-start-text {
  font-size: 16px;
  line-height: 1.4;
}

.treasure-start-btn {
  margin-top: 12px;
}

.treasure-token-link {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #b6f0fa;
  text-decoration: underline;
}

/* === Treasure referral === */
.treasure-ref {
  padding: 60px 20px;
  box-sizing: border-box;
}

.treasure-ref-title {
  color: #fff;
  font-family: 'SeoulHangang', sans-serif;
  font-size: 32px;
  margin: 0 0 40px;
  text-align: center;
}

.treasure-ref-table {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  font-family: 'SeoulHangang', sans-serif;
}

.treasure-ref-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 0;
  color: #fff;
  text-align: left;
}

.treasure-ref-row:not(:last-child) {
  border-bottom: 1px solid #62d0f8;
}

.treasure-ref-header {
  color: #82ECFF;
  font-weight: 500;
}

.treasure-ref-col:first-child {
  padding-left: 0;
}

.treasure-ref-legend {
  margin-top: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'SeoulHangang', sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.treasure-ref-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.treasure-ref-bullet {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url('/landing/images/bullet.svg') no-repeat center/contain;
}

@media (max-width: 1099px) and (min-width: 600px) {
  .treasure-ref-title { font-size: 24px; }
}

@media (max-width: 599px) {
  .treasure-ref-title { font-size: 20px; }
  .treasure-ref-table { overflow-x: auto; }
  .treasure-ref-row {
    grid-template-columns: repeat(3, minmax(80px, 1fr));
    column-gap: 8px;
    padding: 8px 0;
    text-align: left;
  }
  .treasure-ref-col {
    padding: 4px 0;
    font-size: 14px;
  }
}

@media (max-width: 1099px) and (min-width: 600px) {
  .treasure-start-cards { gap: 24px; }
  .treasure-start-card { padding: 20px; }
  .treasure-start-num { font-size: 28px; }
  .treasure-start-text { font-size: 15px; }
}

@media (max-width: 599px) {
  .treasure-start-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .treasure-start-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .treasure-start-num {
    margin-bottom: 8px;
  }
  .treasure-start-btn {
    width: 100%;
  }
  .treasure-token-link {
    font-size: 13px;
  }
}

/* === Final legend block === */
.treasure-final-legend {
  width: 100%;
  background: #0A1B35;
  margin-top: 56px;
  display: flex;
  justify-content: center;
  border-top: 2px solid #82ECFF;
  border-bottom: 2px solid #82ECFF;
  box-sizing: border-box;
}

.treasure-final-container {
  max-width: 1100px;
  width: 80%;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
  text-align: center;
  font-family: 'SeoulHangang', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.treasure-final-title {
  margin: 0;
  color: #82ECFF;
  font-size: 28px;
  line-height: 1.3;
}

.treasure-final-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.treasure-final-buttons {
  display: flex;
  justify-content: center;
  gap: 32px;
}

@media (max-width: 1099px) {
  .treasure-final-title { font-size: 24px; }
  .treasure-final-subtitle { font-size: 16px; }
}

@media (max-width: 599px) {
  .treasure-final-legend { margin-top: 40px; }
  .treasure-final-container { width: 95%; padding: 20px 16px; }
  .treasure-final-title { font-size: 20px; }
  .treasure-final-subtitle { font-size: 14px; }
  .treasure-final-buttons {
    flex-direction: column;
  gap: 20px;
  }
}

/* Remove footer gradient on Treasure page */
.footer-fade { display: none; }
