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

body {
    font-family: 'Luckiest Guy', cursive;
    background-color: rgba(12, 12, 14, 1);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.cookie-content p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 15px;
    font-family: Inter, sans-serif;
    line-height: 1.5;
}

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

.accept-cookies {
    background: rgba(116, 109, 242, 1);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    flex: 1;
    transition: all 0.3s ease;
}

.accept-cookies:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

.refuse-cookies {
    background: transparent;
    color: white;
    border: 2px solid #333;
    padding: 15px 30px;
    border-radius: 10px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    flex: 1;
    transition: all 0.3s ease;
}

.refuse-cookies:hover {
    border-color: #666;
    background: #333;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 1rem 0;
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: 'Inter';
  font-weight: 800;
  font-size: 24px;
  line-height: 90%;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: unset;
}

.nav-logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: rgba(116, 109, 242, 1);
}

.nav-cta {
    background: rgba(116, 109, 242, 1) !important;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #6d28d9 !important;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 2rem;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero-text {
  background: #fff;
  border-radius: 30px;
  padding: 40px;
  color: rgba(12, 12, 14, 1);
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.hero-text p {
    font-family: Inter, sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-image {
  height: 100%;
}

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

.cta-button {
    display: inline-block;
    background: rgba(116, 109, 242, 1);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.cta-button:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    padding: 60px 2rem;
}

.about-section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 2px;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
}

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

.about-text p {
    font-family: Inter, sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #ccc;
}

/* Features Section */
.features-section {
    padding: 60px 2rem;
}

.features-section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.section-subtitle {
    font-family: Inter, sans-serif;
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: #ccc;
    line-height: 1.6;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

.feature-card {
    background: rgba(255, 255, 255, 1);
    border-radius: 20px;
    padding: 24px;
    color: rgba(12, 12, 14, 1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

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

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.feature-card p {
    font-family: Inter, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

/* Play Way Section */
.play-way-section {
    padding: 60px 2rem;
   
}

.play-way-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
}

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

.play-way-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.play-way-text p {
    font-family: Inter, sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #ccc;
}

/* Games Page Styles */
.games-hero {
    display: flex;
    align-items: center;
    padding: 120px 2rem 80px;
}



.games-grid-section {
    padding: 60px 2rem;
}

.games-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.game-card {
  max-width: 275px;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px) !important;
}

.game-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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


.games-philosophy {
    padding: 60px 2rem;
}

.games-philosophy h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 2px;
}

.philosophy-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
}

/* Snake Game Page Styles */
.snake-hero {
    display: flex;
    align-items: center;
    padding: 80px 2rem 60px;
}


.play-button {
  display: flex;
  width: max-content;
    background: rgba(116, 109, 242, 1);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-decoration: unset;
}

.play-button:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

.why-snake-section {
    padding: 60px 2rem;
    background: #000;
}

.why-snake-section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 2px;
}

.snake-features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.snake-feature-card {
    background: #111;
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.snake-feature-card:hover {
    transform: translateY(-10px);
}

.snake-feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

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

.snake-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.snake-feature-card p {
    font-family: Inter, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #ccc;
}

.about-snake-section {
    padding: 60px 2rem;
}

.about-snake-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
}

/* Footer */
.footer {

    margin-top: 4rem;
    margin-bottom: 32px;
}

.footer-content {
  background: rgba(116, 109, 242, 1);
  border-radius: 30px;
  padding: 3rem 2rem 2rem;
  max-width: 1400px;
  
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

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

.footer-info p,
.footer-info a {
    font-family: Inter, sans-serif;
    margin-bottom: 0.5rem;
    color: #fff;
    text-decoration: unset;
    transition: all 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

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

.footer-bottom p {
    font-family: Inter, sans-serif;
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-family: Inter, sans-serif;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-content,
    .about-content,
    .play-way-content,
    .games-hero-content,
    .philosophy-content,
    .about-snake-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1,
    .games-hero-text h1,
    .snake-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-section h2,
    .features-section h2,
    .play-way-text h2,
    .games-philosophy h2,
    .why-snake-section h2,
    .about-snake-text h2 {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .snake-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
  .hero-image {
    height: 336px;
  }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-text h1,
    .games-hero-text h1,
    .snake-hero-text h1 {
        font-size: 2rem;
    }
    
    .about-section h2,
    .features-section h2,
    .play-way-text h2,
    .games-philosophy h2,
    .why-snake-section h2,
    .about-snake-text h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        margin-left: 16px;
        margin-right: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .cookie-banner {
        padding: 20px;
        max-width: 90%;
    }
    
    .cookie-content h2 {
        font-size: 2rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    .footer-top {
      flex-direction: column;
    }
    .footer-links {
      flex-direction: column;
      align-items: flex-start;
    }
    .footer-bottom {
      flex-direction: column-reverse;
      align-items: flex-start;
    }
}

@media screen and (max-width: 480px) {
    .hero,
    .games-hero,
    .snake-hero {
        padding: 100px 1rem 60px;
    }
    
    .about-section,
    .features-section,
    .play-way-section,
    .games-grid-section,
    .games-philosophy,
    .why-snake-section,
    .about-snake-section {
        padding: 60px 1rem;
    }
    
    .hero-text h1,
    .games-hero-text h1,
    .snake-hero-text h1 {
        font-size: 1.8rem;
    }
    
    .about-section h2,
    .features-section h2,
    .play-way-text h2,
    .games-philosophy h2,
    .why-snake-section h2,
    .about-snake-text h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .snake-feature-card {
        padding: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .game-image {
        height: 150px;
    }
}

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

/* Overlay for mobile menu */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.mobile-overlay.active {
    display: block;
}

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

.policy h1 {
  font-family: 'Inter';
  font-weight: 900;
  font-size: 40px;
  line-height: 90%;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  margin-bottom: 48px;
}

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

.policy-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Inter';
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
}

.policy-content a {
  color: inherit;
}