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

html,
body {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
  background-color: #272727;
  color: #ccc;
}
.container {
  max-width: 1200px;
  padding: 15px 20px;
  margin: 0 auto;
}
.header {
  background-color: #272727;
  color: #fff;
}
.container-header a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.5s ease, color 0.3s ease;
}
a,
ul,
li {
  list-style: none;
  text-decoration: none;
  color: inherit;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
  padding: 0;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
.container-header a:hover {
  transform: scale(1.1);
  color: #ccc;
}
.container-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  padding: 30px 0;
}
.hero {
  background-image: linear-gradient(rgba(255, 0, 0, 0.6), rgba(255, 0, 0, 0.6)),
    url("./img/hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-items {
  background-color: #e4e4e4;
  border-radius: 100px;
  padding: 10px 15px;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  color: #000;
  max-width: 700px;
  width: auto;
  height: auto;
}
.hero-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.top-games {
  padding: 10px 0;
}
.container-games {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.games-item {
  border: solid 1px #ccc;
  border-radius: 15px;
  background: linear-gradient(90deg, #616161 0, #272727 100%);
  transition: transform 0.5s ease;
  color: #ccc;
  padding: 20px;
}
.games-item:hover {
  border: solid 1px #ff0000;
}
.games-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.games-item:hover {
  transform: scale(1.03);
}
.games-block img {
  max-width: 220px;
  width: 100%;
}

.button {
  padding: 10px 20px;
  border: solid 1px #ccc;
  border-radius: 3px;
  min-width: 200px;
  width: 100%;
}
.button:hover {
  border: solid 1px #941616;
}
.text-mark li {
  list-style-type: disc;
}
.container-text {
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer {
  background: linear-gradient(180deg, #941616 0, #272727 100%);
}
.footer-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu nav ul {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-text {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-text-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-img-item {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.footer-img img {
  max-height: 40px; /* або 30-60px, залежно від бажаного вигляду */
  margin: 10px;
  object-fit: contain;
}

/* contact */
.contact-container {
  display: flex;
  gap: 50px;
  align-items: center;
}
.contact-form {
  flex: 1;
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: #1a1a2e;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #e6e6e6;
  font-weight: 500;
}

.form-control {
  width: 95%;
  padding: 12px 15px;
  background: #2a2a3c;
  border: 1px solid #3d3d5c;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
}

.form-control:focus {
  outline: none;
  border-color: #6a5acd;
}

.submit-btn {
  background: #6a5acd;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #7b68ee;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 50px;
}

.contact-card {
  background: #1a1a2e;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.contact-card h3 {
  color: #6a5acd;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .contact-card {
    flex: 0 0 100%;
  }
}

/* privacy */
.policy {
  padding: 40px 20px;
  background: #fff;
  color: #222;
  line-height: 1.7;
}

.policy h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.policy h2 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.policy p {
  font-size: 16px;
  margin-bottom: 15px;
}
.contact-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background: #52033b;
  color: #fff;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #ec69a5;
}

.age-popup {
  position: fixed;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.age-popup-content {
  background: #fff;
  color: #000;
  padding: 40px 30px;
  text-align: center;
  border-radius: 10px;
  max-width: 400px;
  box-shadow: 0 0 20px #000;
}

.age-popup-content h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.age-popup-content p {
  margin-bottom: 20px;
  font-size: 18px;
}

.age-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.age-buttons button {
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  background: #52033b;
  color: #fff;
  transition: 0.3s ease;
}

.age-buttons button:hover {
  background: #ec69a5;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(15, 15, 15, 0.95);
  color: #fff;
  padding: 20px;
  text-align: center;
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-content a {
  color: #ec69a5;
  text-decoration: underline;
}

.cookie-content button {
  background-color: #941616;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-content button:hover {
  background-color: #c85b90;
}
@media (max-width: 700px) {
  .hero-items {
    display: none;
  }
  .games-block {
    flex-direction: column;
    padding-bottom: 20px;
  }
  .menu {
    display: flex;
    flex-direction: row;
  }
  .menu nav ul {
    flex-direction: column;
  }
  .footer-text {
    flex-direction: column;
  }
  .cookie-banner {
    width: auto;
  }
  .footer-img-item {
    flex-direction: column;
  }
}