.policy,
.success {
  padding-block: 80px 60px !important;
  background: #080716;

  min-height: 92vh;
}

@media (max-width: 768px) {
  .policy {
    padding-block: 60px 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__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0%;
  color: #ffffff;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 34px;
  line-height: 110%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 28px;
  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: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

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

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

:root {
  --primary-purple: #b900ff;
  --primary-pink: #ec4899;
  --dark-bg: #080716;
  --dark-card: #1a1a2e;
  --text-white: #ffffff;
  --text-gray: #9ca3af;
  --gradient-purple: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
}

body {
  font-family: "Lato", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.cookie-popup.show {
  opacity: 1;
  visibility: visible;
}

.cookie-content {
  background-color: var(--dark-card);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cookie-content h2 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.cookie-content p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.btn-accept,
.btn-decline {
  padding: 15px 40px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-accept {
  background: var(--gradient-purple);
  color: var(--text-white);
}

.btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.4);
}

.btn-decline {
  background-color: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Header */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--text-white);
  font-size: 28px;
  font-weight: 700;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--text-white);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--primary-purple);
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--text-white);
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: url(/wp-content/themes/sarnivora.com/img/gradient-left.png) left / contain no-repeat,
    url(/wp-content/themes/sarnivora.com/img/gradient-right.png) right / contain no-repeat;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 18px;
  color: var(--text-gray);
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 30px;
}

.highlight {
  color: var(--text-white);
}

.highlight-poki {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-purple {
  color: var(--primary-purple);
}

.hero-info {
  position: relative;
  gap: 20px;
  margin-bottom: 40px;
  padding: 30px;
  background: #121031;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-icon {
  position: absolute;
  left: -30px;
  top: -20px;
  width: 80px;
  height: 80px;
  border-radius: 15px;
  flex-shrink: 0;
}

.hero-text h3 {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: right;
}

.hero-text p {
  font-size: 14px;
  color: var(--text-gray);
}

.hero-right {
  position: relative;
}

.hero-image {
  width: 100%;
  border-radius: 20px;
}

.hero-card {
  position: absolute;
  bottom: -30px;
  right: 130px;
  background: #121031;
  padding: 25px;
  border-radius: 15px;
  width: 100%;
  max-width: 340px;
}

@media (max-width: 768px) {
  .hero-card {
    right: 0;
    bottom: -40px;
  }

  .hero-right {
    margin-bottom: 50px;
  }
}

.hero-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.hero-card p {
  font-size: 13px;
  line-height: 1.5;
}

.btn-primary {
  width: fit-content;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  margin: 0 auto;
}

.btn-primary p {
  padding: 14px 32px;
  color: #b900ff;
  border-radius: 12px;
  background-color: #ffffff !important;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-secondary {
  width: fit-content;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  background: #b900ff;
  color: #fff;
  border-radius: 12px;
  padding: 14px 40px;
}

.btn-secondary:hover {
  transform: translateY(-3px);
}

/* Stats Section */
.stats {
  padding: 80px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.stat-item h2 {
  font-size: 40px;
  font-weight: 600;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.stat-item p {
  font-size: 16px;
  color: var(--text-gray);
}

.stats-decoration img {
  width: 100%;
  opacity: 0.3;
}

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

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-label {
  display: inline-block;
  color: var(--primary-purple);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-left: 20px;
  position: relative;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--gradient-purple);
  border-radius: 50%;
}

.about-text h2 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 30px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.about-decoration img {
  width: 100%;
}

/* Advantages Section */
.advantages {
  padding: 80px 0;
  background: url(/wp-content/themes/sarnivora.com/img/gradient.png) center / contain no-repeat;
}

.advantages-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advantages h2 {
  font-size: 48px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
}

.advantages-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 16px;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.advantage-card {
  background-color: var(--dark-card);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.advantage-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-purple);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

.advantage-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 25px;
}

.advantage-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq h2 {
  font-size: 40px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 25px 30px;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.faq-question:hover {
  color: var(--primary-purple);
}

.faq-icon {
  font-size: 28px;
  color: var(--primary-purple);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Contact Form Section */
.contact-form {
  padding: 80px 0;
  text-align: center;
}

.contact-form h2 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
}

.contact-form > p {
  color: var(--text-gray);
  font-size: 18px;
  margin-bottom: 40px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px;
  background-color: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-white);
  font-family: "Lato", sans-serif;
  font-size: 16px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-purple);
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
.footer {
  background: linear-gradient(
      258.8deg,
      rgba(115, 0, 255, 0.76) 16.35%,
      rgba(255, 0, 132, 0.76) 77.56%
    ),
    linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2));

  padding: 40px 0 30px;
  border-radius: 80px 80px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-logo h2 {
  text-align: center;
  font-size: 260px;
  font-weight: 600;
  line-height: 100%;
  font-style: italic;
  margin-bottom: 30px;
}

