/* ====================================
   АДАПТИВНЫЕ ИСПРАВЛЕНИЯ ДЛЯ NOT PUNKS
   ==================================== */

/* PROFILE SECTION */
.profile {
  padding: clamp(80px, 12vw, 150px) 0 clamp(200px, 30vw, 480px);
}

.profile-text {
  width: 100%;
  max-width: 1070px;
  font-family: "EightBits";
  font-weight: 500;
  font-size: clamp(32px, 6.5vw, 85px);
  line-height: 1.1;
  text-align: center;
  color: #ffffff;
  margin: 0 auto;
  word-break: break-word;
}

@media (max-width: 768px) {
  .profile-text {
    font-size: clamp(28px, 7vw, 56px);
  }
}

@media (max-width: 576px) {
  .profile-text {
    font-size: clamp(24px, 6vw, 40px);
  }
}

/* HOW TO GET SECTION */
.how-to-get {
  padding: clamp(50px, 7vw, 80px) 0 clamp(70px, 10vw, 145px);
}

.how-to-get-title {
  font-family: "EightBits";
  font-weight: 500;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: clamp(60px, 12vw, 160px);
  text-align: center;
}

@media (max-width: 992px) {
  .how-to-get-title {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .how-to-get-title {
    font-size: clamp(36px, 9vw, 64px);
    margin-bottom: 60px;
  }
}

.how-to-get__inner {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding-left: clamp(0px, 10vw, 140px);
}

@media (max-width: 992px) {
  .how-to-get__inner {
    max-width: 100%;
    padding-left: 0;
  }
}

.how-to-get-item {
  display: flex;
  align-items: flex-start;
  min-height: auto;
}

.how-to-get-item + .how-to-get-item {
  margin-top: clamp(50px, 7vw, 70px);
}

.how-to-get-item--last {
  min-height: auto;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.how-to-get-item__num {
  width: clamp(40px, 4vw, 56px);
  height: clamp(40px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: clamp(20px, 3vw, 40px);
  border: 1px solid #fff;
  border-radius: 100%;
  flex-shrink: 0;
  position: relative;
}

.how-to-get-item__num::after {
  content: "";
  display: block;
  width: 1px;
  height: clamp(200px, 25vw, 235px);
  background-color: #474747;
  position: absolute;
  bottom: calc(-1 * clamp(210px, 25vw, 250px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.how-to-get-item__num--last::after {
  content: none;
}

.how-to-get-item__num img {
  width: 60%;
  height: auto;
}

.how-to-get-item__content {
  padding-top: clamp(5px, 1vw, 15px);
  flex: 1;
}

.how-to-get-item__title {
  font-family: "EightBits";
  font-weight: 500;
  font-size: clamp(32px, 5vw, 66px);
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: clamp(15px, 2.5vw, 28px);
}

@media (max-width: 576px) {
  .how-to-get-item__title {
    font-size: clamp(28px, 6vw, 44px);
  }
}

.how-to-get-item__text {
  font-weight: 400;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.how-to-get-item__text a {
  text-decoration: underline;
  color: #4191f7;
  word-break: break-word;
}

.how-to-get-item__text a:hover {
  transition: all 0.2s linear;
  text-decoration: none;
}

.how-to-get-btn {
  padding-left: clamp(0px, 8vw, 96px);
  text-align: center;
}

@media (max-width: 992px) {
  .how-to-get-btn {
    padding-left: 0;
  }
}

/* JOIN SECTION */
.join {
  padding: clamp(70px, 12vw, 145px) 0 clamp(150px, 25vw, 310px);
}

.join__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 7vw, 100px);
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .join__inner {
    flex-direction: column;
  }
}

.join-title {
  font-family: "EightBits";
  font-weight: 500;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-right: 0;
  text-align: center;
}

@media (max-width: 992px) {
  .join-title {
    margin-right: 0;
    margin-bottom: 0;
  }
}

.join-title span {
  font-size: clamp(32px, 4.5vw, 56px);
}

.join-title br {
  display: block;
}

@media (max-width: 576px) {
  .join-title br {
    display: none;
  }
}

.join-btn {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55556;
  letter-spacing: -0.02em;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 63px;
  backdrop-filter: blur(36.5px);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px clamp(40px, 6vw, 80px) 11px 12px;
  transition: all 0.2s linear;
  position: relative;
  min-height: 44px;
}

.join-btn svg {
  margin-right: clamp(30px, 5vw, 60px);
  flex-shrink: 0;
  width: clamp(36px, 3vw, 46px);
  height: clamp(36px, 3vw, 46px);
}

.join-btn:hover {
  border-color: #fff;
  transition: all 0.2s linear;
}

.join-btn::after {
  content: url("../../img/cursor.svg");
  position: absolute;
  right: 0;
  bottom: -35px;
  z-index: 1;
}

@media (max-width: 768px) {
  .join-btn {
    width: 100%;
    max-width: 350px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .join-btn::after {
    display: none;
  }
}

/* FOOTER */
.footer {
  padding: clamp(30px, 4vw, 47px) 0;
  border-radius: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) 0 0;
  background-color: #141414;
}

.footer__inner {
  width: 100%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-logo {
  margin-bottom: clamp(15px, 2vw, 22px);
  max-width: clamp(120px, 12vw, 160px);
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-text {
  font-weight: 400;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.8;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.45;
}

/* BREEDING MECHANICS - КРИТИЧЕСКИ ВАЖНАЯ СЕКЦИЯ */
.breeding-mechanics {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(180deg, rgba(255,0,222,0.03) 0%, rgba(65,145,247,0.03) 100%);
  position: relative;
  overflow: hidden;
}

.breeding-title {
  font-family: "EightBits";
  font-weight: 500;
  font-size: clamp(44px, 8vw, 100px);
  line-height: 1;
  text-align: center;
  color: #ffffff;
  margin-bottom: clamp(15px, 2vw, 20px);
}

.breeding-subtitle {
  text-align: center;
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(255,255,255,0.7);
  margin-bottom: clamp(40px, 5vw, 60px);
}

.breeding-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* BREEDING VIDEO */
.breeding-video {
  margin-bottom: clamp(40px, 5vw, 60px);
  text-align: center;
}

.breeding-video__player {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: clamp(15px, 2.5vw, 30px);
  border: clamp(2px, 0.3vw, 3px) solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(65,145,247,0.3);
  transition: all 0.3s ease;
}

.breeding-video__player:hover {
  border-color: rgba(65,145,247,0.5);
  box-shadow: 0 25px 70px rgba(0,0,0,0.6), 0 0 60px rgba(65,145,247,0.5);
  transform: translateY(-5px);
}

@media (max-width: 576px) {
  .breeding-video__player {
    border-radius: 15px;
    border-width: 2px;
  }
}

.breeding-hero {
  text-align: center;
  margin-bottom: clamp(35px, 5vw, 50px);
}

.breeding-hero-text {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  max-width: 800px;
  margin: clamp(20px, 3vw, 30px) auto 0;
}

/* BREEDING STEPS */
.breeding-how-to {
  margin-bottom: clamp(40px, 5vw, 60px);
}

.breeding-how-to__title {
  font-family: "EightBits";
  font-size: clamp(32px, 4vw, 48px);
  color: #ffffff;
  text-align: center;
  margin-bottom: clamp(30px, 4vw, 50px);
}

.breeding-how-to__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 30px);
}

@media (max-width: 768px) {
  .breeding-how-to__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.breeding-step {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: clamp(15px, 2vw, 25px);
  padding: clamp(25px, 3.5vw, 40px);
  position: relative;
  transition: all 0.3s ease;
}

.breeding-step:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.breeding-step__number {
  position: absolute;
  top: clamp(15px, 2vw, 20px);
  left: clamp(15px, 2vw, 20px);
  width: clamp(40px, 4vw, 50px);
  height: clamp(40px, 4vw, 50px);
  background: linear-gradient(135deg, rgba(65,145,247,0.3), rgba(255,0,222,0.3));
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "EightBits";
  font-size: clamp(20px, 2.5vw, 28px);
  color: #ffffff;
}

.breeding-step__content {
  margin-top: clamp(15px, 2vw, 20px);
}

.breeding-step__title {
  font-family: "EightBits";
  font-size: clamp(20px, 2.2vw, 28px);
  color: #ffffff;
  margin-bottom: clamp(12px, 1.5vw, 15px);
}

.breeding-step__text {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: clamp(15px, 2vw, 20px);
}

.breeding-step__example {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 15px);
  padding: clamp(15px, 2vw, 20px);
  background: rgba(255,255,255,0.05);
  border-radius: clamp(10px, 1.2vw, 15px);
  flex-wrap: wrap;
}

.example-nft {
  font-family: "EightBits";
  font-size: clamp(13px, 1.3vw, 18px);
  color: #4191f7;
  padding: clamp(6px, 0.8vw, 8px) clamp(12px, 1.2vw, 15px);
  background: rgba(65,145,247,0.1);
  border: 1px solid rgba(65,145,247,0.3);
  border-radius: clamp(8px, 1vw, 10px);
}

.example-plus {
  font-family: "EightBits";
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255,255,255,0.5);
}

/* GENESIS BOT BUTTON */
.breeding-bot-button {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 15px);
  padding: clamp(15px, 2vw, 20px) clamp(20px, 2.5vw, 25px);
  background: linear-gradient(135deg, rgba(65,145,247,0.15) 0%, rgba(0,136,254,0.15) 100%);
  border: 2px solid rgba(65,145,247,0.3);
  border-radius: clamp(15px, 2vw, 20px);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 44px;
}

.breeding-bot-button:hover {
  border-color: rgba(65,145,247,0.6);
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(65,145,247,0.3);
}

.bot-icon {
  font-size: clamp(32px, 3.5vw, 42px);
  flex-shrink: 0;
}

.bot-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  text-align: left;
}

.bot-name {
  font-family: "EightBits";
  font-size: clamp(15px, 1.5vw, 20px);
  color: #4191f7;
  display: block;
  word-break: break-word;
}

.bot-action {
  font-size: clamp(13px, 1.2vw, 16px);
  color: rgba(255,255,255,0.6);
  display: block;
}

.bot-arrow {
  font-family: "EightBits";
  font-size: clamp(24px, 3vw, 32px);
  color: rgba(255,255,255,0.4);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.breeding-bot-button:hover .bot-arrow {
  color: #4191f7;
  transform: translateX(5px);
}

.breeding-icon-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 15px);
  font-size: clamp(36px, 5vw, 64px);
  flex-wrap: wrap;
}

.breeding-plus,
.breeding-arrow {
  font-family: "EightBits";
  font-size: clamp(20px, 2.5vw, 32px);
  color: rgba(255,255,255,0.5);
}

/* BREEDING RULES GRID */
.breeding-rules {
  margin-bottom: clamp(35px, 5vw, 50px);
}

.breeding-rules-title {
  font-family: "EightBits";
  font-size: clamp(32px, 4vw, 48px);
  color: #ffffff;
  text-align: center;
  margin-bottom: clamp(30px, 4vw, 40px);
}

.breeding-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 25px);
}

