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

  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 !important;
  padding-inline: 20px;
}

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

:root {
  --primary-color: #21e786;
  --secondary-color: #0a1f1c;
  --dark-bg: #040b11;
  --card-bg: #141b22;
  --text-primary: #ffffff;
  --text-secondary: #8b9ba8;
  --border-color: #1a2f3f;
}

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

h1,
h2,
h3 {
  font-family: "Bakbak One", cursive;
  font-weight: 400;
}

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

/* 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;
}

.cookie-popup.hidden {
  display: none;
}

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

.cookie-content {
  position: relative;
  background-color: #0a1621;
  max-width: 600px;
  padding: 60px 40px;
  border-radius: 8px;
  z-index: 10001;
  text-align: left;
}

.cookie-content h2 {
  font-size: 48px;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.cookie-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.cookie-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.cookie-btn {
  flex: 1;
  padding: 18px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background-color: #ffffff;
  color: #000000;
}

.cookie-btn.accept:hover {
  background-color: var(--primary-color);
}

.cookie-btn.learn-more {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.cookie-btn.learn-more:hover {
  background-color: var(--text-primary);
  color: #000000;
}

/* Header */
.header {
  background-color: #040b11;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 600;
}

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

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

.nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

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

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card-bg);
  border-radius: 50%;
  transition: all 0.3s ease;
}



.btn-discord {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: var(--card-bg);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-discord:hover {
  background-color: #5865f2;
}

.btn-primary {
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: #141b22;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;

  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

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

.btn-secondary {
  padding: 12px 30px;
  background-color: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--primary-color);

  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #000000;
}

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

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

/* Hero Section */
.hero {
  position: relative;
  padding-block: 330px 130px;
  text-align: center;
  overflow: hidden;
  background: url(/wp-content/themes/fyronakis.com/img/bg.png) center / cover no-repeat;
}

.hero-characters {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 50px;
  height: 300px;
}

.character {
  height: 250px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.char-1 {
  z-index: 1;
}
.char-2 {
  z-index: 2;
  margin: 0 -20px;
}
.char-3 {
  z-index: 3;
  margin: 0 -20px;
}
.char-4 {
  z-index: 2;
  margin: 0 -20px;
}
.char-5 {
  z-index: 1;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 16px;
  color: #fff;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

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

/* How It Works */
.how-works {
  padding: 100px 0;
}

.how-works h2 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 60px;
}

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step {
  position: relative; /* важливо, щоб псевдоелементи позиціювались від картки */
  background-color: var(--card-bg);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  overflow: visible;
}

/* верхній лівий & нижній правий кути */
.neon-frame::before,
.neon-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
  /* розмите світіння */

  opacity: 0;
}

.neon-frame:hover::before,
.neon-frame:hover::after {
  opacity: 0.9;
}

/* верхній лівий L */
.neon-frame::before {
  top: 0px; /* відступ від краю картки */
  left: 0px;
  width: 80px; /* довжина горизонтальної гілки */
  height: 80px; /* довжина вертикальної гілки (за допомогою background-size) */
  background:
    /* горизонтальна смужка (ширина 8px, довжина 60px) */ linear-gradient(
        90deg,
        rgba(0, 255, 153, 1),
        rgba(0, 255, 153, 0)
      )
      top left / 60px 4px no-repeat,
    /* вертикальна смужка (ширина 8px, довжина 60px) */
      linear-gradient(180deg, rgba(0, 255, 153, 1), rgba(0, 255, 153, 0)) top
      left / 4px 60px no-repeat;
  border-radius: 6px;
  mix-blend-mode: screen;
  transform-origin: top left;
}

/* нижній правий L (дзеркально) */
.neon-frame::after {
  bottom: 0px;
  right: 0px;
  width: 80px;
  height: 80px;
  background: linear-gradient(
        270deg,
        rgba(0, 255, 153, 1),
        rgba(0, 255, 153, 0)
      )
      bottom right / 60px 4px no-repeat,
    linear-gradient(0deg, rgba(0, 255, 153, 1), rgba(0, 255, 153, 0)) bottom
      right / 4px 60px no-repeat;
  border-radius: 6px;
  mix-blend-mode: screen;
  transform-origin: bottom right;
}

.step:first-child {
  border-color: var(--primary-color);
}

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

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-number {
  font-size: 18px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
}

/* Story Section */
.story {
  padding: 100px 0;
  background: url(/wp-content/themes/fyronakis.com/img/bg-star.png) 25% 5% / 200px no-repeat;
}

.story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.story-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.story-content p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.stat-item {
  text-align: left;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.stat-number {
  font-size: 48px;
  font-family: "Bakbak One", cursive;
  color: var(--text-primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.benefit-card {
  background-color: var(--card-bg);
  padding: 30px;
  transition: all 0.3s ease;
  text-align: center;
}

.benefit-card:hover {
  -color: var(--primary-color);
  transform: translateY(-5px);
}

.benefit-number {
  font-size: 64px;
  color: rgba(0, 255, 135, 0.1);
  font-family: "Bakbak One", cursive;
  margin-bottom: -50px;
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

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

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: url(/wp-content/themes/fyronakis.com/img/bg-star.png) 25% 5% / 200px no-repeat;
}

.faq h2 {
  font-size: 42px;
  margin-bottom: 60px;
}

.faq-list {
}

.faq-item {
  background-color: var(--card-bg);
  margin-bottom: 20px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
}

.faq-toggle {
  font-size: 28px;
  color: var(--primary-color);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 30px 25px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Contact Form */
.contact {
  padding: 100px 0;
  background-color: var(--secondary-color);
}

.contact h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
}

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

.form-row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row:first-child {
  grid-template-columns: 1fr 1fr;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  background-color: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

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

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
  margin-top: 20px;
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

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

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

.footer-about address {
  font-style: normal;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-social h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}

.social-links img {
  width: 23px;
  height: 23px;
}


.footer-contact p {
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Hot Collection */
.hot-collection {
  padding: 100px 0;
}

.hot-collection h2 {
  font-size: 42px;
  margin-bottom: 60px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.game-card {
  background-color: var(--card-bg);
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
  padding: 14px;
  display: block;
}

.game-card:hover {

  transform: translateY(-5px);
}

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

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

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

.game-info {
  padding: 20px;
}

.game-info h3 {
  font-size: 18px;
  font-weight: 600;
}

.hot-collection .btn-primary {
  display: block;
  max-width: 200px;
  margin: 0 auto;
  text-align: center;
}

/* Game Page */
.game-hero {
  padding: 100px 0;
}

.game-hero .game-card {
  width: 100%;
  max-width: 266px;
  margin-bottom: 30px;
}

.game-hero .container {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 60px;
  align-items: flex-end;
}

.game-thumbnail {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

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

.game-details h2 {
  font-size: 42px;
  margin-bottom: 30px;
}

.game-details p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: var(--secondary-color);
    width: 100%;
    padding: 40px 20px;
    gap: 20px;
    transition: left 0.3s ease;
  }

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

  .burger {
    display: flex;
  }

  .nav-buttons {
    display: none;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-characters {
    height: 200px;
  }

  .character {
    height: 150px;
  }

  .story .container {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .game-hero .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .how-works h2,
  .story h2,
  .faq h2,
  .contact h2,
  .hot-collection h2 {
    font-size: 32px;
  }

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

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

  .form-row:first-child {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    padding: 40px 30px;
  }

  .cookie-content h2 {
    font-size: 36px;
  }

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

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