@font-face {
    font-family: 'BonaNova';
    src: url('../fonts/MaisonNeueExtendedBold.ttf'),
}

:root {
    --scrollbar-bg: #4b3833;
    --scrollbar-thumb: #5e2f23;
    --scrollbar-thumb-hover: #662515;
}

.frame {
    padding: 3px;
    background: url(../images/teaser/edl2/page6/line.png) no-repeat center;
    background-size: cover;


    clip-path: polygon(0 0,
            calc(100% - 25px) 0,
            100% 25px,
            100% 100%,
            25px 100%,
            0 calc(100% - 25px));

    box-shadow: 0 0 8px rgba(245, 166, 35, .4);
}

/* ===== ISI HITAM ===== */
.inner {
    padding: 0 3vw;
    /* pakai vw */
    min-height: 5.6vw;
    /* fleksibel */
    /* 🔥 PAKSA tinggi sama */
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    color: #ffffff;

    display: flex;
    align-items: center;
    /* center vertikal */
    justify-content: center;
    /* center horizontal */

    clip-path: polygon(1vw 0,
            calc(100% - 1vw) 0,
            82% 0,
            calc(92% - 1vw) 33%,
            89.3% calc(100% - 2vw),
            calc(100% - 2vw) 100%,
            0vw 100%,
            calc(100% - 82%) 100%,
            calc(100% - (93% - 1vw)) calc(100% - 28%),
            calc(100% - 90.3%) 31%,
            2vw 0);
}

.frame.peringkat {
    background: url(../images/teaser/edl2/page6/peringkat.png) center no-repeat;
    background-size: 100% 100%;
}

.frame.guild {
    background: url(../images/teaser/edl2/page6/guild.png) center no-repeat;
    background-size: 100% 100%;
}

.frame.point {
    background: url(../images/teaser/edl2/page6/point.png) center no-repeat;
    background-size: 100% 100%;
}

.inner.header.peringkat {
    background: none;
}

.inner.header.guild {
    background: none;
}

.inner.header.point {
    background: none;
}

.inner.first.icon {
    background: none;
}

.frame.first {
    background: url(../images/teaser/edl2/page6/rank1.png) center no-repeat;
    background-size: 100% 100%;
}

.frame.second {
    background: url(../images/teaser/edl2/page6/rank2.png) center no-repeat;
    background-size: 100% 100%;
}

.frame.third {
    background: url(../images/teaser/edl2/page6/rank3.png) center no-repeat;
    background-size: 100% 100%;
}

.inner.second.icon {
    background: none;
}

.inner.third.icon {
    background: none;
}

