/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

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

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

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

.cookie-content {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 20px;
  max-width: 500px;
  margin: 20px;
  text-align: center;
}

.cookie-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.cookie-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.cookie-content p {
  margin-bottom: 25px;
  color: #666;
  line-height: 1.5;
}

.cookie-btn {
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  color: white;
}

.cookie-btn.accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

.cookie-btn.reject {
  background: #333;
  color: white;
}

.cookie-btn.reject:hover {
  background: #555;
}

/* Header */
.header {
  background: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: #4285f4;
  text-decoration: none;
}
.nav-brand span{
  color: #000;
}

.nav-icon {
  margin-right: 8px;
}

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0;
  padding-bottom: 150px;


  background: var(--gr1, linear-gradient(180deg, #0D1ED2 0%, #00DB3E 100%));
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.hero-left{
  position: relative;
}
.hero-left h1 {
  font-size: 72px;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 30px;
  position: absolute;
  top: 0;
}

.hero-left p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.95;
  margin-top: 200px;
}

.cta-button {
  background: #000;
  color: white;
  border: none;
  padding: 18px 35px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 60px;
background: var(--gr1, linear-gradient(180deg, #0D1ED2 0%, #00DB3E 100%));
}
.cta-button-bl{
  background: #000 !important;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-right {
  padding-top: 20px;
}

.hero-right p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-images {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-images img {
  position: absolute;
  height: auto;
}

.hero-img1 {
  bottom: 0;
  right: 0;

}



/* About Section */
.about {
  padding: 100px 0;
  background: #f8f9fa;
}

.about h2 {
  font-size: 48px;
  font-weight: bold;

  color: #333;

  color: #151515;
text-align: left;
font-family: Helvetica;
font-size: 70px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
}

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

.about-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.about-images img {
  height: auto;
  width: 100%;
}

.about-text p {
  margin-bottom: 30px;
  line-height: 1.8;
  color: #555;
  font-size: 16px;
}

/* Advantages Section */
.advantages {
  padding: 100px 0;
  background: white;
}

.advantages h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 60px;
  text-align: center;
  color: #333;

  color: #151515;
text-align: center;
font-family: Helvetica;
font-size: 70px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  grid-template-rows: 1fr;
  gap: 20px;
}

/* Первый ряд: 3 блока разной ширины */
.advantages-grid .advantage-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.advantages-grid .advantage-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.advantages-grid .advantage-card:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

/* Второй ряд: 2 блока одинаковой ширины */
.advantages-grid .advantage-card:nth-child(4) {
  grid-column: 1 / 2;
  grid-row: 2;
}

.advantages-grid .advantage-card:nth-child(5) {
  grid-column: 2 / 4;
  grid-row: 2;
}

.categories-flex{
  margin-top: 20px;
  display: flex;
  gap: 20px;
}
.categories-flex .advantage-card{
  width: 100%;
}

@media (max-width:768px) {
  .categories-flex{
    margin-top: 20px;
    display: flex;
    gap: 20px;
    flex-direction: column;
  }
}
.advantage-card {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  color: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: left;


  border-radius: 28px;
background: var(--gr1, linear-gradient(180deg, #0D1ED2 0%, #00DB3E 100%));
  
}

.advantage-icon {
  font-size: 32px;
  margin-bottom: 20px;
  color: white;
}

.advantage-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: bold;

  color: #FFF;
font-family: Helvetica;
font-size: 28px;
font-style: normal;
font-weight: 700;
line-height: normal;
}

.advantage-card p {
  line-height: 1.6;
  opacity: 0.95;

  color: #FFF;
font-family: Helvetica;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

/* Game Categories */
.game-categories {
  padding: 100px 0;
  background: linear-gradient(to bottom, #e8f5e8, #f0f8f0);

  background: linear-gradient(180deg, rgba(13, 30, 210, 0.20) 0%, rgba(0, 219, 62, 0.20) 100%);
}

.game-categories h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 60px;
  text-align: left;
  color: #333;

  color: #151515;
font-family: Helvetica;
font-size: 70px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
}

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

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

.category-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.category-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
  font-weight: bold;
}

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

/* Why Mini Games */
.why-mini-games {
  padding: 100px 0;
  background: white;
}

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

.why-text h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
  line-height: 1.2;
}

.why-text p {
  margin-bottom: 30px;
  line-height: 1.8;
  color: #555;
  font-size: 16px;
}

.why-image {
  text-align: center;
}

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

/* Community Section */
.community {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.community h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 40px;
}

.community p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0.95;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.community .cta-button {
  margin-top: 20px;
}

/* Footer */
.footer {
  background: white;
  color: #333;
  padding: 50px 0 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #4285f4;
  align-items: center;
}

.footer-icon {
  margin-right: 8px;
}

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

.footer-links a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4285f4;
}

.footer-contact {
  text-align: center;
  margin-bottom: 30px;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #4285f4;
}

.footer-contact p:first-child {
  font-weight: bold;
}

.footer-contact a {
  color: #4285f4;
  text-decoration: none;
}

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

.footer-social a {
  font-size: 24px;
  text-decoration: none;
  color: #4285f4;
  transition: transform 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.2);
}

.footer-copyright {
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 20px;
  font-size: 12px;
  color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
      grid-template-columns: 1fr;
      gap: 40px;
      text-align: center;
  }
  
  .hero-left h1 {
      font-size: 56px;
  }
  
  .hero-images {
      position: relative;
  
      margin-top: 40px;
  }
  
 
  
  .about-content,
  .why-content {
      grid-template-columns: 1fr;
      gap: 50px;
      text-align: center;
  }
  
  .advantages-grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
  }
  
  .advantages-grid .advantage-card:nth-child(1),
  .advantages-grid .advantage-card:nth-child(2),
  .advantages-grid .advantage-card:nth-child(3),
  .advantages-grid .advantage-card:nth-child(4),
  .advantages-grid .advantage-card:nth-child(5) {
      grid-column: 1;
      grid-row: auto;
  }
  
  .categories-grid {
      grid-template-columns: 1fr;
      gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav {
      flex-direction: column;
      gap: 20px;
      padding: 20px;
  }
  
  .nav-menu {
      gap: 20px;
  }
  
  .hero {
      padding: 60px 0;
      min-height: auto;
  }
  
  .hero-left h1 {
      font-size: 42px;
  }
  
  .about h2,
  .advantages h2,
  .game-categories h2,
  .why-text h2,
  .community h2 {
      font-size: 36px;
  }
  
  .footer-links {
      flex-direction: column;
      gap: 15px;
  }
}

