:root {
    --bg-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    background-color: var(--bg-color);
    background-image: url('assets/background.webp');
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
}

/* Fixed Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Running Text Banner */
.running-text-banner {
    background-color: #008745;
    color: white;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    font-weight: 700;
    font-size: 15px;
    position: relative;
    z-index: 50;
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Navbar */
.navbar {
    background-color: #EE2570;
    padding: 18px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 50;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.nav-left, .nav-right {
    display: flex;
    gap: 40px;
    flex: 1;
    align-items: center;
}

.nav-left {
    justify-content: center;
    padding-right: 40px;
}

.nav-right {
    justify-content: center;
    padding-left: 40px;
}

.nav-logo {
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
}

.navbar a:hover {
    opacity: 0.8;
}

.btn-login {
    background-color: #ffffff;
    border: 2.5px solid #ffffff;
    border-radius: 8px;
    padding: 7px 22px;
    color: #EE2570 !important;
    font-weight: 800 !important;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
    white-space: nowrap;
}

.btn-login:hover {
    background-color: #f7e0e8;
    border-color: #f7e0e8;
    color: #EE2570 !important;
    opacity: 1 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,255,255,0.3);
}

/* Hamburger Menu Styles */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 100;
}

.hamburger-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger Animation */
.navbar.mobile-active .hamburger-btn span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.navbar.mobile-active .hamburger-btn span:nth-child(2) {
    opacity: 0;
}
.navbar.mobile-active .hamburger-btn span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .navbar { padding: 15px 5%; }
    .navbar-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    .nav-logo { height: 35px; order: 1; margin: 0; flex: 0 0 auto; }
    .hamburger-btn { display: flex; order: 2; flex: 0 0 auto; }
    
    .nav-left, .nav-right {
        display: none;
        flex-direction: column;
        flex: 0 0 100%; /* Force full width, prevents side-by-side */
        width: 100%;
        order: 3;
        gap: 15px;
        padding: 0;
        align-items: center;
        text-align: center;
    }
    
    .nav-left { padding-top: 25px; }
    .nav-right { padding-bottom: 25px; }
    
    .navbar.mobile-active .nav-left,
    .navbar.mobile-active .nav-right {
        display: flex;
    }
    
    .navbar a { 
        font-size: 16px; 
        padding: 10px 0; 
        text-align: center; 
        width: 100%; 
        display: block; 
    }
    
    .btn-login { 
        align-self: center; 
        width: auto !important; 
        padding: 10px 30px !important; 
        margin-top: 10px; 
    }

    .nav-profile-dropdown {
        text-align: center;
        width: 100%;
        margin-top: 10px;
    }
    
    .nav-profile-btn {
        margin: 0 auto;
    }
}

.hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 116px; /* Offset for the fixed header (banner 40px + navbar 76px) */
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: 1512px;
    height: 100vh;
    min-height: 800px;
    margin: 0 auto;
}

.element {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 1. Blast Background */
.blast {
    width: 100vw;
    height: 100%;
    top: 0;
    left: calc(-50vw + 50%);
    background-image: url('assets/blast.webp');
    background-size: cover; /* ensures it fills width and height without empty gaps */
    background-position: top center;
    z-index: 1;
}

/* 2. Awan (Cloud) */
.awan {
    width: 27.24%; /* 411.95 / 1512 */
    height: 41.95%; /* 411.95 / 982 */
    top: 0;
    left: 0;
    background-image: url('assets/awan.webp');
    z-index: 2;
    animation: float-slow 6s ease-in-out infinite;
}

/* 3. Leaf 1 */
.leaf1 {
    width: 25.94%; /* 392.32 / 1512 */
    height: 46.67%; /* 458.32 / 982 */
    top: 16.14%; /* 158.5 / 982 */
    left: 9.89%; /* 149.6 / 1512 */
    background-image: url('assets/leaf1.webp');
    z-index: 3;
    animation: sway 5s ease-in-out infinite;
    transform-origin: bottom center;
}

/* 4. Headline Banner Group */
.headline-banner {
    width: 60%; 
    height: auto; 
    top: 18%; 
    left: 20%; 
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.headline-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: pop-in 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* 5. Leaf 2 */
.leaf2 {
    width: 25.94%; /* 392.32 / 1512 */
    height: 46.67%; /* 458.32 / 982 */
    top: 31.87%; /* 313 / 982 */
    left: 63.22%; /* 956 / 1512 */
    background-image: url('assets/leaf2.webp');
    z-index: 5;
    animation: sway 6s ease-in-out infinite reverse;
    transform-origin: bottom center;
}

/* 6. Plus */
.plus {
    width: 25.23%; /* 381.54 / 1512 */
    height: 39.95%; /* 392.34 / 982 */
    top: 24.90%; /* 244.6 / 982 */
    left: 88.80%; /* 1342.8 / 1512 */
    background-image: url('assets/plus.webp');
    z-index: 2;
    animation: rotate-slow 15s linear infinite;
}

/* --- Premium Animations --- */
@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pop-in {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.1) rotate(15deg); }
}

