
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
  background: #000;
  color: #fff;
  
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  text-align: center;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

.navbar a {
  text-decoration: none;
  color: #ffb300;
  font-family: 'Anton', sans-serif;
  transition: background 0.3s;
}

.navbar a.active {
  background: #ffb300;
  color: #000;
  padding: 4px 10px;
  border-radius: 4px;
}

.section {
  border-bottom: 4px solid #ffb300;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 7rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.section-title {
  font-family: 'Bungee', sans-serif;
  font-size: 3rem;
  color: #aaa;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.section-title.active-title {
  color: #ffb300;
}

/* Home */
.home-content {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 15px rgba(255, 179, 0, 0.2);
}

.home-title {
  font-family: 'Bungee', sans-serif;
  font-size: 2.5rem;
  color: #ffb300;
  margin-bottom: 0.5rem;
}

.home-ca {
  font-family: monospace;
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.home-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.home-buttons a {
  font-family: 'Anton', sans-serif;
  background: #ffb300;
  color: #000;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.home-buttons a:hover {
  transform: scale(1.05);
}

/* Gallery */
.section--flat {
  background: #111;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-container {
  width: 100vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 0;
}

.gallery-row {
  display: flex;
  animation-timing-function: linear;
  width: max-content;
}

.gallery-row img {
  width: calc(100vw / 5); /* 6 изображений на ширину */
  height: auto; /* сохраняем соотношение сторон */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 5px;
  border-radius: 12px;
  flex-shrink: 0;
}

.scroll-left {
  animation: scroll-left 30s linear infinite;
}

.scroll-right {
  animation: scroll-right 30s linear infinite;
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Lore */
.section--lore .lore-block {
  max-width: 1100px;
  background: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.lore-chapter {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.lore-chapter img {
  width: 45%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
}

.lore-text {
  flex: 1;
  min-width: 280px;
}

.lore-chapter h3 {
  font-family: 'Bungee', sans-serif;
  color: #ffb300;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.lore-chapter p {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

.lore-chapter blockquote {
  font-style: italic;
  margin-top: 0.8rem;
  padding-left: 1rem;
  border-left: 3px solid #ffb300;
  color: #ffb300;
}

.image-left {
  flex-direction: row;
}
.image-right {
  flex-direction: row-reverse;
}

/* Tokenomics */
.tokenomics-wrapper {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}

.tokenomics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
}

.tokenomics-item {
  background: rgba(0,0,0,0.6);
  padding: 1rem;
  border-radius: 12px;
  width: 200px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.tokenomics-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.tokenomics-item:hover {
  transform: scale(1.05);
}
.section--roadmap {
  background: #944700;
  color: #fff;
  padding: 6rem 2rem 4rem;
  background-color: #944700
}

.section--roadmap {
  color: #944700;
  font-family: 'Bungee', sans-serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.section-title {
  color: #ffb300;
  font-family: 'Bungee', sans-serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
  
}

.lore-chapter {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: rgba(0,0,0,0.4);
  border: 2px solid #ffb300;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 179, 0, 0.2);
  margin-bottom: 3rem;
  transition: all 0.4s ease;
}

.phase-1 { margin-top: 0px; margin-left: 0px; }
.phase-2 { margin-top: 0px; margin-left: 0px; }
.phase-3 { margin-top: 0px; margin-left: 0px; }
.phase-4 { margin-top: 0px; margin-left: 0px; }
.phase-5 { margin-top: 0px; margin-left: 0px; }

.lore-chapter h3 {
  color: #ffb300;
  font-family: 'Bungee', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.lore-chapter ul {
  color: #ddd;
  line-height: 1.7;
  margin-left: 1rem;
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
}

.lore-chapter li {
  margin-bottom: 0.6rem;
}

.lore-chapter img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 179, 0, 0.3);
}

.roadmap-download {
  text-align: center;
  margin-top: 2rem;
}

.download-btn {
  background: #ffb300;
  color: #000;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: bold;
  font-family: 'Anton', sans-serif;
  text-decoration: none;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background: #ffc933;
}


/* ========== Cheese Graph ========== */
.section--graph {
  position: relative;
  background-image: url('cheese-fon-chonkos.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 7rem 2rem 4rem;
}

.section-title {
  font-family: 'Bungee', sans-serif;
  font-size: 3rem;
  color: #ffb300;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  margin-bottom: 2rem;
  z-index: 2;
  position: relative;
  text-align: center;
}

.cheese-iframe-wrapper {
  width: 100%;
  max-width: 80%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.cheese-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}




/* ========== Mobile Adaptation ========== */
@media (max-width: 768px) {

.phase-1 { margin-top: 0px; margin-left: 0px; }
.phase-2 { margin-top: 0px; margin-left: 0px; }
.phase-3 { margin-top: 0px; margin-left: 0px; }
.phase-4 { margin-top: 0px; margin-left: 0px; }
.phase-5 { margin-top: 0px; margin-left: 0px; }

  .navbar ul {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0;
  }

  .section-title {
    font-size: 2rem;
    margin-top: 5rem;
  }

  .home-content {
    padding: 1rem;
    bottom: 3vh;
    max-width: 90%;
  }

  .home-title {
    font-size: 2rem;
  }

  .home-buttons a {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .gallery-row img {
    width: 140px;
    height: 140px;
  }

  .lore-chapter {
    flex-direction: column !important;
    text-align: center;
  }

  .lore-chapter img {
    width: 90%;
    margin: 0 auto;
  }

  .tokenomics-grid {
    flex-direction: column;
    gap: 20px;
  }

  .tokenomics-item {
    width: 90%;
  }

  .roadmap-screen {
    left: 50% !important;
    top: 15% !important;
    transform: translateX(-50%) rotateX(0deg) rotateY(0deg);
    width: 90%;
  }

  .modal-content {
    padding: 1rem;
    font-size: 0.9rem;
    width: 90%;
  }
  .section--graph {
    padding: 5rem 1rem 3rem;
  }

  .cheese-iframe-wrapper {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }
}
@media (max-width: 480px) {

.phase-1 { margin-top: 0px; margin-left: 0px; }
.phase-2 { margin-top: 0px; margin-left: 0px; }
.phase-3 { margin-top: 0px; margin-left: 0px; }
.phase-4 { margin-top: 0px; margin-left: 0px; }
.phase-5 { margin-top: 0px; margin-left: 0px; }

  .navbar ul {
    gap: 0.3rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .home-title {
    font-size: 1.6rem;
  }

  .home-buttons {
    flex-direction: column;
  }

  .gallery-row img {
    width: 110px;
    height: 110px;
  }
  .section--graph {
    padding: 4rem 1rem 2rem;
  }

  .cheese-iframe-wrapper {
    border-radius: 10px;
    aspect-ratio: 9 / 16;
  }
}