@media (max-width: 480px) {
  .container {
      padding: 0 15px;
  }
  
  .hero-left h1 {
      font-size: 32px;
  }
  
  .about h2,
  .advantages h2,
  .game-categories h2,
  .why-text h2,
  .community h2 {
      font-size: 28px;
      margin-bottom: 0;
  }
  
  .advantage-card,
  .category-card {
      padding: 25px 20px;
  }
  
  .hero-images img {
      max-width: 70px;
  }
  
 
  
  .cookie-content {
      margin: 10px;
      padding: 20px;
  }
}

.footer-text{
  color: #000;
}
.mob{
  display: none ;
}
@media (max-width:768px) {
  .mob{
    display: block ;
  }
  .pc{
    display: none;
  }
  .hero-container{
    gap: 20px;
  }
  .hero-left p{
    margin-bottom: 0;
  }
  .btn__wrapper{
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  .hero-left p{
    margin-top: 100px;
  }
  .hero-left h1{
    width: 100%;
  }
  .categories-grid{
    gap: 10px;
  }
}







 /* Games Catalog Section */
 .games-catalog {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  color: white;
  padding: 100px 0;
}

.games-catalog h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: left;
  line-height: 1.2;
}

.catalog-text {
  margin-bottom: 60px;
}

.catalog-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.95;
}

.games-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr 1fr;
  gap: 20px;
  align-items: start;
}

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

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

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

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

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-title {
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 0 10px;
}

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

.game-card.large {
  height: 400px;
}

.game-card.small {
  height: 180px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .games-grid {
      grid-template-columns: 1fr 1fr;
      gap: 15px;
  }
  
  .games-grid .game-card.large:first-child {
      grid-column: 1 / 3;
      height: 250px;
  }
  
  .games-grid .game-card.large:last-child {
      grid-column: 1 / 3;
      height: 250px;
  }
  
  .games-column {
      gap: 15px;
  }
  
  .game-card.small {
      height: 120px;
  }
}

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

@media (max-width: 480px) {
  .container {
      padding: 0 15px;
  }
  
  .games-catalog h2 {
      font-size: 28px;
  }
  
  .games-grid {
      grid-template-columns: 1fr;
      gap: 10px;
  }
  
  .games-grid .game-card.large:first-child,
  .games-grid .game-card.large:last-child {
      grid-column: 1;
      height: 200px;
  }
  
  .game-card.small {
      height: 150px;
  }
}




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

/* Game Hero Section */
.game-hero {
  background: var(--gr1, linear-gradient(180deg, #0D1ED2 0%, #00DB3E 100%));
  color: white;
  padding: 80px 0;
  text-decoration: none;
}

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

.game-hero h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.1;
}

.game-hero-left p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.95;
}

.play-now-btn {
  background: #000;
  color: white;
  border: none;
  padding: 18px 35px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.play-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.game-hero-right img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  max-width: 400px;
  margin-left: auto;
  display: block;
}

/* About Game Section */
.about-game {
  background: #f8f9fa;
  padding: 100px 0;
}

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

.about-game-left img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  max-width: 450px;
}

.about-game h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
  line-height: 1.1;
}

.about-game-right p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #555;
}

.about-game .play-now-btn {
  background: #333;
}

.about-game .play-now-btn:hover {
  background: #555;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .game-hero-content,
  .about-game-content {
      grid-template-columns: 1fr;
      gap: 40px;
      text-align: center;
  }
  
  .game-hero h1,
  .about-game h2 {
      font-size: 36px;
  }
}

@media (max-width: 768px) {
  .game-hero {
      padding: 60px 0;
  }
  
  .about-game {
      padding: 80px 0;
  }
  
  .game-hero h1,
  .about-game h2 {
      font-size: 32px;
  }
  
  .game-hero-content,
  .about-game-content {
      gap: 30px;
  }
}

@media (max-width: 480px) {
  .container {
      padding: 0 15px;
  }
  
  .game-hero h1,
  .about-game h2 {
      font-size: 28px;
  }
  
  .play-now-btn {
      padding: 15px 30px;
      font-size: 14px;
  }
}