/* CSS Reset & Variable Tokens */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark-green: #1c3124;
    --text-gold: #c3a475;
    --text-gold-light: #DDCBAA;
    --text-light: #ffffff;
    --text-gray: #a0aba4;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft JhengHei", sans-serif;
    background-color: var(--bg-dark-green);
    color: var(--text-light);
    overflow: hidden;
}

/* Full Screen Smooth Snap Scroll Container */
.slide-container {
    width: 100vw;
    height: 100vh;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slide-container::-webkit-scrollbar {
    display: none;
}

.slide {
    position: relative;
    width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract Shape Layering System */
.layer-shade, .layer-ribbon, .layer-flower {
    position: absolute;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

.slide-main .layer-shade { z-index: 3; }
.slide-main .layer-ribbon { z-index: 2; }
.slide-main .layer-flower { z-index: 4; }

.slide-tnc .layer-shade { z-index: 2; }
.slide-tnc .layer-ribbon { z-index: 3; }

/* Slide Decor Asset Graphics */
.shade-tl { top: 0; left: 0; width: 40%; height: 60%; background-image: url('../images/BG_deco_shade_topleft.png'); background-position: top left; }
.shade-tr { top: 0; right: 0; width: 50%; height: 50%; background-image: url('../images/BG_deco_shade_topright.png'); background-position: top right; }
.shade-br { bottom: 0; right: 0; width: 55%; height: 55%; background-image: url('../images/BG_deco_shade_bottomright.png'); background-position: bottom right; }

.ribbon-top { top: 0; right: 0; width: 60%; height: 40%; background-image: url('../images/BG_deco_ribbonTop.png'); background-position: top right; }
.ribbon-bot { bottom: 0; right: 0; width: 42%; height: 40%; background-image: url('../images/BG_deco_ribbonBot.png'); background-position: bottom left; }

.flower-tr { top: 0; right: 0; width: 35%; height: 35%; background-image: url('../images/deco_flower_topright.png'); background-position: top right; }
.flower-r { right: 0; top: 35%; width: 25%; height: 50%; background-image: url('../images/deco_flower_right.png'); background-position: center right; }
.flower-bl { bottom: 0; left: 0; width: 40%; height: 40%; background-image: url('../images/deco_flower_bottomleft.png'); background-position: bottom left; }

.slide-main .ribbon-top { right: 13%; } 

.slide-tnc .ribbon-top { right: -7%; top: -4%; width: 30% }

/* Slide 1 Main Flex Layout Structure */
.content-main {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    max-width: 600px;
    height: 72vh; /* Holds layout structures inside a flexible boundary */
}

.logo-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.main-logo {
    width: 100%;
    max-width: 100%;
    max-height: 38vh;
    object-fit: contain;
}

.bottom-sticky {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    width: 100%;
    margin-top: auto;
}

.coming-soon-text {
    font-size: 2.2rem;
    letter-spacing: 6px;
    font-weight: 400;
    color: var(--text-gold-light);
    text-indent: 8px;
}

.lang-en .coming-soon-text {
    letter-spacing: 2px;
}

.lang-switcher {
    display: flex;
    gap: 40px;
    font-size: 0.95rem;
    letter-spacing: 2px;
}

.lang-switcher a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    vertical-align: middle;
}

.lang-switcher a:hover, .lang-switcher a.active {
    color: var(--text-gold);
}

/* Slide 2: Terms and Conditions Document Workspace */
.slide-tnc {
    align-items: center;
    padding: 6% 8%;
}

.tnc-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    height: 100%; 
    justify-content: flex-start;
}

.tnc-header {
    font-size: 1.35rem;
    color: var(--text-gold);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.tnc-body {
    line-height: 1.75;
    color: var(--text-gold-light);
    text-align: justify;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
}

.tnc-body::-webkit-scrollbar { width: 4px; }
.tnc-body::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.tnc-body::-webkit-scrollbar-thumb { background: rgba(195, 164, 117, 0.3); border-radius: 2px; }

.tnc-body p { margin-bottom: 18px; }

/* Sticky Bottom Right Layout Placement */
.tnc-footer {
    margin-top: auto; 
    align-self: flex-end; 
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-top: 25px;
    width: auto;
}

.shkp-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

/* Scroll Animation Hint */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-gold);
    animation: bounce 2s infinite;
    opacity: 0.7;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-8px) translateX(-50%); }
    60% { transform: translateY(-4px) translateX(-50%); }
}

/* VERTICAL RESPONSIVENESS (Fixes compressed/minimized heights around 630px-700px) */
@media (max-height: 700px) {
    .content-main {
        height: 85vh; /* Expands flex allotment slightly to leverage viewport margins */
    }
    .main-logo {
        max-height: 30vh; /* Smoothly reduces logo scale profile */
    }
    .bottom-sticky {
        gap: 20px;
    }
    .scroll-hint {
        display: none; /* Safely clears screen space */
    }
    .tnc-body {
        max-height: 48vh; /* Prevents text overflow pressing on the bottom footer */
    }
}

/* HORIZONTAL WIDTH BREAKPOINTS */
@media (max-width: 768px) {
    .content-main { height: auto; gap: 40px; }
    .slide-tnc { padding: 6% 5%; }
    .tnc-body { max-height: 55vh; font-size: 0.9rem; }
    .tnc-footer { width: 100%; align-self: center; justify-content: center; padding-bottom: 90px;} 
    .shkp-logo { height: 32px; }
    .slide-main .flower-tr { width: 85%; }
    .slide-main .flower-r { top: 54%; width: 45%;}
}