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

body {
  font-family: 'Unbounded', sans-serif;
  background: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Unbounded', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  border: 2px solid #e74c3c;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Header */
.header {
  position: relative;
  background: transparent;
  padding: 0 0 40px 0;
  margin-bottom: 20px;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
}

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

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

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

.nav-menu a:hover {
  color: #e74c3c;
}

/* Section Container */
.section-container {
  border-radius: 40px;
  background: #2D0B0B;
  border-radius: 32px;
  margin: 40px 0;
  padding: 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 60px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-image {
  order: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hero-text {
  order: 2;
  text-align: center;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 32px;
  color: #ffffff;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Why Choose Section */
.why-choose {
  padding: 0px 0;
}

.why-choose h2 {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 80px;
  color: #ffffff;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.feature-content {
  padding: 32px;
}

.feature-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.3;
}

.feature-content p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.8;
}

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

.about-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #ffffff;
}

.about-text h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 16px;
  color: #ffffff;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0.9;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Gaming Hub Section */
.gaming-hub {
  padding: 0px 0;
}

.gaming-hub-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

.gaming-hub-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gaming-hub-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.gaming-hub-text {
  flex: 1;
}

.gaming-hub-text h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #ffffff;
}

.gaming-hub-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.9;
}

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

.contact-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

.contact-text {
  flex: 1;
}

.contact-text h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #ffffff;
}

.contact-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.9;
}

.contact-buttons {
  display: flex;
  gap: 24px;
}

.contact-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Footer */
.footer {

  padding: 60px 40px 20px;
  border-radius: 32px;
  margin: 40px;

}

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

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

.footer-logo {
  width: 32px;
  height: 32px;
}

.footer-contact,
.footer-phone,
.footer-email {
  opacity: 0.8;
  font-size: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;

}

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

.social-link {


  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: rgba(231, 76, 60, 0.2);
}



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

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #e74c3c;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 400px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  z-index: 2000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.3s ease;
}

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

.cookie-popup h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.cookie-popup p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.8;
}

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

.cookie-buttons .btn {
  padding: 10px 16px;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
      padding: 0 30px;
  }
  
  .nav {
      padding: 0 30px;
  }
  
  .section-container {
      margin: 30px 20px;
      padding: 60px 40px;
  }
  
  .footer {
      margin: 30px 20px;
      padding: 40px 30px 20px;
  }
  
  .features-grid {
      grid-template-columns: 1fr;
      gap: 30px;
  }
}

@media (max-width: 768px) {
  .container {
      padding: 0 20px;
  }
  
  .nav {
      padding: 0 20px;
      flex-direction: column;
      gap: 20px;
  }
  
  .nav-menu {
      gap: 20px;
  }
  
  .section-container {
      margin: 20px 10px;
      padding: 40px 20px;
      border-radius: 20px;
  }
  
  .footer {
      margin: 20px 10px;
      padding: 40px 20px;
      border-radius: 20px;
  }
  
  .hero {
      padding: 20px 0;
  }
  
  .hero-content {
      gap: 40px;
  }
  
  .hero-text h1 {
      font-size: 36px;
  }
  
  .hero-buttons {
      flex-direction: column;
      align-items: center;
      width: 100%;
  }
  
  .why-choose h2,
  .about-text h2,
  .gaming-hub-text h2,
  .contact-text h2 {
      font-size: 36px;
  }
  
  .about-content,
  .gaming-hub-content,
  .contact-content {
      flex-direction: column;
      text-align: center;
      gap: 40px;
  }
  
  .gaming-hub-content {
      flex-direction: column-reverse;
  }
  
  .footer-content {
      flex-direction: column;
      gap: 20px;
      text-align: center;
  }
  
  .footer-bottom {
      flex-direction: column;
      gap: 20px;
      text-align: center;
  }
  
  .cookie-popup {
      left: 10px;
      right: 10px;
      max-width: none;
  }
  
  .cookie-buttons {
      flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
      font-size: 28px;
  }
  
  .about-text h2,
  .gaming-hub-text h2,
  .contact-text h2,
  .why-choose h2 {
      font-size: 28px;
  }
  
  .btn {
      width: 100%;
      text-align: center;
  }
  
  .hero-buttons,
  .contact-buttons {
      flex-direction: column;
      width: 100%;
  }
  
  .footer-links {
      flex-direction: column;
      gap: 16px;
  }
}








/* Games Grid Section */
.games-grid {
  padding: 0px 0;
}

.games-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
 
}

.game-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
}



.game-card img {
  max-width: 100%;
  object-fit: cover;
}

