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

:root {
  --purple-dark: #4a2c7b;
  --purple-main: #5d3a9b;
  --purple-light: #6b46b8;
  --yellow: #fdb022;
  --yellow-light: #ffc850;
  --orange: #ff9a3c;
  --white: #ffffff;
  --text-light: #e8e8e8;
  --black: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--white);
  background-color: var(--purple-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Creepster', cursive;
  font-weight: 400;
  letter-spacing: 2px;
}

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

/* Header */
header {
  background-color: var(--purple-main);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Creepster', cursive;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-decoration: none;
  color: #fff;
}


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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

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

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

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

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

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

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

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

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--yellow);
  color: var(--black);
  padding: 15px 40px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  border: 3px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
  transition: all 0.3s;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--black);
}

/* Hero Section */
.hero {
  background-color: var(--purple-main);
  padding: 80px 0 0;
  position: relative;
  background: url(/wp-content/themes/mytheraxo/assets/images/bgsetka.png);
  background-size: cover;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding-bottom: 40px;
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 30px;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.hero-text p {
  font-size: 0.95rem;
  margin-bottom: 30px;
  color: var(--text-light);
  line-height: 1.7;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
}

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

/* Ticker */
.ticker {
  background-color: var(--yellow);
  padding: 20px 0;
  overflow: hidden;
  border-top: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
  position: relative;
}

.ticker-content {
  display: flex;
  gap: 80px;
  animation: scroll 20s linear infinite;
  white-space: nowrap;
}

.ticker-content span {
  font-family: 'Creepster', cursive;
  font-size: 2rem;
  color: var(--black);
  letter-spacing: 3px;
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--purple-light);
  text-align: center;
}

.about h2 {
  font-size: 3.5rem;
  margin-bottom: 40px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.about-intro {
  font-size: 1rem;
  max-width: 1000px;
  margin: 0 auto 30px;
  color: var(--text-light);
  line-height: 1.7;
}

.about-story {
  font-size: 1rem;
  max-width: 1000px;
  margin: 0 auto 50px;
  color: var(--text-light);
  line-height: 1.7;
}

.about-image-wrapper {
  max-width: 800px;
  margin: 50px auto;
  position: relative;
}

.about-character {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: auto;
  z-index: 2;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  border: 5px solid var(--black);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Adventure Section */
.adventure {
  padding: 100px 0;
  background-color: var(--purple-main);
  background: url(/wp-content/themes/mytheraxo/assets/images/bgsetka.png);
  background-size: cover;
}

.adventure-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.adventure-text h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.adventure-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.7;
}

.adventure-desc {
  margin-bottom: 30px !important;
}

.adventure-character {
  display: flex;
  justify-content: center;
}

.adventure-character img {
  width: 100%;
  max-width: 350px;
  height: auto;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20px;
}
.game-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  padding: 0 10px;
  line-height: 1.3;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

.game-card:hover .game-overlay {
  opacity: 1;
}

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

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.game-card {
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid var(--black);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

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

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Living World Section */
.living-world {
  padding: 100px 0;
  background-color: var(--purple-dark);
}

.world-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  width: 100%;
}
@media (max-width: 768px) {
.world-content{
    flex-direction: column;
  }
}

.world-text {
  width: 100%;

  display: flex;
  justify-content: space-between;
}

.world-text div{
  max-width: 650px;
}

.world-text h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.world-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.7;
}

.world-desc {
  margin-bottom: 30px !important;
}

.world-image-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.cat-character {
  position: absolute;
  left: -100px;
  bottom: -30px;
  width: 200px;
  height: auto;
  z-index: 2;
}

.world-image {
  border-radius: 30px;
  overflow: hidden;
  border: 5px solid var(--black);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
}

.world-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Categories Section */
.categories {
  padding: 100px 0;
  background-color: var(--purple-main);
}

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

.categories-text h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.categories-text p {
  margin-bottom: 25px;
  color: var(--text-light);
  line-height: 1.7;
}

.categories-text ul {
  list-style: none;
  margin-bottom: 40px;
}

.categories-text li {
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
  color: var(--text-light);
  line-height: 1.6;
}

.categories-text li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--white);
  font-size: 1.2rem;
}

.categories-text strong {
  color: var(--white);
  font-weight: 700;
}

.categories-image {
  position: relative;
}