.inner.first {
    background: linear-gradient(90deg, #caa34d, #f5e2b3);
    color: #000;
}

.inner.second {
    background: linear-gradient(337deg, #4a4742, #f0e7e7, #4a4742);
    color: #000;
}

.inner.third {
    background: linear-gradient(337deg, #b05617, #eed2c6, #d28c5b);
    color: #000;
}

.frame.pointfill.first {
    background: linear-gradient(90deg, #caa34d, #f5e2b3);
    color: #000;
}

.frame.pointfill.second {
    background: linear-gradient(337deg, #4a4742, #f0e7e7, #4a4742);
    color: #000;
}

.frame.pointfill.third {
    background: linear-gradient(337deg, #b05617, #eed2c6, #d28c5b);
    color: #000;
}

.frame.pointfill.point {
    background: none;
}

.inner.first.point {
    background: none;
}

.inner.second.point {
    background: none;
}

.inner.third.point {
    background: none;
}

.inner.point {
    background: none;
}

/* ------------------------------------------------ UNIVERSAL CSS ------------------------------------------------- */

html,
body {
    background-size: cover;
    background-color: #1a1a1a;
    position: relative;
    display: block;
    margin: 0 auto;
    overflow-x: hidden;
    min-height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: 'BonaNova';
    padding: unset !important;
}

/* ------------------------------------------------ FLOATING ------------------------------------------------- */

.ggl-roc-floating {
    position: fixed;
    max-width: 267px;
    width: 14vw;
    top: 3%;
    right: 2%;
    z-index: 10;
    cursor: pointer;
    animation: pulse 1.5s infinite ease-in-out;
}

.ggl-update-floating {
    position: fixed;
    max-width: 867px;
    width: 18vw;
    top: 18%;
    right: 0;
    z-index: 10;
    cursor: pointer;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.05, 1.05, 1.05);
        transform: scale3d(1.05, 1.05, 1.05);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

/* ------------------------------------------------ NAVBAR HEXAGON ------------------------------------------------- */

.fix-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1030;
}

.hex-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1030;
    width: 200px;
    height: 200px;
}

.hex-item {
    position: absolute;
    width: 80px;
    transition: all 0.4s ease;
}

/* ukuran gambar */
a.hex-item.img-1 img {
    width: 169%;
}

a.hex-item.img-2 img {
    width: 202%;
}

/* =========================
   DEFAULT: SEMUA KETUTUP
========================= */
.hex-item:not(:first-child) {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

/* =========================
   SAAT OPEN
========================= */
.hex-nav.open .hex-item {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hex-item:nth-child(1) {
    top: 35px;
    left: 0px;
}

.hex-item:nth-child(2) {
    top: -106px;
    left: 0;
}

.hex-item:nth-child(3) {
    top: -109px;
    left: 86px;
}

.hex-item:nth-child(4) {
    top: -106px;
    left: 198px;
}

.hex-item:nth-child(5) {
    top: 35px;
    left: 199px;
}

.hex-item:nth-child(6) {
    top: 94px;
    left: 86px;
}

.hex-item.open:hover {
    transform: scale(1.1);
}

.hex-nav.open .hex-item:nth-child(1) {
    transition-delay: 0s;
}

.hex-nav.open .hex-item:nth-child(2) {
    transition-delay: 0.1s;
}

.hex-nav.open .hex-item:nth-child(3) {
    transition-delay: 0.2s;
}

.hex-nav.open .hex-item:nth-child(4) {
    transition-delay: 0.3s;
}

.hex-nav.open .hex-item:nth-child(5) {
    transition-delay: 0.4s;
}

.hex-nav.open .hex-item:nth-child(6) {
    transition-delay: 0.5s;
}

.hex-nav:not(.open) .hex-item:nth-child(1) {
    transition-delay: 0.5s;
}

.hex-nav:not(.open) .hex-item:nth-child(2) {
    transition-delay: 0.4s;
}

.hex-nav:not(.open) .hex-item:nth-child(3) {
    transition-delay: 0.3s;
}

.hex-nav:not(.open) .hex-item:nth-child(4) {
    transition-delay: 0.2s;
}

.hex-nav:not(.open) .hex-item:nth-child(5) {
    transition-delay: 0.1s;
}

.hex-nav:not(.open) .hex-item:nth-child(6) {
    transition-delay: 0s;
}

/* ------------------------------------------------ SECTION 1 ------------------------------------------------- */
.main-bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ggl-roc-section-1 {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: none;
    width: 100%;
    min-height: 55vw;
    overflow: hidden;
}

.ggl-roc-section-1-content {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.logo {
    transform: scale(1.2);
}

.logo-float {
    position: relative;
    top: 0.5vw;
}

.ggl-roc-section-1-logopvp {
    position: absolute;
    max-width: 747px;
    width: 49vw;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.ggl-roc-section-1-logopvp img {
    width: 64%;
    display: block;
}

.ggl-roc-section-1-logo {
    opacity: 2;
    position: fixed;
    z-index: -1;
    max-width: 1094px;
    width: 28vw;
    top: 2vw;
    filter: drop-shadow(2px 4px 0px black);
    transition: all 0.4s ease;
}

body.scrolled .ggl-roc-section-1-logo {
    opacity: 0;
    transform: translateY(0);
}

.ggl-roc-section-1-tagline {
    position: absolute;
    max-width: 747px;
    width: 30vw;
    top: 87%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(2px 4px 0px white);
}

.ggl-roc-section-1-date {
    position: absolute;
    max-width: 480px;
    width: 26%;
    top: 74%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(2px 4px 0px black);
    z-index: 1;
}

@media (min-width: 2560px) {
    .ggl-roc-section-1-date {
        transform: translate(-50%, -50%) scale(1.4);
    }
}

@media (max-width: 767px) {
    .ggl-roc-floating {
        position: absolute;
        width: 40vw;
        top: 1%;
        right: 4%;
    }

    .ggl-update-floating {
        position: absolute;
        max-width: 867px;
        width: 44vw;
        top: 0.7%;
        right: 57%;
    }

    .ggl-roc-section-1 {
        min-height: 177vw;
    }

    .ggl-roc-section-1-content {
        position: relative;
        z-index: 2;
        height: 177vw;
    }

    .ggl-roc-section-1-logo {
        width: 44vw;
        top: 36vw;
        transition: all 0.4s ease;
    }

    .logo {
        transform: scale(1.1);
    }

    .logo-float {
        top: 0vw;
    }

    .ggl-roc-section-1-logopvp {
        max-width: 999px;
        width: 77vw;
        top: 73%;
    }

    .ggl-roc-section-1-date {
        top: 87%;
        width: 48%;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* ------------------------------------------------ SECTION 2 ------------------------------------------------- */
.ggl-roc-section-2 {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: none;
    width: 100%;
    min-height: 55vw;
    overflow: hidden;
}

.ggl-roc-section-2-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.ggl-roc-section-2-content {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: -2vw;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ggl-roc-section-2-title {
    position: absolute;
    max-width: 1286px;
    width: 63vw;
    left: 1vw;
    top: 5vw;
}

.ggl-roc-section-2-milestone {
    position: absolute;
    max-width: 1731px;
    width: 74%;
    top: 14vw;
}

.ggl-roc-section-2-arrows {
    position: absolute;
    max-width: 87px;
    width: 4vw;
    z-index: 2;
    animation: arrowPulseBase 3s infinite ease-in-out;
    filter: drop-shadow(0 0 6px rgba(255, 165, 0, .8));


}

@keyframes arrowPulseBase {
    0% {
        transform: translateX(0);
        opacity: .4;
    }

    50% {
        transform: translateX(12px);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: .4;
    }
}

.ggl-roc-section-2-arrows.arrow1 {
    top: 24%;
    left: 13%;
}

.ggl-roc-section-2-arrows.arrow2 {
    top: 26%;
    right: 11.7%;
    transform: rotate(90deg);
    animation: arrowDown 3s infinite ease-in-out;
}

.ggl-roc-section-2-arrows.arrow3 {
    top: 49.7%;
    right: 13%;
    transform: rotate(180deg);
    animation: arrowLeft 3s infinite ease-in-out;
}

@keyframes arrowDown {
    0% {
        transform: rotate(90deg) translateX(0);
        opacity: .4;
    }

    50% {
        transform: rotate(90deg) translateX(12px);
        opacity: 1;
    }

    100% {
        transform: rotate(90deg) translateX(0);
        opacity: .4;
    }
}

@keyframes arrowLeft {
    0% {
        transform: rotate(180deg) translateX(0);
        opacity: .4;
    }

    50% {
        transform: rotate(180deg) translateX(12px);
        opacity: 1;
    }

    100% {
        transform: rotate(180deg) translateX(0);
        opacity: .4;
    }
}

.milestone-mobile {
    display: none !important;
    justify-content: center;
    align-items: flex-end;
    gap: 13vw;
    flex-wrap: wrap;
}


.ggl-roc-section-2-prereg-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 47px;
    margin-top: 36vw;
}

.ggl-roc-section-2-btn-prereg {
    max-width: 370px;
    width: 19vw;
    transition: all 1s ease;
    cursor: pointer;
    animation: btnBounce 3s ease infinite;
}

.ggl-roc-section-2-btn-prereg:hover {
    transform: scale(1.1);
}

.ggl-roc-section-2-arrow.left,
.ggl-roc-section-2-arrow.right {
    max-width: 80px;
    width: 3.8vw;
    animation: arrowBounce 1s ease infinite;
}

.ggl-roc-section-2-arrow.right {
    transform: rotate(0deg) scalex(-1)
}

@media (max-width: 358px) {
    .ggl-roc-section-3-btn-back {
        top: 21px;
        left: 23px;
        width: 75px;
        height: 17px;
    }
}

@media (min-width: 2560px) {
    .ggl-roc-section-2-arrows.arrow1 {
        top: 22%;
        right: 10.7%;
    }

    .ggl-roc-section-2-arrows.arrow2 {
        top: 23%;
        right: 10%;
    }

    .ggl-roc-section-2-arrows.arrow3 {
        top: 48.7%;
        right: 11%;
    }

    .ggl-roc-section-2-milestone {
        transform: scale(1.14);
    }

    .ggl-roc-section-2-prereg-btn-wrapper {
        margin-top: 29vw;
    }

}

@media (max-width: 767px) {
    .ggl-roc-section-2 {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        z-index: 1;
        min-height: auto;
        height: auto;
        margin-top: 0 !important;
    }

    .ggl-roc-section-2-title {
        width: 98vw;
        left: 2vw;
        top: 8vw;
    }

    .ggl-roc-section-2-content {
        position: relative;
        z-index: 2;
        height: 177vw;
    }

    .ggl-roc-section-2-milestone {
        width: 76%;
        top: 28vw;
    }

    .ggl-roc-section-2-btn-more {
        width: 40vw;
        bottom: 80vw;
        left: 29vw;
    }

    .ggl-roc-section-2-prereg-btn-wrapper {
        gap: 36px;
        margin-top: 147vw;
    }

    .ggl-roc-section-2-btn-prereg {
        width: 41vw;
    }

    .ggl-roc-section-2-arrow.left,
    .ggl-roc-section-2-arrow.right {
        max-width: 90px;
        width: 10.8vw;
    }
}


/* ------------------------------------------------ SECTION 3 ------------------------------------------------- */
.ggl-roc-section-3 {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: none;
    width: 100%;
    min-height: 55vw;
    overflow: hidden;
}

.ggl-roc-section-3-txt {
    position: absolute;
    top: 5%;
    left: 0;
    width: 84%;
    height: auto;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0);
}

.ggl-roc-section-3-title {
    position: absolute;
    max-width: 874px;
    width: 46vw;
    left: 1vw;
    top: 5vw;
}

.ggl-roc-section-3-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.ggl-roc-section-3-char {
    position: absolute;
    max-width: 907px;
    width: 43%;
    right: 0;
    z-index: 2;
}


.ggl-roc-section-3-content {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: -2vw;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ggl-roc-section-3-rules-wrapper {
    overflow: auto;
    margin-top: 6vw;
    margin-right: 32vw;
    width: 52%;
    height: 28vw;
    max-width: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 211, 98, 0.31) rgba(36, 39, 45, 0.75);
    z-index: 2;
}

.ggl-roc-section-3-frame {
    position: absolute;
    max-width: 1209px;
    width: 60%;
    left: 4vw;
    top: 12vw;
}

.ggl-roc-section-3-rules {
    width: 95%;
}

@media (min-width: 2560px) {
    .ggl-roc-section-3-frame {
        position: absolute;
        max-width: 1209px;
        width: 60%;
        left: 11vw;
        top: 16vw;
        transform: scale(1.2);
    }

    .ggl-roc-section-3-char {
        top: 5vw;
        transform: scale(1.1);
    }
}

@media (max-width: 767px) {
    .ggl-roc-section-3 {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        z-index: 1;
        min-height: auto;
        height: auto;
        margin-top: 0 !important;
    }

    .ggl-roc-section-3-content {
        position: relative;
        z-index: 2;
        height: 177vw;
    }

    .ggl-roc-section-3-title {
        width: 98vw;
        left: 1vw;
        top: 11vw;
    }

    .ggl-roc-section-3-frame {
        width: 89%;
        left: 4vw;
        top: 29vw;
    }

    .ggl-roc-section-3-rules-wrapper {
        margin-top: 12vw;
        margin-right: 3vw;
        width: 84%;
        height: 106vw;
    }

    .ggl-roc-section-3-rules {
        width: 100%;
    }

    .ggl-roc-section-6 {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        z-index: 1;
        height: 177vw !important;
        min-height: auto;
        margin-top: 0 !important;
    }

    .ggl-roc-section-6-content {
        position: relative;
        z-index: 2;
        height: 177vw !important;
    }

    .ggl-roc-section-6-final-banner-wrapper {
        width: 86vw;
        max-width: none;
    }

    .ggl-roc-section-6-bracket-img.final-banner {
        width: 171vw;
    }
}

/* ------------------------------------------------ SECTION 4 ------------------------------------------------- */
.ggl-roc-section-4 {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: none;
    width: 100%;
    min-height: 55vw;
    overflow: hidden;
}

.ggl-roc-section-4-txt {
    width: 100%;
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.ggl-roc-section-4-bg {
    width: 100%;
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.ggl-roc-section-4-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.ggl-roc-section-4-content {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: -2.6vw;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ggl-roc-section-4-title {
    position: absolute;
    max-width: 641vw;
    width: 37vw;
    top: 14%;
    left: 33%;
    padding-bottom: 5vw;
}

.ggl-roc-section-4-reward-container {
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 33%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
}

.ggl-roc-section-4-reward-container.show {
    opacity: 1;
    visibility: visible;
}

.ggl-roc-section-4-reward-popup-wrapper {
    position: relative;
    display: inline-block;
}

.ggl-roc-section-4-reward-popup {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    filter: drop-shadow(2px 4px 6px rgb(172, 104, 40));
    transition: transform 0.3s ease;
}

.ggl-roc-section-4-reward-popup-btn-back {
    position: absolute;
    top: 15px;
    right: -33px;
    width: 3vw;
    z-index: 1;
    max-width: 52px;
    cursor: pointer;
    filter: drop-shadow(2px 4px 6px rgb(182, 131, 54));
    transition-duration: 0.3s;
}

.ggl-roc-section-4-reward-popup-btn-back:hover {
    transform: scale(0.9);
}

.ggl-roc-section-4-btn-detail {
    position: absolute;
    max-width: 363px;
    z-index: 1;
    width: 30%;
    bottom: -15px;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: 1s ease;
    transition: filter 0.7s ease;
    cursor: pointer;
}

.ggl-roc-section-4-btn-detail:hover {
    filter: drop-shadow(2px 4px 6px #ffffff);
}

.trophy-desktop {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 3vw;
    flex-wrap: wrap;
}

.trophy-mobile {
    display: none !important;
    justify-content: center;
    align-items: flex-end;
    gap: 13vw;
    flex-wrap: wrap;
}

.trophy {
    transition: transform 0.3s ease, filter 0.7s ease;
    cursor: pointer;
}

.trophy-1 {
    max-width: 618px;
    width: 28vw;
}

.trophy-2,
.trophy-3 {
    max-width: 547px;
    width: 25vw;
}

.trophy.trophy-1:hover {
    transform: scale(1.1);
    filter: drop-shadow(2px 4px 6px #ff0300);
}

.trophy.trophy-2:hover {
    transform: scale(1.1);
    filter: drop-shadow(2px 4px 6px #6bc5ff);
}

.trophy.trophy-3:hover {
    transform: scale(1.1);
    filter: drop-shadow(2px 4px 6px #a01db3);
}

@media (min-width: 1242px) and (max-width: 1919px) {
    .ggl-roc-section-4-line2 {
        width: 15%;
        margin: 0 0vw !important;
    }
}

@media (min-width: 1920px) {
    .ggl-roc-section-4-line2 {
        width: 15%;
        margin: 0 0.5vw !important;
    }
}

@media (min-width: 992px) {
    .ggl-roc-section-4-trophy1 {
        width: 28%;
        /* Juara 1 lebih besar */
    }

    .ggl-roc-section-4-line2 {
        width: 15%;
        /* Juara 2-5 lebih besar dari sebelumnya */
        margin: 0 -0.5vw
    }
}

@media (max-width: 991px) {
    .ggl-roc-section-4-trophy1 {
        width: 60%;
        margin-bottom: 2vw;
    }

    .ggl-roc-section-4-line2 {
        width: 46%;
        margin: -3vw;
        margin: 0 -0.5vw;
    }
}

@media (max-width: 767px) {
    .trophy-desktop {
        display: none !important;
    }

    .trophy-mobile {
        display: flex !important;
        gap: 3vw;
        margin-top: 17%;
    }

    .trophy-1 {
        grid-column: 1 / span 2;
    }

    .ggl-roc-section-4 {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        z-index: 1;
        height: 177vw !important;
        min-height: auto;
        margin-top: 0 !important;
    }

    .ggl-roc-section-4-txt {
        top: 13%;
        left: 8%;
        width: 85%;
    }

    .ggl-roc-section-4-content {
        position: relative;
        z-index: 2;
        height: 171vw !important;
    }

    .ggl-roc-section-4-title {
        width: 65vw;
        top: 7%;
        left: 18%;
    }

    .ggl-roc-section-4-btn-detail {
        width: 64vw;
        top: 91%;
        left: 50%;
    }

    .ggl-roc-section-4-line2 {
        margin: -2vw;
    }

    .trophy-1,
    .trophy-2,
    .trophy-3 {
        width: 48vw;
    }

    .ggl-roc-section-4-reward-popup-btn-back {
        top: 23px;
        right: 19px;
        width: 11vw;
    }
}

@media (max-width: 358px) {
    .ggl-roc-section-4-btn-back {
        top: 21px;
        left: 23px;
        width: 75px;
        height: 17px;
    }
}

/* ------------------------------------------------ SECTION 5 ------------------------------------------------- */
.ggl-roc-section-5 {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: none;
    width: 100%;
    min-height: 55vw;
    overflow: hidden;
}

.ggl-roc-section-5-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.ggl-roc-section-5-title {
    position: absolute;
    max-width: 830px;
    width: 33vw;
    left: 33vw;
    top: 3vw;
}

.ggl-roc-section-5-txt {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.ggl-roc-section-5-content {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 4vw;
    left: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: -1vw;
}

.ggl-roc-section-5-point-select-wrapper {
    position: absolute;
    top: 23%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ggl-roc-section-5-point {
    max-width: 1080px;
    width: 50vw;
    height: 5vw;
    background: url(../images/teaser/edl2/page5/date/list1.png) no-repeat center;
    background-size: contain;
    color: rgba(0, 0, 0, 0);
    font-size: 27px;
    border: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.ggl-roc-section-5-point option {
    background-color: #ffda00;
    color: #000000;
    cursor: pointer;
    text-align: center;
}

.ggl-roc-section-5-point-img .ggl-roc-section-5-point-img-var {
    max-width: 626px;
    width: 27vw;
}

#ggl-roc-section-5-point-img-display {
    position: absolute;
    max-width: 878px;
    width: 32vw;
    bottom: 7vw;
}

.ggl-roc-section-5-wrap-arrow {
    position: absolute;
    top: 37vw;
    display: flex;
    justify-content: center;
    gap: 79vw;
}

@media (min-width: 2560px) {
    .ggl-roc-section-5-title {
        left: 34vw;
    }
}

@media (max-width: 767px) {
    .ggl-roc-section-5-title {
        width: 86vw;
        left: 8vw;
        top: 15vw;
    }

    .ggl-roc-section-5 {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        z-index: 1;
        height: 177vw !important;
        min-height: auto;
        margin-top: 0 !important;
    }

    .ggl-roc-section-5-txt {
        top: 68%;
        left: 8%;
        width: 84%;
    }

    .ggl-roc-section-5-content {
        position: relative;
        z-index: 2;
        height: 177vw !important;
    }

    #ggl-roc-section-5-point-img-display {
        width: 89vw;
        bottom: 34vw;
    }

    .ggl-roc-section-5-point-select-wrapper {
        top: 24%;
    }

    .ggl-roc-section-5-point {
        padding: 1vw 7vw 1vw 6vw !important;
        font-size: 14px !important;
        width: 94vw;
        height: 19vw;
    }
}

/* ------------------------------------------------ SECTION 6 ------------------------------------------------- */
.ggl-roc-section-6 {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: none;
    width: 100%;
    min-height: 55vw;
    overflow: hidden;
}

.ggl-roc-section-6-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.ggl-roc-section-6-title {
    position: absolute;
    max-width: 1241px;
    width: 60vw;
    left: 1vw;
    top: 3vw;
}

.ggl-roc-section-6-txt {
    position: absolute;
    top: 0;
    left: 0;
    width: 69%;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.ggl-roc-section-6-content {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 2vw;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ggl-roc-section-6-guild-leaderboard-wrapper {
    position: relative;
    margin-bottom: 7vw;
    margin-top: 2vw;
}

.ggl-roc-section-6-guild-leaderboard-table-frame {
    height: 28.8vw;
    width: 84vw;
    overflow: auto;
    margin-left: 0vw;
    margin-top: 2vw;
    scrollbar-width: thin;
    scrollbar-color: #ae6600 #937b7bbf;
}

.ggl-roc-section-6-bracket-img {
    max-width: 1841px;
    width: 76vw;
}

.icon-rank {
    max-height: 60px;
    /* 🔥 batasi tinggi icon */
    width: auto;
    display: block;
}

.table-hover {
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 10px 0px;
    width: 100%;
    text-align: center;
    min-width: 600px;
}

tr {
    margin-bottom: 20px;
}

.table-hover td {
    padding: 1vw 2vw;
    white-space: nowrap;
}

.table-hover td {
    color: rgb(0, 0, 0);
    padding: 10px;
    font-size: 2rem;
    vertical-align: middle;
}

.table thead th,
.table td {
    border-bottom: none !important;
    border-top: none !important;
}

/* Lebar kolom */
.table-hover th:nth-child(1),
.table-hover td:nth-child(1) {
    width: 17%;
}

.table-hover th:nth-child(2),
.table-hover td:nth-child(2) {
    width: 28%;
}

.table-hover th:nth-child(3),
.table-hover td:nth-child(3) {
    width: 16%;
}

/* Padding khusus per kolom */
.table-hover td:nth-child(1) .inner {
    padding: 0 20px;
    /* peringkat lebih ramping */
}

.table-hover td:nth-child(2) .inner {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-hover td:nth-child(3) .inner {
    padding: 0 30px;
    /* point */
}

/* Supaya tabel nurut ukuran */
.table-hover {
    table-layout: fixed;
}

@media (max-width: 767px) {
    .ggl-roc-section-6-txt {
        top: 126vw;
        left: 8%;
    }

    .ggl-roc-section-6-title {
        width: 86vw;
        left: 8vw;
        top: 1vw;
    }

    .ggl-roc-section-6-bracket-wrapper {
        width: 86vw;
        height: 97%;
        margin-top: 30vw;
        max-width: none;
    }

    .ggl-roc-section-6-bracket-img {
        width: 170vw;
    }

    .frame {
        padding: 9px;
    }

    .ggl-roc-section-6-guild-leaderboard-table-frame {
        height: 117.4vw;
        width: 83vw;
        margin-top: -13vw;
    }
}

/* ------------------------------------------------ FOOTER ------------------------------------------------- */
.btn-to-top {
    text-align: right;
    cursor: pointer;
    position: fixed;
    bottom: 1vw;
    right: 1vw;
    display: none;
    z-index: 999;
}

.btn-to-top img {
    width: 60%;
    max-width: 125px;
}

footer {
    background-color: #252525;
    border-top: 5px solid #ffd900;
    background-size: cover;
    position: relative;
}

.row-logo {
    padding-top: 2vw;
    padding-bottom: 3vw;
}

.sosmed a {
    color: #fff;
    font-size: 24pt;
    margin-right: 1vw;
    transition-duration: 0.3s;
}

.sosmed a:hover {
    color: #fa9e25;
}

.ggl-logo {
    margin-right: 2vw;
    padding-top: 1vw;
}

.ggl-info {
    padding-top: 2vw;
    font-weight: bold;
    color: #ffe;
}

@media (max-width: 768px) {
    .ggl-info {
        font-size: 0.9rem;
    }
}

/* ------------------------------------------------ ANIMASI MECHA ------------------------------------------------- */
.mecha-img {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
}

.mecha-img.show {
    animation: reveal 3s ease-out forwards;
    opacity: 0.2;
}

/* ------------------------------------------------ PREREG ------------------------------------------------- */
.prereg-wrap {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.prereg-wrap.active {
    display: flex;
}

.prereg-box {
    position: relative;
    width: min(90vw, 1200px);
    aspect-ratio: 16 / 9;
}

.prereg-frame,
.prereg-frame-m {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(1px 2px 15px #b76c00);
}

.btn-close {
    position: absolute;
    top: 8%;
    right: 8%;
    width: 50px;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.prereg-form {
    position: relative;
    z-index: 3;
    width: 60%;
    margin: auto;
    top: 40%;
}

.form-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-label {
    background: #868686;
    color: #000000;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
}

.form-row input {
    height: 48px;
    font-size: 1rem;
}

.footer-text {
    margin-top: 16px;
    background: #ebe9e900;
    color: white;
    padding: 10px;
    text-align: center;
}

.btn-row {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.btn-log-d,
.btn-fpw,
.btn-email {
    flex: 1;
    display: flex;
    justify-content: center;
}

.buttons-login {
    width: 100%;
    max-width: 260px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.btn-close:hover,
.buttons-login:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.sweet-alert {
    background-color: #292929 !important;
    border: 6px solid #ffda00 !important;
}

.sweet-alert h2 {
    font-family: 'BonaNova' !important;
    color: white !important;
}

.sweet-alert button {
    background-color: #ff9600 !important;
    color: black !important;
}

.sweet-alert p {
    color: #ffffff !important;
    font-size: 16px;
    font-family: 'BonaNova' !important;
}

@media (min-width: 2560px) {
    .ggl-roc-letter-login {
        position: absolute;
        z-index: -1;
        max-width: 1296px;
        width: 68vw;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@media (max-width: 1440px) {
    .ggl-roc-letter-login {
        position: absolute;
        z-index: -1;
        max-width: 1296px;
        width: 81vw;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 1024px) {
    .ggl-roc-letter-login {
        width: 89vw;
        top: 33%;
    }
}

@media (max-width: 992px) {
    .form-row {
        grid-template-columns: 150px 1fr;
    }

    .form-label {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-label {
        display: none;
    }

    .form-control {
        width: 100%;
    }

    .prereg-box {
        aspect-ratio: 4 / 9;
    }

    .prereg-form {
        width: 86%;
    }

    .btn-close {
        position: absolute;
        top: 17%;
        right: 4%;
        width: 38px;
        cursor: pointer;
        z-index: 5;
    }

    .btn-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .btn-log-d {
        grid-column: 1 / 3;
        /* LOGIN ambil 2 kolom */
    }

    .buttons-login {
        max-width: 230px;
        /* penting: kecilin tombol di HP */
    }

    .footer-text {
        margin-top: 16px;
        background: #171717e6;
        border: 1px solid #ffb400;
        color: white;
        padding: 15px;
        text-align: center;
    }
}

@media (max-width: 425px) {
    .buttons-login {
        max-width: 177px;
    }
}

/* buka dari kiri ke kanan */
@keyframes reveal {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

/* glitch kecil */
@keyframes glitch {
    0% {
        filter: none;
    }

    50% {
        transform: translateX(2px);
    }

    100% {
        filter: none;
    }
}

/* arrowBounce kecil */
@keyframes arrowBounce {
    0% {
        margin-top: 0px;
    }

    50% {
        margin-top: 1px;
    }

    100% {
        margin-top: 0px;
    }
}

@keyframes btnBounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}
