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

.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: #04141d;
}

.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: "Unbounded", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background-color: #000;
}

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

/* Floating Animation */
@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid #171815;
  border-radius: 25px;
  text-decoration: none;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  position: relative;
  box-shadow: 5px 5px 0 #000;
}

.btn-primary {
  background: #d6ff39;
  color: #000;
}

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

.btn-secondary {
  color: #171815;
}

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

.title {
  font-family: Unbounded;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 100px !important;
  line-height: 90%;
  letter-spacing: 0%;
  text-align: right;
}

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

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
}

.cookie-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #2c2c2c;
  color: #fff;
  padding: 40px 20px;
  max-width: 100%;
}

.cookie-content h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cookie-content p {
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 800px;
}

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

.cookie-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background-color: #f7f6f2;
  border-radius: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: #04141d;
}

.logo img {
  width: 30px;
  height: 30px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #ccff00;
}

.games-btn {
  background: #ccff00;
  color: #000;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

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

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

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

/* Hero Section */
.hero {
  padding: 120px 0 6px;
  position: relative;
}

.hero-content {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-wrapper {
  padding: 24px;
  border-radius: 18px;
  background-color: #f7f6f2;
  position: relative;
}

.hero-decor-1 {
  position: absolute;
  top: 4%;
  left: 2%;
  width: 150px;
  height: 65px;
  background: url(/wp-content/themes/vornikra.com/img/hero-decor-1.png) center / contain no-repeat;
  z-index: 100;
}

.hero-decor-2 {
  position: absolute;
  top: 8%;
  left: 16%;
  width: 92px;
  height: 106px;
  background: url(/wp-content/themes/vornikra.com/img/hero-decor-2.png) center / contain no-repeat;
  z-index: 100;
}

@media (max-width: 768px) {
  .hero-decor-2 {
    top: 12%;
    left: 0%;
  }

  .hero-wrapper {
    padding: 140px 24px 24px 24px;
  }
}

.hero-text {
  position: relative;
  display: grid;

  grid-template-columns: 2fr 1fr;
  align-items: center;
}

.emoji {
  font-size: 24px;
  margin-bottom: 20px;
}

.star-decoration {
  position: absolute;
  width: 30px;
  height: 30px;
}

.hero-text .star-decoration {
  top: 0;
  right: -40px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #666;
}

.hero ul {
  list-style: none;
  margin-bottom: 30px;
}

.hero li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #666;
}

.hero li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ccff00;
  font-weight: bold;
}

.hero-images {
  display: flex;
  gap: 20px;
  position: relative;
}

.hero-images img {
  border-radius: 24px;

  width: 100%;
}

.game-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.game-card img {
  width: 100%;
  height: auto;
  display: block;
}

.game-card-1 {
  width: 60%;
  transform: translateY(-20px);
}

.game-card-2 {
  width: 40%;
  transform: translateY(20px);
}

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

.games-wrapper {
  padding-top: 50px;
  border-radius: 18px;
  background: url(/wp-content/themes/vornikra.com/img/bg-pink.png) top / contain no-repeat;
}

.games-section h2 {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 150px;
  color: #171815;
}

.games-section .star-1 {
  position: absolute;
  top: 100px;
  left: 10%;
  width: 40px;
  height: 40px;
}

.games-section .star-2 {
  position: absolute;
  top: 120px;
  right: 10%;
  width: 40px;
  height: 40px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.game-item {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  height: fit-content;
}

.game-item:nth-of-type(2) {
  margin-top: -160px;
}

@media (max-width: 768px) {
  .game-item:nth-of-type(2) {
    margin-top: 0;
  }
}

.game-icon {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-icon img {
  z-index: 2;
}

.game-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000;
}

.game-item p {
  color: #666;
  line-height: 1.6;
}

/* About Section */
.about-section {
  padding: 80px 0;

  color: #fff;
}

.about-content {
  margin: 0 auto;
  text-align: left;
}

.about-section h2 {
  font-family: Unbounded;
  font-weight: 400;
  font-style: Regular;
  font-size: 72px;
  line-height: 90%;
  letter-spacing: 0%;
  text-align: right;

  margin-bottom: 40px;
  line-height: 1.2;
}

.about-section h2 span {
  color: #ff69b4;
}

.about-text {
  display: flex;
  flex-direction: column;
}

.about-text p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #ccc;
  line-height: 1.8;
  max-width: 450px;
}

