/*<!--
  Neramit Dai Mai Co., Ltd.
  M-Style CSS
  Version: 1.0.0
-->*/

:root {
      --primary: #0b4b8a;
      --secondary: #7b4bb7;
      --dark: #0f172a;
      --light: #f8fafc;
      --text: #2b2b2b;
      --muted: #666;
      --pill-bg: #f3f3f3;
      --pill-border: #ccc;
      --accent: #ff7a45;
      --bg: #fff4e6;
      --radius: 24px;
    }

/*<!--------------- MAIN --------------->*/
html {
    scroll-behavior: smooth;
    font-size: clamp(15px, 1.2vw, 18px);
    } 
body {
    background-image: url("../image/BG.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    }
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    }
.container {
    max-width: 1280px;
    margin: auto;
    padding: 0 20px;
    }

.section {
    padding: clamp(1rem, 8vw, 2rem) 0;
    }
.section-title {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 1200;
    color:var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: clamp(1.5rem, 5vw, 3rem);
    line-height: 1;   
    font-size: clamp(1.4rem, 3vw, 2rem);
    }

p {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.7;
  }

.grid {
    display: grid;
    gap: 24px;
    }

/*<!--------------- HERO --------------->*/

.hero {
  padding: clamp(40px, 10vw, 100px) 0;
  }
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
  }
.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
  }
.hero-actions {
    margin-top: 24px;
  }

/*<!--------------- SHOWCASE --------------->*/

.showcase-grid { /* Main Game */
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 20px;
    }
.showcase-grid2 { /* Minigame */
    grid-template-columns: repeat(6, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
    }

.showcase-card {
    height: 100%;
    background-image: url("../image/BG.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    filter: grayscale(80%);
    border-radius: 360px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    }
.showcase-card:hover {
    filter: grayscale(0%);
}
.showcase-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    }
.showcase-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    } 
.showcase-img:hover {
    transform: scale(1.4);
    } 




/*<!--------------- SERVICE --------------->*/
.services-grid {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}
.service {
  border-radius: 12px;
}




/*<!--------------- CLIENT --------------->*/
.client-scroll-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    margin-top: 2rem;
    overflow: hidden;
    mask-image: linear-gradient( to right, transparent 0%, var(--light) 6%, var(--light) 94%, transparent 100% );
    }

.client-scroll {
    display: flex;
    gap: 2rem;
    width: fit-content;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    justify-content: center;
    padding: 24px 64px;
    margin-inline: auto;
    align-items: center;
    cursor: grab;
    scroll-snap-type: x mandatory;
    align-items: center;
    }
.client-scroll.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    }
.client-scroll::-webkit-scrollbar {
    display: none;
    }

.client-item {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-image: url("../image/BG.png");
    display: grid;
    place-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    pointer-events: auto;
    user-select: none;
    }
.client-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.25s ease;
    }
.client-item:hover{
    transform: scale(1.2);
    }
.client-item::after {
    content: attr(data-name);
    position: absolute;
    inset: 0;
    background: rgba(200, 218, 236, 0.9);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    }
.client-item:hover::after {
    opacity: 1;
    transform: translateY(0);
    }




/*<!--------------- ABOUT --------------->*/
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    }
    
.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    }
.about-image img{
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0.75;
    filter: grayscale(20%) contrast(95%) brightness(98%);
    border-radius: 14px;
    border: 8px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.about-image img:hover {
    opacity: 1;
    filter: grayscale(0%);
    border-color: var(--light);
    }

#about p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    }
#about p:last-child {
    margin-bottom: 0;
    }


    

/*<!--------------- CONTACT --------------->*/
.contact-section {
    padding: 80px 0;
    }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    }
.contact-text h4 {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    margin-bottom: 4px;
    }
.contact-text p {
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    font-weight: bold;
    color: var(--primary);
    }
.contact-row {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    color: var(--primary);
    }
    .contact-row:hover {
    opacity: 0.85;
    font-weight: bolder;
    color: var(--secondary);
    }

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-image: url("../image/BG.png");
    padding: 24px 28px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    



/*<!--------------- FOOTER --------------->*/
    .footer {
    text-align: center;
    padding: 8px;
    color: var(--dark);
    font-weight: 600;
    }

/*<!----- TEXT ----->*/


/*<!----- RESPONSIVE ----->*/
@media (max-width: 856px) {
  .hero-grid, .services-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .showcase-grid  {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
  .showcase-grid2  {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
  }
  .nav-inner {
    justify-content: center;
  }
}

@media (max-width: 486px) {
  .showcase-grid  {
    grid-template-columns: 1fr;
  }
  .showcase-grid2  {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    margin-top: 20px;
  }
  .brand-name,
  .contact-row {
    white-space: normal;
  }

  .navbar  {
    display: none;
  }
}

@media (max-width: 324px) {
  .btn {
    display: none;
  }
}