html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(1rem, 1vw + 0.8rem, 1.125rem);
}
/* header style */
.offcanvas {
    max-height: 100vh;
    overflow-y: auto;
}

@media (max-width: 991.98px) {
    .offcanvas {
        background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
        color: #fff !important;
        font-family: "Poppins", sans-serif;
        max-height: 100vh;
        overflow-y: auto;
    }

    .offcanvas .nav-link {
        color: #fff;
    }
}

.nav-link {
    color: #fff;
}

.navbar.scrolled {
    background-color: #203a43 !important;
    transition: background-color 0.3s ease;
}

/* Hero style */
.hero-section {
    background: url("/assets/image/grand-ivy-cover1.avif") center/cover no-repeat;
    min-height: 100vh;
    position: relative;
}

.hero-overlay-content {
    background: rgba(0, 0, 0, 0.65);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.nav-tabs .nav-link {
    color: #333;
    background: #eaeaea;
    border: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-tabs .nav-link.active,
.hero-overlay-content .tab-content {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    position: relative;
}

.nav-tabs .nav-link.active::after {
    content: " \25BC";
    font-size: 0.9rem;
    margin-left: 6px;
}

/* mobile style */
.feature-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: #1c1c1e;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* register style */
.register-step-card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

@media (max-width: 767px) {
    .register-step-card {
        padding: 2rem 1.2rem;
    }
}

/* announcement style */
.announcement-box {
    background: rgba(0, 0, 0, 0.65);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

/* Grand Ivy Spotlight Section */
.spotlight-section {
    min-height: 50vh;
    padding: 60px 0;
}

.highlight-box {
    max-width: 400px;
    margin: 0 auto;
}

.spotlight-section ul {
    padding-left: 0;
}

.spotlight-section i {
    font-size: 1.2rem;
    vertical-align: middle;
}

/* article section style */
.image-shadow-left {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    top: -50px;
    right: 50px;
    position: absolute;
    z-index: 0;
}

.image-shadow-right {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    top: -50px;
    left: 50px;
    position: absolute;
    z-index: 0;
}

.casino-brand-section ul li strong {
    color: #1adb81;
    font-weight: 600;
}

/* faq */
.accordion-item .accordion-button {
    box-shadow: none;
    border: 0;
    font-size: 18px;
}

.accordion-collapse {
    transition: all 0.4s ease;
}

.accordion-body {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* On active/open */
.accordion-collapse.show .accordion-body {
    opacity: 1;
    transform: translateY(0);
}
