body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #111;
}

header {
  background: #000;
  color: white;
  padding: 20px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

.hero {
  background: #111;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.grid-block {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  padding: 40px 20px;
}

.grid-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.grid-block img,
.grid-right img {
  width: 100%;
  height: auto;
  display: block;
}

.gamepass {
  background: #3a3;
  color: white;
  padding: 20px;
}

.features {
  background: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
}

.feature-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.card {
  background: #f26522;
  color: white;
  padding: 20px;
  border-radius: 5px;
  width: 200px;
}

.text-section {
  padding: 60px 20px;
  max-width: 800px;
  margin: auto;
}

.text-section .highlight {
  color: deeppink;
}

.testimonials {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.testimonial-cards {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-top: 20px;
}

.testimonial {
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 15px;
  width: 250px;
  flex: none;
}

.gift {
  display: flex;
  padding: 60px 20px;
  align-items: center;
  justify-content: space-around;
  background: #fff;
  flex-wrap: wrap;
}

.gift-text {
  max-width: 400px;
}

.gift-text h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.gift img {
  width: 300px;
  border-radius: 10px;
  margin-top: 20px;
}

.info-banner {
  background: #e3f2fc;
  padding: 40px 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.info-box {
  max-width: 300px;
  margin: 10px;
}

.left-large {
  flex: 2;
  position: relative;
}

.right-small {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.top-box, .bottom-box {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.left-large img,
.top-box img,
.bottom-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  color: white;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 100%);
}

.overlay.white {
  background: rgba(0, 0, 0, 0.5);
}

.overlay h2,
.overlay h3 {
  margin: 0 0 10px;
}

.overlay p {
  margin: 0;
  font-size: 0.95em;
}

.tag {
  background: #04e617;
  color: black;
  font-weight: bold;
  font-size: 0.8em;
  padding: 4px 8px;
  display: inline-block;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  color: white;
  font-weight: bold;
  text-decoration: underline;
  font-size: 0.9em;
}
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  color: white;
  padding: 15px 40px;
}

.top-nav .logo {
  font-size: 18px;
  font-weight: bold;
}


.menu-icons .icon {
  pointer-events: none;
}
.menu-icons a {
  margin-left: 25px;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.menu-icons a:hover {
  color: #00bd09;
  transform: translateY(-4px) scale(1.1);
}

.menu-icons i {
  pointer-events: none;
}
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #00ff22;
  color: #000;
  font-size: 20px;
  padding: 12px 14px;
  border-radius: 50%;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top:hover {
  opacity: 0.8;
  transform: scale(1.1);
}
.flip-features {
  background: #111;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.flip-title {
  font-size: 36px;
  margin-bottom: 50px;
}

.flip-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.flip-card {
  background: transparent;
  width: 260px;
  height: 300px;
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 200, 0, 0.3);
  backface-visibility: hidden;
}

.flip-front {
  background: #fcb900;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-front i {
  font-size: 40px;
  margin-bottom: 15px;
}

.flip-back {
  background: #fff;
  color: #111;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flip-btn {
  margin-top: 15px;
  display: inline-block;
  padding: 10px 20px;
  background: #fcb900;
  color: #111;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}
.dark-info-block {
  background-color: #202020; /* Тёмный фон */
  color: #fff;
  padding: 60px 20px;
   margin-left: -230px;
}

.dark-info-block h2 {
  color: #32f900;
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}

.dark-info-block p {
  text-align: center;
  color: #ccc;
  max-width: 1200px;
  margin: 0 auto 40px;
  font-size: 16px;
}

.dark-info-block ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
}

.dark-info-block ul li {
  padding: 15px 20px;
  border-bottom: 1px solid #333;
  font-size: 16px;
  position: relative;
  color: #fff;
  width: fit-content;
  max-width: 90%;
}
.dark-info-block ul li:nth-child(even) {
  margin-left: auto;
  text-align: right;
}

/* Нечётные влево */
.dark-info-block ul li:nth-child(odd) {
  margin-left: 0;
  text-align: left;
}

.dark-info-block ul li::before {
  content: "•";
  position: absolute;
  left: -15px;
  color: #f9b000;
  font-size: 20px;
}
.testimonial-slider {
  background: #2e2e2e;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.testimonial-slider h2 {
  font-size: 26px;
  margin-bottom: 40px;
  color: #fffcfc;
}

.slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 25%; /* 4 карточки одновременно */
  max-width: 25%;
  box-sizing: border-box;
  padding: 0 10px;
}

.testimonial {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.testimonial img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.testimonial .stars {
  color: #ffa500;
  font-size: 18px;
  margin-bottom: 10px;
}

.testimonial p {
  font-style: italic;
  color: #444;
  margin-bottom: 15px;
}

.testimonial .user-info {
  font-size: 13px;
  color: #333;
}

.testimonial .g-icon {
  width: 20px;
  position: absolute;
  top: 20px;
  right: 20px;
}
.icon-avatar {
  width: 50px;
  height: 50px;
  background: #fcb900;
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
}
.g-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 18px;
  color: #fbbc04;
}
.dark-banner-section {
  display: flex;
  flex-wrap: wrap;
  background-color: #111;
  color: #fff;
  padding: 80px 0;
}

.banner-text {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.banner-text h2 {
  font-size: 48px;
  font-weight: bold;
  color: #15f900;
  margin-bottom: 20px;
}

.banner-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 30px;
}

.gift-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #29f900;
  color: #111;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.gift-btn:hover {
  background-color: #ffc933;
  color: #000;
}

