html, body {
  min-height: 100%;
}

body.treasure-body {
  font-family: 'Open Sans', sans-serif;
  color: #f5e8c7;
  background:
    linear-gradient(rgba(10, 7, 5, 0.82), rgba(10, 7, 5, 0.92));
}

h1, h2, h3, h4, .navbar-brand, .section-title, .hero-title {
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

.treasure-nav {
  background: rgba(16, 11, 7, 0.95);
  border: none;
  box-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.treasure-nav .navbar-brand {
  color: #d4af37 !important;
  font-weight: 700;
}

.treasure-nav .navbar-toggle {
  border-color: rgba(212,175,55,0.35);
}

.treasure-nav .navbar-toggle .icon-bar {
  background: #d4af37;
}

.treasure-nav .navbar-nav > li > a {
  color: #f3e7c5 !important;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.treasure-nav .navbar-nav > li > a:hover,
.treasure-nav .navbar-nav > li > a:focus {
  background: transparent;
  color: #d4af37 !important;
}

.hero-banner {
  min-height: 92vh;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: table;
  width: 100%;
}

.hero-inner {
  display: table-cell;
  vertical-align: middle;
  padding-top: 110px;
  padding-bottom: 80px;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.btn-back,
.btn-hero-primary,
.btn-hero-secondary,
.btn-start {
  border-radius: 30px;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: all .3s ease;
}

.btn-back {
  margin-bottom: 35px;
  background: rgba(255,255,255,0.08);
  color: #f7edd2;
  border: 2px solid rgba(247,237,210,0.45);
}

.btn-back:hover,
.btn-back:focus,
.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: #fff;
}

.hero-kicker,
.section-kicker,
.stats-type {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ffffff;
  margin-bottom: 14px;
}

.hero-subtitle {
  color: #ffffff;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 58px;
  margin-top: 0;
  margin-bottom: 18px;
  color: #fff4cf;
  text-shadow: 0 4px 22px rgba(0,0,0,0.45);
}

.hero-text,
.section-description,
.empty-state,
label {
  color: #eadfbe;
  line-height: 1.9;
  font-size: 16px;
}

.hero-actions .btn {
  margin-right: 10px;
  margin-top: 10px;
}

.btn-hero-primary,
.btn-start {
  background: #d4af37;
  color: #1c140a;
  border: 2px solid #d4af37;
  box-shadow: 0 8px 20px rgba(212,175,55,0.22);
}

.btn-hero-primary:hover,
.btn-hero-primary:focus,
.btn-start:hover,
.btn-start:focus {
  background: #e2bf4d;
  color: #1c140a;
  border-color: #e2bf4d;
}

.btn-hero-secondary {
  background: transparent;
  color: #f7edd2;
  border: 2px solid rgba(247,237,210,0.6);
}

.section-shell {
  padding: 85px 0;
  position: relative;
}

.section-overlap {
  margin-top: -85px;
  z-index: 3;
}

.panel-treasure {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.28);
}

.countdown-panel {
  padding: 40px 30px 35px;
  background: linear-gradient(180deg, rgba(32,21,12,0.95), rgba(20,14,10,0.97));
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 45px;
}

.section-title {
  font-size: 38px;
  color: #f8e8b0;
  margin-top: 0;
  margin-bottom: 16px;
}

.section-title-left,
.section-description-left {
  text-align: left;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.countdown-card {
  min-width: 150px;
  padding: 22px 18px;
  border-radius: 14px;
  background: rgba(212,175,55,0.09);
  border: 1px solid rgba(212,175,55,0.22);
}

.countdown-value {
  display: block;
  font-size: 52px;
  line-height: 1;
  color: #fff2bf;
  font-family: 'Cinzel', serif;
}

.countdown-label {
  display: block;
  margin-top: 10px;
  color: #d9c89d;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
}

.countdown-separator {
  font-size: 42px;
  color: #d4af37;
  font-family: 'Cinzel', serif;
}

.section-card-wrap {
  margin-bottom: 30px;
}

.stats-panel {
  height: 100%;
  overflow: hidden;
}

.stats-head {
  padding: 30px 30px 18px;
  border-bottom: 1px solid rgba(212,175,55,0.12);
  background: linear-gradient(180deg, rgba(212,175,55,0.09), rgba(212,175,55,0.03));
}

.stats-head h3 {
  color: #f8e8b0;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 28px;
}

.stats-meta {
  color: #eadfbe;
  font-size: 15px;
  margin-bottom: 0;
}

.stats-meta i {
  color: #d4af37;
  margin-right: 6px;
}

.stats-dot {
  margin: 0 10px;
  color: #d4af37;
}

.stats-body {
  padding: 24px 30px 30px;
}

.stats-body .table,
.stats-body table {
  background: rgba(255,255,255,0.02);
  color: #eadfbe;
}

.table-bordered>tbody>tr>td,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>td,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>thead>tr>th,
.stats-body table td,
.stats-body table th {
  border: 1px solid rgba(212,175,55,0.15) !important;
}

.stats-body table th {
  background: rgba(212,175,55,0.08);
  color: #f8e8b0;
}

.start-panel {
  padding: 40px;
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.04));
}

.start-illustration {
  padding-bottom: 20px;
}

#compass-rose {
  width: 80%;
  max-width: 280px;
  height: auto;
  margin: 10px auto 0;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}

.start-form {
  margin-top: 25px;
}

.start-form label {
  display: block;
  margin-bottom: 12px;
  color: #f1e1b2;
  font-weight: 600;
}

.select-treasure {
  height: auto;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(212,175,55,0.28);
  background: rgba(16, 11, 7, 0.7);
  color: #fff;
  box-shadow: none;
}

.select-treasure:focus {
  border-color: #d4af37;
  box-shadow: none;
}

.footer-treasure {
  background: #100b08;
  text-align: center;
  padding: 26px 0;
  color: #a79267;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 44px;
  }

  .section-title {
    font-size: 32px;
  }

  .start-panel {
    padding: 30px 26px;
  }
}

@media (max-width: 767px) {
  .treasure-nav .navbar-collapse {
    background: rgba(16, 11, 7, 0.98);
  }

  .hero-banner {
    min-height: 80vh;
  }

  .hero-inner {
    padding-top: 95px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 33px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-text,
  .section-description,
  .empty-state,
  label {
    font-size: 15px;
  }

  .section-shell {
    padding: 70px 0;
  }

  .section-overlap {
    margin-top: -55px;
  }

  .countdown-card {
    min-width: 115px;
    padding: 18px 12px;
  }

  .countdown-value {
    font-size: 38px;
  }

  .countdown-separator {
    display: none;
  }

  .stats-head,
  .stats-body,
  .countdown-panel,
  .start-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .select-treasure,
  .btn-start {
    width: 100%;
  }
}