@media (max-width: 768px) {
  .breeding-rules-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.breeding-rule-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: clamp(15px, 2vw, 20px);
  padding: clamp(20px, 3vw, 30px);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.breeding-rule-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.breeding-rule-card--queen {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255,215,0,0.15) 0%, rgba(255,0,222,0.15) 100%);
  border: 3px solid rgba(255,215,0,0.5);
}

.breeding-rule-icon {
  font-size: clamp(42px, 4.5vw, 56px);
  margin-bottom: clamp(12px, 1.5vw, 15px);
}

.breeding-rule-title {
  font-family: "EightBits";
  font-size: clamp(16px, 1.5vw, 20px);
  color: #ffffff;
  margin-bottom: clamp(8px, 1vw, 10px);
}

.breeding-rule-value {
  font-family: "EightBits";
  font-size: clamp(28px, 3vw, 36px);
  color: #4191f7;
  margin-bottom: clamp(8px, 1vw, 10px);
}

.breeding-rule-card--queen .breeding-rule-value {
  color: #ffd700;
  font-size: clamp(32px, 4vw, 48px);
}

.breeding-rule-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* BREEDING CTA */
.breeding-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: clamp(15px, 2.5vw, 25px);
  padding: clamp(25px, 4vw, 40px);
}

.breeding-cta-text {
  font-family: "EightBits";
  font-size: clamp(18px, 2vw, 24px);
  color: #ffffff;
  margin-bottom: clamp(20px, 2.5vw, 25px);
}