/* Animation Utility Classes */
.float-slow {
    animation: float-slow 6s ease-in-out infinite;
}

.sway {
    animation: sway 5s ease-in-out infinite;
    transform-origin: bottom center;
}

.rotate-slow {
    animation: rotate-slow 15s linear infinite;
}

.twinkle {
    animation: twinkle 3s ease-in-out infinite;
}

/* Media Queries for responsiveness on smaller screens */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 100px;
    }

    .hero-container {
        /* Maintain aspect ratio but allow some flexibility on mobile */
        aspect-ratio: 1 / 1;
        min-height: 400px;
    }
    
    .headline-banner {
        width: 90%;
        left: 5%;
        top: 25%;
    }
    
    .leaf1, .leaf2, .blast {
        /* Adjusting background positioning for mobile */
        background-size: cover;
    }

    .awan, .plus {
        display: none;
    }
}

/* =========================================
   HADIAH SECTION
========================================= */
.hadiah-section {
    width: 100%;
    position: relative;
    background-color: transparent;
    overflow: hidden;
}

.hadiah-container {
    position: relative;
    width: 100%;
    max-width: 1512px;
    aspect-ratio: 1512 / 1599;
    margin: 0 auto;
}

.tiket {
    width: 74.32%;
    aspect-ratio: 1.608;
    top: 6.50%;
    left: 10.88%;
    background-image: url('assets/tiket.webp');
    z-index: 1;
}

.leaf3 {
    width: 25.94%;
    aspect-ratio: 0.856;
    top: 32.77%;
    left: -0.06%;
    background-image: url('assets/leaf3.webp');
    z-index: 2;
}

.leaf4 {
    width: 25.94%;
    aspect-ratio: 0.856;
    top: 31.08%;
    left: 73.87%;
    background-image: url('assets/leaf4.webp');
    z-index: 2;
}

.blink1 {
    width: 8.26%;
    aspect-ratio: 0.940;
    top: 9.75%;
    left: 73.87%;
    background-image: url('assets/blink1.webp');
    z-index: 3;
}

.blink2 {
    width: 8.26%;
    aspect-ratio: 0.940;
    top: 21.70%;
    left: 11.30%;
    background-image: url('assets/blink2.webp');
    z-index: 3;
}

.strawberi {
    width: 13.49%;
    aspect-ratio: 1.011;
    top: 8.69%;
    left: 7.47%;
    background-image: url('assets/strawberi.webp');
    z-index: 4;
}

.plus2 {
    width: 12.56%;
    aspect-ratio: 0.993;
    top: 23.89%;
    left: 79.56%;
    background-image: url('assets/plus2.webp');
    z-index: 3;
}

