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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Space Mono", monospace;
    background-color: #ECE9E4;
    color: #4B36C2;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Buttons */
.play-btn, .play-btn-bottom {
    background-color: #4B36C2;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 336px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
}

.play-btn:hover, .play-btn-bottom:hover {
    background-color: #3c2aa1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 90, 90, 0.3);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ECE9E4;
    z-index: 1001;
    padding: 30px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #4B36C2;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.cookie-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #666;
    font-weight: 500;
}

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

.btn-accept {
    background-color: #4B36C2;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-learn-more {
    background-color: transparent;
    color: #4B36C2;
    border: 2px solid #4B36C2;
    padding: 15px 40px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-learn-more:hover {
    background-color: #332293;
    color: white;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ECE9E4;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.cookie-visible {
    position: relative;
}

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

.logo {
    font-size: 20px;
    font-weight: 700;
   color: #4B36C2;

line-height: 90%; /* 21.6px */
letter-spacing: 1.92px;
text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    margin-right: 5px;
    width: 21px;
}

.nav {
    width: 50%;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: space-between;
    width: 100%;
}

.nav-link {
    text-decoration: none;
    color: #4B36C2;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: #4B36C2;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #4B36C2;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    padding: 160px 0 0;
 
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
    display: flex;
   flex-direction: column;
    align-items: center;
    
}

.hero-title {
    font-size:16vw;
    font-weight: 900;
    color: #4B36C2;
    line-height: 0.8;
    margin-bottom: 30px;
    letter-spacing: -2px;
    text-transform: uppercase;
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

.jap-subtitle {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 20px 0;
    justify-content: space-between;
    gap: 20px;
    font-size: 20px;
    
}

.j-blue {
    border-radius: 100px;
background: #4B36C2;
padding: 14px;
color: #fff;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 18px;
font-size: 20px;
}

.hero-text {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 4;
    margin-top: -140px;
}

.hero-subtitle {
    max-width: 360px;
    width: 100%;
    font-size: 18px;
    color: #4B36C2;
line-height: 1.1;
    margin-top: 40px;
}

.hero-subtitle p {
    font-size: 16px;
    color: #4B36C2;


}

.japanese-text {
    font-family: "Montserrat", sans-serif;
    color: #4B36C2;
text-align: center;
-webkit-text-stroke-width: 3px;
-webkit-text-stroke-color: #4B36C2;
font-family: Montserrat;
font-size: 140px;
font-style: normal;
font-weight: 900;
line-height: 90%; /* 99px */
text-transform: uppercase;
text-align: center;
margin-top: -115px;
position: relative;
z-index: 3;
}

.japanese-page {
    color: #4B36C2;
text-align: center;
-webkit-text-stroke-width: 3px;
-webkit-text-stroke-color: #4B36C2;
font-family: Montserrat;
font-size: 140px;
font-style: normal;
font-weight: 900;
line-height: 90%; /* 99px */
text-transform: uppercase;
text-align: center;
position: relative;
z-index: 3;
}

.hero-image {
 width: 100%;
position: relative;
    max-width: 383px;
    z-index: 4;
}

.hero-image img {
    width: 100%;

    display: block;
}

.hero-col {
    max-width: 360px;
    width: 100%;
}

.hero-col p {
    margin-bottom: 10px;
    text-align: right;
}

/* About Section */
.about {
   overflow: hidden;
   margin-top: -15px;
   position: relative;
   z-index: 4;
     background-color: #ECE9E4;
}

.about-content {

    position: relative;
    border-top: 1px solid #4B36C2;
    padding: 80px 0;
    display: grid;
    grid-template-columns: 362px 1fr;
    gap: 60px;
    align-items: start;
}

.vertical-text {
    font-family: "Montserrat", sans-serif;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 140px;
    font-weight: 900;
    color: #4B36C2;
    letter-spacing: -2px;
    line-height: 0.8;
}

.about-description p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #4B36C2;
    font-weight: 500;
}

.highlight {
    color: #4B36C2;
    font-weight: 600;
}

.about-images {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
   object-position: center;
   border-radius: 20px;
}

/* What We Do Section */
.what-we-do {
    padding: 100px 0 0;
   
}

.section-head {
   text-transform: uppercase;
    color: #4B36C2;
   display: flex;
    margin-bottom: 60px;
   width: 100%;
   justify-content: space-between;
   gap: 40px;
}

.section-head span {
  max-width: 360px;
  width: 100%;
  font-weight: 400;
}

.services-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  
}

.services-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #4B36C2;
    font-weight: 400;
}





