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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: rgba(42, 42, 42, 1);
    background-color: #fff;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e7ff;
    padding: 20px 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.cookie-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.cookie-content p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-accept, .btn-decline {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: #2563eb;
    color: white;
}

.btn-accept:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-decline {
    background: #e2e8f0;
    color: #64748b;
}

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

/* Header */
.header {
    background: linear-gradient(104.02deg, #515EED 0%, #8FB3F6 50.49%, #515EED 97.23%);
    padding: 15px 0;
    position: fixed;
    width: 100vw;
    top: 0;
    z-index: 999;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: unset;
}

.logo-icon {
    width: 30px;
    height: 30px;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 30px;
    background: #fff;
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 25px;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 15px;
    border-radius: 15px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(104.02deg, #515EED 0%, #8FB3F6 50.49%, #515EED 97.23%);
    padding: 160px 0 0;
    color: white;
    margin-top: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0;
  margin-top: -40px;
  position: relative;
  z-index: 2;
  align-items: center;
  text-align: left;
}

.hero-title {
  max-width: 880px;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.hero-title img {
  width: 100%;
  height: auto;
}

.hero-content img {
  object-fit: contain;
  width: 100%;
  height: auto;
}

.hero-description {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-games {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 430px;
  z-index: 2;
  height: auto;

}

.hero-games a {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 12px;
}

.hero-games a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width:768.1px){
    .hero-games {
      position: absolute;
      right: 0;
      bottom: 0;
        aspect-ratio: 430/264;
      /* margin-right: -60px; */
    }
}

@media (max-width:768px){
  .hero-games {
    padding: 20px;
    box-sizing: border-box;
  }
}

.hero-description p {
    font-size: 16px;
    line-height: 1.1;
}

.btn-primary {
  display: flex;
  align-items: center;
  text-decoration: unset;
  
}

.btn-primary span {
  background: rgba(0, 10, 207, 1);
  border-radius: 100px;
  padding: 6px 36px;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  color: #fff;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary svg {
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


        .btn-primary:hover svg {
            transform: translateX(12px) rotate(360deg) scale(1.3);
            box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
        }

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 45px;
}

/* Games Section */
.games-section {
    padding: 60px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-description {
    font-size: 16px;
    line-height: 1.7;
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 24px;
    margin-top: 60px;
}

@media (max-width:768px){
  .section-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

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

.game-icon {
    width: 100%;
    height: auto;
    
    aspect-ratio: 1/1;
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.game-info {
    flex: 1;
}

.game-title {
    font-size: 1.3rem;
    font-weight: 600;
   background: rgba(0, 10, 207, 1);
    border-radius: 100px;
    padding: 6px 36px;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    color: #fff;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.game-desc {
  font-size: 16px;
  line-height: 1.2;
}

.game-device {
    width: 60px;
    height: 60px;
}

.game-device img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.game-item--main .game-icon {
  width: 100%;
  aspect-ratio: unset;
  height: 340px;
}

.game-item--main .game-icon img {
  border-radius: 40px;
  object-fit: cover;
}

.game-item--main .game-info {
  margin-top: -110px;

}

.game-item--main .game-info p {
  background: #fff;
  display: block;
  padding: 6px;
  height: max-content;
  border-radius: 40px;
    max-width: 80%;
  width: 100%;
}

/* Footer */
.footer {
    background: linear-gradient(104.02deg, #515EED 0%, #8FB3F6 50.49%, #515EED 97.23%);
    color: white;
    padding: 50px 0 30px;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 40px;
    text-decoration: unset;
}

.footer-info {
    flex: 1;
}

.footer-info p {
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link img {
    width: 20px;
    height: 20px;
}

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

.footer-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
  text-decoration: underline;
}

.copyright {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
 
    
    .games-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        gap: 20px;
        padding: 8px 20px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-link {
        padding: 5px 10px;
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-top: 20px;
    }

    
    .games-showcase {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
        gap: 20px;
    }
    
    .games-section {
        padding: 60px 0;
    }
    
    .game-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .game-icon {
        margin: 0 auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
    
    .footer-links {
        order: -1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .games-showcase {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-accept, .btn-decline {
        width: 200px;
    }
}

@media (min-width:768px){
   .info-block {
    max-width: 70%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  } 
}

.info-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-block img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.info-block {
  margin-top: 60px;
}

.description {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.description-title {
  font-weight: 600;
  font-size: 96px;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about-title {
  font-weight: 600;
  font-size: 64px;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 10px;
}

@media (max-width:768px){
    .hero-content,
    .description-content,
    .footer-content {
      grid-template-columns: 1fr;
    }

    .description-title,
    .about-title {
      font-size: 48px;
    }

    .footer-links,
    .footer-bottom {
      flex-direction: column;
    }
    .hero-description {
      order: 2;
    }
}

@media (max-width:450px){
    .description-title {
      font-size: 30px;
    }
    .hero-games {
      grid-template-columns: 1fr 1fr;
    }

    .hero-games a {
      width: 90%;
      margin: 0 auto !important;
    }
}

body {
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

.description-content img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

#about {
  scroll-margin-top: 80px;
}

.policy {
  margin-top: 80px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.policy h1 {
  font-weight: 600;
  font-size: 38px;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.policy-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-content a {
  color: inherit;
  text-decoration: none;
}

@media (max-width:768px){
    .policy h1 {
      font-size: 30px;
    }
}