.breeding-cta-buttons {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .breeding-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .breeding-cta-buttons .bttn {
    margin-left: 0 !important;
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 576px) {
  .breeding-cta-buttons .bttn {
    max-width: 320px;
  }
}

@media (max-width: 425px) {
  .breeding-cta-buttons .bttn {
    max-width: 100%;
  }
}

/* COLLECTIONS SHOWCASE */
.collections-showcase {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0) 100%);
}

.collections-title {
  font-family: "EightBits";
  font-weight: 500;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 1;
  text-align: center;
  color: #ffffff;
  margin-bottom: clamp(15px, 2vw, 20px);
}

.collections-subtitle {
  text-align: center;
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(255,255,255,0.7);
  margin-bottom: clamp(50px, 7vw, 80px);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(25px, 3.5vw, 40px);
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

.collection-card {
  perspective: 1500px;
  height: clamp(450px, 45vw, 550px);
  cursor: pointer;
}

@media (max-width: 768px) {
  .collection-card {
    height: 500px;
  }
}

@media (max-width: 576px) {
  .collection-card {
    height: 480px;
  }
}

@media (max-width: 425px) {
  .collection-card {
    height: 450px;
  }
}

.collection-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.collection-card:hover .collection-card__inner {
  transform: rotateY(180deg);
}

.collection-card__front,
.collection-card__back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: clamp(15px, 2.5vw, 30px);
  padding: clamp(25px, 4vw, 40px);
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.collection-card__back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(65,145,247,0.15) 0%, rgba(255,0,222,0.15) 100%);
  border-color: rgba(255,255,255,0.3);
}

