/* cleaned from index.css */

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #0d0f1a;
  color: #f0f0f0;
  line-height: 1.6;
  overflow-x: hidden;
}

header.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 6rem;
  padding-right: 6rem;
  background: radial-gradient(circle at top left, #1e2a3a, #05192b);
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-text button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: #fff;
  background: #3b82f6;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.hero-graphic img {
  max-width: 30%;
  display: block;
  min-width: 5%;
  margin: 0 auto;
}

section {
  pointer-events: none;
  padding-left: 6rem;
  border-bottom: 1px solid #1f2937;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.steps {
  display: flex;
  gap: 2rem;
}

.step {
  background: #1f2937;
  padding: 1.5rem;
  border-radius: 0.75rem;
  flex: 1;
}

.why-skindex ul,
.what-is ul {
  list-style: none;
  padding: 0;
}

.why-skindex li,
.what-is li {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.why-skindex li::before,
.what-is li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3b82f6;
}

.cta {
  text-align: center;
  background: #111827;
}

.cta button {
  padding: 1rem 2rem;
  font-size: 1.25rem;
  margin-top: 1rem;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.container2 {
  margin: 0;
  padding: 0 1rem;
}

.text-left {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.text-left.top-align {
  align-items: flex-start;
}

.text-left.center-align {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.text-left .what-is,
.text-left .hero-graphic {
  width: 50%;
}

.text-left .hero-graphic {
  display: flex;
  justify-content: center;
}

.text-left .hero-graphic img {
  height: auto;
  display: block;
}

.vault-contents img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-card {
  background: #1f2937;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  max-width: none;
  margin: auto;
  width: 90%;
}

.hero-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.text-left.center-align > div:first-child {
  flex: 1 1 33.333%;
}

.text-left.center-align > .hero-graphic {
  flex: 2 1 60%;
  display: flex;
  justify-content: flex-start;
  padding-right: 3.333%;
}

.header-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  left: auto;
  z-index: 1001;
  background: #1f2937;
  color: #fff;
  border: none;
  padding: 0.5rem;
  font-size: 1.5rem;
  border-radius: 4px;
}

body.header-open .side-nav {
  transform: translateX(0);
}

.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vault-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: rgba(31, 41, 55, 0.85);
  border-radius: 0.75rem;
  flex: unset;
  max-width: 320px;
  gap: 1rem;
  width: 100%;
  height: 170px;
}

.vault-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 6rem 0;
  background: url("../images/vault3.png") center/cover no-repeat;
}

.vault-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.vault-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.vault-overlay {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  justify-items: center;
  padding: 2rem;
  flex-wrap: wrap;
  margin: 0;
}

.card-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.card-info .card-value {
  font-size: 2rem;
  font-weight: 700;
}

.card-info .card-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  opacity: 0.75;
}

.vault-contents.container2 {
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.vault-contents.container2::before {
  pointer-events: none;
  z-index: 0;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #374151;
}

.modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #f9fafb;
}

.modal-body {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.modal-body h3 {
  margin-top: 0;
  color: #f9fafb;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.modal-body .chart-container {
  padding-left: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111827;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  flex: 0 0 33.33%;
}

.modal-body .items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
  flex: 0 0 66.66%;
}