.about-text p:nth-of-type(1) {
  align-self: flex-end;
}

.about-text p:nth-of-type(2) {
  align-self: flex-start;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: left;
  color: #000;
}

.cta-content {
  background: #d6ff39;
  border-radius: 18px;
  padding: 80px;
}

.cta-content h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 16px;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content .btn {
  background: #ffafee;
  color: #fff;
  padding: 15px 30px;
  font-size: 16px;
  width: fit-content;
}

.cta-content .btn:hover {
  background: #ff1493;
  transform: translateY(-3px);
}

/* Form Section */
.form-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: "Unbounded", sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ccff00;
}

.contact-form button {
  width: 100%;
  padding: 15px;
  font-size: 16px;
}

/* Footer */
.footer {
  color: #fff;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 40px;
  align-items: start;
  margin-bottom: 30px;
}

.footer-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-info p {
  margin-bottom: 5px;
  color: #ccc;
  font-size: 14px;
}

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

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: block;
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

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

  padding-top: 20px;
  color: #888;
  font-size: 14px;
}

/* Games Page Specific */
.games-page-section {
  padding: 120px 0 80px;
  background: #2c2c2c;
  min-height: 100vh;
  position: relative;
}

.games-page-section .grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ff69b4;
  background-image: linear-gradient(
      rgba(255, 105, 180, 0.3) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 105, 180, 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.games-page-section h1 {
  color: #000;
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.games-page-section .star-1 {
  position: absolute;
  top: 100px;
  left: 10%;
  width: 40px;
  height: 40px;
  z-index: 1;
}

.games-page-section .star-2 {
  position: absolute;
  top: 120px;
  right: 10%;
  width: 40px;
  height: 40px;
  z-index: 1;
}

.games-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.game-tile {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-tile:hover {
  transform: scale(1.05);
}

.game-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-tile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px;
  color: #fff;
}

.game-tile h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.game-tile p {
  font-size: 14px;
  color: #ccc;
}

.games-cta {
  text-align: center;
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}

.games-cta h2 {
  color: #000;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
}

.games-cta p {
  color: #333;
  font-size: 16px;
  margin-bottom: 30px;
}

.games-cta .btn {
  background: #ccff00;
  color: #000;
  padding: 15px 30px;
  font-size: 16px;
}

.games-cta .btn:hover {
  background: #b8e600;
  transform: translateY(-3px);
}

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

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #000000;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu li a {
    color: #f8f9fa;
  }

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

  .games-btn {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-images {
    flex-direction: column;
    align-items: center;
  }

  .game-card-1,
  .game-card-2 {
    width: 80%;
    transform: none;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .games-section h2,
  .about-section h2,
  .cta-content h2 {
    font-size: 32px;
  }

  .about-content {
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

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

  .cookie-content h3 {
    font-size: 24px;
  }

  .cookie-content p {
    font-size: 14px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .games-grid-page {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .games-cta h2 {
    font-size: 28px;
  }

  .cta-content {
    padding: 30px;
  }
}

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

  .hero {
    padding: 100px 0 6px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .games-section,
  .about-section,
  .cta-section {
    padding: 60px 0;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .games-grid-page {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .games-page-section h1 {
    font-size: 32px;
  }

  .games-cta h2 {
    font-size: 24px;
  }
}

.line {
  margin-block: 6px;
}

.line__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  padding-block: 20px;
  padding-inline: 10px;
  background-color: #d6ff39;
  border-radius: 18px;
  overflow: hidden;
}

.line__content p {
  font-family: Unbounded;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0px;
  text-align: center;
  text-transform: capitalize;
}
