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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #000;
  min-height: 100vh;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(20, 20, 30, 0.95);
  color: white;
  padding: 30px;
  border-radius: 15px;
  max-width: 400px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.cookie-popup h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 15px;
}

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

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-buttons button {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-accept {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

.btn-accept:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  transform: translateY(-2px);
}

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

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

/* Hero Section */
.hero {
  padding: 30px;

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

.hero-card {
  background: #fff;
  border-radius: 30px;
  max-width: 1400px;
  width: 100%;
  padding: 40px;
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

/* Header */
.header {
  margin-bottom: 60px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.logo-icon {
  font-size: 24px;
  color: #8b5cf6;
}

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

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

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  max-width: 100%;
}
.hero-text{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
@media (max-width:768px) {
  .hero-text{
    flex-direction: column;
  }
}
.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.hero-text p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  min-width: 256px;
  text-align: center;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.hero-image {
  width: 100%;
  margin-top: 40px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* About Section */
.about {
  padding: 30px;
  margin-top: 30px;
}

.about-card {
  background: #fff;
  border-radius: 30px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 60px;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.about-text p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

/* Values Section */
.values {
  padding: 30px;
  margin-top: 30px;
}

.values-card {
  background: #fff;
  border-radius: 30px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 60px;
}

.values-card h2 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  color: #1a1a1a;
}

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

.value-item {
  display: flex;
  flex-direction: column;
}

.value-image {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.value-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.value-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Playstyles Section */
.playstyles {
  padding: 30px;
  margin-top: 30px;
}

.playstyles-card {
  background: #fff;
  border-radius: 30px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 60px;
}

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

.playstyles-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.playstyles-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #1a1a1a;
}

.playstyles-text p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.7;
}

.playstyles-text strong {
  color: #1a1a1a;
  font-weight: 700;
}

/* Contact Section */
.contact {
  padding: 30px;
  margin-top: 30px;
}

.contact-card {
  background: #fff;
  border-radius: 30px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 60px;
}

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

.contact-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #1a1a1a;
}

.contact-text p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #666;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

/* Footer */
.footer {
  background: #000;
  color: white;
  padding: 80px 30px 40px;
  margin-top: 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 60px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

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

.footer-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  justify-items: end;
}

.footer-address,
.footer-contact,
.footer-email {
  text-align: right;
}

.footer-address p,
.footer-contact p,
.footer-email p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 2px;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  gap: 40px;
  justify-content: flex-end;
  margin-bottom: 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

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

.footer-social {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.social-link {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link.twitter {
  background: #1da1f2;
}

.social-link.facebook {
  background: #4267b2;
}

.social-link:hover {
  transform: translateY(-3px);
}



.footer-copyright {
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  
  .mobile-menu-toggle {
      display: flex;
  }
  
  /* .nav-menu {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      flex-direction: column;
      padding: 20px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      transform: translateY(-10px);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      border-radius: 15px;
      margin-top: 10px;
  }
  
  .nav-menu.active {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
  } */
  .nav{
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-menu li {
      margin-bottom: 15px;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
      opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero {
      padding: 20px;
  }
  
  .hero-card,
  .about-card,
  .values-card,
  .playstyles-card,
  .contact-card {
      padding: 30px;
      border-radius: 20px;
  }
  
  .hero-content,
  .about-content,
  .playstyles-content,
  .contact-content {
      grid-template-columns: 1fr;
      gap: 40px;
  }
  
  .hero-content {
      max-width: 100%;
      flex-direction: column;
  }
  
  .values-grid {
      grid-template-columns: 1fr;
      gap: 30px;
  }
  
  .hero-text h1 {
      font-size: 36px;
  }
  
  .about-text h2,
  .playstyles-text h2,
  .contact-text h2,
  .values-card h2 {
      font-size: 28px;
  }
  
  .footer-content {
      grid-template-columns: 1fr;
      gap: 30px;
      text-align: center;
  }
  
  .footer-info {
      grid-template-columns: 1fr;
      gap: 20px;
      justify-items: center;
  }
  
  .footer-address,
  .footer-contact,
  .footer-email {
      text-align: center;
  }
  
  .footer-links {
      flex-wrap: wrap;
      gap: 15px;
  }
  
  .cookie-popup {
      left: 10px;
      right: 10px;
      max-width: none;
  }
}

@media (max-width: 480px) {
  .hero,
  .about,
  .values,
  .playstyles,
  .contact {
      padding: 15px;
  }
  
  .hero-card,
  .about-card,
  .values-card,
  .playstyles-card,
  .contact-card {
      padding: 20px;
  }
  
  .hero-text h1 {
      font-size: 28px;
  }
  
  .hero-text p,
  .about-text p,
  .playstyles-text p,
  .contact-text p {
      font-size: 16px;
  }
  
  .cookie-popup {
      padding: 20px;
  }
  
  .cookie-popup h3 {
      font-size: 20px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Section spacing adjustments */
section {
  scroll-margin-top: 80px;
  margin-top: 0px !important;
  padding-bottom: 0px !important;
}


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

.value-item {
  display: flex;
  flex-direction: column;
}

.value-image {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.value-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.value-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}











/* Games Showcase Section */
.games-showcase {
  padding: 30px;
  margin-top: 30px;
}

.games-card {
  background: #f8f9fa;
  border-radius: 30px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 60px;
  overflow: hidden; /* Добавлено */
}

.games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%; /* Добавлено */
}

.games-block {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 15px;

  width: 100%; /* Добавлено */
  min-width: 0; /* Добавлено для предотвращения переполнения */
}

.small-games {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-width: 0; /* Добавлено */
}

.game-item {
  display: block;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
  text-decoration: none;
  min-width: 0; /* Добавлено */
  width: 100%; /* Добавлено */
  height: 100%; /* Добавлено */
}

.game-item:hover {
  transform: scale(1.02);
}

.game-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Добавлено */
}

.game-title {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  font-size: 24px;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
}

.game-title-small {
  position: absolute;
  bottom: 8px;
  left: 10px;
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .games-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  
  .games-block {
      grid-template-columns: 1fr;
      grid-template-rows: 2fr 1fr;
      height: auto;
  }
  
  .small-games {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr;
      height: 120px;
  }
  
  .game-title {
      font-size: 20px;
  }
  
  .game-title-small {
      font-size: 12px;
  }
}




/* Quote Section */
.quote-section {
  padding: 30px;
  margin-top: 30px;
}

.quote-card {
  background: #f8f9fa;
  border-radius: 30px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 60px;
}

.quote-card h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.quote-subtitle {
  font-size: 18px;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.6;
}

.quote-main {
  font-size: 18px;
  color: #1a1a1a;
  margin-bottom: 30px;
  line-height: 1.6;
}

.quote-description {
  font-size: 18px;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.6;
}

.quote-description:last-child {
  margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .quote-card {
      padding: 40px 30px;
  }
  
  .quote-card h2 {
      font-size: 32px;
  }
  
  .quote-subtitle,
  .quote-main,
  .quote-description {
      font-size: 16px;
  }
}

@media (max-width: 480px) {
  .quote-card {
      padding: 30px 20px;
  }
  
  .quote-card h2 {
      font-size: 28px;
  }
}
.mobile-menu-toggle{
  display: none !important;
}




/* Cryzen Section */
.cryzen-section {
  padding: 30px;
  margin-top: 30px;
}

.cryzen-card {
  background: #f8f9fa;
  border-radius: 30px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 60px;
}

.cryzen-card h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 50px;
  color: #1a1a1a;
  text-align: center;
}

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

.feature-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
  line-height: 1.3;
}

.feature-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .cryzen-card {
      padding: 40px 30px;
  }
  
  .cryzen-card h2 {
      font-size: 32px;
      margin-bottom: 40px;
  }
  
  .cryzen-features {
      grid-template-columns: 1fr;
      gap: 30px;
  }
  
  .feature-item h3 {
      font-size: 18px;
  }
  
  .feature-item p {
      font-size: 16px;
  }
  .values-grid{
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .cryzen-card {
      padding: 30px 20px;
  }
  
  .cryzen-card h2 {
      font-size: 28px;
  }
}
.logo{
 text-decoration: none !important;
}