.hadiah1 {
    width: 27.50%;
    aspect-ratio: 1.220;
    top: 45.59%;
    left: 4.50%;
    background-image: url('assets/hadiah1.webp');
    z-index: 5;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hadiah2 {
    width: 27.50%;
    aspect-ratio: 1.220;
    top: 45.59%;
    left: 36.25%;
    background-image: url('assets/hadiah2.webp');
    z-index: 5;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hadiah3 {
    width: 27.50%;
    aspect-ratio: 1.220;
    top: 45.59%;
    left: 68.00%;
    background-image: url('assets/Package.webp');
    z-index: 5;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hadiah1:hover, .hadiah2:hover, .hadiah3:hover {
    transform: translateY(-15px) scale(1.02);
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    cursor: pointer;
}

/* =========================================
   S&K SECTION
========================================= */
.snk-section {
    width: 100%;
    position: relative;
    background-color: transparent;
    overflow: hidden;
}

.snk-container {
    position: relative;
    width: 100%;
    max-width: 1512px;
    aspect-ratio: 1512 / 602;
    margin: 0 auto;
}

.strawberi2 {
    width: 31.08%;
    aspect-ratio: 1.012;
    top: 1.49%;
    left: -8.99%;
    background-image: url('assets/strawberi2.webp');
    z-index: 2;
}

.strawberi3 {
    width: 25.95%;
    aspect-ratio: 1.012;
    top: 4.98%;
    left: 83.00%;
    background-image: url('assets/strawberi3.webp');
    z-index: 2;
}

.leaf3-snk {
    width: 25.94%;
    aspect-ratio: 0.856;
    top: 11.54%;
    left: 6.13%;
    background-image: url('assets/leaf3.webp');
    z-index: 1;
}

.leaf4-snk {
    width: 25.94%;
    aspect-ratio: 0.856;
    top: 20.86%;
    left: 72.01%;
    background-image: url('assets/leaf4.webp');
    z-index: 1;
}

.snk-title {
    width: 59.18%;
    top: 19.10%;
    left: 21.94%;
    color: #ffffff;
    font-size: 2.1vw; /* Responsive font scaling */
    font-weight: 700;
    text-align: center;
    z-index: 3;
    line-height: 1.2;
}

@media (min-width: 1512px) {
    .snk-title {
        font-size: 32px;
    }
}

.snk-image {
    width: 55.02%;
    aspect-ratio: 2.632;
    top: 28.07%;
    left: 25.85%;
    background-image: url('assets/s&k.webp');
    z-index: 3;
}

.btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15.87%;
    height: 49px;
    top: 81.69%;
    left: 45.41%;
    background-color: #ee2470;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    z-index: 4;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-3px);
    background-color: #d11f62;
    box-shadow: 0 10px 15px rgba(238, 36, 112, 0.3);
}

@media (max-width: 768px) {
    .snk-title {
        font-size: 5vw;
        top: 15%;
        width: 80%;
        left: 10%;
    }
    .snk-image {
        width: 80%;
        left: 10%;
        top: 25%;
    }
    .btn-primary {
        font-size: 14px;
        height: 35px;
        width: 120px;
        left: 50%;
        top: 80%;
        transform: translateX(-50%);
    }
    .btn-primary:hover {
        transform: translateX(-50%) scale(1.05) translateY(-3px);
    }
}

/* =========================================
   MODAL S&K
========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.6); 
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #ff7eac; /* Figma background color */
    color: #ffffff;
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.close-btn {
    color: #ffffff;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s;
}

.close-btn:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 60px;
    overflow-y: auto;
}

.modal-title {
    font-size: 48px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.modal-text {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 500;
}

.modal-text p {
    margin-bottom: 20px;
}

.modal-text ul {
    margin-left: 40px;
    margin-bottom: 20px;
}

.modal-text li {
    margin-bottom: 10px;
}

.accordion {
    margin-top: 50px;
    border-top: 2px solid rgba(255,255,255,0.3);
}

.accordion-item {
    font-size: 36px;
    font-weight: 700;
    padding: 30px 0;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: opacity 0.3s;
}

.accordion-item:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 30px;
    }
    .modal-title {
        font-size: 32px;
    }
    .modal-text {
        font-size: 16px;
    }
    .accordion-item {
        font-size: 24px;
        padding: 20px 0;
    }
    .close-btn {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

/* =========================================
   TANTANGAN SECTION
========================================= */
.tantangan-section {
    width: 100%;
    position: relative;
    background-color: transparent;
    overflow: hidden;
    padding: 50px 0 100px; 
}

.tantangan-container {
    position: relative;
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.awan1, .awan2 {
    position: absolute;
    width: 77.4%;
    aspect-ratio: 2.11;
    z-index: 0;
    background-size: contain;
    background-repeat: no-repeat;
}
.awan1 {
    top: 9.5%;
    left: -47.3%;
    background-image: url('assets/awan1.webp');
}
.awan2 {
    top: 7.8%;
    left: 61.3%;
    background-image: url('assets/awan2.webp');
}

.tantangan-headline {
    position: relative;
    width: 40%; /* Made smaller for better proportion */
    text-align: center;
    margin-bottom: 50px;
    z-index: 2;
}

.tantangan-headline img {
    width: 100%;
    height: auto;
}

.tantangan-title {
    font-size: 54px;
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-weight: 900;
    color: #ee2570;
    -webkit-text-stroke: 10px #ffffff;
    paint-order: stroke fill;
    text-align: center;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

@supports not (paint-order: stroke fill) {
    .tantangan-title::before {
        content: attr(data-text);
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        color: #ee2570;
        -webkit-text-stroke: 0;
        z-index: 1;
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    .tantangan-headline {
        width: 80%;
    }
    .tantangan-title {
        font-size: 32px;
        -webkit-text-stroke: 5px #ffffff;
    }
}

/* Tabs UI */
.tabs-wrapper {
    position: relative;
    width: 75%; /* Reduced from 85% */
    max-width: 1100px;
    background-color: #00c767;
    border-radius: 16px;
    padding: 20px;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tabs-header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto; 
    padding-bottom: 5px; /* space for scrollbar on mobile */
}

.tab-btn {
    flex: 1;
    min-width: 160px;
    background-color: #ffba00;
    color: #008745; /* Greenish/blue text for inactive */
    border: none;
    border-radius: 12px 12px 0 0;
    padding: 20px 10px;
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.tab-btn:hover {
    background-color: #ffc933;
}

.tab-btn.active {
    background-color: #ee2570;
    color: #ffffff;
    padding-bottom: 25px; /* Overlap effect */
    margin-bottom: -5px;
}

.tabs-content-area {
    background-color: #ee2570;
    border-radius: 0 0 16px 16px;
    padding: 40px;
    min-height: 400px;
}

.tab-content {
    display: none;
    animation: pop-in 0.4s ease forwards;
}

.tab-content.active {
    display: block;
}

.tab-title-text {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}

.tab-inner-box {
    background-color: #f876c3; 
    border-radius: 42px;
    padding: 50px;
    color: #ffffff;
    position: relative;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.05);
}

.tab-content-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.tab-text-list {
    flex: 1;
    font-size: 28px;
    line-height: 1.6;
    font-weight: 500;
    padding-left: 30px;
    margin: 0;
}

.tab-text-list li {
    margin-bottom: 15px;
}

.tab-photo-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 35%;
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.tab-photo-wrapper:hover {
    transform: rotate(0deg) scale(1.05);
}

.tab-photo {
    width: 100%;
    height: auto;
}

/* Pins for green wrapper */
.pin {
    position: absolute;
    width: 65px;
    height: auto;
    z-index: 10;
}
.pin.top-left {
    top: -30px;
    left: -20px;
}
.pin.bottom-right {
    bottom: -30px;
    right: -20px;
}

/* =========================================
   SUBMIT TANTANGAN SECTION
========================================= */
.submit-section {
    width: 100%;
    position: relative;
    padding: 80px 0 100px;
    background-color: transparent;
    z-index: 10;
}

.submit-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.submit-title {
    font-size: 72px;
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.1;
    position: relative;
    z-index: 2;
    -webkit-text-stroke: 18px #ee2570;
    paint-order: stroke fill;
}

/* Fallback for paint-order text stroke issue */
@supports not (paint-order: stroke fill) {
    .submit-title::before {
        content: attr(data-text);
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        color: #ffffff;
        -webkit-text-stroke: 0;
        z-index: 1;
        white-space: pre-wrap;
    }
}

.submit-form {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 2;
    position: relative;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.form-group label {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: #555555;
    font-size: 14px;
}

.form-group input[type="text"] {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 15px 20px;
    border-radius: 4px;
    border: 1px solid #dddddd;
    outline: none;
    background: #ffffff;
    color: #333333;
}

.form-group input[type="text"]::placeholder {
    color: #bbbbbb;
}

.file-upload-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background: #ffffff;
    padding-left: 20px;
    overflow: hidden;
    height: 50px;
}

.file-name {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #777777;
}

.btn-browse {
    background-color: #ee2570;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.btn-submit {
    background-color: #ee2570;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    border: none;
    padding: 18px 60px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 30px;
    align-self: center;
    transition: transform 0.2s, filter 0.2s;
}

.btn-submit:hover {
    filter: brightness(1.1);
}

.btn-submit:active {
    transform: translateY(2px);
}

.decor {
    position: absolute;
    z-index: 1;
}

.strawberi-submit {
    top: 10%;
    left: -10%;
    width: 250px;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.1));
}

.plus-submit {
    bottom: -10%;
    right: -10%;
    width: 200px;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.1));
}

@media (max-width: 768px) {
    .submit-title { font-size: 36px; -webkit-text-stroke: 6px #ee2570; margin-bottom: 30px; }
    .form-row { flex-direction: column; gap: 20px; }
    .strawberi-submit { width: 100px; top: -5%; left: 0; }
    .plus-submit { width: 80px; bottom: 0; right: 0; }
    .btn-submit { width: 100%; font-size: 16px; padding: 12px 30px; }
    .form-group input[type="text"], .file-upload-wrapper { padding: 10px 15px; height: 45px; }
    .btn-browse { padding: 0 15px; font-size: 12px; }
}

/* =========================================
   LEADERBOARD SECTION
========================================= */
.leaderboard-section {
    width: 100%;
    position: relative;
    background-color: transparent;
    padding: 100px 0 150px;
    overflow: hidden;
}

.leaderboard-container {
    position: relative;
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leaderboard-title {
    text-align: center;
    margin-bottom: 0px;
    z-index: 3;
    position: relative;
}

.leaderboard-title h2 {
    font-size: 64px;
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-weight: 900;
    color: #ee2570;
    line-height: 1.2;
    text-shadow: 
        -6px -6px 0 #fff,  
         6px -6px 0 #fff,
        -6px  6px 0 #fff,
         6px  6px 0 #fff,
        -6px  0px 0 #fff,
         6px  0px 0 #fff,
         0px -6px 0 #fff,
         0px  6px 0 #fff,
         0px 15px 20px rgba(0,0,0,0.2);
}

.leaderboard-board {
    position: relative;
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: center;
    z-index: 2;
    margin-top: -30px; /* Overlap title slightly */
}

.leaderboard-bg {
    width: 100%;
    height: auto;
    display: block;
}

.leaderboard-content {
    position: absolute;
    top: 26%; 
    left: 50%;
    transform: translateX(-50%);
    width: 44%; 
    height: 42%; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 15px; /* Added padding-top */
    padding-right: 8px; /* For scrollbar */
    overflow-y: auto;
}

/* Custom scrollbar for leaderboard */
.leaderboard-content::-webkit-scrollbar {
    width: 8px;
}
.leaderboard-content::-webkit-scrollbar-track {
    background: transparent;
}
.leaderboard-content::-webkit-scrollbar-thumb {
    background: #ff51c2;
    border-radius: 10px;
}

.leaderboard-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2%;
    flex: 0 0 auto;
}

.lb-col-rank {
    flex: 0 0 18%; 
    display: flex;
    justify-content: center;
}
.lb-col-rank img {
    width: 100%;
    height: auto;
}

.lb-col-name {
    position: relative;
    flex: 0 0 46%; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-col-name img {
    width: 100%;
    height: auto;
}
.lb-col-name span {
    position: absolute;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: #ffffff;
}

.lb-col-score {
    position: relative;
    flex: 0 0 32%; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-col-score img {
    width: 100%;
    height: auto;
}
.lb-col-score span {
    position: absolute;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: #ffffff;
}

/* Decorative Leaderboard */
.strawberi-lb {
    position: absolute;
    top: 25%;
    left: 0%;
    width: 25%;
    aspect-ratio: 0.85;
    background-image: url('assets/strawberi.webp');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}
.plus-lb {
    position: absolute;
    top: 45%;
    right: 5%;
    width: 20%;
    aspect-ratio: 1;
    background-image: url('assets/plus.webp'); /* User requested 'plus', using the green variant if it exists, otherwise the old one */
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

@media (max-width: 1024px) {
    .leaderboard-title h2 { font-size: 48px; text-shadow: -4px -4px 0 #fff, 4px -4px 0 #fff, -4px 4px 0 #fff, 4px 4px 0 #fff, -4px 0px 0 #fff, 4px 0px 0 #fff, 0px -4px 0 #fff, 0px 4px 0 #fff; }
    .lb-col-name span, .lb-col-score span { font-size: 18px; }
}

@media (max-width: 768px) {
    .leaderboard-title h2 { font-size: 32px; text-shadow: -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 3px 3px 0 #fff, -3px 0px 0 #fff, 3px 0px 0 #fff, 0px -3px 0 #fff, 0px 3px 0 #fff; }
    .lb-col-name span, .lb-col-score span { font-size: 12px; }
    .leaderboard-content { width: 50%; top: 25%; }
    .strawberi-lb { left: -10%; }
    .plus-lb { right: -5%; }
}

/* =========================================
   PRODUCT SECTION
========================================= */
.product-section {
    width: 100%;
    position: relative;
    padding: 0;
    margin-top: -20px;
    z-index: 5;
    overflow: hidden;
}

.cloud-border {
    width: 115%;
    margin-left: -7.5%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    margin-bottom: -18%; /* Increased from -12% to cover the blue gap completely */
    pointer-events: none;
}

.product-bg {
    position: relative;
    width: 100%;
    background-image: url('assets/bg-produk.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: repeat-y;
    background-color: #ee2570; 
    padding-top: 15%; /* Push content down so it's not hidden behind cloud */
}

.product-container {
    position: relative;
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    padding: 0px 5% 400px; /* Increased padding to add space below products and extend pink bg */
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-headline {
    text-align: center;
    margin-bottom: 50px;
}

.product-headline .headline-img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.product-img {
    width: 100%;
    max-width: 260px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0px 15px 15px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.product-img:hover {
    transform: translateY(-10px) scale(1.02);
}

.product-name {
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #ffffff;
    text-align: center;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.btn-beli {
    background-color: #ffe600;
    color: #ee2570;
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    padding: 8px 30px;
    border-radius: 8px;
    transition: transform 0.2s, filter 0.2s;
    display: inline-block;
}
.btn-beli:hover {
    filter: brightness(1.1);
}
.btn-beli:active {
    transform: translateY(2px);
}

.new-flavor {
    position: relative;
}

.badge-wrapper {
    position: absolute;
    top: -20px;
    left: 10px;
    width: 110px;
    z-index: 2;
    animation: pulse-badge 2s infinite ease-in-out;
}

.rasa-baru-badge {
    width: 100%;
    height: auto;
}

@keyframes pulse-badge {
    0% { transform: scale(1) rotate(-5deg); }
    50% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(-5deg); }
}

@media (max-width: 768px) {
    .product-grid { gap: 20px; }
    .product-img { max-width: 100%; }
    .product-name { font-size: 16px; }
    .btn-beli { font-size: 12px; padding: 6px 15px; }
    .badge-wrapper { width: 70px; top: -10px; left: 0px; }
    .product-headline .headline-img { max-width: 300px; }
}

/* =========================================
   FOOTER SECTION
========================================= */
.footer-section {
    position: relative;
    width: 100%;
    margin-top: -10vw; /* Pull up to overlap with pink background */
    z-index: 6; /* Overlay above product section */
    background-image: url('assets/footer-bg.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: transparent;
    padding-top: 15vw; /* Push content down below grass wave */
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1512px;
    margin: 0 auto;
    padding: 0 5% 40px;
    display: flex;
    flex-direction: column;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
    width: 75%; /* Leave room for mascot */
}

.footer-logo {
    flex: 0 0 auto;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 250px;
    height: auto;
    filter: brightness(0) invert(1); /* Ensure it's white */
}

.footer-links {
    display: flex;
    gap: 50px;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link-col a {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.link-col a:hover {
    color: #ffe600;
    transform: translateX(5px);
}

.footer-address {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.footer-address h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.footer-address p {
    margin: 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.footer-mascot {
    position: absolute;
    right: 5%;
    bottom: 80px; 
    width: 22%;
    max-width: 280px;
    height: auto;
    z-index: 2;
    animation: float-slow 4s ease-in-out infinite;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.2));
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    margin: 0 0 20px 0;
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-weight: 700;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.follow-text {
    font-weight: 700;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #ffe600;
}

@media (max-width: 1024px) {
    .footer-main { width: 100%; flex-direction: column; align-items: flex-start; }
    .footer-mascot { position: relative; bottom: 0; right: 0; margin-top: -80px; align-self: flex-end; width: 40%; }
}

@media (max-width: 768px) {
    .footer-section { margin-top: -15vw; padding-top: 25vw; }
    .footer-links { flex-direction: column; gap: 20px; }
    .footer-logo img { width: 180px; }
    .footer-mascot { width: 60%; margin-top: -20px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .social-links { flex-wrap: wrap; }
}

@media (max-width: 1024px) {
    .tab-btn {
        font-size: 14px;
        padding: 15px 5px;
    }
    .tab-title-text { font-size: 36px; }
    .tab-text-list { font-size: 20px; }
    .tab-content-flex { flex-direction: column; text-align: left; }
    .tab-photo-wrapper { width: 60%; margin-top: 30px; }
}

@media (max-width: 768px) {
    .tabs-wrapper { width: 95%; padding: 10px; }
    .tabs-content-area { padding: 20px; }
    .tab-inner-box { padding: 20px; border-radius: 20px; }
    .tab-btn { min-width: 130px; font-size: 12px; }
    .tab-title-text { font-size: 24px; margin-bottom: 20px; }
    .tab-text-list { font-size: 16px; padding-left: 20px; }
    .tab-photo-wrapper { width: 90%; }
    .pin { width: 45px; }
    .pin.top-left { top: -20px; left: -10px; }
    .pin.bottom-right { bottom: -20px; right: -10px; }
}

/* =========================================
   LOGIN MODAL
========================================= */
.login-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-modal-overlay.active {
    display: flex;
    animation: fadeInOverlay 0.2s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.login-modal-card {
    position: relative;
    background-color: #EE2570;
    border-radius: 24px;
    padding: 40px 36px 36px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: slideUpCard 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUpCard {
    from { transform: translateY(40px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0) scale(1);       opacity: 1; }
}

/* Close Button */
.login-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 22px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s ease;
}
.login-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Logo */
.login-logo-wrap {
    text-align: center;
    margin-bottom: 16px;
}
.login-logo {
    height: 38px;
    filter: brightness(0) invert(1);
}

/* Title & Subtitle */
.login-title {
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 6px;
}

.login-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 24px;
}

.login-link-daftar {
    color: #FFBA00;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}
.login-link-daftar:hover { opacity: 0.8; }

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.login-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-label {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    padding-left: 2px;
}

/* Input wrapper for password eye icon */
.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input {
    width: 100%;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 13px 18px;
    font-size: 15px;
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    color: #333;
    outline: none;
    transition: box-shadow 0.2s ease;
}
.login-input::placeholder {
    color: #bbb;
    font-weight: 400;
}
.login-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Eye toggle button */
.login-eye-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
}

/* Masuk (Submit) Button */
.login-btn-masuk {
    width: 100%;
    background: #FFBA00;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #EE2570;
    cursor: pointer;
    margin-top: 4px;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.login-btn-masuk:hover {
    background: #ffc933;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Lupa password */
.login-lupa-wrap {
    text-align: center;
}
.login-link-lupa {
    font-size: 14px;
    font-weight: 700;
    color: #FFBA00;
    text-decoration: none;
    transition: opacity 0.2s;
}
.login-link-lupa:hover { opacity: 0.8; }

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0;
}
.login-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
}
.login-divider-text {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

/* Google Button */
.login-btn-google {
    width: 100%;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 13px 20px;
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.login-btn-google:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Responsive */
@media (max-width: 520px) {
    .login-modal-card {
        padding: 30px 22px 28px;
        border-radius: 18px;
    }
    .login-title { font-size: 22px; }
    .login-btn-masuk { font-size: 15px; }
    .login-btn-google { font-size: 14px; }
}

/* =========================================
   FIELD ERROR MESSAGES
========================================= */
.field-error {
    display: none;
    font-size: 12px;
    font-weight: 600;
    color: #FFEA80;
    margin-top: 2px;
    padding-left: 4px;
    line-height: 1.4;
}

.login-input.input-error {
    box-shadow: 0 0 0 2.5px #FFEA80;
}

/* =========================================
   REGISTER CARD — scrollable on small screens
========================================= */
.register-card {
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.register-card::-webkit-scrollbar {
    width: 5px;
}
.register-card::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
}

/* =========================================
   FLOATING PROBIOTIK BADGE
   ========================================= */
.floating-probiotic {
    position: fixed;
    top: 140px;
    right: 30px;
    width: 300px;
    height: auto;
    z-index: 999;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
    animation: float-badge 4s ease-in-out infinite;
    display: block;
}

.floating-probiotic img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}

.floating-probiotic:hover {
    transform: translateY(-8px) scale(1.08);
}

.floating-probiotic:active {
    transform: translateY(-4px) scale(1.02);
}

@keyframes float-badge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Adjust size for mobile/tablet responsive layout */
@media (max-width: 768px) {
    .floating-probiotic {
        top: 130px;
        right: 20px;
        width: 180px;
    }
}

/* =========================================
   NAVBAR PROFILE DROPDOWN
   ========================================= */
.nav-profile-dropdown {
    position: relative;
    display: inline-block;
}

.nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50px;
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.nav-profile-btn .user-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EE2570;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-transform: uppercase;
}

.nav-profile-btn .dropdown-arrow path {
    stroke: #EE2570;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    background-color: #ffffff;
    min-width: 160px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    overflow: hidden;
    padding: 6px 0;
    transform-origin: top right;
    animation: scaleIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown-menu.active {
    display: block;
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.dropdown-menu a {
    color: #333333 !important;
    display: block;
    padding: 10px 16px;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f7e0e8;
    color: #EE2570 !important;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 4px 0;
}

/* =========================================
   USER PROFILE PAGE
   ========================================= */
.profile-section {
    padding-top: 160px;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.profile-avatar-large {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #EE2570;
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-size: 42px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.profile-name-title {
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #EE2570;
    margin-bottom: 30px;
    text-align: center;
}

.profile-card {
    background-color: #EE2570;
    border-radius: 24px;
    width: 90%;
    max-width: 580px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(238, 37, 112, 0.2);
    margin-bottom: 30px;
    color: #ffffff;
}

.profile-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-card-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-card-row:first-child {
    padding-top: 0;
}

.profile-row-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.profile-row-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-row-icon svg {
    width: 24px;
    height: 24px;
    fill: #EE2570;
}

.profile-row-details {
    display: flex;
    flex-direction: column;
}

.profile-row-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2px;
}

.profile-row-value {
    font-size: 16px;
    font-weight: 700;
    word-break: break-all;
}

.btn-profile-edit {
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 20px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-profile-edit:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-profile-edit svg {
    width: 14px;
    height: 14px;
    fill: #ffffff;
}

/* =========================================
   HISTORY TANTANGAN
   ========================================= */
.history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.history-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

.history-badge-points {
    background-color: #6C5CE7;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: transform 0.2s;
}

.history-card:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.15);
}

.history-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.history-card-image-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.history-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-card-points-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #6C5CE7;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    padding: 2px 0;
}

.history-card-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.history-card-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.history-card-userinfo {
    font-size: 14px;
    font-weight: 700;
}

.history-card-challenge {
    font-size: 13px;
    font-weight: 600;
    color: #ffe600;
}

.history-card-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    word-break: break-all;
}

.history-card-status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    text-transform: capitalize;
}

.history-card-status-badge.waiting {
    background-color: #FFBA00;
    color: #008745;
}

.history-card-status-badge.approved {
    background-color: #00C767;
    color: #ffffff;
}

.history-card-status-badge.rejected {
    background-color: #EE2570;
    color: #ffffff;
    border: 1px solid #ffffff;
}

@media (max-width: 600px) {
    .history-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .history-card-status-badge {
        align-self: stretch;
    }
}

/* User Specific Mobile Tweaks */
@media (max-width: 768px) {
    /* 1. Background seam fix */
    body {
        background-attachment: scroll;
        background-size: 150% auto;
        background-color: #d1ecfd;
    }
    
    /* Shrink leaves on mobile to not cover headline */
    .leaf1, .leaf2 {
        width: 18%;
    }
    .leaf2 {
        left: 80%;
    }

    /* Reduce gap between hero and hadiah */
    .hero-container {
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1.15;
    }
    
    /* 2. Hadiah Section Layout (2 top, 1 bottom) */
    .hadiah-container {
        aspect-ratio: 1512 / 2100;
    }
    .hadiah1, .hadiah2, .hadiah3 {
        width: 40%;
    }
    .hadiah1 { top: 45%; left: 8%; }
    .hadiah2 { top: 45%; left: 52%; }
    .hadiah3 { top: 74%; left: 30%; }
    
    /* 3. S&K Overlap Fix */
    .snk-container {
        aspect-ratio: 1512 / 1000;
    }
    .snk-title {
        font-size: 4vw;
        top: 10%;
        width: 80%;
        left: 10%;
    }
    .snk-image {
        width: 90%;
        left: 5%;
        top: 35%;
    }
    .btn-primary {
        font-size: 16px;
        height: 45px;
        width: 140px;
        left: 50%;
        top: 75%;
        transform: translateX(-50%);
    }

    /* 4. Leaderboard overlap fix & enlarge */
    .leaderboard-board {
        margin-top: 10px;
        width: 120%;
        margin-left: -10%;
    }

    /* 5. Footer columns */
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        gap: 20px;
    }
    .link-col {
        flex: 0 0 45%;
    }
}
