@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

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

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h2 {
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    color: #fff;
}

h3 {
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    color: #fff;
}

p {
    font-weight: 400;
    font-size: 16px;
    color: #fff;
}

p {
  line-height: 150%;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
    list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  padding: 0;
  margin: 0;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

html {
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
    font-family: "Roboto Condensed", sans-serif;
}

body {
    font-family: "Roboto Condensed", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #bf9c2be9;
}
  
img {
    display: block;
    height: auto;
    padding: 0;
    margin: 0;
}
  
address {
    font-style: normal;
}
  
html {
    height: 100%;
    scroll-behavior: smooth;
}

a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
}

.header {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 110px;
    background: rgb(188, 157, 20);
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
    
.mobile-menu-icon .bar {
    width: 25px;
    height: 4px;
    background-color: #ffffff;
    border-radius: 2px;
}
    
    @media (max-width: 768px) {
      .header {
        padding: 15px;
      }

      .header .nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: rgb(188, 157, 20);
        text-align: center;
        z-index: 999;
      }
    
      .header .nav.active {
        display: block;
      }
      .header .nav ul {
          flex-direction: column;
          gap: 20px;
          padding: 20px;
        }
      
        .mobile-menu-icon {
          display: flex;
        }
}

.header_logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav li {
    display: flex;
}


.header_link {
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    font-variant: small-caps;
}

.hero {
  position: relative;
  background: url("https://api.synergytimes.ru/upload/iblock/eaa/0kchjc87qmw7w9neagu7dm9341j3lk39.jpg") center center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60vh;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 15px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

.collection ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.collection h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  margin-top: 25px;
  color: #ffffff;
  text-align: center;
}

.collection ul li {
  background: #ecbf2d;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 480px;
  flex-basis: calc(50% - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.collection ul li img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.collection ul li h3 {
  margin: 10px 0 10px;
  font-size: 1.3rem;
  color: #333;
}

.collection ul li p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}

.collection ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  background-color: #e0a800;
  padding: 20px 30px;
  border-radius: 20px;
}

.collection ul li a:hover {
  color: #0056b3;
}

@media (max-width: 768px) {
  .collection ul li {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.cta-section {
  background: #ecbf2d;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  border-radius: 8px;
  margin: 40px auto;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section a {
  display: inline-block;
  background-color: #FFC107;
  color: #000;
  padding: 15px 35px;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-section a:hover {
  background-color: #e0a800;
}


@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 2rem;
  }
  .cta-section p {
    font-size: 1rem;
  }
  .cta-section a {
    padding: 12px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cta-section h2 {
    font-size: 1.5rem;
  }
  .cta-section p {
    font-size: 0.9rem;
  }
  .cta-section a {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}


.contact {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  color: #333;
}

.contact_text {
  flex: 1 1 350px;
  min-width: 280px;
}

.contact_text h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.contact_text p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.contact_form {
  flex: 1 1 350px;
  min-width: 280px;
  background: #f9f9f9;
  padding: 25px 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.af-element {
  margin-bottom: 20px;
}

.af-element label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.af-textWrap input[type="text"],
.af-textWrap input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.af-textWrap input[type="text"]:focus,
.af-textWrap input[type="email"]:focus {
  border-color: #007BFF;
  outline: none;
}

.submit {
  background-color: #007BFF;
  color: white;
  font-weight: 700;
  border: none;
  padding: 12px 0;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.submit:hover {
  background-color: #0056b3;
}

.privacyPolicy p,
.poweredBy p {
  font-size: 0.75rem;
  color: #666;
  margin-top: 15px;
}

.privacyPolicy a,
.poweredBy a {
  color: #007BFF;
  text-decoration: none;
}

.privacyPolicy a:hover,
.poweredBy a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact {
    flex-direction: column;
    padding: 0 15px;
  }

  .contact_text,
  .contact_form {
    flex: 1 1 100%;
    min-width: auto;
  }

  .contact_text h2 {
    font-size: 1.8rem;
  }
  
  .contact_text p {
    font-size: 1rem;
  }
}

footer {
  background: rgb(188, 157, 20);
  color: #eee;
  padding: 30px 20px;
  text-align: center;
}

footer ul {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

footer ul li {
  margin: 0 10px;
  font-size: 0.95rem;
}

footer ul li a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #f0b429;
}

footer p {
  margin-top: 25px;
  font-size: 0.85rem;
  color: #bbb;
}

@media (max-width: 600px) {
  footer ul {
    flex-direction: column;
    gap: 15px;
  }

  footer ul li {
    margin: 5px 0;
  }
}


.about_us {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  flex-wrap: wrap;
  color: #766060;
}

.about_us img {
  flex: 1 1 350px;
  max-width: 350px;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about_us_text {
  flex: 1 1 500px;
  min-width: 280px;
}

.about_us_text h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.about_us_text p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.about_us_text ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 25px;
  font-size: 1.05rem;
  color: #e7e7e7;
}

.about_us_text ul li {
  margin-bottom: 8px;
}

.about_us_text a {
  display: inline-block;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.about_us_text a:hover {
  border-color: #4f4f4f;
}


@media (max-width: 768px) {
  .about_us {
    flex-direction: column;
    text-align: center;
  }
  .about_us img {
    max-width: 100%;
    margin: 0 auto 30px;
  }
  .about_us_text {
    min-width: auto;
  }
  .about_us_text ul {
    margin-left: 0;
    padding-left: 0;
    list-style-position: inside;
  }
}


.services {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
  color: #333;
}

.services ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.services li {
  flex: 1 1 280px;
  background-color: #f9f9f9;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.services li:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.services h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #000000;
}

.services p {
  font-size: 1rem;
  line-height: 1.5;
  color: #000;
}

@media (max-width: 768px) {
  .services ul {
    flex-direction: column;
    gap: 20px;
  }

  .services li {
    flex: 1 1 100%;
  }
}

.game-list {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
  color: #333;
}

.game-list h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #ffffff;
  text-align: center;
}

.game-list-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: #f9f9f9;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background: #ecbf2d;
}

.game-list-img {
  flex: 1 1 350px;
  max-width: 350px;
}

.game-list-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.game-list-text {
  flex: 1 1 500px;
  min-width: 280px;
}

.game-list-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #000000;
}

.game-list-text p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #444;
}

@media (max-width: 768px) {
  .game-list-container {
    flex-direction: column;
    text-align: center;
  }
  .game-list-img, .game-list-text {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .game-list-text {
    margin-top: 20px;
  }
}

.privacy {
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 2rem 1rem;
  background-color: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  line-height: 1.6;
  color: #333;
  max-width: 800px;
}

.privacy h2 {
  font-size: 2rem;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  position: relative;
}

.privacy h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background-color: #3498db;
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.privacy h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #34495e;
}

.privacy p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #555;
}

.privacy a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}