.modal-body .items-grid a {
  display: block;
  background: #374151;
  border-radius: 0.5rem;
  overflow: hidden;
  text-align: center;
  padding: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.modal-body .items-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.modal-body .items-grid img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

.modal-body .items-grid .item-name {
  font-size: 0.875rem;
  color: #e5e7eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-footer button {
  background: #2563eb;
  color: #f9fafb;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-footer button:hover {
  background: #1e40af;
}

.vault-heading button {
  background: #2563eb;
  color: #f9fafb;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.vault-heading button:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

.inventory-item img {
  width: 100%;
  border-radius: 4px;
}

.vault-card .card-icon img {
  max-width: 5rem;
  max-height: 5rem;
  display: block;
}

.vault-card .card-info {
  min-width: 0;
  overflow: hidden;
}

.vault-card .card-value,
.vault-card .card-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vault-contents-card .card-info {
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.vault-contents-card .card-value,
.vault-contents-card .card-label {
  white-space: normal;
  word-break: break-word;
  margin-top: 0.5rem;
}

.vault-full-card {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  width: 100%;
  position: relative;
  z-index: 2;
}

.vault-card--large {
  background: rgba(31, 41, 55, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.vault-card--large .card-icon {
  display: none;
}

.vault-card--large .card-value {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.vault-card--large .card-label {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-graphic,
.hero-text {
  padding: 0rem 0;
}

.how-it-works {
  padding-bottom: 1rem;
  padding-right: 6rem;
}

.how-it-works .steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

.how-it-works .step {
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.what-is-h2 {
  padding-left: 6rem;
  color: rgb(240, 240, 240);
  display: block;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 51.2px;
  margin-block-start: 26.56px;
  margin-block-end: 16px;
  text-align: center;
  width: 100%;
}

.hero-graphic .hero-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.text-left .hero-graphic {
  width: 100%;
  padding-left: 0;
  margin: auto;
}

.why-skindex li::marker,
.what-is li::marker,
.why-skindex li::before,
.what-is li::before {
  content: none;
  display: none;
  padding: 0;
}

@media (max-width: 280px) {
    .vault-card{
        width:60%;
    }
}

@media (min-width: 280px) and (max-width: 420px) {
    .vault-card{
        width:80%;
    }
}

@media (max-width: 900px) {
  .text-left {
    flex-direction: column;
  }

  .text-left .what-is {
    width: 100%;
    padding-left: 0;
    margin: auto;
  }

  .text-left.center-align {
    flex-direction: column;
  }

  .text-left.center-align > div:first-child,
  .text-left.center-align > .hero-graphic {
    flex: none;
    width: 100%;
  }

  .vault-overlay {
    flex-direction: column;
  }

  .why-skindex {
    text-align: center;
    padding: 0;
  }

  .why-skindex ul {
    display: inline-block;
    margin: 0.5rem auto;
    padding: 0;
    list-style: none;
    list-style-type: none;
  }

  .why-skindex li {
    margin: 0.5rem 0;
  }

  .what-is ul {
    display: inline-block;
    list-style: none;
    list-style-type: none;
  }

  .why-skindex ul,
  .what-is ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .why-skindex li,
  .what-is li {
    list-style: none;
    padding: 0;
  }

  .how-it-works > h2 {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
  }

  .what-is-h2 {
    padding: 0;
  }

  .hero-card {
    margin: unset;
  }

  .hero-graphic {
    padding: 0;
  }

  .hero-graphic .hero-card {
    width: calc(100% - 2rem);
    margin: 0 1rem;
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-graphic .hero-card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .what-is {
    text-align: center;
    width: 100%;
    display: block;
  }
}

@media (min-width: 900px) {
  .what-is-h2 {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .vault-overlay {
    grid-template-columns: 1fr;
  }

  .vault-contents.container2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .vault-overlay {
    grid-template-columns: 1fr;
  }

  .how-it-works {
    padding: 1rem;
  }

  .how-it-works .steps {
    grid-template-columns: 1fr;
  }

  .how-it-works .step {
    align-items: center;
    text-align: center;
  }

  .how-it-works > h2 {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .text-left.center-align {
    flex-direction: column;
  }

  .text-left.center-align .hero-graphic {
    flex: none;
    width: 100%;
  }

  .hero-graphic {
    padding: 0;
  }

  .hero-graphic .hero-card {
    width: calc(100% - 2rem);
    margin: 0 1rem;
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-graphic .hero-card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .what-is {
    text-align: center;
    width: 100%;
    display: block;
    padding-left: 0rem;
  }

  .what-is-h2 {
    text-align: center;
    width: 100%;
    display: block;
    padding-left: 0rem;
  }

  .text-left .what-is {
    width: 100%;
  }

  .what-is ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .what-is li {
    list-style: none;
    padding: 0;
  }

  .what-is li::marker,
  .what-is li::before {
    content: none;
    display: none;
    padding: 0;
  }
}

@media (min-width: 821px) and (max-width: 1200px) {
  .vault-overlay {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-it-works .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1201px) {
  .vault-overlay {
    grid-template-columns: repeat(3, 1fr);
  }

  .how-it-works .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}