:root {
  --primary-purple: #ee8dff;
  --primary-pink: #ff63b0;
  --accent-yellow: #ffcf52;
  --accent-peach: #fddcc5;
  --text-dark: #000c2f;
  --text-gray: #4a5568;
  --primary-blue: #2563eb;
  --light-purple: #F9F3FF;
  --facebook-blue: #1877F2;
  --instagram-gradient: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HERO BLOCK */
.hero-block {
  background-image: url("../img/bg.png");
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 950px;
}

.hero-content {
  padding: 3rem 2rem;
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(89, 89, 89, 0.2);
}

.hero-title {
  color: #000c2f;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-description {
  color: #273344;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 400;
  text-align: start !important;
}

.download-btn-img {
  max-width: 275px;
  max-height: 100px;
  border-radius: 30px;
  object-fit: cover;
}


/* PHONES (Grid layout) */

.phones-column{
  margin-top: 100px;
}
.phones-container {
  display: grid;
  grid-template-columns: 230px 230px;
  /* grid-template-rows: 460px 460px; */
  gap: 20px;
  width: 100%;
  overflow: hidden;
}

.phone-mockup {
  width: 230px;
  border-radius: 20px;
  overflow: hidden;
}

.phone-mockup .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Лівий верхній */
.phone-1 {
  grid-column: 1;
  grid-row: 1;
}

/* Лівий нижній */
.phone-2 {
  grid-column: 1;
  grid-row: 2;
}

/* Правий по центру */
.phone-3 {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
}

/* Tablet */
@media (max-width: 992px) {
  .phones-container {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: center;
    /* grid-template-columns: 1fr 1fr; */
  }
  .phones-column{
    margin-top: 80px;
  }

  .phone-2 {
    grid-column: 2;
    grid-row: 1;
  }

  .phone-02 {
    height: 280px;
  }

  .phone-01 {
    height: 400px;
  }

  .phone-3 {
    display: none;
  }

  .phone-mockup {
    width: 250px !important;
  }
}

@media (max-width: 770px) {
  .app-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-block {
    flex-direction: column;
    min-height: auto;
    align-items: center;
    text-align: center;
    border-radius: 16px;
  }
  .phones-column{
    margin-top: 50px;
  }
}

/* Mobile */
@media (max-width: 766px) {
  .app-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-block {
    flex-direction: column;
    min-height: auto;
    align-items: center;
    text-align: center;
    border-radius: 16px;
  }

  .hero-content {
    padding: 2rem 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .download-btn-img {
    max-width: 260px;
  }

  .phones-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    height: auto;
  }

  .phone-mockup {
    width: 250px !important;
    height: 350px !important;
  }

  .phone-2,
  .phone-3 {
    display: none;
  }
}

/* Extra small */
@media (max-width: 576px) {
  .hero-content {
    text-align: center;
    padding: 10px;
  }

  .phones-container {
    height: auto;
    margin-top: 1.5rem;
  }

  .phone-mockup {
    width: 250px !important;
    height: 350px;
    margin-bottom: 0px;
    padding-bottom: 0px;
  }

  .hero-title {
    font-size: 30px;
    font-weight: 600;
  }

  .hero-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0%;
  }
}
/* two */

.section-title2 {
  text-align: start !important;
  color: var(--text-dark);
  font-size: 60px;

  font-weight: 600;
  line-height: 65px;
  letter-spacing: 0%;
}

.image-overlay-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 860px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
    url("../img/img4.avif");
  background-size: cover;
  background-position: center;
}

.overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: white;
  height: 860px;
}

@media (max-width: 769px) {
  .image-overlay-card {
    height: 811px;
  }

  .overlay-content {
    height: 811px;
    padding: 80px 40px;
  }
}

.overlay-title {
  margin-bottom: 1rem;
  color: white;
  font-weight: 600;
  font-size: 40px;
  line-height: 50px;
}

.overlay-text {
  color: #dadde5;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}

.feature-card {
  background: white;
  border-radius: 50px;
  padding: 50px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card2 {
  background-image: url('../img/bg-card.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50px;
  padding: 50px;
  /* прибрали height:100% */
  min-height: 300px; /* за потреби підкоригуйте висоту */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}




.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-title {
  color: #052fad;
  font-weight: 600;
  font-size: 40px;
  line-height: 50px;
}

.feature-text {
  color: #282b2f;

  font-weight: 400;
  font-size: 20px;

line-height: 30px;


}
.feature-text2 {
font-weight: 500;
font-size: 30px;
line-height: 45px;


}

@media (max-width: 576px) {
  .image-overlay-card {
    height: 700px;
  }

  .overlay-content {
    height: 700px;
    padding: 30px 15px;
  }

  .section-title2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0%;
  }
  .overlay-title {
    font-size: 28px;
    line-height: 130%;
  }
  .overlay-text {
    font-size: 16px;
    line-height: 25px;
  }

  .feature-title {
    font-size: 28px;
    line-height: 130%;
  }

  .feature-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
  }

  .feature-card {
    background: white;
    border-radius: 30px 18px; 
  }
  .feature-text2 {
font-weight: 500;
font-size: 24px;
line-height: 130%;

  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    text-align: center;
  }

  .image-overlay-card {
    min-height: 300px;
    margin-bottom: 2rem;
  }

  .overlay-content {
    padding: 1.5rem;
  }

  .overlay-title {
    font-size: 1.5rem;
  }

  .feature-card {
    margin-bottom: 1.5rem;
  }
}

/* last block  */
.game-features-section {
  overflow: hidden;
  position: relative;
}

.main-wrapper {
  /* max-height: 770px; */
  position: relative;
}

.features-heading {
  color: #000C2F;
  margin-bottom: 2rem;
font-weight: 600;
font-size: 40px;
line-height: 50px;
letter-spacing: 0%;


}

.benefit-card {
  background: var(--light-purple);
  border-radius: 20px;
  padding: 30px 15px;
  margin-bottom: 1rem;
  border: none;
  transition: transform 0.2s ease;
}

.benefit-card:hover {
  transform: translateX(8px);
}

.benefit-description {
  color: #282B2F;
  margin: 0;

font-weight: 400;
font-size: 20px;
line-height: 30px;
letter-spacing: 0%;

}

.mobile-display-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 770px;
}