.collection-card__image-stack {
  position: relative;
  width: clamp(150px, 18vw, 200px);
  height: clamp(150px, 18vw, 200px);
  margin-bottom: clamp(20px, 3vw, 30px);
}

.stack-img {
  position: absolute;
  width: clamp(130px, 16vw, 180px);
  height: clamp(130px, 16vw, 180px);
  border-radius: clamp(12px, 1.5vw, 20px);
  border: 3px solid rgba(255,255,255,0.3);
  transition: all 0.5s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.collection-card__badge {
  font-family: "EightBits";
  font-size: clamp(14px, 1.3vw, 18px);
  background: rgba(255,255,255,0.2);
  padding: clamp(6px, 0.8vw, 8px) clamp(15px, 2vw, 20px);
  border-radius: 50px;
  margin-bottom: clamp(15px, 2vw, 20px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}

.collection-card__title {
  font-family: "EightBits";
  font-size: clamp(24px, 2.8vw, 32px);
  color: #ffffff;
  margin-bottom: clamp(8px, 1vw, 10px);
  text-align: center;
}

.collection-card__count {
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255,255,255,0.7);
  margin-bottom: clamp(15px, 2vw, 20px);
}

.collection-card__hover-hint {
  font-family: "EightBits";
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255,255,255,0.5);
  animation: pulse 2s ease-in-out infinite;
}

.collection-card__back-title {
  font-family: "EightBits";
  font-size: clamp(22px, 2.5vw, 28px);
  color: #ffffff;
  margin-bottom: clamp(15px, 2vw, 20px);
  text-align: center;
}

.collection-card__description {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.collection-card__stats {
  display: flex;
  gap: clamp(20px, 3vw, 30px);
  margin-bottom: clamp(20px, 3vw, 30px);
}

.mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(12px, 1.5vw, 15px) clamp(20px, 2.5vw, 25px);
  background: rgba(255,255,255,0.1);
  border-radius: clamp(10px, 1.2vw, 15px);
  backdrop-filter: blur(10px);
}

.mini-stat__value {
  font-family: "EightBits";
  font-size: clamp(20px, 2.2vw, 24px);
  color: #ffffff;
  margin-bottom: 5px;
}

.mini-stat__label {
  font-size: clamp(12px, 1vw, 14px);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile flip on tap */
@media (max-width: 768px) {
  .collection-card__inner.mobile-flipped {
    transform: rotateY(180deg);
  }

  .collection-card:hover .collection-card__inner {
    transform: none;
  }

  .collection-card__inner.mobile-flipped:hover {
    transform: rotateY(180deg);
  }
}

/* FEATURES SECTION */
.features {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.02) 100%);
}

