/* --- Global Variables --- */
:root {
    --mobile-width: 400px;
    /* PERHATIAN: Ada dua warna main-color di kode asli. 
       Browser akan menggunakan yang TERAKHIR (#253A4B). 
       Saya non-aktifkan yang pertama agar tidak bingung. */
    /* --main-color: #2b3925; */ 
    --main-color: #253A4B; 
}

/* Responsiveness untuk layar kecil (Mobile) */
@media (max-width: 767px) {
    :root {
        --mobile-width: 100vw;
    }
}

/* --- Layout Containers --- */
.mobile-container {
    position: relative;
    width: 100%;
    max-width: var(--mobile-width);
    height: 100vh;
    height: 100dvh; /* Dynamic Viewport Height untuk mobile modern */
    margin: 0 auto;
    overflow: hidden;
}

.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    position: relative;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Mengganti 'auto' ke 'touch' biasanya lebih smooth di iOS */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge lama */
    overscroll-behavior-y: contain;
    scroll-snap-stop: always;
    -webkit-scroll-snap-type: y mandatory;
}

/* Sembunyikan Scrollbar Chrome/Safari */
.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-section {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
}

.scroll-content {
    height: auto;
    position: relative;
}

/* --- Stage & Animation --- */
.stage {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--mobile-width);
    height: 100%;
    overflow: hidden;
    background: #000;
    z-index: 1;
    pointer-events: none;
}

.animated-element {
    position: absolute;
    will-change: transform, opacity, filter;
}

/* --- Debugging --- */
.debug-text {
    position: fixed;
    top: 20px;
    left: 20px;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 4px;
}

/* --- Typography --- */
.p1 {
    font-family: Lora, Sans-serif;
    font-size: 12px;
    margin: 0 0 -2px 0;
}

.p2 {
    font-family: Lora, Sans-serif;
    font-size: 11px;
    margin: 0 0 -2px 0;
}

.h1 {
    font-family: 'Ganthe', Sans-serif; /* Pastikan ada kutip jika nama font tidak umum */
    font-size: 26px;
    margin: 0 0 -5px 0;
}

/* --- Content Styling --- */
.ig-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: end;
    gap: 4px;
}

.text-container1 {
    width: 400px;
    height: 250px;
    background-image: url('https://wp.envelope.id/wp-content/uploads/2025/01/cloud3.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 25%;
    padding-left: 25%;
}

/* Perhitungan rumit menggunakan Variable */
.text-container2 {
    width: calc(2.5 * var(--mobile-width));
    height: 100vh;
    height: 100dvh;
    left: calc(var(--mobile-width) * -0.75);
    background-image: url('https://wp.envelope.id/wp-content/uploads/2025/01/cloud4.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: calc(var(--mobile-width) * 0.82);
    padding-left: calc(var(--mobile-width) * 0.82);
}

.text-container3 {
    width: calc(2.5 * var(--mobile-width));
    height: 100vh;
    height: 100dvh;
    left: calc(var(--mobile-width) * -0.75);
    background-image: url('https://wp.envelope.id/wp-content/uploads/2025/01/cloud3.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: calc(var(--mobile-width) * 0.82);
    padding-left: calc(var(--mobile-width) * 0.82);
}

/* --- Components --- */
.button1 {
    display: inline-block;
    background: var(--main-color);
    padding: 6px 12px; /* Disingkat */
    border-radius: 6px; /* -moz dan -webkit modern sudah tidak wajib, tapi boleh dibiarkan */
    color: #fff;
    margin-top: 8px;
}

.dc-container {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.dc-item {
    width: 50px;
    height: 50px;
    margin-right: -5px;
    margin-left: -5px;
    box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.5);
    border-radius: 100%;
}

.cover {
    /* display: none !important; */
}

.marker {
    display: none;
}