body {
    background: linear-gradient(120deg, #7b2ff2 0%, #f357a8 100%) !important;
    overflow: hidden;
}

@media (max-width: 990px) {
    body {
        overflow: auto !important;
    }

    #mainNavbar.scrolled {
        background: #fff !important;
        transition: background 0.3s;
    }

    #mainNavbar.scrolled .navbar-title {
        color: #222 !important;
        transition: color 0.3s;
    }
}

.btn-download-app {
    border: 2px solid #2563eb;
    color: #2563eb;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}

.btn-download-app:hover,
.btn-download-app:focus {
    background: #4666c9 !important;
    color: #fff !important;
}

.btn-download-app:hover i,
.btn-download-app:focus i {
    color: #fff !important;
}

.btn-masuk-sekarang {
    background: #4666c9;
    border: none;
    border-radius: 2rem;
    color: #fff;
    transition: background 0.2s, color 0.2s;
}

.btn-masuk-sekarang:hover,
.btn-masuk-sekarang:focus {
    background: #fff !important;
    color: #4666c9 !important;
    border: 2px solid #4666c9 !important;
}

.btn-masuk-sekarang:hover i,
.btn-masuk-sekarang:focus i {
    color: #4666c9 !important;
}

.navbar-title {
    color: #fff;
    transition: color 0.3s;
}

.navbar.scrolled .navbar-title {
    color: #222;
}

/* Animation Classes */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.animate-fade-in.animate {
    opacity: 1;
}

.animate-slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for multiple elements */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

.animate-delay-6 {
    transition-delay: 0.6s;
}

.animate-delay-7 {
    transition-delay: 0.7s;
}

.animate-delay-8 {
    transition-delay: 0.8s;
}
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
    background: linear-gradient(120deg, #7b2ff2 0%, #f357a8 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url("/images/kota.jpeg") center bottom/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-section .card {
    border: none;
}

.hero-section .form-control:focus {
    border-color: #7b2ff2;
    box-shadow: 0 0 0 0.2rem rgba(123, 47, 242, 0.1);
}

.hero-section .btn-primary {
    background: #7b2ff2;
    border: none;
}

.hero-section .btn-primary:hover {
    background: #f357a8;
}

.card input.form-control:focus {
    border-color: #b721ff;
    box-shadow: 0 0 0 0.1rem rgba(183, 33, 255, 0.08);
}

.card .btn:active,
.card .btn:focus {
    outline: none;
    box-shadow: none;
}

@media (max-width: 500px) {
    .card {
        padding: 1.2rem !important;
    }
}

.btn-login-gradient {
    background: linear-gradient(90deg, #ff914d 0%, #b721ff 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    height: 44px;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px rgba(183, 33, 255, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
    background-size: 200% 200%;
    animation: gradientMove 2.5s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-login-gradient:hover,
.btn-login-gradient:focus {
    background: linear-gradient(90deg, #b721ff 0%, #ff914d 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(183, 33, 255, 0.13);
}

.btn-create-new {
    border: 1.5px solid #ff3366;
    color: #ff3366;
    border-radius: 4px;
    padding: 3px 16px;
    font-size: 0.98rem;
    font-weight: 600;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}

.btn-create-new:hover,
.btn-create-new:focus {
    background: #ff3366;
    color: #fff;
}

@media (max-width: 991px) {
    .hero-section .col-lg-6 {
        text-align: center !important;
    }

    .hero-section .col-lg-6 .mb-4,
    .hero-section .col-lg-6 p {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section .btn-download-app,
    .hero-section .btn-outline-light {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }

    .hero-section h1.fw-bold {
        font-size: 2rem !important;
    }
}