.services-images {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.cat2 {
    grid-column-start: 3;
}

.cat3 {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 4;
}

.cat4 {
    grid-column-start: 7;
}

.cat5 {
    grid-column-start: 8;
}

.service-category {
    text-align: center;
}

.service-category img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-label {
    font-size: 12px;
    color: #4B36C2;
    font-weight: 500;
}

.play-btn-bottom {
    display: block;
    margin: 0 auto;
}

/* Team Section */
.team {
    padding: 40px 0 100px;
    background-color: #ECE9E4;
}

.team-description {
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #4B36C2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 60px;
}

.team-member {
    text-align: center;
}

.team-member:nth-of-type(3) {
  margin-right: 250px;
}

.team-member:nth-of-type(4) {
 margin-left: 250px;
}

.team-member:nth-of-type(7) {
  margin: 0 182px;
}

.team-member:nth-of-type(14) {
  margin-left: 240px;
}

.team-member:nth-of-type(15) {
  margin-right: 240px;
}

.team-member:nth-of-type() {

}

.team-member:nth-of-type() {

}

.team-member:nth-of-type() {

}



.team-member img {
    width: 117px;
    height: 124px;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member img:hover {
    transform: scale(1.1);
}

.member-name {
    font-size: 12px;
    color: #4B36C2;
    font-weight: 500;
}

.team .play-btn {

}

/* Footer */
.footer {

background: #121212;
    color: rgba(255, 255, 255, 0.605);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 600;
    color: #4B36C2;
}

.footer-info {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.footer-address  {
    font-size: 14px;
    line-height: 1.2;
    color: #ccc;
}

.footer-address a {
    color: #4B36C2;
    text-decoration: none;
}

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

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    font-size: 12px;
    color: #999;
}

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

.footer-links a {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

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



.catalog {
    padding: 140px 0 80px;
    background-image: url(/wp-content/themes/techfile_cadc2u0z/assets/images/cat-bcg.webp);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
}

.catalog-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.cat-title {
    color: #fff;
   color: #FFF;
font-family: Montserrat;
font-size: 9vw;
font-style: normal;
font-weight: 900;
line-height: normal;
text-transform: uppercase;
width: 100%;
}

.cat-img {
    width: 34%;
}

.cat-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.games-grid {

    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    padding: 40px 0;
}

.game-item {
    width: 100%;
    flex: 0 1 31%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #4B36C2;
font-family: Montserrat;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 160%; /* 22.4px */
text-decoration: none;
}


.game-item img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.games-inner {
    padding: 80px 0;
    display: flex;
    gap: 30px;
    justify-content: space-between;
}


.games-img {
    max-width: 400px;
    width: 100%;
}

.games-img img {
    width: 100%;
}

.games-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #4B36C2;
font-family: Montserrat;
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 160%; /* 25.6px */
text-transform: uppercase;
}

.about-inner {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.about-image {
    max-width: 360px;
}

.about-image img {
    width: 100%;
}

/* Mobile Navigation */
@media (max-width: 1023px) {
    .burger-menu {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(245, 242, 240, 0.98);
        backdrop-filter: blur(10px);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        justify-content: center;
        height: 100%;
        gap: 20px;
    }

    .nav-link {
        font-size: 18px;
    }
}

/* Tablet Styles */
@media (max-width: 1023px) {
    .hero-content {
        grid-template-columns: 1fr;
       
        gap: 20px;
    }

    .hero-title {
       
    }

    .japanese-text {
        font-size: 84px;
    }

    .about-content {

    position: relative;
    border-top: 1px solid #4B36C2;
    padding: 80px 0;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    align-items: start;
}

    .vertical-text {
        
        font-size: 60px;
        
    }

    .services-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-info {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Styles */
@media (max-width: 810px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero-title {
      word-break: break-all;
      font-size: 16vw;
      text-align: center;
      margin-bottom: 0;
    }

    .jap-subtitle {
        flex-direction: column;
    }

    .hero-subtitle  {
        margin-top: 0;
    }

    .hero-text {
        margin-top: 0;
       flex-direction: column;
        justify-content: center;
    }

    .hero-image {
        order: 3;
        max-width: 320px;
    }

    .japanese-text {
      margin-top: -130px;
    }

    .games-grid {
        flex-wrap: wrap;

    }

    .games-inner {
        flex-direction: column;
        align-items: center;
    }

    .section-heading {
        font-size: 28px;
    }

    .about-description p,
    .services-text p,
    .team-description {
        font-size: 14px;
    }

    .services-images {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .cat-title {
        width: 60%;
    }

    .cat-content {
        width: 100%;
    }

    .cookie-content h2 {
        font-size: 28px;
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-accept,
    .btn-learn-more {
        width: 200px;
    }

    .about-inner {
        flex-wrap: wrap;
        
    }

    
}

@media (max-width: 480px) {
    .hero-title {
        
    }

.j-blue {
    justify-content: center;
    gap: 6px;
    font-size: 16px;
}

.hero-image {
    max-width: 220px;
}

.japanese-text {
    font-size: 48px;
}

    .about-content {
        display: flex;
        align-items: center;
        flex-direction: column;
        padding-top: 50px;
    }

    .about-inner {
        flex-direction: column-reverse;
        
    }

    .vertical-text {
        font-size: 48px;
        writing-mode: horizontal-tb;
    }

    .section-head {
        flex-direction: column;
    }

    .services-images {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .service-category {
        flex: 0 1 46%;
    }

    .cat3 {
        flex: 0 1 100%;
    }

    .catalog {
        background-size: 245%;
    }

    .team-member img {
        width: 90px;
  height: 100px;
    }

      .team-member:nth-of-type(3) {
  margin-right: 0px;
}

.team-member:nth-of-type(4) {
 margin-left: 0px;
}

.team-member:nth-of-type(7) {
  margin: 0 0px;
}

.team-member:nth-of-type(14) {
  margin-left: 0;
}

.team-member:nth-of-type(15) {
  margin-right: 0px;
}

    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-image {
    animation: fadeInUp 0.8s ease 0.4s both;
}

              .page {
                padding: 140px 0 80px;
              }
              
              .page__inner {
                padding-top: 40px;
                width: 100%;
                margin: 0 auto;
                display: flex;
                  flex-direction: column;
                  row-gap: 18px;
                  line-height: 1.4;
              }

              .page__inner p {
                padding-bottom: 10px;
                padding-top: 8px;
              }

              .page__inner strong {
                font-weight: 600;
              }

              .page__inner ul {
                padding-left: 20px;
                list-style-type: disc;
              }

              
                

                