.game-screenshot {
  width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  position: absolute;
  bottom: 0;
}

@media (min-width: 1440px) {

  
  .mobile-display-wrapper {
      min-height: 770px;
  }
}

@media (max-width: 991px) {
  .mobile-display-wrapper {
      margin-top: 2rem;
      min-height: 400px;
      align-items: center;
      position: static;
  }
  
  .game-screenshot {
      width: 280px;
      height: 500px;
      position: static;
  }
  
  .features-heading {
      text-align: center;
  }
}

@media (max-width: 768px) {
  .mobile-display-wrapper {
      min-height: 350px;
  }
  
  .game-screenshot {
      width: 240px;
      height: 430px;
  }
  

  .benefit-card {
      padding: 1.25rem;
  }
  
  .benefit-description {
      font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .mobile-display-wrapper {
      min-height: 300px;
  }
  
  .game-screenshot {
      width: 200px;
      height: 360px;
  }

  .features-heading {
    font-weight: 500;
    font-size: 24px;
    line-height: 130%;
    
  }
  
  .benefit-card {
    padding: 15px 10px ;
  }
  .benefit-description {
    font-size: 16px;
  }
}

/* footer */


.copyright-text {
  color: rgba(40, 43, 47, 0.5);
margin-top: 10px;
font-weight: 400;
font-size: 12px;
line-height: 15px;
text-align: center;


}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: white;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icon.facebook {
  background: var(--facebook-blue);
}

.social-icon.facebook:hover {
  color: white;
}

.social-icon.twitter {
  background: var(--primary-blue);
}

.social-icon.twitter:hover {
  color: white;
}

.social-icon.instagram {
  background: var(--instagram-gradient);
}

.social-icon.instagram:hover {
  color: white;
}

.policy-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  color: #517AF4;

font-weight: 400;
font-size: 12px;
line-height: 15px;


}

.policy-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.policy-link:hover {
  color: var(--primary-pink);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .site-footer {
      padding: 1.5rem 0;
  }
  
  .footer-content {
      flex-direction: column;
      gap: 1.5rem;
      text-align: center;
  }
  
  .social-links {
      justify-content: center;
      order: 1;
  }
  
  .copyright-text {
      order: 2;
  }
  
  .policy-links {
      justify-content: center;
      order: 3;
      gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .policy-links {
      flex-direction: column;
      gap: 1rem;
  }
  
  .social-links {
      gap: 1.5rem;
  }
  
  .social-icon {
      width: 44px;
      height: 44px;
  }
}















/* cookie-wrapper start  */

@media (max-width: 700px) {
  .cookie-wrapper {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-img {
    display: none;
  }
}

.cookie-wrapper {
  position: fixed;
  bottom: 0px;
  right: 0;
  width: 40%;
  background: #fff;
  padding: 15px 25px 22px;
  transition: right 0.3s ease;
  z-index: 999;
  border-radius: 20px;

  @media (max-width: 600px) {
    width: 100%;
  }
}

.cookie-wrapper .show {
  right: 20px;
}

.hidden {
  display: none;
}

header i {
  color: #1a237e;
  font-size: 32px;
  text-align: center;
}

header h2 {
  color: #1a237e;
  font-weight: 500;
  text-align: center;
}

.data {
  text-align: center;
}

.data p a {
  color: #1a237e;
  text-decoration: none;
  text-align: center !important;
}

.data p a:hover {
  text-decoration: underline;
}

.buttons {
  padding: 20px 0px;
  text-align: center;
}

.buttons .cookie-button {
  border: 2px solid #1a237e;
  color: #fff;
  padding: 8px 0;
  background: #1a237e;
  cursor: pointer;
  width: calc(100% / 2 - 10px);
  transition: all 0.5s ease;
  max-width: 150px;
  border-radius: 20px;

}

.buttons #acceptBtn:hover {
  background-color: transparent;
  color: #1a237e;
}

#declineBtn {
  background-color: #fff;
  color: #1a237e;
}

#declineBtn:hover {
  background-color: #1a237e;
  color: #fff;
}

/* cookie-wrapper start  */
