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

:root {
  --color-bg-dark: #1a1a1a;
  --color-bg-black: #0d0d0d;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #999999;
  --color-blue: #6B8E9E;
  --color-blue-dark: #5a7a87;
  --color-purple: #B5A3C7;
  --color-salmon: #C98D7E;
  --color-brown: #A67C6D;
  --color-lavender: #9B8FB8;
}

body {
  font-family: 'Akatab', sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;

}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: var(--color-white);
  padding: 40px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

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

.cookie-content p {
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

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

.btn-accept,
.btn-learn {
  padding: 15px 50px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: 'Akatab', sans-serif;
}

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

.btn-accept:hover {
  background: #e8e8e8;
}

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

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

/* Header */
.header {
  background: var(--Background, #101111);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

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

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

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

.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

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

.nav-menu a:hover {
  opacity: 0.7;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-play {
  background: var(--color-blue-dark);
  color: var(--color-white);
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease;

  border-radius: 100px;
background: rgba(99, 133, 150, 0.50);
}

.btn-play:hover {
  background: var(--color-blue);
}

.social-link img {
  width: 24px;
  height: 24px;

  transition: opacity 0.3s ease;
}

.social-link:hover img {
  opacity: 0.7;
}

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

.burger span {
  width: 28px;
  height: 3px;
  background: var(--color-white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: var(--Background, #101111);
  color: var(--color-white);
  padding: 100px 0 0;
  text-align: center;
  overflow: hidden;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  max-width: 750px;
  margin: 0 auto 50px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.btn-hero {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-bg-dark);
  padding: 16px 48px;
  border-radius: 35px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.3s ease;
  margin-bottom: 80px;
}

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

.hero-characters-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-characters {
  display: flex;
  gap: 0;
  animation: scrollLeft 30s linear infinite;
  width: fit-content;
}

.hero-characters:hover {
  animation-play-state: paused;
}

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

.character-card {
  flex-shrink: 0;

  border-radius: 20px;
  overflow: hidden;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.character-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

/* Info Cards */
.info-cards {
  padding: 80px 0;
  background: var(--color-bg-black);
}

.info-cards .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {

  padding: 50px 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  transition: transform 0.3s ease, background 0.3s ease;

  
}

.card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.card h3 {
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.85);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.card-link:hover {
  opacity: 0.7;
}

.card-link svg {
  width: 20px;
  height: 20px;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--color-bg-black);
  color: var(--color-white);
  border-radius: 0 0 55.99px 55.99px;
}

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

.about-left h2 {
  font-size: 52px;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.about-description {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

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

.btn-primary,
.btn-secondary {
  padding: 16px 40px;
  border-radius: 35px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-bg-dark);
}

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

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

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

.about-image {

  border-radius: 25px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.about-features {
  display: flex;

 gap: 20px;
}
.about-features_left{
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 540px;
}

.feature-box {
  padding: 40px;
  border-radius: 20px;
}

.feature-primary {
  background: var(--color-blue);
}

.feature-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-box p {
  font-size: 17px;
  line-height: 1.7;
}

/* Sales Section */
.sales {
  padding: 100px 0;
  background: var(--color-white);
}

.sales h2 {
  font-size: 48px;
  margin-bottom: 60px;
  font-weight: 700;
  color: var(--color-text);
}

.sales-slider-wrapper {
  overflow: hidden;
  position: relative;
}

.sales-track {
  display: flex;
  gap: 40px;
  transition: transform 0.4s ease;
}

.sale-card {
  flex-shrink: 0;
  width: calc(33.333% - 27px);
  border-radius: 20px;
  overflow: hidden;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sale-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sale-image {


  display: flex;
  justify-content: center;
  align-items: center;
}

.sale-image img {
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.sale-info {
  padding: 30px 0px;
}

.sale-info h3 {
  font-size: 26px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--color-text);
}

.sale-price {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.sale-date {
  color: var(--color-text-light);
  font-size: 15px;
}

.sales-controls {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.slider-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--color-text);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: var(--color-text);
}

.slider-btn:hover svg {
  color: var(--color-white);
}

.slider-btn svg {
  color: var(--color-text);
  transition: color 0.3s ease;
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: var(--color-bg-black);
  color: var(--color-white);
  border-radius: 55.99px 55.99px 0 0;

}

.faq h2 {
  font-size: 48px;
  margin-bottom: 60px;
  font-weight: 700;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.faq-item:first-child {
  padding-top: 0;

}
.faq-item:last-child {

  border-bottom: none !important;
}

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

.faq-answer p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.faq-answer a {
  color: var(--color-white);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.faq-answer a:hover {
  opacity: 0.7;
}

.faq-answer strong {
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--color-bg-black);
  color: var(--color-white);
  padding: 60px 0 40px;

}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
}

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

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

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

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

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



.footer-social a:hover {
  opacity: 0.8;
}



.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
      padding: 0 30px;
  }

  .hero-title {
      font-size: 44px;
  }

  .about-left h2 {
      font-size: 42px;
  }

  .info-cards .container,
  .about-features {
      grid-template-columns: 1fr;
  }

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

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

  .sale-card {
      width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .btn-play{
    display: none;
  }
  .social-link{
    display: none;
  }
  .about-features{
    flex-direction: column;
  }
  .nav-menu {
      position: fixed;
      top: 76px;
      left: -100%;
      width: 100%;
      background: var(--color-bg-dark);
      flex-direction: column;
      padding: 40px;
      gap: 30px;
      transition: left 0.3s ease;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

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

  .burger {
      display: flex;
  }

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

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

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

  .hero {
      padding: 60px 0 0;
  }

  .hero-title {
      font-size: 32px;
  }

  .hero-subtitle {
      font-size: 16px;
      margin-bottom: 40px;
  }

  .btn-hero {
      padding: 14px 36px;
      font-size: 16px;
      margin-bottom: 60px;
  }

  .character-card {
      width: 140px;
      height: 140px;
  }

  .info-cards {
      padding: 60px 0;
  }

  .card {
      padding: 35px 30px;
  }

  .card h3 {
      font-size: 22px;
  }

  .about {
      padding: 60px 0;
  }

  .about-left h2 {
      font-size: 32px;
      margin-bottom: 30px;
  }

  .about-description {
      font-size: 16px;
      margin-bottom: 30px;
  }

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

  .btn-primary,
  .btn-secondary {
      text-align: center;
      width: 100%;
  }

  .about-image {
      padding: 40px;
  }

  .feature-box {
      padding: 30px;
  }

  .sales {
      padding: 60px 0;
  }

  .sales h2 {
      font-size: 32px;
      margin-bottom: 40px;
  }

  .sale-card {
      width: 100%;
  }

  .sales-track {
      gap: 20px;
  }

  .sale-image {
      padding: 40px;
  }

  .sale-info {
      padding: 25px;
  }

  .sale-info h3 {
      font-size: 22px;
  }

  .faq {
      padding: 60px 0;
  }

  .faq h2 {
      font-size: 32px;
      margin-bottom: 40px;
  }

  .faq-item {
      padding: 30px 0;
  }

  .footer-content {
      flex-direction: column;
      gap: 40px;
      text-align: center;
      margin-bottom: 40px;
      padding-bottom: 40px;
  }

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

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

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

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

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

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

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

  .btn-accept,
  .btn-learn {
      width: 100%;
  }
}

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

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

  .hero-subtitle {
      font-size: 15px;
  }

  .character-card {
      width: 120px;
      height: 120px;
      padding: 15px;
  }

  .card {
      padding: 30px 25px;
  }

  .card h3 {
      font-size: 20px;
  }

  .about-left h2 {
      font-size: 28px;
  }

  .sales h2,
  .faq h2 {
      font-size: 28px;
  }

  .slider-btn {
      width: 48px;
      height: 48px;
  }
}





/* Games Catalog Section */
.games-catalog {
  padding: 100px 0;
  background: var(--color-white);
}

.games-catalog h2 {
  font-size: 48px;
  margin-bottom: 60px;
  font-weight: 700;
  color: var(--color-text);
}

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

.game-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

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

.game-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.game-card:hover .game-image {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.game-info {
  padding: 0 5px;
}

.game-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.game-users {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.game-play {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
  display: inline-block;
  transition: color 0.3s ease;
}

.game-card:hover .game-play {
  color: var(--color-blue);
}

/* Responsive */
@media (max-width: 1024px) {
  .games-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px;
  }

  .games-catalog h2 {
      font-size: 36px;
      margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .games-catalog {
      padding: 60px 0;
  }

  .games-catalog h2 {
      font-size: 32px;
      margin-bottom: 30px;
  }

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

  .game-info h3 {
      font-size: 20px;
  }

  .game-users,
  .game-play {
      font-size: 14px;
  }
}

@media (max-width: 480px) {
  .games-catalog h2 {
      font-size: 28px;
  }

  .game-image {
      margin-bottom: 15px;
  }
}

.page_dop .header{
  border-radius: 0 0 24px 24px;
background: var(--Background, #101111);
}
.page_dop .footer{
  border-radius: 24px 24px 0 0;
background: var(--Background, #101111);
}




/* Game Detail Hero Section */
.game-detail-hero {
  padding: 80px 0;
  background: var(--color-white);
}

.game-detail-hero .game-hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 80px;
  color: var(--color-text);
}

.game-detail-hero .game-hero-wrapper {

  align-items: flex-start;
  gap: 60px;
}

.game-detail-hero .game-hero-image-box {


  display: flex;
  gap: 24px;
  width: 100%;
  flex-shrink: 0;
  align-items: flex-end;
}

.game-detail-hero .game-hero-image-box img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 426px;
}

.game-detail-hero .game-hero-btn {
 
  bottom: 30px;
  right: 30px;
  background: rgba(99, 133, 150, 0.9);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  padding: 16px 48px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.game-detail-hero .game-hero-btn:hover {
  background: rgba(99, 133, 150, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.game-detail-hero .game-hero-info-box {
  padding-top: 20px;
}

.game-detail-hero .game-hero-name {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.game-detail-hero .game-hero-users {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.game-detail-hero .game-hero-link {
  font-size: 18px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-block;
}

.game-detail-hero .game-hero-link:hover {
  color: var(--color-blue);
}

/* Responsive */
@media (max-width: 1024px) {
  .game-detail-hero .game-hero-title {
      font-size: 38px;
      margin-bottom: 50px;
  }

  .game-detail-hero .game-hero-wrapper {
      gap: 40px;
  }

  .game-detail-hero .game-hero-image-box {
      max-width: 450px;
  }

  .game-detail-hero .game-hero-name {
      font-size: 32px;
  }
}

@media (max-width: 768px) {
  .game-detail-hero {
      padding: 60px 0;
  }

  .game-detail-hero .game-hero-title {
      font-size: 32px;
      margin-bottom: 40px;
  }

  .game-detail-hero .game-hero-wrapper {
      flex-direction: column;
      gap: 30px;
  }

  .game-detail-hero .game-hero-image-box {
      max-width: 100%;
  }

  .game-detail-hero .game-hero-btn {
      bottom: 20px;
      right: 20px;
      padding: 14px 36px;
      font-size: 16px;
  }

  .game-detail-hero .game-hero-name {
      font-size: 28px;
  }

  .game-detail-hero .game-hero-users,
  .game-detail-hero .game-hero-link {
      font-size: 16px;
  }
}

@media (max-width: 480px) {
  .game-detail-hero .game-hero-title {
      font-size: 28px;
  }

  .game-detail-hero .game-hero-image-box img {
      border-radius: 20px;
  }

  .game-detail-hero .game-hero-btn {
      bottom: 15px;
      right: 15px;
      padding: 12px 30px;
      font-size: 15px;
  }

  .game-detail-hero .game-hero-name {
      font-size: 24px;
  }

  .game-detail-hero .game-hero-users,
  .game-detail-hero .game-hero-link {
      font-size: 15px;
  }
}