.features-title {
  font-family: "EightBits";
  font-weight: 500;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 1;
  text-align: center;
  color: #ffffff;
  margin-bottom: clamp(15px, 2vw, 20px);
}

.features-subtitle {
  text-align: center;
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(255,255,255,0.7);
  margin-bottom: clamp(50px, 7vw, 80px);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 30px);
}

@media (max-width: 1200px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: clamp(12px, 1.5vw, 20px);
  padding: clamp(25px, 3.5vw, 40px) clamp(20px, 3vw, 30px);
  text-align: center;
  transition: all 0.3s ease;
  min-height: 44px;
}

.feature-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-5px);
}

.feature-card__icon {
  font-size: clamp(48px, 5vw, 64px);
  margin-bottom: clamp(15px, 2vw, 20px);
}

.feature-card__title {
  font-family: "EightBits";
  font-size: clamp(20px, 2vw, 24px);
  color: #ffffff;
  margin-bottom: clamp(12px, 1.5vw, 15px);
}

.feature-card__text {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

/* FAQ SECTION */
.faq {
  padding: clamp(60px, 8vw, 100px) 0;
}

.faq-title {
  font-family: "EightBits";
  font-weight: 500;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 1;
  text-align: center;
  color: #ffffff;
  margin-bottom: clamp(50px, 7vw, 80px);
}

.faq__inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: clamp(10px, 1.2vw, 15px);
  margin-bottom: clamp(15px, 2vw, 20px);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255,255,255,0.2);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(18px, 2.5vw, 25px) clamp(20px, 3vw, 30px);
  cursor: pointer;
  font-family: "EightBits";
  font-size: clamp(18px, 2.2vw, 28px);
  color: #ffffff;
  user-select: none;
  /* Touch область минимум 44px */
  min-height: 44px;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  margin-left: clamp(15px, 2vw, 20px);
  width: clamp(20px, 2vw, 24px);
  height: clamp(20px, 2vw, 24px);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer p {
  padding: 0 clamp(20px, 3vw, 30px) clamp(20px, 2.5vw, 25px);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

/* SCROLL TO TOP */
#scrollToTop {
  position: fixed;
  bottom: clamp(15px, 2vw, 20px);
  right: clamp(15px, 2vw, 20px);
  width: clamp(44px, 4vw, 50px);
  height: clamp(44px, 4vw, 50px);
  background-color: #000;
  color: #fff;
  text-align: center;
  font-size: clamp(20px, 2.2vw, 24px);
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: all 0.2s linear;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

#scrollToTop:hover {
  transition: all 0.2s linear;
  background-color: #555;
}

/* CUSTOM CURSOR - Отключение на touch-устройствах */
@media (hover: none) and (pointer: coarse) {
  body,
  body *,
  a,
  button,
  input,
  textarea,
  select,
  .gallery-filter,
  .faq-item__question,
  .bttn,
  .collection-card,
  .feature-card,
  .stat-card {
    cursor: auto !important;
  }

  .custom-cursor {
    display: none !important;
  }
}

/* ОПТИМИЗАЦИЯ ПРОИЗВОДИТЕЛЬНОСТИ */
@media (max-width: 768px) {
  /* Отключение parallax на мобильных */
  .rellax {
    transform: none !important;
  }

  /* Упрощение анимаций */
  * {
    animation-duration: 0.5s !important;
    transition-duration: 0.2s !important;
  }
}

/* SAFE AREA для iPhone с вырезом */
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .header__inner,
  .container {
    padding-left: max(15px, env(safe-area-inset-left));
    padding-right: max(15px, env(safe-area-inset-right));
  }
}

/* ИСПРАВЛЕНИЕ TYPED TEXT / INTRO TITLE */
.typed-text {
  font-family: "EightBits";
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
  color: #ffffff;
  position: relative;
  display: inline-block;
  word-spacing: 9999px; /* Принудительный перенос слов */
}

/* Дополнительные исправления для intro-title */
@media (max-width: 768px) {
  .intro-title {
    line-height: 1.3 !important;
    word-spacing: normal;
    letter-spacing: -0.02em;
  }

  .typed-text {
    word-spacing: normal;
    display: block;
    line-height: 1.3;
  }
}

@media (max-width: 576px) {
  .intro-title {
    line-height: 1.4 !important;
    padding: 0 5px;
  }

  .typed-text {
    line-height: 1.4;
  }
}

