/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #343541;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  position: relative;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
  padding: 0 20px;
  flex: 1;
}

/* Header */
.header {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.logo {
  width: 100px;
  height: auto;
  cursor: pointer;
}

/* Hero Section (index.html, media_kit.html) */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 10px 0;
}

.hero-image {
  max-width: 450px;
  height: auto;
  margin-bottom: 20px;
}

.description {
  text-align: center;
  margin-top: 20px;
  line-height: 1.5;
  max-width: 600px;
  font-size: 16px;
  color: #d1d5db;
}

/* Ticker (index.html, media_kit.html) */
.ticker {
  width: 100vw;
  overflow: hidden;
  background-color: #2a2d3d;
  margin: 20px 0 0;
  padding: 5px 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.ticker-content {
  display: flex;
  animation: ticker 37s linear infinite;
  white-space: nowrap;
  padding: 0 10px;
}

.ticker-text {
  color: #f7931a;
  font-size: 26.4px;
  padding: 0 20px;
  display: inline-block;
}

.ticker-content .ticker-text + .ticker-text {
  margin-left: 20px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-300%); }
}

/* IP Rights Page */
.title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #FF9900;
  margin-bottom: 20px;
}

.content {
  padding: 20px 0;
  line-height: 1.6;
  font-size: 16px;
  color: #d1d5db;
}

.back-link {
  text-align: center;
  margin: 20px 0;
}

.back-link img {
  max-width: 350px;
  height: auto;
  cursor: pointer;
}

/* Media Kit Page */
.hero-title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #f7931a;
  margin-bottom: 20px;
}

.blocks-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.block {
  text-align: center;
  padding: 20px;
  background-color: #2a2d3d;
  border-radius: 10px;
  max-width: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.block h3 {
  font-size: 24px;
  color: #f7931a;
  margin-bottom: 10px;
}

.block p {
  font-size: 14px;
  color: #d1d5db;
  margin-bottom: 10px;
  flex-grow: 1;
}

.button-container {
  margin-top: 10px;
}

.download-button,
.see-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f7931a;
  color: #2a2d3d;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.download-button:hover,
.see-button:hover {
  background-color: #e07c00;
}

/* NFT Pass Section */
.check-nftpass-container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  background-color: #2a2d3d;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.nftpass-image {
  flex: 1;
  text-align: center;
}

.nftpass-image img {
  max-width: 70%;
  height: auto;
  image-rendering: pixelated;
  background-color: transparent;
}

.nftpass-check-form {
  flex: 1;
  padding: 20px;
  text-align: center;
}

.nftpass-check-form h2 {
  font-size: 2em;
  color: #f7931a;
  margin-bottom: 10px;
  font-family: 'Press Start 2P', monospace;
}

.nftpass-check-form p {
  font-size: 1em;
  color: #d1d5db;
  margin-bottom: 10px;
}

.nftpass-input {
  padding: 10px;
  width: 70%;
  margin-bottom: 10px;
  margin-top: 20px;
  border: 2px solid #f7931a;
  border-radius: 5px;
  background-color: #343541;
  color: #ffffff;
}

.check-nftpass-button {
  padding: 10px 20px;
  background-color: #f7931a;
  color: #2a2d3d;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Press Start 2P', monospace;
}

.check-nftpass-button:hover {
  background-color: #e07c00;
}

.nftpass-status {
  width: 80%;
  margin: 20px auto;
  border-collapse: collapse;
}

.nftpass-status th,
.nftpass-status td {
  border: 1px solid #f7931a;
  padding: 10px;
  text-align: center;
  color: #d1d5db;
}

.nftpass-status th {
  background-color: #f7931a;
  color: #2a2d3d;
}

/* Check Dino Section */
.check-dino-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #2a2d3d;
  margin: 20px 0;
  border-radius: 10px;
}

.dino-image {
  flex: 1;
}

.dino-img {
  max-width: 70%;
  height: auto;
}

.dino-check-form {
  flex: 1;
  padding: 20px;
  text-align: center;
}

.dino-check-form h2 {
  font-size: 2em;
  color: #f7931a;
  margin-bottom: 10px;
}

.dino-check-form p {
  font-size: 1em;
  color: #d1d5db;
  margin-bottom: 10px;
}

.dino-input {
  padding: 10px;
  width: 70%;
  margin-bottom: 10px;
  margin-top: 20px;
  border: 2px solid #f7931a;
  border-radius: 5px;
  background-color: #343541;
  color: #ffffff;
}

.check-button {
  padding: 10px 20px;
  background-color: #f7931a;
  color: #2a2d3d;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.check-button:hover {
  background-color: #e07c00;
}

.dino-status {
  width: 80%;
  margin: 20px auto;
  border-collapse: collapse;
}

.dino-status th,
.dino-status td {
  border: 1px solid #f7931a;
  padding: 10px;
  text-align: center;
  color: #d1d5db;
}

.dino-status th {
  background-color: #f7931a;
  color: #2a2d3d;
}

/* Footer */
.footer {
  background-color: #343541;
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 50px;
  height: auto;
}

.x-logo {
  width: 30px;
  height: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px 0;
}

.ip-rights,
.media-kit {
  color: #ffffff;
  text-decoration: underline;
  cursor: pointer;
  font-size: 12px;
}

.ip-rights:hover,
.media-kit:hover {
  color: #cccccc;
}

.horizontal-line {
  border: 1px solid #ffffff;
  margin: 10px 0;
}

.copyright {
  font-size: 12px;
  color: #cccccc;
}

/* Loader */
.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #000;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design - Unified */
@media (max-width: 768px) {

  /* Header */
  .logo {
    width: 70px;
  }

  /* Hero Section */
  .hero-image {
    max-width: 300px;
  }

  /* General description text */
  .description {
    font-size: 14px;
    max-width: 90%;
  }

  /* Ticker */
  .ticker {
    margin: 10px 0 0;
  }

  .ticker-text {
    font-size: 19.8px;
  }

  /* IP Rights */
  .title {
    font-size: 36px;
  }

  .content {
    font-size: 14px;
  }

  .back-link img {
    max-width: 350px;
  }

  /* Media Kit */
  .hero-title {
    font-size: 28px;
  }

  .blocks-container {
    flex-direction: column;
    align-items: center;
  }

  .block {
    max-width: 90%;
    min-height: 200px;
  }

  /* Footer */
  .footer-logo {
    width: 40px;
  }

  .x-logo {
    width: 25px;
  }

  .footer-links {
    gap: 15px;
  }

  .ip-rights,
  .media-kit {
    font-size: 11px;
  }

  /* Container */
  .container {
    padding: 0 10px;
  }

  /* Check Dino Section */
  .check-dino-container {
    flex-direction: column;
    text-align: center;
  }

  .dino-image {
    margin-bottom: 20px;
  }

  .dino-check-form {
    padding: 10px;
  }

  .dino-input {
    width: 90%;
  }

  .dino-status {
    width: 100%;
  }

  /* Check NFT Pass Section */
  .check-nftpass-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .nftpass-input {
    width: 90%;
  }

  .nftpass-status {
    width: 100%;
  }

  .nftpass-image img {
    max-width: 90%;
    height: auto;
    max-height: 300px; /* prevents excessive vertical size */
    margin: 0 auto;
    image-rendering: pixelated;
  }
}
