.policy,
.success {
  padding-block: 110px 60px !important;
  min-height: 92vh;
}

@media (max-width: 768px) {
  .policy {
    padding-block: 130px 60px !important;
  }
}

.success__text {
  margin-bottom: 27px;
}

.success__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.success__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 35px;
  line-height: 110%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 28px;
  color: #ffffff;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
  color: #ffffff;
}

.policy__title {
  color: #ffffff;
}

.policy__text h2 {
  text-align: left;
  font-size: 21px;
}

.policy__text ul {
  padding-left: 20px;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 22px;
}

.policy__link {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding-inline: 20px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #141414;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-family: Inter;
  font-weight: 900 !important;
  font-style: Black;
  font-size: 120px !important;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;

  margin-bottom: 2rem;
  text-align: left;
  color: #141414 !important;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 44px !important;
  }
}

.section-text {
  font-family: Inter;
  font-weight: 400 !important;
  font-style: Regular;
  font-size: 14px !important;
  line-height: 100%;
  letter-spacing: 0%;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cookie-popup.hidden {
  opacity: 0;
  visibility: hidden;
}

.cookie-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(0px);
}

.cookie-content {
  background: linear-gradient(135deg, #00d67c, #00b86b);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  z-index: 10001;
  text-align: left;
  border: 3px solid #fff;
}

.cookie-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cookie-content h2 {
  color: #000;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cookie-content p {
  color: #000;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-accept {
  background-color: #d80508;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-accept:hover {
  background-color: rgb(158, 30, 30);
}

.btn-manage {
  background-color: transparent;
  color: #000;
  border: 2px solid #000;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-manage:hover {
  background-color: #000;
  color: #fff;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #141414;
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 1rem 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
}

.logo-icon {
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #00d67c;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #00d67c;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #e53e3e;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  height: fit-content;
}

.btn:hover {
  background-color: #c53030;
  transform: translateY(-2px);
}

.btn-primary {
  background-color: #e53e3e;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  border-radius: 0 0 50px 50px;
  margin-bottom: 80px;
  position: relative;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  background-color: #00d893;
  border-radius: 60px;
  padding: 40px;
  overflow: hidden;
}

@media (max-width: 968px) {
  .hero-content {
    padding: 20px 20px 350px !important;
  }
}

.hero-title {
  font-family: Inter;
  font-weight: 900;
  font-style: Black;
  font-size: 160px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;

  color: #141414;
  margin-bottom: 1.5rem;
  line-height: 0.9;
}

.hero-description {
  color: #141414;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 360px;
}

.hero-image {
  position: absolute;
  right: 0;
  bottom: -16px;
  z-index: 100;
  width: 650px;
  height: auto;
}

@media (max-width: 968px) {
  .hero-image {
    left: 50%;
    width: 300px;
    transform: translateX(-50%);
  }
}

.hero-image img {
  width: 100%;
  height: auto;
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 470px;
}

@media (max-width: 760px) {
  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* About Section */
.about {
  padding: 80px 0;
  margin-bottom: 80px;
  position: relative;
  color: #ffffff;
}

.about .section-title {
  color: #ffffff !important;
}

.about-content {
  display: grid;
  grid-template-columns: 3fr 2fr 1fr;
  gap: 3rem;
  align-items: flex-end;
}
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}

.about-text {
  color: #ffffff;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.about-decoration {
  position: absolute;
  bottom: 20px;
  left: 50px;
  width: 60px;
  height: 60px;
  color: #00d67c;
  opacity: 0.5;
}

/* Advantages Section */
.advantages {
  padding: 80px 0;
  position: relative;
}

.advantages .section-title {
  color: #fff !important;
}

.advantages-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .advantages-grid {
    justify-content: center;
  }
}

.advantage-card {
  width: 100%;
  max-width: 370px;
  min-height: 280px;
  background-color: rgba(0, 214, 124, 0.1);
  border: 2px solid #00d67c;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
}

.advantage-icon {
  margin-bottom: 1rem;
}

.advantage-icon img {
  width: 60px;
  height: 60px;
}

.advantage-card h3 {
  color: #00d67c;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.advantage-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
}

.advantages-decor {
  display: block;
  margin: 0 auto;
}

.featured-decoration {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 40px;
  color: #00d67c;
}

.decoration-up-arrows {
  width: 100%;
  height: 100%;
}

/* Featured Games Section */
.featured-games {
  padding: 80px 0;
  position: relative;
}

.featured-games .section-title {
  color: #fff !important;
  margin-bottom: 0;
}