.dragon-character {
  position: absolute;
  bottom: -40px;
  right: -50px;
}

.dragon-character img {
  width: 220px;
  height: auto;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: var(--purple-light);
}

.contact-box {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  border-radius: 40px;
  padding: 50px 60px;
  border: 5px solid var(--black);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.3);
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: center;
position: relative;
overflow: hidden;

border-radius: 50px;
border: 8px solid #000;
background: var(--gr3, linear-gradient(90deg, #F09819 0%, #EDDE5D 100%));
box-shadow: 8px 15px 0 0 #000;
}
.img6{
  position: absolute;
  bottom: -10px;
  left: -10;
}

.contact-character img {
  width: 100%;
  max-width: 320px;
  height: auto;
}
.contact-character{
  position: relative;
  z-index: 1;
}
.contact-info{
  position: relative;
  z-index: 1;
}
.contact-info h2 {
  font-size: 3.5rem;
  color: var(--black);
  margin-bottom: 25px;
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.3);
}

.contact-info p {
  color: var(--black);
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.contact-address {
  font-weight: 700;
  margin-top: 30px !important;
  font-size: 1rem;
}

.contact-phone {
  font-weight: 700;
  font-size: 1rem;
}

.contact-email {
  font-weight: 700;
  font-size: 1rem;
}

/* Footer */
footer {
  background-color: var(--purple-dark);
  padding: 50px 0 30px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Creepster', cursive;
  font-size: 1.8rem;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.footer-logo img {
  width: 45px;
  height: 45px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--yellow);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}



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



.copyright {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

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

.cookie-content {
  background-color: var(--purple-light);
  border-radius: 30px;
  padding: 50px;
  max-width: 700px;
  border: 5px solid var(--black);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.5);
  text-align: center;
  position: relative;
}

.cookie-icon {
  margin-bottom: 30px;
}

.cookie-icon img {
  width: 100px;
  height: auto;
}

.cookie-content h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.cookie-content p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: var(--text-light);
  line-height: 1.7;
}

.btn-accept,
.btn-manage {
  display: block;
  width: 100%;
  padding: 18px;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1rem;
  border: 3px solid var(--black);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-accept {
  background-color: var(--yellow);
  color: var(--black);
  box-shadow: 4px 4px 0 var(--black);
}

.btn-accept:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px0 var(--black);
}

.btn-manage {
    background-color: var(--white);
    color: var(--black);
    box-shadow: 4px 4px 0 var(--black);
}

.btn-manage:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--black);
}

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

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-image {
        order: -1;
        justify-content: center;
    }

    .about-character {
        display: none;
    }

    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .adventure-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .adventure-character {
        order: -1;
        justify-content: center;
    }

    .world-content {
        justify-content: center;
    }

    .world-text {
        text-align: center;
        max-width: 800px;
    }

    .cat-character {
        display: none;
    }

    .categories-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px;
    }

    .contact-character {
        display: flex;
        justify-content: center;
    }

    .dragon-character {
        right: -10px;
        bottom: -10px;
    }

    .dragon-character img {
        width: 150px;
    }
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--purple-main);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 30px 0;
    }

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

    .nav-menu li {
        margin: 15px 0;
    }

    .hero {
        padding: 60px 0 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .about h2,
    .adventure-text h2,
    .world-text h2,
    .categories-text h2 {
        font-size: 2.5rem;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }

    .ticker-content span {
        font-size: 1.5rem;
        gap: 50px;
    }

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

    .about,
    .adventure,
    .living-world,
    .categories,
    .contact {
        padding: 60px 0;
    }

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

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

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

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

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

    .dragon-character {
        display: none;
    }

    .about-intro,
    .about-story {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 0.85rem;
    }

    .about h2,
    .adventure-text h2,
    .world-text h2,
    .categories-text h2 {
        font-size: 2rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .ticker-content span {
        font-size: 1.2rem;
    }

    .logo {
        font-size: 1.2rem;
    }

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

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

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

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

    .btn-accept,
    .btn-manage {
        padding: 15px;
        font-size: 0.9rem;
    }

    .contact-character img {
        max-width: 200px;
    }

    .about-intro,
    .about-story {
        font-size: 0.9rem;
    }

    .categories-text p,
    .categories-text li {
        font-size: 0.9rem;
    }
}