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

/* Font Face Declaration */
@font-face {
    font-family: 'Nico-Moji';
    src: url(/wp-content/themes/techfile_clmyz5ac/fonts/Nico-Moji/NicoMoji-Regular.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Nikukyu', sans-serif;
    background: rgba(203, 197, 185, 1);
    color: rgba(0, 0, 0, 1);
    line-height: 1.2;
}

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

.red {
    color: rgba(238, 23, 25, 1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

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

.cookie-content {
    background: rgba(203, 197, 185, 1);
    border: 4px solid rgba(179, 155, 127, 1);
    padding: 40px;
    border-radius: 4px;
    max-width: 500px;
    text-align: center;
}

.cookie-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: rgba(0, 0, 0, 1);
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.cookie-btn.accept {
    background: rgba(179, 155, 127, 1);
    color: white;
}

.cookie-btn.learn {
    background: rgba(179, 155, 127, 1);
    color: white;
    text-decoration: unset;
}

.cookie-btn:hover {
    opacity: 0.8;
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  height: 80px;
  z-index: 200;
    background: rgba(203, 197, 185, 1);
    border: 1px solid rgba(0, 0, 0, 1);
}

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

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

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

.logo span {
    font-size: 40px;
    font-family: 'Nico-Moji';
    color: rgba(238, 23, 25, 1);
}

.nav {

    display: flex;
}

@media (min-width:768px){
  .nav {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
  }
}

.nav a {
    text-decoration: none;
    font-weight: bold;
    padding: 30px 40px;
    border-left: 1px solid rgba(0, 0, 0, 1);
    border-right: 1px solid rgba(0, 0, 0, 1);
    text-transform: uppercase;
    color: #000;
    transition: all 0.3s ease;
}

.nav a:hover {
  color: rgba(238, 23, 25, 1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 0;
}

.hero-content {

}

.hero-title {
  font-family: 'Nico-Moji';
  font-weight: 400;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;

}

.hero-title span {
  color: rgba(238, 23, 25, 1);
}

.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
}

.hero-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.play-button {
    cursor: pointer;
    display: block;
    transition: all 0.3s ease;
}

.play-button--small {
  width: 120px;
  height: 120px;
}

.play-button--big {
  width: 200px;
  height: 200px;
}

.play-button:hover {
  transform: rotate(45deg);
}

.play-button img {
    width: 100%;
    height: 100%;
}

.hero-games img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.hero-description {
    text-align: center;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 60px 0;
}

.about h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.about-main {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

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

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

.about-text, .about-description {
  max-width: 400px;
  width: 100%;
}

.about-description {
  text-align: right;
}


.about-details {
    display: grid;
    grid-template-columns: 1fr 200px 1fr;
    gap: 40px;
    align-items: flex-end;
}

.detail-box {
    display: flex;
    flex-direction: column;
    background: rgba(179, 155, 127, 1);
    padding: 10px;
}

.detail-box.single {
    grid-template-columns: 1fr;
    text-align: center;
}

.detail-box img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Features Section */
.features {
    padding: 60px 0;
    background: #b8a08c;
}

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

.feature-card {
    background: #d4c5b3;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
}

.red-dot {
    width: 20px;
    height: 20px;
    background: rgba(238, 23, 25, 1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.5;
}

/* FAQ Section */
.faq {
    padding: 60px 0;
}

.faq .container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.faq h2 {
    font-size: 36px;
    line-height: 1.1;
}

.faq h2 span {
  color: rgba(238, 23, 25, 1);
  font-family: "Nico-Moji";
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    gap: 10px;
    text-transform: capitalize;
    align-items: center;
}

.faq-toggle {
    font-size: 20px;
    font-weight: bold;
    color: rgba(238, 23, 25, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    border-left: 2px solid rgba(238, 23, 25, 1);
    transition: max-height 0.3s ease, padding 0 ease;

}

.faq-answer.active {
    max-height: 200px;
    padding: 6px 10px;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
}

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

.testimonial {
    background: rgba(179, 155, 127, 1);
    padding: 30px;
}

.testimonial-icon {
}

.testimonial-icon img {
    width: 147px;
    height: 147px;
}

.testimonial p {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial span {
    font-weight: bold;
    font-size: 14px;
    text-align: right;
    display: block;
}

/* Values Section */
.values {
    padding: 40px 0;

}

.values-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    text-align: center;
}

.value-item {
    padding: 30px 40px;
    font-size: 60px;
    font-weight: bold;
    border: 1px solid #000;
}

.value-item.red {
    color: rgba(238, 23, 25, 1);
    font-family: "Nico-Moji";
}

/* Contact/Footer */
.contact {
    padding: 60px 0 20px;
    border: 18px solid rgba(179, 155, 127, 1);
}

.contact-info h2 {
    font-size: 36px;
    font-family: "Nico-Moji";
    margin-bottom: 30px;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-details img {
    width: 16px;
    height: 16px;
}

.footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-top: 20px;
}

.footer-brand h1 {
  
}

.footer-info {
  background: rgba(179, 155, 127, 1);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 10px 20px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.facebook {
    background: #3b5998;
}

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

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

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

.footer-links a:hover {
  color: rgba(238, 23, 25, 1);
}

.footer-copyright {
    text-align: center;
    font-size: 12px;
    color: rgba(0, 0, 0, 1);
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(203, 197, 185, 1);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content,
    .about-details {
        grid-template-columns: 1fr;
        align-items: center;
        justify-content: center;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .about-main {
        flex-direction: column;
    }
    
    .detail-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .faq .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        font-size: 24px;
    }
    
    .footer-brand h1 {
        font-size: 48px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-info {
      flex-direction: column-reverse;
    }
}

@media (max-width: 480px) {

  .hero-title {
    font-size: 40px;
  }
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .about h2 {
        font-size: 24px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        font-size: 20px;
    }
    
    .value-item {
        padding: 20px;
        font-size: 40px;
    }
    
    .cookie-content {
        padding: 20px;
        margin: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

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

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

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