.featured-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.featured-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  gap: 30px;
}

@media (max-width: 768px) {
  .featured-top {
    grid-template-columns: 1fr;
  }
}

.featured-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.featured-image img {
  width: 100%;
  height: auto;
  max-width: 600px;
}

.featured-decoration-left {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 80px;
  color: #00d67c;
  opacity: 0.5;
}

.featured-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .featured-bottom {
    flex-direction: column;
  }
}

/* CTA Section */
.cta {
  padding: 80px 0;

  margin-bottom: 80px;
  position: relative;
}

.cta-content {
  text-align: left;
  background-color: #00d893;
  border-radius: 60px;
  padding: 40px;
  margin-bottom: 30px;
}

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

.cta-title {
  margin-bottom: 1.5rem;
}

.cta-description {
  color: #000;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-decoration {
  position: absolute;
  bottom: 20px;
  right: 50px;
  width: 80px;
  height: 80px;
  color: #000;
  opacity: 0.3;
}

.cta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Contact Form */
.contact {
  padding: 80px 0;
  background-color: #f8f9fa;
  border-radius: 50px;
  margin-bottom: 80px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: border-color 0.3s ease;
  background-color: #fff;
  color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00d67c;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  margin-top: 1rem;
}

/* Games Section */
.games-section {
  padding: 120px 0 80px;
}

.games-section .section-title {
  color: #fff !important;
}

.games-header {
  text-align: left;
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .games-header {
    grid-template-columns: 1fr;
  }
}

.games-description {
  max-width: 900px;
  margin-bottom: 3rem;
}

.games-description p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.games-grid-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.games-grid-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.games-section-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .games-section-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.game-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: translateY(-10px);
}

.game-link {
  display: block;
  text-decoration: none;
  position: relative;
}

.game-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

.game-overlay {
  position: absolute;
  height: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(#00d893, #00d893);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card:hover .game-overlay {
  transform: translateY(0);
}

.game-title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.games-decoration {
  position: absolute;
  bottom: 20px;
  left: 50px;
  width: 80px;
  height: 80px;
  color: #00d67c;
  opacity: 0.5;
}

/* Game Hero Section */
.game-hero {
  padding: 120px 0 80px;
  position: relative;
}

.game-hero-content {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.game-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.game-logo img {
  max-width: 300px;
  height: auto;
}

.game-preview img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.game-title-large {
  margin-bottom: 2rem;
}

.game-title-large h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: #00d67c;
  line-height: 0.9;
}

.game-description {
  max-width: 900px;
}

.game-description p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Game About Section */
.game-about {
  padding: 80px 0;
  border-radius: 50px;
  margin-bottom: 80px;
}

.game-about .section-title {
  color: #fff !important;
}

.game-about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.game-about .about-text {
  color: #ffffff;
}

.game-about .about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00d67c;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-info {
    align-items: center;
  }
}

.company-info p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #00d67c;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
}

.footer-bottom {
  padding-top: 2rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  /* Hero Mobile */
  .hero {
    padding: 130px 0 60px;
    margin-bottom: 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 50px;
  }

  /* About Mobile */
  .about {
    padding: 60px 0;
    margin-bottom: 60px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Advantages Mobile */
  .advantages {
    padding: 60px 0;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .advantages-grid .advantage-card:nth-child(4) {
    margin-left: 0;
  }

  /* Featured Games Mobile */
  .featured-games {
    padding: 60px 0;
  }

  .featured-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  /* CTA Mobile */
  .cta {
    padding: 60px 0;
    margin-bottom: 60px;
    text-align: center;
  }

  /* Contact Mobile */
  .contact {
    padding: 60px 0;
    margin-bottom: 60px;
  }

  /* Games Mobile */
  .games-section {
    padding: 140px 0 60px;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Game Hero Mobile */
  .game-hero {
    padding: 140px 0 60px;
  }

  .game-hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  /* Game About Mobile */
  .game-about {
    padding: 60px 0;
    margin-bottom: 60px;
  }

  .game-about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Footer Mobile */
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-info {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  /* Cookie Mobile */
  .cookie-content {
    padding: 1.5rem;
    margin: 1rem;
  }

  .cookie-content h2 {
    font-size: 1.3rem;
  }

  .cookie-content p {
    font-size: 0.85rem;
  }

  .cookie-buttons {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    border-radius: 0 0 30px 30px;
  }

  .about,
  .cta,
  .contact,
  .game-about {
    border-radius: 30px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.about,
.advantages,
.featured-games,
.cta {
  animation: fadeInUp 0.8s ease-out;
}