.banner-image {
  flex: 1;
  overflow: hidden;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guarantee-block {
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 8px;
}

.guarantee-block h2 {
  font-size: 24px;
  color: #f9b000;
  margin-bottom: 40px;
}

.guarantee-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.guarantee-item {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 30px;
  max-width: 320px;
  flex: 1 1 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.guarantee-item .icon {
  font-size: 32px;
  color: #f9b000;
  margin-bottom: 15px;
}

.guarantee-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.guarantee-item p {
  font-size: 15px;
  color: #ccc;
  margin-bottom: 15px;
}

.guarantee-item a {
  font-size: 14px;
  color: #f9b000;
  text-decoration: none;
  transition: 0.3s ease;
}

.guarantee-item a:hover {
  text-decoration: underline;
}
section.guarantee-block {
  border-radius: 0 !important;
}
.site-footer {
  background-color: #111;
  color: #ccc;
  padding: 50px 20px 30px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  flex: 1 1 250px;
  color: #fcb900;
}

.footer-logo i {
  font-size: 28px;
  margin-right: 8px;
}

.footer-logo span {
  font-size: 20px;
  font-weight: bold;
}

.footer-logo .tagline {
  font-size: 13px;
  color: #aaa;
  margin-top: 8px;
}

.footer-columns {
  display: flex;
  flex: 2 1 600px;
  gap: 40px;
  justify-content: flex-end;
}

.footer-column h4 {
  font-size: 16px;
  color: #fcb900;
  margin-bottom: 12px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 20px;
  color: #666;
}
.footer-logo img {
  width: 36px;
  height: auto;
  vertical-align: middle;
  margin-right: 10px;
  display: inline-block;
}
.footer-logo span {
  vertical-align: middle;
  font-size: 20px;
  font-weight: bold;
  color: #fcb900;
}

.triple-section {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.left-large {
  flex: 2;
  position: relative;
}

.right-small {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.top-box, .bottom-box {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.left-large img,
.top-box img,
.bottom-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  color: white;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 100%);
}

.overlay.white {
  background: rgba(0, 0, 0, 0.5);
}

.overlay h2,
.overlay h3 {
  margin: 0 0 10px;
}

.overlay p {
  margin: 0;
  font-size: 0.95em;
}

.tag {
  background: #00f800;
  color: black;
  font-weight: bold;
  font-size: 0.8em;
  padding: 4px 8px;
  display: inline-block;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  color: white;
  font-weight: bold;
  text-decoration: underline;
  font-size: 0.9em;
}
.footer-socials {
  text-align: center;
  margin: 40px 0 10px;
}

.footer-socials a {
  display: inline-block;
  margin: 0 12px;
  color: #fcb900;
  font-size: 22px;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #fff;
}
.gameplay-section {
  background-color: #181818;
  color: #fff;
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #f9b000;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #aaa;
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto 60px;
}

.gameplay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 40px;
  align-items: center;
}

.gameplay-text-block h3 {
  font-size: 20px;
  color: #f9b000;
  margin-bottom: 10px;
}

.gameplay-text-block p {
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
}

.gameplay-image-block img {
  width: 90%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(249, 176, 0, 0.15);
  transition: transform 0.3s ease;
}

.gameplay-image-block img:hover {
  transform: scale(1.03);
}

.gameplay-image-block.reverse {
  grid-column: 1 / 2;
  justify-self: end;
}

@media (max-width: 900px) {
  .gameplay-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gameplay-image-block.reverse {
    grid-column: auto;
    justify-self: center;
  }

  .gameplay-image-block img {
    width: 100%;
    max-width: 100%;
  }
}
.about-company {
  position: relative;
  overflow: hidden;
}

.about-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  z-index: 1;
}

.about-company .content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}