@media (max-width: 968px) {
  .footer-logo h2 {
    font-size: 80px;
  }
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-info p {
  font-size: 14px;
  margin-bottom: 8px;
}

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

.footer-social a {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

.footer-social img {
  width: 44px;
  height: 44px;
}

.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
  font-size: 14px;
  opacity: 0.8;
}

/* Games Page */
.games-hero {
  padding: 80px 0;
  background: radial-gradient(
    circle at top right,
    rgba(168, 85, 247, 0.15),
    transparent 50%
  );
}

.games-intro {
  margin-bottom: 60px;
}

.games-intro-text {
  width: 100%;
  max-width: 700px;
}

.games-intro-text p {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.games-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 50px;
}

.category-slider {
  position: sticky;
  top: 120px;
  max-width: 100%;
}

.slider-wrapper {
  overflow: hidden;
  border-radius: 20px;
  max-width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.category-slide {
  min-width: 100%;
  background-color: var(--dark-card);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.category-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
}

.category-slide h3 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 900;
}

.category-slide p {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 15px;
}

.slider-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.slider-dot {
  width: 40px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.slider-dot.active {
  background: var(--gradient-purple);
}

.games-showcase {
  position: relative;
  max-width: 100%;
  overflow-x: hidden;
}

.games-showcase h2 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 40px;
}

.showcase-decoration {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.showcase-decoration img {
  width: 100%;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.game-card {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(168, 85, 247, 0.3);
}

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

/* Game Detail Page */
.game-detail {
  padding: 80px 0;
  background: radial-gradient(
    circle at top left,
    rgba(168, 85, 247, 0.1),
    transparent 50%
  );
}

.game-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

.game-image-wrapper {
  position: relative;
}

.game-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.game-info h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 30px;
}

.game-description {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 35px;
}

.game-description p {
  margin-bottom: 20px;
}

.game-description strong {
  color: var(--primary-purple);
}

/* Related Games Section */
.related-games {
  padding: 60px 0;
}

.related-games h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 40px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content,
  .about-content,
  .game-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .games-content {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--dark-card);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero h1,
  .about-text h2,
  .advantages h2,
  .faq h2,
  .contact-form h2,
  .games-intro-text h1,
  .game-info h1 {
    font-size: 36px;
  }

  .stat-item h2 {
    font-size: 48px;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }

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

  .cookie-content {
    margin: 20px;
    padding: 30px 20px;
  }

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

@media (max-width: 480px) {
  .hero h1,
  .games-intro-text h1,
  .game-info h1 {
    font-size: 28px;
  }

  .btn-primary {
    padding: 15px 35px;
    font-size: 14px;
  }

  .advantage-card,
  .category-slide {
    padding: 25px;
  }

  .faq-question {
    font-size: 16px;
    padding: 20px;
  }
}

.section-title {
  font-family: Lato;
  font-weight: 400 !important;
  font-style: Regular;
  font-size: 60px !important;
  line-height: 90%;
  letter-spacing: -3%;
  text-transform: capitalize;
}

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