@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --purple-dark: #3c096c;
    --purple-light: #5a189a;
    --yellow: #f1b305;
    --white: #ffffff;
    --red: #c9184a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--purple-dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0px 5%;
    transition: all 0.4s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    transition: all 0.4s ease;
}

.logo-and-title {
    position: relative;
    width: 118.5px;
    height: 125.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    margin-top: 0px;
    margin-bottom: 25px;
}

.logo-background {
    position: absolute; 
    margin-bottom: 15px;
    width: 100%;
    height: 100%;
    background-image: url('assets/background logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

.main-logo {
    width: 83px;
    height: 81px;
    margin-bottom:20px;
    object-fit: contain;
    transition: all 0.4s ease;
}

.navbar {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.nav-background {
    position: absolute;
    width: 100%;
    height: 100px;
    margin-top: 0px;
    margin-bottom: 90px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0 40px;
    padding-bottom: 60px;
}

.navbar a {
    text-decoration: none;
    color: #bdbdbd;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
}

.navbar a:hover,
.navbar a.active {
    color: var(--yellow);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--yellow);
    transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

/* Header Buttons Container */
.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 93px;
}

.register-button {
    width: 140px;
    margin-top: 10px;
    padding: 14px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: var(--yellow);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.register-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.register-button:hover::before {
    left: 100%;
}

.register-button:hover {
    background-color: #e5a400;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Tombol Alur Daftar untuk Desktop */
.flow-button {
    width: 140px;
    margin-top: 10px;
    padding: 14px 20px;
    border-radius: 20px;
    border: 2px solid var(--yellow);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: transparent;
    color: var(--yellow);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.flow-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.flow-button:hover::before {
    left: 100%;
}

.flow-button:hover {
    background-color: rgba(241, 179, 5, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(241, 179, 5, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    margin-top: 0px;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 0 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* SPOTLIGHT ANIMASI */
.spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.spotlight-left, .spotlight-right {
    position: absolute;
    height: 140%;
    width: auto;
    opacity: 0.4;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.spotlight-left {
    top: -150px;
    left: -100px;
    transform: rotate(15deg) scaleX(-1);
    animation-name: spotlightLeftMove;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

.spotlight-right {
    top: -150px;
    right: -100px;
    transform: rotate(-15deg);
    animation-name: spotlightRightMove;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

@keyframes spotlightLeftMove {
    0%, 100% { 
        transform: rotate(15deg) scaleX(-1) translateX(0px) translateY(0px);
        opacity: 0.4;
    }
    25% { 
        transform: rotate(18deg) scaleX(-1) translateX(10px) translateY(-15px);
        opacity: 0.5;
    }
    50% { 
        transform: rotate(15deg) scaleX(-1) translateX(-5px) translateY(-25px);
        opacity: 0.6;
    }
    75% { 
        transform: rotate(12deg) scaleX(-1) translateX(5px) translateY(-15px);
        opacity: 0.5;
    }
}

@keyframes spotlightRightMove {
    0%, 100% { 
        transform: rotate(-15deg) translateX(0px) translateY(0px);
        opacity: 0.4;
    }
    25% { 
        transform: rotate(-18deg) translateX(-10px) translateY(-15px);
        opacity: 0.5;
    }
    50% { 
        transform: rotate(-15deg) translateX(5px) translateY(-25px);
        opacity: 0.6;
    }
    75% { 
        transform: rotate(-12deg) translateX(-5px) translateY(-15px);
        opacity: 0.5;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    z-index: 1;
    margin-top: 20px;
    width: 100%;
    animation: contentFadeIn 1.5s ease-out;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: 85px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--white);
    margin-top: 250px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 1px;
}

.contest-text {
    color: var(--red);
    display: block;
    margin-top: -20px;
    font-weight: 800;
}

.description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: center;
    max-width: 90%;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    animation: descriptionSlideIn 1.8s ease-out 0.5s both;
}

@keyframes descriptionSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.countdown-timer {
    margin-top: 0px;
    text-align: center;
    animation: countdownBounceIn 2s ease-out 1s both;
}

@keyframes countdownBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.countdown-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timer-display {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    position: relative;
}

.timer-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--yellow);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.timer-item:hover .timer-number {
    transform: scale(1.1);
    color: #ffd700;
}

.timer-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Buttons Container - DIUPDATE UKURAN */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.register-button.primary {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    animation: buttonPulse 2s infinite 2s;
    width: auto;
    min-width: 140px;
}

.flow-button.primary {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    animation: flowButtonGlow 2s infinite 2s;
    width: auto;
    min-width: 140px;
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes flowButtonGlow {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(241, 179, 5, 0.2); 
    }
    50% { 
        box-shadow: 0 4px 16px rgba(241, 179, 5, 0.3); 
    }
}

/* POSISI MASKOT DAN AWAN SESUAI DESAIN AWAL */
.mascot {
    position: absolute;
    bottom: 0;
    left: 1%;
    width: 320px;
    height: auto;
    z-index: 1;
    transition: all 0.3s ease;
    animation: mascotFloat 4s ease-in-out infinite;
}

@keyframes mascotFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(1deg); 
    }
}

.clouds {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    z-index: 2;
    transition: all 0.3s ease;
    animation: cloudsFloat 8s ease-in-out infinite;
}

@keyframes cloudsFloat {
    0%, 100% { 
        transform: translateX(0px); 
    }
    50% { 
        transform: translateX(10px); 
    }
}

/* TOMBOL DAFTAR DAN ALUR DAFTAR BAWAH KHUSUS UNTUK MOBILE - DIUPDATE UKURAN */
.mobile-bottom-buttons {
    display: none;
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    gap: 12px;
    z-index: 10;
    width: 90%;
    max-width: 320px;
    justify-content: center;
    margin-bottom: 58px;
}

.mobile-bottom-button {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    background-color: var(--yellow);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(241, 179, 5, 0.4);
    transition: all 0.3s ease;
    animation: mobileButtonGlow 2s infinite;
    flex: 1;
    max-width: 140px;
}

.mobile-flow-button {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid var(--yellow);
    cursor: pointer;
    text-transform: uppercase;
    background-color: transparent;
    color: var(--yellow);
    box-shadow: 0 4px 12px rgba(241, 179, 5, 0.2);
    transition: all 0.3s ease;
    animation: mobileFlowButtonGlow 2s infinite;
    flex: 1;
    max-width: 140px;
}

@keyframes mobileButtonGlow {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(241, 179, 5, 0.4); 
    }
    50% { 
        box-shadow: 0 4px 16px rgba(241, 179, 5, 0.6); 
    }
}

@keyframes mobileFlowButtonGlow {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(241, 179, 5, 0.2); 
    }
    50% { 
        box-shadow: 0 4px 16px rgba(241, 179, 5, 0.3); 
    }
}

.mobile-bottom-button:hover {
    background-color: #e5a400;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(241, 179, 5, 0.6);
}

.mobile-flow-button:hover {
    background-color: rgba(241, 179, 5, 0.1);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(241, 179, 5, 0.4);
}

/* SOROT CAHAYA KHUSUS UNTUK MOBILE - DIPERTAHANKAN SEPERTI DESKTOP */
.mobile-spotlight {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.mobile-spotlight-left, .mobile-spotlight-right {
    position: absolute;
    height: 140%;
    width: auto;
    opacity: 0.4;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.mobile-spotlight-left {
    top: -150px;
    left: -10px;
    transform: rotate(15deg) scaleX(-1);
    animation-name: mobileSpotlightLeftMove;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

.mobile-spotlight-right {
    top: -150px;
    right: -10px;
    transform: rotate(-15deg);
    animation-name: mobileSpotlightRightMove;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

@keyframes mobileSpotlightLeftMove {
    0%, 100% { 
        transform: rotate(15deg) scaleX(-1) translateX(0px) translateY(0px);
        opacity: 0.4;
    }
    25% { 
        transform: rotate(18deg) scaleX(-1) translateX(10px) translateY(-15px);
        opacity: 0.5;
    }
    50% { 
        transform: rotate(15deg) scaleX(-1) translateX(-5px) translateY(-25px);
        opacity: 0.6;
    }
    75% { 
        transform: rotate(12deg) scaleX(-1) translateX(5px) translateY(-15px);
        opacity: 0.5;
    }
}

@keyframes mobileSpotlightRightMove {
    0%, 100% { 
        transform: rotate(-15deg) translateX(0px) translateY(0px);
        opacity: 0.4;
    }
    25% { 
        transform: rotate(-18deg) translateX(-10px) translateY(-15px);
        opacity: 0.5;
    }
    50% { 
        transform: rotate(-15deg) translateX(5px) translateY(-25px);
        opacity: 0.6;
    }
    75% { 
        transform: rotate(-12deg) translateX(-5px) translateY(-15px);
        opacity: 0.5;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--purple-dark);
    z-index: 1000;
    padding: 80px 20px 20px;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu a::before {
    content: '';
    position: absolute;
    left: -100%;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--yellow);
    transition: left 0.3s ease;
}

.mobile-menu a:hover::before,
.mobile-menu a.active::before {
    left: 0;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--yellow);
    transform: translateX(10px);
}

/* Mobile Menu Buttons */
.mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.mobile-register-button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: var(--yellow);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-register-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.mobile-register-button:hover::before {
    left: 100%;
}

.mobile-register-button:hover {
    background-color: #e5a400;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Header Scrolled State */
header.scrolled {
    background-color: rgba(60, 9, 108, 0.95);
    backdrop-filter: blur(10px);
    padding: 5px 5%;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

header.scrolled .header-container {
    padding: 5px 0;
}

header.scrolled .logo-and-title {
    width: 80px;
    height: 85px;
}

header.scrolled .main-logo {
    width: 60px;
    height: 58px;
    margin-bottom: 10px;
}

header.scrolled .nav-background {
    height: 70px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.05);
}

header.scrolled .navbar ul {
    padding-bottom: 45px;
}

header.scrolled .header-buttons {
    margin-bottom: 45px;
}

/* ========== RESPONSIVENESS ========== */

/* Desktop Large */
@media (max-width: 1200px) {
    .mascot {
        width: 280px;
    }
    
    .clouds {
        max-height: 200px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .header-container {
        flex-direction: row;
        gap: 15px;
    }

    .navbar ul {
        gap: 25px;
        padding: 0 25px;
    }

    .navbar a {
        font-size: 14px;
    }

    .register-button, .flow-button {
        padding: 8px 16px;
        font-size: 12px;
        width: 120px;
    }

    .hero-content {
        max-width: 90%;
        padding: 0 20px;
        margin-top: 150px;
        margin-bottom: 100px;
    }

    .title {
        font-size: 50px;
        margin-top: 60px;
        margin-bottom: 15px;
    }

    .contest-text {
        margin-top: -15px;
    }

    .description {
        font-size: 20px;
        max-width: 95%;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .timer-display {
        gap: 25px;
        margin-bottom: 10px;
    }

    .timer-number {
        font-size: 36px;
    }

    .timer-label {
        font-size: 14px;
    }

    .mascot {
        width: 240px;
        left: 3%;
        bottom: 0;
    }

    .clouds {
        max-height: 180px;
        bottom: 0;
        left: -5%;
    }

    .register-button.primary, .flow-button.primary {
        padding: 12px 25px;
        font-size: 14px;
        margin-top: 20px;
        min-width: 120px;
    }

    .hero-buttons {
        gap: 12px;
    }
}

/* MOBILE - DENGAN SPOTLIGHT DAN POSISI TENGAH */
@media (max-width: 768px) {
    .header-container {
        padding: 0px 20px;
    }

    .logo-and-title {
        width: 80px;
        height: 85px;
    }

    .main-logo {
        width: 60px;
        height: 58px;
        margin-bottom: 15px;
    }

    .navbar, .header-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* SEMBUNYIKAN TOMBOL DAFTAR DI CONTENT */
    .hero-buttons {
        display: none;
    }

    /* TAMPILKAN TOMBOL DAFTAR DAN ALUR DAFTAR BAWAH */
    .mobile-bottom-buttons {
        display: flex;
    }

    /* TAMPILKAN SOROT CAHAYA MOBILE (SAMA SEPERTI DESKTOP) */
    .mobile-spotlight {
        display: block;
    }

    /* SEMBUNYIKAN SOROT CAHAYA DESKTOP */
    .spotlight {
        display: none;
    }

    /* HERO SECTION UNTUK MOBILE */
    .hero-section {
        height: 100vh;
        min-height: 700px;
        padding: 100px 15px 120px 15px;
        justify-content: flex-start;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    
    .hero-content {
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        flex: 1;
        width: 100%;
    }

    .title-animation-container {
        margin: 10px 0;
        min-height: 100px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .description {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 1.5;
        padding: 0 15px;
        text-align: center;
        max-width: 95%;
    }

    .countdown-timer {
        margin-bottom: 20px;
        width: 100%;
    }

    .countdown-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .timer-display {
        gap: 15px;
        margin-bottom: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .timer-item {
        min-width: 60px;
    }

    .timer-number {
        font-size: 28px;
    }

    .timer-label {
        font-size: 12px;
    }

    /* POSISI MASKOT UNTUK MOBILE - DI TENGAH BAWAH */
    .mascot {
        display: none;
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
        z-index: 2;
    }

    /* POSISI AWAN UNTUK MOBILE - DI TENGAH BAWAH */
    .clouds {
        display: none;
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        max-width: 350px;
        max-height: 150px;
        z-index: 3;
    }

    /* Header scrolled state untuk mobile */
    header.scrolled {
        padding: 5px 20px;
    }
    
    header.scrolled .logo-and-title {
        width: 60px;
        height: 65px;
    }
    
    header.scrolled .main-logo {
        width: 45px;
        height: 43px;
        margin-bottom: 8px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .header-container {
        padding: 0px 15px;
    }

    .logo-and-title {
        width: 70px;
        height: 75px;
    }

    .main-logo {
        width: 50px;
        height: 48px;
        margin-bottom: 12px;
    }

    .hero-section {
        min-height: 650px;
        padding: 90px 10px 140px;
    }

    .hero-content {
        margin-top: 0;
        gap: 20px;
    }

    .title-animation-container {
        min-height: 80px;
        margin: 10px 0;
    }

    .description {
        font-size: 13px;
        margin-bottom: 0;
        padding: 0 10px;
        line-height: 1.4;
    }

    .countdown-title {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .timer-display {
        gap: 10px;
    }

    .timer-item {
        min-width: 50px;
    }

    .timer-number {
        font-size: 24px;
    }

    .timer-label {
        font-size: 10px;
    }

    .mascot {
        width: 150px;
        bottom: 100px;
    }

    .clouds {
        max-height: 130px;
        width: 75%;
        bottom: 35px;
    }

    .mobile-bottom-button, .mobile-flow-button {
        padding: 10px 16px;
        font-size: 12px;
        max-width: 120px;
    }

    .mobile-bottom-buttons {
        bottom: 20px;
        gap: 10px;
        max-width: 280px;
    }

    /* SPOTLIGHT MOBILE UNTUK HP KECIL */
    .mobile-spotlight-left, .mobile-spotlight-right {
        height: 130%;
    }

    .mobile-spotlight-left {
        top: -120px;
        left: -60px;
    }

    .mobile-spotlight-right {
        top: -120px;
        right: -60px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 80px 15px 120px;
    }

    .hero-content {
        margin-top: 0;
        padding-bottom: 0;
        gap: 15px;
    }

    .title-animation-container {
        min-height: 70px;
        margin: 5px 0;
    }

    .description {
        font-size: 12px;
        margin-bottom: 0;
        line-height: 1.4;
        padding: 0 10px;
    }

    .timer-display {
        gap: 12px;
        margin-bottom: 8px;
    }

    .timer-number {
        font-size: 22px;
    }

    /* POSISI TOMBOL DAFTAR DAN ALUR DAFTAR BAWAH UNTUK LANDSCAPE */
    .mobile-bottom-buttons {
        bottom: 15px;
    }

    .mobile-bottom-button, .mobile-flow-button {
        padding: 10px 14px;
        font-size: 12px;
        max-width: 110px;
    }

    .mascot {
        width: 120px;
        bottom: 10px;
    }

    .clouds {
        max-height: 100px;
        max-width: 300px;
        bottom: 30px;
    }
}

/* Very Small Devices */
@media (max-width: 360px) {
    .title-animation-container {
        min-height: 70px;
    }

    .description {
        font-size: 12px;
    }

    .timer-display {
        gap: 8px;
    }

    .timer-item {
        min-width: 45px;
    }

    .timer-number {
        font-size: 22px;
    }

    .countdown-timer {
        margin-bottom: 15px;
    }

    .hero-section {
        padding: 90px 10px 120px;
    }

    .hero-content {
        padding-bottom: 0;
    }

    /* POSISI TOMBOL DAFTAR DAN ALUR DAFTAR BAWAH UNTUK HP SANGAT KECIL */
    .mobile-bottom-buttons {
        bottom: 15px;
        width: 95%;
        max-width: 260px;
    }

    .mobile-bottom-button, .mobile-flow-button {
        padding: 8px 12px;
        font-size: 11px;
        max-width: 100px;
    }

    .mascot {
        width: 130px;
        bottom: 10px;
    }

    .clouds {
        max-height: 100px;
        bottom: 25px;
    }
}

/* Animation untuk hamburger active state */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

a {
    text-decoration: none;
    padding:0;
    margin: 0;
    color: inherit;
}

/* Ripple effect styles */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.register-button, .flow-button, .mobile-register-button, .mobile-bottom-button, .mobile-flow-button {
    position: relative;
    overflow: hidden;
}