@import "fonts.css";
@font-face {
    font-family: 'Buttershine Serif';
    src: url('ButtershineSerif.woff2') format('woff2'),
        url('ButtershineSerif.woff') format('woff'),
        url('ButtershineSerif.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kenyan Coffee Rg';
    src: url('KenyanCoffeeRg-Regular.woff2') format('woff2'),
        url('KenyanCoffeeRg-Regular.woff') format('woff'),
        url('KenyanCoffeeRg-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {font-family:"CocogooseProTrial Semilight";src:url("Cocogoose-Pro-Semilight-trial.eot?") format("eot"),url("Cocogoose-Pro-Semilight-trial.woff") format("woff"),url("Cocogoose-Pro-Semilight-trial.ttf") format("truetype"),url("Cocogoose-Pro-Semilight-trial.svg#CocogooseProTrial-Semilight") format("svg");font-weight:normal;font-style:normal;}
.anton-regular {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
}
html, body{
    margin:0;
    padding:0;
    min-height:100%;

    background: url(../images/roxgatchaman/bg.jpg) no-repeat top center;
    background-size: 100% auto; 
    /* atau cover kalau mau penuh */

    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 1.5em;

    overflow-x: hidden !important;
    scroll-behavior: smooth;
}
body{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}
.desktop{
	display: block;
}

.mobile{
	display: none!important;
}
@media(max-width:1024px){
	.desktop{
		display: none;
	}
	.mobile{
		display: block!important;
	}
}
@media screen and (max-width: 768px) {
    html, body{
        background: url(../images/roxgatchaman/bgmobile.jpg) no-repeat top center;
        background-size: cover;
    }
}

/* =========================
   FLOATING BUTTON
========================= */

.floating-scroll{
    position: fixed;
    right: 16px;
    bottom: 30px;

    width: 72px;
    height: 72px;

    border-radius: 50%;
    background: #1f1f1f;

    border: 4px solid #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    z-index: 99999;

    box-shadow:
        0 0 15px rgba(0,0,0,0.5);

    overflow: hidden;

    transition: 0.3s ease;
}

.floating-scroll.hide{
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.progress-ring{
    position: absolute;
    inset: -4px;
    border-radius: 50%;

    background:
        conic-gradient(
            #00e1ff  var(--scrollDeg, 0deg),
            transparent 0deg
        );

    z-index: 1;

    transition: background 0.1s linear;
}

/* isi tengah */
.floating-scroll::after{
    content: "";
    position: absolute;
    inset: 4px;
    background: #1f1f1f;
    border-radius: 50%;
    z-index: 2;
}

/* icon */
.floating-scroll svg{
    width: 26px;
    height: 26px;
    z-index: 3;
}

/* hover */
.floating-scroll:hover{
    transform: scale(1.08);
    transition: 0.3s;
}

/* mobile */
@media(max-width:768px){
    .floating-scroll{
        display: none !important;
    }
    .floating-scroll{
        width: 62px;
        height: 62px;
        right: 15px;
        bottom: 20px;
    }

    .floating-scroll svg{
        width: 22px;
        height: 22px;
    }
}
/*================================== SECTION 1 ==============================*/

/* * {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

::-webkit-scrollbar {
  display: none;
}
 */


/* header, section, footer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3vw;
}

header {
  position: fixed;
  width: 100%;
  height: 100px;
  background: rgba(255, 255, 255, .3);
  z-index: 300;
  color: #9c64a6;
} */

section {
    position: relative;
    min-height: 100vh;
    padding: 80px 0;
}

/* section {
  display: block;
} */


.ggh-section1-anniv-cloud {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20vw;
}
.ggh-section1-logoroia{
    position: absolute;
    max-width: 223px;
    width: 12vw;
    left: 2vw;
    top: 5vh;
}

.ggh-section1-logogatchaman{
    position: absolute;
    max-width: 253px;
    width: 14vw;
    right: 2vw;
    top: 5vh;
}

.ggh-section1-floatinghome {
    position: absolute;
    top: 24%;
    right: 3.3%;
    z-index: 50;
    animation: floatSoft 4s ease-in-out infinite;
}

.ggh-section1-floatinghome > img {
    display: block;
    width: 10vw;
}
/* .hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
} */
/* container kiri & kanan */

.chars-left,
.chars-right {
    position: absolute;
    bottom: 11vw;
    display: flex;
    align-items: flex-end;
}

.chars-left {
    left: 0;
}

.chars-right {
    right: 0;
}

/* karakter base */
.char {
    position: relative;
    opacity: 0;
    animation: fadeUp 0.7s cubic-bezier(.22,1,.36,1) forwards;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.5));
}

/* 🔥 arah animasi dibedakan TANPA ubah posisi */
.chars-left .char {
    transform: translate(-40px, 60px) scale(0.9);
}

.chars-right .char {
    transform: translate(40px, 60px) scale(0.9);
}

/* animasi */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

/* ===================== */
/* ====== LEFT ========= */
/* ===================== */

.c1 {
    position: absolute;
    max-width: 916px;
    width: 48vw;
    bottom: -17vw;
    z-index: 9;
    animation-delay: 0.2s;
}

.c2 {
    position: absolute;
    max-width: 458px;
    width: 24vw;
    left: 3vw;
    bottom: -17vw;
    z-index: 8;
    animation-delay: 0.4s;
}

.c3 {
    position: absolute;
    max-width: 405px;
    width: 22vw;
    left: 28vw;
    bottom: -18vw;
    z-index: 6;
    animation-delay: 0.6s;
}

.c4 {
    position: absolute;
    max-width: 556px;
    width: 29vw;
    left: 10vw;
    bottom: -13vw;
    z-index: 7;
    animation-delay: 0.8s;
}

.c5 {
    position: absolute;
    max-width: 456px;
    width: 24vw;
    left: 20vw;
    z-index: 5;
    animation-delay: 1s;
}

/* ===================== */
/* ====== RIGHT ======== */
/* ===================== */
/* 🔥 hanya ubah delay biar sinkron */

.c6 {
    max-width: 688px;
    width: 36vw;
    z-index: 5;
    animation-delay: 0.2s; /* FIX */
    position: absolute;
    top: -26vw;
    right: 11vw;
}

.c7 {
    position: absolute;
    max-width: 571px;
    width: 30vw;
    right: 24vw;
    z-index: 4;
    animation-delay: 0.4s; /* FIX */
    bottom: -12vw;
}

.c8 {
    max-width: 501px;
    width: 20vw;
    right: 12vw;
    z-index: 3;
    animation-delay: 0.6s; /* FIX */
    position: absolute;
    bottom: -3vw;
}

.c9 {
    max-width: 436px;
    width: 23vw;
    right: 14vw;
    z-index: 2;
    animation-delay: 0.8s; /* FIX */
    position: absolute;
    bottom: 4vw;
}

.c10 {
    max-width: 318px;
    width: 17vw;
    right: 30vw;
    z-index: 1;
    animation-delay: 1s; /* FIX */
    position: absolute;
    bottom: 12vw;
}


.icon-x {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    
    max-width: 331px;
    width: 20vw;
    opacity: 0;
    z-index: 10;

    animation: iconPop 0.6s ease forwards;
    animation-delay: 2.2s;
}

.desc-wrapper {
    position: relative;
    padding-top: 25vw;
    z-index: 20;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ANIMATION */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleReveal {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

.ggh-section1-desc1 {
    max-width: 1513px;
    width: 69vw;
    display: block;

    margin-bottom: 0px;

    clip-path: inset(0 100% 0 0);
    animation: titleReveal 1s ease forwards;
}

.button-container {
    position: relative; /* 🔥 ganti dari absolute */
    
    z-index: 20;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 15px; /* jarak antar button */

    flex-wrap: wrap;

    margin-top: 10px; /* tambahan jarak atas */
}
.button-container img{
    width: 180px;
    height: auto;

    transition: transform .25s ease;
}

.button-container img:hover{
    transform: scale(1.05);
}
@keyframes iconPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Glow biru seperti gambar */
.icon-x {
    filter: drop-shadow(0 0 10px #00eaff)
            drop-shadow(0 0 20px #00eaff)
            drop-shadow(0 0 40px #00eaff);
}

.icon-x {
    animation: iconPop 0.6s ease forwards, glowPulse 2s infinite alternate;
    animation-delay: 2.2s, 3s;
}

@keyframes glowPulse {
    from {
        filter: drop-shadow(0 0 10px #00eaff);
    }
    to {
        filter: drop-shadow(0 0 30px #00eaff);
    }
}
.ggh-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* IMPORTANT: bikin animasi lebih smooth */
img {
    will-change: transform;
}

/* =========================
   CHARACTER POSITION
========================= */

.ggh-section1-poring1 {
    position: absolute;
    max-width: 200px;
    width: 11vw;
    left: 41vw;
    top: 5vh;
    z-index: 6;
    animation: floatSoft 6s ease-in-out infinite;
}

.ggh-section1-poring2 {
    position: absolute;
    max-width: 290px;
    width: 16vw;
    left: 34vw;
    top: 40vh;
    z-index: 7;
    animation: jelly 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: bottom center;
}

.ggh-section1-goblin {
    position: absolute;
    max-width: 212px;
    width: 12vw;
    left: 72vw;
    top: 48vh;
    z-index: 8;
    animation: sleepSwing 7s ease-in-out infinite;
}

/* =========================
   SMOOTH ANIMATION
========================= */

/* poring ngambang halus */
@keyframes floatSoft {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

/* poring jelly (slow & soft) */
@keyframes jelly {
    0%, 100% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.03, 0.97);
    }
}

/* goblin santai goyang */
@keyframes sleepSwing {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(1deg);
    }
}

/* =========================
   DELAY BIAR GA BARENGAN
========================= */

.ggh-section1-poring2 {
    animation-delay: 1s;
}

.ggh-section1-goblin {
    animation-delay: 2s;
    animation-direction: alternate;
}
@media (min-width: 1921px){
    .chars-left{
        position: absolute;
        bottom: 17vw;
        display: flex;
        align-items: flex-end;
    }
    .chars-right {
        position: absolute;
        bottom: 11vw;
        display: flex;
        align-items: flex-end;
    }
    
}
@media (max-width: 1442px){
    .desc-wrapper {
        padding-top: 25vw;
        z-index: 20;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 30vw;
    }
}
@media (max-width: 1366px){
    .chars-left, .chars-right {
        position: absolute;
        bottom: 19vw;
        display: flex;
        align-items: flex-end;
    }
}
@media (max-width: 1026px){
    
    .chars-left, .chars-right {
        position: absolute;
        bottom: 32vw;
        display: flex;
        align-items: flex-end;
    }
    .ggh-section1-desc1 {
        padding-top: 16vw;
    }
}

@media (max-width: 768px){
   /* .bg-1 {
        background: url('../images/roxgatchaman/page1/bgmobile.jpg') no-repeat center center;
        background-size: cover;
    } */
     .chars-left,
    .chars-right,
    .ggh-section1-anniv-cloud {
        display: none;
    }
    
    .ggh-section1-logoroia {
        width: 26%;
    }
    .ggh-section1-logogatchaman {
        width: 26%;
    }
    .desc-wrapper {
        padding-top: 66vh;
        margin-bottom: 2vh;
    }
    .icon-x {
        position: absolute;
        top: 11%;
        left: 50%;
    }
    
    .button-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        justify-items: center;
    }

    .button-container a {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .button-container a img {
        width: 100%;
        max-width: 160px; /* semua size sama */
    }

    /* button terakhir jadi center */
    .button-container a:last-child {
        grid-column: 1 / span 2;
        justify-content: center;
    }
    
    .ggh-section1-floatinghome {
        top: 18%;
        right: 5.5%;   
    }

    .ggh-section1-floatinghome > img {
        width: 19vw; 
    }
}

@media(max-width: 425px) {
    .ggh-section1-floatinghome {
        top: 14%;
        right: 5.5%;
    }
}

/*================================ END SECTION 1 ==============================*/

/*================================ SECTION 2 ==============================*/


/* ===== BASE POSITION ===== */
.title-wrapper {
  position: absolute;
  top: 16%;
  left: 50%;
}

.ggh-section2-title1,
.ggh-section2-title2 {
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 0;

  /* untuk parallax */
  --px: 0px;
  --py: 0px;
}
.ggh-section2-title1,
.ggh-section2-title2 {
  opacity: 1; /* default visible */
}
/* ===== ANIMATION KEYFRAMES ===== */
@keyframes cinematicRight {
  0% {
    transform: translate(120%, -50%) scale(0.95);
    opacity: 0;
    filter: blur(6px);
  }
  60% {
    transform: translate(-55%, -50%) scale(1.02);
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: translate(calc(-50% + var(--px)), calc(-50% + var(--py))) scale(1);
  }
}

@keyframes cinematicBottom {
  0% {
    transform: translate(-50%, 150%) scale(0.95);
    opacity: 0;
    filter: blur(6px);
  }
  60% {
    transform: translate(-50%, calc(-55% + 6vw)) scale(1.02);
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: translate(
      calc(-50% + var(--px)),
     calc(-50% + 3vw + var(--py))
    ) scale(1);
  }
}

/* ===== SIZE ===== */
.ggh-section2-title1 {
    width: 53vw;
    max-width: 1006px;
}

.ggh-section2-title2 {
  width: 53vw;
  max-width: 1006px;
 
}

/* ===== TRIGGER ANIMATION ===== */
.animate .ggh-section2-title1 {
  animation: cinematicRight 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate .ggh-section2-title2 {
  animation: cinematicBottom 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.5s;
}

.ggh-section-wrapper {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 20px;
    justify-content: center;
    align-items: start;
    width: fit-content;
    margin: 16vh  auto 0;
    padding: 64px;
}

/* .ggh-section-wrapper > img {
    width: 100%;
    height: auto;
    display: block;
} */
.ggh-section2-boxframe1 {
    grid-row: 1;
    grid-column: 1;
    max-width: 322px;
    width: 17vw;
}
.ggh-section2-boxframe2 {
    grid-row: 2;
    grid-column: 1;
    max-width: 322px;
    width: 17vw;
}
.ggh-section2-boxframe3 {
    grid-row: 1;
    grid-column: 2;
    max-width: 688px;
    width: 33vw;
}

.ggh-section2-boxframe4 {
    grid-row: 2;
    grid-column: 2;
       max-width: 688px;
    width: 33vw;
}

.boxframe1-wrapper {
    position: relative;
    grid-row: 1;
    grid-column: 1;
    max-width: 322px;
}

.ggh-section2-avatarbox1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 160px;
    width: 7vw; 
    height: auto;
}

.boxframe2-wrapper {
    position: relative;
    grid-row: 2;
    grid-column: 1;
    max-width: 322px;
}

.ggh-section2-avatarbox2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 276px;
    width: 11vw;
    height: auto;
}

.avatarbox3-group {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 110px;
    align-items: center;
    justify-content: center;
}



@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}


@keyframes idle {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(2deg); }
    50%  { transform: rotate(0deg); }
    75%  { transform: rotate(-2deg); }
    100% { transform: rotate(0deg); }
}
.ggh-section2-avatarbox3 {
    max-width: 136px;
    width: 7vw;
    height: auto;
    animation: floatScale 3s ease-in-out infinite;
}

@keyframes floatScale {
    0%   { transform: translateY(0px) scale(1); }
    50%  { transform: translateY(-10px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}
.ggh-section2-boxframe5 {
    position: relative;
    grid-row: 1;
    grid-column: 3;
    max-width: 688px;
    width: 33vw;
}


/* ini container untuk 2 avatar */
.ggh-section2-avatarbox5-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: flex;
    gap: 140px; /* jarak antar image */
    align-items: center;
    justify-content: center;
}

.ggh-section2-avatarbox5 {
   width: 6vw;
    max-width: 171px;
    height: auto;
    animation: diagonalPesawat 4s ease-in-out infinite alternate;
}
/* animasi diagonal */
@keyframes diagonalPesawat {
    0% {
        transform: translate(10px, -10px); /* atas kanan */
    }
    100% {
        transform: translate(-10px, 10px); /* bawah kiri */
    }
}
.ggh-section2-boxframe6-wrapper {
    position: relative;
    grid-row: 1;
    grid-column: 3;
    max-width: 688px;
    width: 33vw;
}

.ggh-section2-boxframe6 {
     max-width: 688px;
    width: 36vw;
}

.ggh-section2-avatarbox6-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(29%, 167%);
    display: flex;
    gap: 1px;
    align-items: center;
    justify-content: center;
}
.ggh-section2-avatarbox6 {
    max-width: 96px;
    width: 5vw;
    height: auto;
}
.ggh-section2-avatarbox1,
.ggh-section2-avatarbox2,
.ggh-section2-avatarbox3,
.ggh-section2-avatarbox5,
.ggh-section2-avatarbox6 {
    transition: transform 0.35s ease, filter 0.35s ease;
    will-change: transform;
}

/* avatar yang pakai center absolute */
.ggh-section2-avatarbox1:hover,
.ggh-section2-avatarbox2:hover {
    transform: translate(-50%, -50%) translateY(-15px) scale(1.15);
}

/* avatar lain (tidak pakai translate center) */
.ggh-section2-avatarbox3:hover,
.ggh-section2-avatarbox5:hover,
.ggh-section2-avatarbox6:hover {
    transform: translateY(-15px) scale(1.15);
}
.ggh-section1-anniv-cloud2 {
    position: absolute;

    top: 73vw;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;

    pointer-events: none;

    z-index: 999; /* 🔥 biar di atas */

    opacity: 0.3;

    mix-blend-mode: screen;
}

.ggh-section2-yell-1 {
    position: absolute;
    bottom: 14%;
    right: -17%;
    z-index: 2;
    width: 50%;
}

.ggh-section2-yell-2 {
    position: absolute;
    bottom: 14%;
    right: -10%;
    z-index: 2;
    width: 30%;
}
@media (min-width: 1921px) {
    .ggh-section-wrapper {
        display: grid;
        grid-template-columns: repeat(3, auto);
        gap: 20px;
        justify-content: center;
        align-items: start;
        width: fit-content;
        margin: 15vh auto 0;
        padding: 64px;
    }
    .ggh-section2-avatarbox6-container {
        position: absolute;
        top: 52%;
        left: 53%;
    }
    .ggh-section1-anniv-cloud2 {
        position: absolute;
        top: 63vw;
        /* left: 50%; */
        /* transform: translateX(-50%); */
        width: 100%;
        /* max-width: 1920px; */
        pointer-events: none;
        z-index: 999;
        opacity: 0.3;
        mix-blend-mode: screen;
    }
    .ggh-section2-boxframe3 {
        width: 24vw;
    }
    .ggh-section2-boxframe5 {
        width: 24vw;
    }
    .ggh-section2-boxframe4 {
        width: 24vw;
    }

    .ggh-section2-yell-2 {
        position: absolute;
        bottom: 14%;
        right: -4%;
        z-index: 2;
        width: 30%;
    }
}

@media (max-width: 1600px) {

}
@media (max-width: 1442px) {
    /* .avatarbox3-group {  
        gap: 158px;
    
    }
    .ggh-section2-avatarbox5-container {
        gap: 145px;
    } */
     .avatarbox3-group {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 150px;
    align-items: center;
    justify-content: center;
}
}

@media (max-width: 1366px) {
    .ggh-section2-avatarbox5-container {
        gap: 103px;
        align-items: center;
        justify-content: center;
    }
    /* .ggh-section2-avatarbox5 {
        width: 85px;
        height: auto;
        animation: diagonalPesawat 4s ease-in-out infinite alternate;
    } */
    .ggh-section2-avatarbox6-container {
        top: 59%;
        left: 44%;
        transform: translate(50%, 50%);
      
    }
}
@media (max-width: 1026px) {
    .avatarbox3-group {
        gap: 100px;
    }
    .ggh-section2-avatarbox5-container {
        gap: 95px;
    }
    .ggh-section2-avatarbox6-container {
        top: 52%;
        left: 44%;
    }
}
@media (max-width: 768px) {
     /* .bg-2 {
        background: url('../images/roxgatchaman/page2/bgmobile.jpg') no-repeat center center;
        background-size: cover;
    } */


    .ggh-section-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;

        width: 100%;
        padding: 20px;
        margin-top: 5vh;
    }

    /* RESET GRID */
    .boxframe1-wrapper,
    .boxframe2-wrapper,
    .boxframe3-wrapper,
    .ggh-section2-boxframe5-wrapper,
    .ggh-section2-boxframe6-wrapper {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;

        grid-column: unset !important;
        grid-row: unset !important;
    }

    /* ===== SIZE MASING-MASING ===== */

    /* kecil */
    .ggh-section2-boxframe1,
    .ggh-section2-boxframe2 {
        width: 58vw;
        max-width: 320px;
        height: auto;
    }

    /* medium besar */
    .ggh-section2-boxframe3,
    .ggh-section2-boxframe4,
    .ggh-section2-boxframe5 {
        width: 88vw;
        max-width: 650px;
        height: auto;
    }

    /* paling besar */
    .ggh-section2-boxframe6 {
        width: 95vw;
        max-width: 720px;
        height: auto;
    }

    /* ===== AVATAR ===== */

    .ggh-section2-avatarbox1 {
        width: 24vw;
        max-width: 130px;
    }

    .ggh-section2-avatarbox2 {
        width: 38vw;
        max-width: 220px;
    }

    .avatarbox3-group {
        gap: 20vw;
    }

    .ggh-section2-avatarbox3 {
        width: 14vw;
        max-width: 90px;
    }

    .ggh-section2-avatarbox5-container {
        gap: 18vw;
    }

    .ggh-section2-avatarbox5 {
        width: 14vw;
        max-width: 90px;
    }

    .ggh-section2-avatarbox6-container {
        position: absolute;

        top: 90%;
        left: 53%;

        transform: translate(-50%, -50%);

        width: 80%;

        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .ggh-section2-avatarbox6 {
        width: 11vw;
        max-width: 55px;
    
    }
    .title-wrapper {
        position: absolute;
        top: 5%;
        left: 50%;
    }
    .ggh-section2-title1 {
        width: 89vw;
        max-width: 991px;
    }
    .ggh-section2-title2 {
        width: 89vw;
        max-width: 1006px;
        margin-top: 3vw;
    }
}

/*================================ END SECTION 2 ==============================*/


/*================================ SECTION 3 ==============================*/


.ggh-section3-title {
    display: block;
    margin: 0 auto;
    max-width: 1312px;
    width: 69vw;
    margin-bottom: 40px;

    opacity: 0;
    transform: translateX(-120px);
    transition: all 0.8s ease-out;
}

/* state ketika masuk viewport */
.ggh-section3-title.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 21px;

  flex-wrap: nowrap;
  
  perspective: 1000px;
  width: 100%;
}
.box-item{
    width: 390px;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.box-item {
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.box-item:hover {
  transform: translateY(-20px) rotateX(8deg) rotateY(-5deg) scale(1.03);
}
.box-img{
    width: 100%;
    position: relative;
    z-index: 1;
    
}

/* .box-item:hover .box-img {
  transform: translateY(-10px) scale(1.05);
} */
.text-wrapper {
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.box-item:hover .text-wrapper {
  transform: translateX(-50%);
}
.charbox{
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 2;

    pointer-events: none;

    transition: transform 0.4s ease;
    opacity: 0.1;
}
.box-visual{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.char1 {
    width: 15vw;
    max-width: 529px;
}
.char6 {
    right: 9%;
    width: 215px;
}
/* IMAGES */
.header-img{
  max-width: 390px;
  width: 21vw;
  opacity: 0;
  transition: all 0.6s ease;
}

.box-img {
  max-width: 390px;
  width: 21vw;
  opacity: 0;
  transition: all 0.6s ease;
}
/* awal posisi */
.header-img {
  transform: translateY(-50px);
}

.box-img {
  margin-top: 10px;
  transform: translateY(50px);
}

/* saat aktif (scroll masuk viewport) */
.header-img.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.box-img.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.header-text {
    position: absolute;
    top: 6%;
    left: 50%;
    transform: translateX(-50%);

    text-align: center;
    width: 85%;
    font-size: 27px;
    line-height: 1.3;
    letter-spacing: 1px;
    font-family: Impact, sans-serif;
    background: #fff;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards, shimmer 2.5s linear infinite;
    animation-delay: 0.6s;
}

.text-wrapper{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    text-align: center;
    width: 85%;

    z-index: 5;

    transition: none;

    transform-style: flat;
    backface-visibility: hidden;
}
/* TEXT LINE */
.text-line {
    /* color: #ffffff;

    text-shadow:
        2px 2px 0 rgba(255,255,255,.15);

    font-weight: 800; */
    color: #101010;
    text-shadow: 0px 2px 0 rgb(229 222 222);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
    margin: 4px 0;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
    font-family: "CocogooseProTrial Semilight", sans-serif;
    
}

.normal-font{
    font-family: Arial, sans-serif;
}
/* ANIMATION DELAY */
.text-line:nth-child(1) { animation-delay: 0.8s; }
.text-line:nth-child(2) { animation-delay: 1s; }
.text-line:nth-child(3) { animation-delay: 1.2s; }

/* 🔥 POSISI BERBEDA TIAP BOX */
.text-1 { top: 45%; }
.text-2 { top: 45%; }
.text-3 { top: 45%; }
.text-4 { top: 45%; }

/* ANIMATIONS */
@keyframes slideDown {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeUp {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particles span {
  position: absolute;

  width: 12px;
  height: 12px;

  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(0,255,255,0.4), transparent 70%);
  border-radius: 50%;

  opacity: 0;
  filter: blur(0.8px);
}
.particles span:nth-child(1) {
  background: radial-gradient(circle, rgba(255,255,255,1), rgba(0,255,255,0.5), transparent);
}

.particles span:nth-child(2) {
  background: radial-gradient(circle, rgba(0,255,255,0.9), transparent);
}

.particles span:nth-child(3) {
  background: radial-gradient(circle, rgba(173,216,230,0.9), transparent);
}

.particles span:nth-child(4) {
  background: radial-gradient(circle, rgba(255,255,255,0.8), transparent);
}

.particles span:nth-child(5) {
  background: radial-gradient(circle, rgba(0,200,255,0.8), transparent);
}
/* particle 1 */
.particles span:nth-child(1) {
  left: 20%;
  bottom: 10%;
  animation: float1 6s infinite ease-in-out;
}

/* particle 2 */
.particles span:nth-child(2) {
  left: 60%;
  bottom: 0%;
  animation: float2 7s infinite ease-in-out;
}

/* particle 3 */
.particles span:nth-child(3) {
  left: 40%;
  bottom: 5%;
  animation: float3 5s infinite ease-in-out;
}

/* particle 4 */
.particles span:nth-child(4) {
  left: 75%;
  bottom: 15%;
  animation: float2 8s infinite ease-in-out;
}

/* particle 5 */
.particles span:nth-child(5) {
  left: 10%;
  bottom: 0%;
  animation: float1 6.5s infinite ease-in-out;
}
@keyframes float1 {
  0%   { transform: translateY(0) scale(0.5); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(-120px) scale(1); opacity: 0; }
}

@keyframes float2 {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(-150px) translateX(20px); opacity: 0; }
}

@keyframes float3 {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(-100px) translateX(-15px); opacity: 0; }
}
#flame-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;   /* cukup di belakang content page 3 */
    pointer-events: none;
}
@media(max-width:1442px){
    .text-line {
        color: #0d0d0d;
        text-shadow: 2px 2px 0 rgba(255, 255, 255, .15);
        font-weight: 800;
        font-size: 22px;
    }
}
@media(max-width:1366px){
    .header-text {
        font-size: 24px;
        line-height: 1.3;
    }
    .text-line {
        font-size: 20px;
    }
}
@media(max-width:1026px){
    .header-text {
        position: absolute;
        top: 6%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        width: 85%;
        font-size: 18px;
    }
    .text-line {
        color: black;
        font-weight: 800;
        font-size: 17px;
    }

}
@media(max-width:768px){
    .ggh-section3-title {
        display: block;
        margin: 0 auto;
        max-width: 1312px;
        width: 100%;
        margin-bottom: 40px;
        opacity: 0;
        transform: translateX(-120px);
        transition: all 0.8s ease-out;
    }

    .wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        gap: 16px;

        width: 100%;

        padding: 0 12px;

        overflow: hidden;
    }

    .box-item {
        width: 100%;
    }

    .header-img,
    .box-img {
        width: 100%;
    }

    /* text title atas */
    .header-text {
        font-size: 3vw;
        line-height: 1.2;
    }

    /* text tengah */
    .text-line {
        font-size: 3.2vw;
        line-height: 1.1;
        margin: 2px 0;
    }

    .text-wrapper {
        width: 90%;
    }

    /* character */
    .char1 {
        width: 20vw;
        left: 3%;
    }

    .char6 {
        width: 30vw;
        right: 3%;
    }

    /* disable hover effect mobile */
    .box-item:hover {
        transform: none;
    }

    .box-item:hover .text-wrapper {
        transform: translateX(-50%);
    }

   
}
/*================================ END SECTION 3 ==============================*/



/*================================== FOOTER ==============================*/
.btn-to-top{
    text-align: right;
    cursor: pointer;
    position: fixed;
    bottom: 1vw;
    right: 1vw;
    display: none; /* nanti JS akan mengubahnya ke block saat scroll */
    z-index: 999;
    animation: floatUpDown 2s ease-in-out infinite; /* animasi floating */
}

.btn-to-top img{
    width: 60%;      /* sesuaikan ukuran */
    max-width: 125px; 
}

.poring {
    position: absolute;
    top: -2vw;
    left: 31vw;
    width: 7vw;
    max-width: 282px;

    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}
footer{
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0px 0px 34px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.row-logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;

    position: relative;
    z-index: 11;
    width: 100%;
}

.sosmed{
    padding: 0;
    margin: 0;
}

.bannerfloating-title{
    position: relative;
    top: unset;
    left: unset;
    transform: none;

    width: 22vw;
    max-width: 420px;
    min-width: 220px;
    height: auto;

    display: block;
    margin: 0 auto;
}

.button-container2{
    position: relative;
    bottom: unset;
    left: unset;
    transform: none;

    z-index: 20;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    flex-wrap: wrap;
}

.button-container2 a img{
    height: auto;
    max-width: 180px;
    width: 12vw;
    min-width: 120px;

    transition: transform .25s ease;
}

.button-container2 a:hover img{
    transform: scale(1.05);
}

@media(max-width: 1600px){
    #floating-banner .button-container img {
        width: auto;
        height: 42px;
        transition: transform 0.3s ease;
    }
}
@media(max-width: 1366px){
    #floating-banner .button-container img {
        width: auto;
        height: 32px;
        transition: transform 0.3s ease;
    }
}
@media(max-width: 1026px){
    #floating-banner .button-container img {
        width: auto;
        height: 26px;
        transition: transform 0.3s ease;
    }
}
@media(max-width: 768px){
	.btn-to-top{
		bottom: 3vw;
		right: 1vw;
		max-width: 120px;
	}
	.btn-to-top img{
		width: 50%;
	}
	.footer-logo {
		margin-right: 10px;
		max-width: 319px;
		width: 23%;
	}
    #floating-banner .button-container {
        display: grid;
        grid-template-columns: repeat(2, 0fr);
        gap: 9px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        justify-items: center;
    }

    #floating-banner .button-container a {
       width: 100%;
        display: flex;
        justify-content: center;
    }

    .button-container a img {
        width: 100%;
        max-width: 160px; /* semua size sama */
    }

    /* button terakhir jadi center */
    #floating-banner .button-container a:last-child {
        grid-column: 1 / span 2;
        justify-content: center;
    }
    

    #floating-banner {
        height: 32vw; /* lebih tinggi */
        min-height: 180px;
    }

    .banner-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .bannerfloating-title {
        width: 68vw;
        top: 22%;
    }

    .poring {
        top: -2vw;
        left: 22%;
        width: 11vw;
    }

}

@media(max-width: 425px) {
    .poring {
        top: -12vw;
        left: 46.3%;
        transform: translateX(0);
        width: 11vw;
    }
}


/*================================ END FOOTER ==============================*/