.about-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: #ffffff;
}
.stats-block {
  background-color: #202020;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.stats-block h2 {
  font-size: 30px;
  color: #f9b000;
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  justify-items: center;
}

.stat-card {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.08);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.05);
}

.stat-card i {
  font-size: 30px;
  color: #f9b000;
  margin-bottom: 10px;
}

.stat-card h3 {
  font-size: 24px;
  margin: 0;
}

.stat-card p {
  font-size: 14px;
  color: #ccc;
}
.gallery-section {
  background: #111;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.gallery-section h2 {
  font-size: 28px;
  color: #f9b000;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}


.gallery-item {
  background-color: #1f1f1f;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}


.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 200px; /* можно изменить на нужную высоту */
  object-fit: cover; /* обрезает изображение по размеру, без искажения */
  display: block;
}

.gallery-item p {
  padding: 15px 10px;
  font-size: 15px;
  color: #ccc;
  text-align: center;
  margin: 0;
}
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background-color: #1e1e1e;
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.cookie-banner button {
  background-color: #1df900;
  color: #111;
  border: none;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-banner button:hover {
  background-color: #ffcc33;
}
.agreement-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: #181818;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.side-line {
  width: 4px;
  background-color: #f9b000;
  height: 100%;
  position: absolute;
  top: 0;
}

.left-line {
  left: 0;
}

.right-line {
  right: 0;
}

.agreement-content {
  max-width: 700px;
  color: #ddd;
  z-index: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.agreement-content h2 {
  color: #f9b000;
  font-size: 26px;
  margin-bottom: 20px;
}
.join-block {
  background: linear-gradient(to right, #111, #1a1a1a);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.join-container {
  max-width: 800px;
  margin: 0 auto;
}

.join-block h2 {
  font-size: 36px;
  color: #f9bd00;
  margin-bottom: 20px;
}

.join-block p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 40px;
}

.join-btn {
  background: #f9bd00;
  color: #000;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.join-btn:hover {
  background: #d9a700;
}
/* === Адаптация для планшетов === */
@media (max-width: 1024px) {
  .grid-block {
    grid-template-columns: 1fr !important;
    padding: 20px 15px !important;
    gap: 20px !important;
  }
  .gift {
    flex-direction: column !important;
    padding: 40px 15px !important;
  }
  .gift img {
    width: 80% !important;
    margin: 30px auto 0 !important;
  }
}

/* === Адаптация для мелких планшетов / больших телефонов === */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .top-nav {
    flex-direction: column !important;
    padding: 15px 20px !important;
    gap: 15px !important;
  }
  .menu-icons a {
    margin-left: 15px !important;
    font-size: 18px !important;
  }
  .feature-cards,
  .flip-cards,
  .guarantee-content,
  .footer-columns,
  .testimonial-cards {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  .testimonial-cards {
    overflow-x: scroll !important;
    gap: 15px !important;
  }
  .testimonial-cards > .testimonial {
    flex: 0 0 80% !important;
    max-width: 80% !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 15px !important;
  }
  .gallery-item {
    max-width: 100% !important;
  }
  .join-block h2 {
    font-size: 26px !important;
  }
  .join-block p {
    font-size: 14px !important;
  }
  .join-btn {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }
}

/* === Адаптация для смартфонов === */
@media (max-width: 600px) {
  /* Общие отступы */
  body {
    padding: 0 10px !important;
  }

  /* Навигация */
  nav,
  .top-nav {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px !important;
  }
  nav a,
  .menu-icons a {
    margin: 5px !important;
    font-size: 16px !important;
  }

  /* Hero */
  .hero {
    padding: 60px 10px !important;
  }
  .hero h1,
  .hero p {
    font-size: 1.2em !important;
  }

  /* Главная сетка */
  .grid-block {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    padding: 20px 10px !important;
  }
  .grid-block > * {
    width: 100% !important;
  }
  .grid-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
  }

  /* Gamepass, Features и прочие карточки */
  .gamepass,
  .features {
    padding: 30px 10px !important;
  }
  .feature-cards,
  .flip-cards,
  .guarantee-content {
    flex-direction: column !important;
    gap: 15px !important;
  }

  /* Текстовые блоки */
  .text-section,
  .info-banner,
  .about-company .content {
    padding: 40px 10px !important;
  }
  .text-section {
    max-width: 100% !important;
  }

  /* Отзывы */
  .testimonial-cards,
  .slider {
    gap: 10px !important;
  }
  .testimonial-cards > .testimonial,
  .slide {
    flex: 0 0 90% !important;
    max-width: 90% !important;
  }

  /* Gift-блок */
  .gift {
    flex-direction: column !important;
    padding: 30px 10px !important;
  }
  .gift img {
    width: 100% !important;
    max-width: 250px !important;
    margin: 20px auto 0 !important;
  }

  /* Info-banner */
  .info-banner {
    flex-direction: column !important;
  }
  .info-box {
    max-width: 100% !important;
    margin: 10px 0 !important;
  }

  /* Тёмный баннер */
  .dark-banner-section .banner-text,
  .dark-banner-section .banner-image {
    flex: 1 1 100% !important;
    padding: 20px !important;
  }
  .dark-banner-section h2 {
    font-size: 28px !important;
  }
  .dark-banner-section p {
    font-size: 14px !important;
  }

  /* Статистика */
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Галерея */
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  /* Cookie banner */
  .cookie-banner {
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  /* Секция соглашений */
  .agreement-section {
    flex-direction: column !important;
    padding: 40px 10px !important;
  }
  .side-line {
    display: none !important;
  }

  /* Join block */
  .join-block {
    padding: 40px 10px !important;
  }
  .join-block h2 {
    font-size: 24px !important;
  }
  .join-block p {
    font-size: 14px !important;
  }
  .join-btn {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }

  /* Footer */
  .footer-top,
  .footer-columns {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
  }
  .footer-logo,
  .footer-column {
    max-width: 100% !important;
    text-align: center !important;
  }
  .footer-column ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  /* Кнопка наверх */
  .scroll-to-top {
    bottom: 20px !important;
    right: 20px !important;
  }

  /* Triple-section → одна колонка */
  .triple-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 20px 10px !important;
  }
  .triple-section .left-large,
  .triple-section .right-small {
    flex: none !important;
    width: 100% !important;
  }
  .right-small {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .left-large img,
  .top-box img,
  .bottom-box img {
    width: 100% !important;
    height: auto !important;
  }
  .overlay,
  .overlay.white {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 15px 10px !important;
    box-sizing: border-box !important;
  }
  .overlay .tag {
    font-size: 0.75em !important;
  }
  .overlay h2 {
    font-size: 1.2em !important;
    margin-bottom: 8px !important;
  }
  .overlay h3 {
    font-size: 1.1em !important;
    margin-bottom: 6px !important;
  }
  .overlay p {
    font-size: 0.9em !important;
    margin-bottom: 10px !important;
  }
  .overlay .btn {
    font-size: 0.9em !important;
    padding: 8px 12px !important;
  }

  /* Flip-features → колонка */
  .flip-features {
    padding: 40px 10px !important;
  }
  .flip-title {
    font-size: 24px !important;
    text-align: center !important;
    margin-bottom: 30px !important;
  }
  .flip-cards {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }
  .flip-card {
    width: 100% !important;
    max-width: 300px !important;
  }
  .flip-inner {
    width: 100% !important;
    overflow: hidden !important;
  }
}
@media (max-width: 600px) {
  /* Отключаем абсолютное позиционирование и возвращаем текст в поток */
  .triple-section .overlay,
  .triple-section .overlay.white {
    position: relative !important;
    width: auto !important;
    left: unset !important;
    right: unset !important;
    top: unset !important;
    bottom: unset !important;
    padding: 15px 10px !important;
    background: rgba(0, 0, 0, 0.7) !important;
    margin-bottom: 12px !important;
    z-index: 1 !important;
  }
  .top-box .overlay.white {
    background: rgba(0, 0, 0, 0.5) !important;
  }

  .left-large,
  .top-box,
  .bottom-box {
    display: flex !important;
    flex-direction: column !important;
  }
  .left-large .overlay,
  .top-box .overlay,
  .bottom-box .overlay {
    order: 1 !important;
  }
  .left-large img,
  .top-box img,
  .bottom-box img {
    order: 2 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    display: block !important;
  }
}