.privacy a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .privacy {
    padding: 1.5rem 1rem;
  }

  .privacy h2 {
    font-size: 1.6rem;
  }

  .privacy h3 {
    font-size: 1.15rem;
  }

  .privacy p {
    font-size: 0.95rem;
  }
}


.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-width: 900px;
    width: 90%;
    font-size: 14px;
    color: #333;
    display: none;
    opacity: 1;
    z-index: 1000;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.cookie-button:hover {
    background-color: #0056b3;
}

.contact-form {
      background: #fff;
      padding: 30px 25px;
      border-radius: 15px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      width: 100%;
      max-width: 400px;
    }

    .contact-form h2 {
      text-align: center;
      margin-bottom: 20px;
      font-size: 22px;
      color: #333;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"] {
      width: 100%;
      padding: 12px 15px;
      margin: 10px 0;
      border-radius: 8px;
      border: 1px solid #ccc;
      font-size: 16px;
      transition: border-color 0.3s ease;
    }

    .contact-form input[type="text"]:focus,
    .contact-form input[type="email"]:focus {
      border-color: #007BFF;
      outline: none;
    }

    .contact-form button {
      width: 100%;
      padding: 14px;
      background: linear-gradient(45deg, #007BFF, #00C6FF);
      color: #fff;
      font-weight: bold;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .contact-form button:hover {
      background: linear-gradient(45deg, #0056b3, #009acd);
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .modal-content {
      background: #fff;
      padding: 30px 20px;
      border-radius: 15px;
      text-align: center;
      max-width: 320px;
      width: 100%;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .modal-content p {
      margin-bottom: 20px;
      font-size: 18px;
      color: #333;
    }

    .modal-content button {
      padding: 10px 20px;
      background-color: #007BFF;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: bold;
      font-size: 15px;
    }

    .modal-content button:hover {
      background-color: #0056b3;
    }

    @media (max-width: 480px) {
      .contact-form {
        padding: 20px 15px;
      }
      .contact-form h2 {
        font-size: 20px;
      }
    }

    .form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form input[type="text"],
.form input[type="email"] {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form input[type="text"]:focus,
.form input[type="email"]:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  outline: none;
}

.form button {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  background-color: #4f46e5;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.form button:hover {
  background-color: #4338ca;
  transform: translateY(-2px);
}

@media (max-width: 500px) {
  .form {
    padding: 1.5rem;
  }

  .form input,
  .form button {
    font-size: 0.95rem;
  }
}