/* ВЕРХНИЙ БЛОК */
.top-block {
  display: flex;
  gap: 20px;
  max-width: 100%;
  max-height: 300px;

}

/* Большая картинка слева в верхнем блоке */
.top-block .game-large {
  flex: 2;
}
img{
  max-width: 100%;
}

/* Правая часть верхнего блока - 2 средние картинки */
.top-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;

}

.game-medium {
  flex: 1;
}

/* НИЖНИЙ БЛОК */
.bottom-block {
  display: flex;
  gap: 20px;
  height: 50%;
}

/* Левая часть нижнего блока - 3 маленькие картинки */
.bottom-left {
  flex: 2;
  display: flex;
  gap: 15px;
}

.game-small {
  flex: 1;
}

/* Большая картинка справа в нижнем блоке */
.bottom-block .game-large {
  flex: 1;
}

/* Responsive for Games Grid */
@media (max-width: 1200px) {
  .games-layout {
      height: auto;
  }
  
  .top-block,
  .bottom-block {
      flex-direction: column;
      height: auto;
  }
  
  .top-block .game-large,
  .bottom-block .game-large {
      height: 300px;
  }
  
  .top-right {
      flex-direction: row;
  }
  
  .game-medium {
      height: 200px;
  }
  
  .bottom-left {
      flex-direction: column;
  }
  
  .game-small {
      height: 150px;
  }
}

@media (max-width: 768px) {
  .top-right,
  .bottom-left {
      flex-direction: column;
  }
  
  .game-medium,
  .game-small {
      height: 180px;
  }
}
.top-right_flex{
  display: flex;
  gap: 4px;
}
.games-layout{
  display: flex;
  justify-content: center;
}



/* Explore Our Diverse Game Selection Section */
.explore-games {
  padding: 0px 0;
}

.explore-games h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #ffffff;
  line-height: 1.2;
}

.intro-text {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 48px;
  opacity: 0.9;
  color: #ffffff;
}

.game-categories {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.category {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.category h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
  line-height: 1.3;
}

.category p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
  color: #ffffff;
  max-width: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .explore-games h2 {
      font-size: 36px;
  }
  
  .intro-text {
      font-size: 16px;
  }
  
  .category h3 {
      font-size: 20px;
  }
  
  .category p {
      font-size: 15px;
  }
  
  .game-categories {
      gap: 32px;
  }
  
  .category {
      padding-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .explore-games h2 {
      font-size: 28px;
  }
  
  .intro-text {
      font-size: 15px;
  }
  
  .category h3 {
      font-size: 18px;
  }
  
  .category p {
      font-size: 14px;
  }
}


.game_page .hero{
 min-height: inherit;
}
.game_page .container{
 width: 100%;
 text-align: left;
}
.game_page .hero-text{
 width: 100%;
 text-align: left;
}
.game_page .hero-text p{
 width: 100%;
 text-align: left;
 max-width: 100%;
}
.game_page .hero-buttons{
 justify-content: flex-start;
}








/* Game Highlights */
.game-highlights {
  padding: 0px 0;
}

.game-highlights h2 {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #ffffff;
}

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

.highlight-card {
  text-align: left;
}

.highlight-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
  line-height: 1.3;
}

.highlight-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
  color: #ffffff;
}

/* About the Game */
.about-game {
  padding: 0px 0;
}

.about-game h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
}

.about-game p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0.9;
  color: #ffffff;
}

/* Key Features */
.key-features {
  padding: 0px 0;
}

.key-features h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #ffffff;
}

.feature-item {
  margin-bottom: 32px;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.feature-item p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
  color: #ffffff;
  margin-bottom: 16px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .highlights-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .game-highlights h2,
  .about-game h2,
  .key-features h2 {
      font-size: 36px;
  }
}

@media (max-width: 768px) {
  .highlights-grid {
      grid-template-columns: 1fr;
  }
  
  .game-highlights h2,
  .about-game h2,
  .key-features h2 {
      font-size: 32px;
  }
  
  .highlight-card h3 {
      font-size: 18px;
  }
  
  .highlight-card p {
      font-size: 13px;
  }
  
  .feature-item h3 {
      font-size: 16px;
  }
  
  .feature-item p,
  .about-game p {
      font-size: 15px;
  }
}

@media (max-width: 480px) {
  .game-highlights h2,
  .about-game h2,
  .key-features h2 {
      font-size: 28px;
  }
  
  .highlight-card h3 {
      font-size: 16px;
  }
  
  .highlight-card p {
      font-size: 12px;
  }
}