@media (max-width: 425px) {
  .intro-title {
    line-height: 1.5 !important;
  }

  .typed-text {
    line-height: 1.5;
  }
}

@media (max-width: 375px) {
  .intro-title {
    line-height: 1.6 !important;
  }

  .typed-text {
    line-height: 1.6;
  }
}

/* ОРИЕНТАЦИЯ LANDSCAPE для мобильных */
@media (max-width: 992px) and (orientation: landscape) {
  .intro {
    padding: 30px 0;
  }

  .intro-title {
    font-size: clamp(36px, 8vw, 64px);
    margin-bottom: 20px;
    line-height: 1.4 !important;
  }

  .intro-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .intro-btn {
    gap: 10px;
  }

  .header__inner {
    padding: 15px 0;
  }
}

/* УЛУЧШЕНИЕ ЧИТАЕМОСТИ ТЕКСТА */
@media (max-width: 768px) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
}

/* ====================================
   MOBILE EASTER CONSOLE
   ==================================== */

/* Mobile console - only visible on mobile */
#mobile-easter-console {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

#mobile-easter-console input {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Hide console on desktop */
@media (min-width: 769px) {
  #mobile-easter-console {
    display: none !important;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  #mobile-easter-console {
    height: 60px;
    padding: 0 12px;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  #mobile-easter-console input {
    font-size: 15px;
  }

  #console-counter {
    font-size: 13px;
  }
}

@media (max-width: 425px) {
  #mobile-easter-console {
    height: 56px;
    padding: 0 10px;
    gap: 8px;
  }

  #mobile-easter-console > div:first-child {
    font-size: 18px !important;
  }

  #mobile-easter-console input {
    font-size: 14px;
  }

  #console-counter {
    font-size: 12px;
  }
}

@media (max-width: 375px) {
  #mobile-easter-console {
    height: 52px;
    gap: 6px;
  }

  #mobile-easter-console input {
    font-size: 13px;
  }

  #console-counter {
    font-size: 11px;
  }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
  #mobile-easter-console {
    -webkit-appearance: none;
    padding-bottom: max(env(safe-area-inset-bottom, 0), 10px);
  }

  #mobile-easter-console input {
    -webkit-appearance: none;
    border-radius: 0;
  }
}

/* Easter egg menu button - Desktop only */
#easter-egg-menu-button {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

/* Hide on mobile - handled in JS */
@media (max-width: 768px) {
  #easter-egg-menu-button {
    display: none !important;
  }
}

/* Easter egg menu panel */
#easter-egg-menu {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  #easter-egg-menu {
    width: calc(100vw - 30px) !important;
    max-width: 360px !important;
    right: -100% !important;
    top: 20px !important;
    bottom: 20px !important;
    transform: none !important;
    max-height: calc(100vh - 40px) !important;
    padding: 20px !important;
  }

  #easter-egg-menu.open {
    right: 15px !important;
  }
}

@media (max-width: 425px) {
  #easter-egg-menu {
    padding: 15px !important;
  }
}

/* Easter egg notifications */
.easter-egg-notification {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  .easter-egg-notification {
    top: 20px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
    font-size: 16px !important;
    padding: 12px 15px !important;
  }

  .easter-egg-notification span {
    font-size: 24px !important;
  }
}

/* Achievement notifications */
.achievement-notification {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  .achievement-notification {
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
    font-size: 16px !important;
    padding: 15px !important;
  }
}

/* Touch feedback for all interactive easter egg elements */
.easter-egg-notification:active,
#easter-egg-menu-button:active,
#mobile-codes-button:active,
#virtual-keyboard-panel button:active {
  opacity: 0.9;
}

/* Prevent text selection on easter egg elements */
#easter-egg-menu-button,
#mobile-codes-button,
#virtual-keyboard-panel,
.easter-egg-notification {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Smooth touch scrolling for easter egg menu */
#easter-egg-menu {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Fix for iOS Safari button rendering */
@supports (-webkit-touch-callout: none) {
  #easter-egg-menu-button,
  #mobile-codes-button,
  #virtual-keyboard-panel button {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
  }
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  #easter-egg-menu-button,
  #mobile-codes-button,
  .easter-egg-notification,
  .achievement-notification {
    animation: none !important;
    transition: none !important;
  }
}
