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

@media (max-width: 768px) {
  .policy {
    padding-block: 100px 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: #000000;
}

.policy__title {
  color: #000000;
}

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

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

html {
  scroll-behavior: smooth;
}

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

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

:root {
  --primary-purple: #7c23b0;
  --secondary-purple: #6b2fbf;
  --cream: #f8f6ea;
  --dark-text: #1a1a1a;
  --light-text: #666666;
  --white: #ffffff;
  --black: #000000;
}

html {
  scroll-behavior: smooth;
}

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

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

/* 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 ease, visibility 0.3s ease;
}

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

.cookie-content {
  background-color: var(--black);
  color: var(--white);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-content h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.cookie-content p {
  margin-bottom: 30px;
  line-height: 1.8;
}

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

.cookie-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accept-btn {
  background-color: var(--white);
  color: var(--black);
}

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

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

.settings-btn:hover {
  background-color: var(--white);
  color: var(--black);
}

/* Header */
.header {
  background-color: #f8f6ea;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #000000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-text {
  font-family: "Homemade Apple", cursive;
  font-size: 1.8rem;
  color: var(--primary-purple);
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
  border-bottom: 0.83px solid #000000;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 50px 30px;
  border-left: 0.83px solid #000000;
  border-right: 0.83px solid #000000;

  position: relative;
}

.hero-star-1 {
  position: absolute;
  width: 30px;
  height: 30px;
  right: -16px;
  bottom: -16px;
  background: url(/wp-content/themes/clyvarion.com/img/star.png) center / contain no-repeat;
}

.hero-star-2 {
  position: absolute;
  width: 30px;
  height: 30px;
  left: -16px;
  bottom: -16px;
  background: url(/wp-content/themes/clyvarion.com/img/star.png) center / contain no-repeat;
}

.hero-top {
  display: grid;
  grid-template-columns: 3fr 7fr 1fr;

  justify-content: space-between;
  gap: 20px;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

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

.hero-decor {
  width: 70px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-decorative img {
    order: -1;
    max-width: 100px;
    margin-bottom: 0;
  }

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

  .hero-top {
    align-items: flex-end !important;
  }

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

.hero-title {
  text-align: left;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.logo-style {
  font-family: "Homemade Apple", cursive;
  color: var(--primary-purple);
}

.logo-style-small {
  font-family: "Homemade Apple", cursive;
  color: var(--primary-purple);
  font-size: 1.1em;
}

.logo-style-inline {
  font-family: "Homemade Apple", cursive;
  color: var(--primary-purple);
}

.hero-decorative {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.star-icon {
  font-size: 2rem;
}

.dots-pattern {
  width: 60px;
  height: 60px;
  background-image: radial-gradient(
    circle,
    var(--dark-text) 2px,
    transparent 2px
  );
  background-size: 10px 10px;
}

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

.hero-description {
}

.hero-description p {
  margin-bottom: 15px;
  color: var(--light-text);
}

.cta-button {
  display: inline-block;
  background-color: var(--black);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary-purple);
  transform: translateY(-2px);
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 50px;
  font-weight: 500;
}

.section-link {
  color: var(--dark-text);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 20px;
}

.section-link:hover {
  color: var(--primary-purple);
}

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

.about .section-header {
  padding: 80px 30px 0;
  border-left: 0.83px solid #000000;
  border-right: 0.83px solid #000000;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-philosophy {
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image img,
.about-icon img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.about-text h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.about-text p {
  color: var(--light-text);
}

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

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

.advantage-card {
  padding: 30px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
}

.advantage-card.purple {
  align-items: flex-start;
  justify-content: center;

  background-color: var(--primary-purple);
  color: var(--white);
}

.advantage-decor {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.advantage-number {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.advantage-image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  overflow: hidden;
}

.advantage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.games-description {
  margin-bottom: 40px;
}

.games-description p {
  margin-bottom: 15px;
  color: var(--light-text);
}

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

.game-card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

.game-card:nth-of-type(1) {
  grid-column: 1/2;
  grid-row: 1/2;
}

.game-card:nth-of-type(2) {
  grid-column: 1/3;
  grid-row: 2/4;
}

.game-card:nth-of-type(3) {
  grid-column: 3/4;
  grid-row: 3/4;
}

.game-card:nth-of-type(4) {
  grid-column: 3/5;
  grid-row: 1/3;
}

.game-card:nth-of-type(5) {
  grid-column: 5/7;
  grid-row: 2/4;
}

.game-card:nth-of-type(6) {
  grid-column: 6/7;
  grid-row: 1/2;
}

.games-decor {
  grid-column: 2/3;
  grid-row: 1/2;
}

.game-card.featured {
  grid-column: span 2;
}

.game-card.large {
  grid-column: span 2;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

/* Games Hero Section */
.games-hero {
  padding: 80px 0 40px;
}

.games-hero-description {
  margin-bottom: 60px;
}

.games-hero-description p {
  margin-bottom: 15px;
  color: var(--light-text);
}

/* Games Catalog */
.games-catalog {
  padding: 40px 0 80px;
}

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

.game-card-link {
  text-decoration: none;
}

/* Game Detail Section */
.game-detail {
}

.game-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 30px;
  border-left: 0.83px solid #000000;
  border-right: 0.83px solid #000000;
  border-bottom: 0.83px solid #000000;

  position: relative;
}

.game-star-1 {
  position: absolute;
  width: 30px;
  height: 30px;
  right: -16px;
  bottom: -16px;
  background: url(/wp-content/themes/clyvarion.com/img/star.png) center / contain no-repeat;
}

.game-star-2 {
  position: absolute;
  width: 30px;
  height: 30px;
  left: -16px;
  bottom: -16px;
  background: url(/wp-content/themes/clyvarion.com/img/star.png) center / contain no-repeat;
}

.game-star-purple {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 7%;
  left: 50%;
  background: url(/wp-content/themes/clyvarion.com/img/star-purple.png) center / contain no-repeat;
}

.game-star-black {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 10%;
  left: 80%;
  background: url(/wp-content/themes/clyvarion.com/img/star.png) center / contain no-repeat;
}

.game-line {
  position: absolute;
  width: 180px;
  height: 1px;
  top: 17%;
  left: 50%;
  background: url(/wp-content/themes/clyvarion.com/img/line.png) center / contain no-repeat;
}

@media (max-width: 768px) {
  .game-star-purple {

    top: 1%;
    left: 90%;
  }

  .game-star-black {
 
    top: 96%;
    left: 90%;
  }

  .game-line {
   
    top: 2%;
    left: 0%;
  }
}

.game-bottom {
  border-left: 0.83px solid #000000;
  border-right: 0.83px solid #000000;
  height: 80px;
}

.game-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.game-description p {
  margin-bottom: 20px;
  color: var(--light-text);
  line-height: 1.8;
}

.game-detail-image img {
  width: 100%;
  border-radius: 15px;
}

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

.faq .section-header {
  position: relative;
}

.faq-decor-1 {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 0;
  right: 0;
  background: url(/wp-content/themes/clyvarion.com/img/star-purple.png) center / contain no-repeat;
}

.faq-decor-2 {
  position: absolute;
  width: 60px;
  height: 60px;
  bottom: 0;
  left: 30%;
  background: url(/wp-content/themes/clyvarion.com/img/star.png) center / contain no-repeat;
}

.faq-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.faq-list-static {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq-item-static h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  margin-bottom: 10px;
}

.faq-item-static p {
  color: var(--light-text);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  padding: 16px;
  border: 1px solid #000000;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: none;
  border: none;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--light-text);
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 60px;
}

.contact-item h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  margin-bottom: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #d0ccc0;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  background-color: var(--white);
  transition: border-color 0.3s ease;
}

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

.submit-btn {
  padding: 15px 40px;
  background-color: var(--black);
  color: var(--white);
  border: none;
  border-radius: 25px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--primary-purple);
}

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

.footer-top {
  position: relative;
  margin-bottom: 30px;
}

.footer-title {
  font-family: "Homemade Apple";
  color: #7c23b0;
  font-size: 90px;
  font-weight: 400;
}

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

.footer-decor {
  position: absolute;
  right: 0;
  top: 30%;
  width: 50px;
  height: 50px;
  background: url(/wp-content/themes/clyvarion.com/img/star.png) center / contain no-repeat;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-social p {
  margin-bottom: 20px;
}

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

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

.social-links img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-links h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--dark-text);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #d0ccc0;
}

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

  .about-mission,
  .about-philosophy {
    grid-template-columns: 1fr;
  }

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

  .games-grid {
    gap: 10px;
  }

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

  .game-card.featured,
  .game-card.large {
    grid-column: span 1;
  }

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

  .faq-list-static {
    display: none;
  }

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

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

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

  .game-detail-image {
    order: -1;
  }
}

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

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

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

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--cream);
    flex-direction: column;
    padding: 100px 30px 30px;
    gap: 30px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

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

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 30px;
  }

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

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

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

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

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

  .contact-title,
  .game-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cta-button,
  .submit-btn {
    width: 100%;
    text-align: center;
  }

  .contact-title,
  .game-title {
    font-size: 1.5rem;
  }
}
