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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: rgba(0, 0, 0, 1);
    color: white;
    overflow-x: hidden;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(240, 240, 240, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.cookie-notice.hidden {
    display: none;
}

.cookie-content {
    text-align: center;
    color: #333;
    max-width: 600px;
    padding: 40px;
}

.cookie-content h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 30px;
    color: #333;
}

.cookie-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #333;
}

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

.cookie-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.cookie-btn.learn-more {
    background-color: transparent;
    color: #333;
    border: 2px solid #333;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 40px;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 24px;
    text-decoration: unset;
    color: #fff;
}

.nav-logo img {
    width: 30px;
    height: 30px;
}

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

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

.nav-menu a:hover {
    opacity: 0.7;
}

.games-btn {
    background: white;
    color: #1a1a1a;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease;
}

.games-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

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

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-left {
    flex: 1;
    position: relative;
}

.hero-left h1 {
    font-size: clamp(120px, 15vw, 200px);
    font-weight: 900;
    line-height: 0.8;
    margin-bottom: 40px;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.japanese-text {
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 900;
    margin-bottom: 40px;
    line-height: 1;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 500px;
}

.game-card {
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
}

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

/* About Section */
.about {
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 80px;
    z-index: 2;
    position: relative;
    padding: 100px 40px;
}

.about-left h1 {
  display: flex;
  flex-direction: column;
    
}

.about-left h1 span {
font-size: clamp(80px, 12vw, 150px);
    font-weight: 900;
    line-height: 0.8;
}

.japanese-text-about {
    font-size: clamp(40px, 6vw, 110px);
    font-weight: 900;
    line-height: 1;
}

.about-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.about-image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.about-text p {
    font-size: 14px;
    line-height: 1.6;
}

/* Why Section */
.why {
    padding-top: 80px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 90px;
    color: #000;
    overflow: hidden;
}
/* 
.why-container {
    max-width: 1200px;
    margin: 0 auto;
} */

.why-hero {
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.why-ninja {
    width: 100%;
    max-width: 650px;
    height: auto;
}

.why-container h2 {
    font-size: 14px;

    text-align: center;
}

.variety-text {
  margin-bottom: 20px;
  padding-right: 20px;
}

.variety-text img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.variety-line1, .variety-line2 {
    text-align: left;
}

.variety-line3, .variety-line4, .variety-line5 {
    text-align: right;
}

.variety-line6, .variety-line7 {
    text-align: center;
}

.inline-ninja, .inline-ninja2 {
    width: 40px;
    height: 40px;
    margin: 0 10px;
}

.game-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-left: 40px;
    padding-right: 20px;
    padding-bottom: 120px;
}

.category h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.category p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.8;
}

/* Community Section */
.community {
    padding: 100px 40px;
    background-color: #1a1a1a;
}

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

.community h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 60px;
    line-height: 1.2;
    text-align: center;
    color: white;
}

.community-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    margin-bottom: 80px;
    align-items: start;
}

.community-card {
    position: relative;
}

.community-image {
  display: flex;
  gap: 12px;
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

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

.community-text img {
  height: 80%;
  width: auto;
  max-width: 40vw;
}



.community-text p {
    font-size: 14px;
    line-height: 1.6;
    color: white;
    max-width: 255px;
}

.community-description {
    display: flex;
    align-items: center;
    padding: 40px;
}

.community-description p {
    font-size: 14px;
    line-height: 1.6;
    color: white;
    opacity: 0.8;
}

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

.join-content h3 {
    font-size: 40px;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    color: white;
    text-align: left;
}

.join-content p {
    font-size: 14px;
    line-height: 1.6;
    color: white;
    opacity: 0.9;
}

.join-image-container {
    position: relative;
}

.join-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}
/* Footer */
.footer {
    background-color: #f5f5f5;
    padding: 40px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    color: #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

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

.footer-logo img {
    width: 30px;
    height: 30px;
}

.footer-left p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-center p {
    font-size: 14px;
    margin-bottom: 5px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    row-gap: 10px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

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

.social-links img {
    width: 30px;
    height: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    
    .about-content {
      display: flex;
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    
    .why-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .community-content {
        flex-direction: column;
        gap: 60px;
    }
    .community-grid {
      grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    
    .join-section {
      grid-template-columns: 1fr;
    }
    .community-card {
      width: 100%;
    }

    .community-image {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      width: 100%;
      height: unset !important;
    }

    .about-content {
      padding: 20px;
      padding-top: 140px;
    }

   .community-image img {
      width: 100% !important;
      height: auto !important;
      object-fit: cover;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero,
    .why,
    .community {
        padding: 80px 20px;
    }
    
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
    }
    
    .game-categories {
        grid-template-columns: 1fr;
        padding-bottom: 20px;
        padding-right: 0;
        padding-left: 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .footer-logo {
      justify-content: center;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        padding: 20px;
    }
    
    .cookie-content h2 {
        font-size: 32px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .nav-menu {
        display: none;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
        max-width: 200px;
    }
    .variety-text {
      padding-right: 0;
      padding-top: 20px;
    }
    .about-text {
      grid-template-columns: 1fr;
      margin-top: 40px;
    }
}

.policy {
  background-color: rgba(237, 232, 229, 1);
  padding-top: 140px;
  padding-bottom: 60px;
  color: #000;
}

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

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

.policy-content li {
  list-style-position: inside;
}

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