/* Font Face Declarations */
@font-face {
    font-family: 'Mali';
    src: url('font/Mali-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Mali';
    src: url('font/Mali-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Mali';
    src: url('font/Mali-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Mali';
    src: url('font/Mali-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Mali';
    src: url('font/Mali-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Mali';
    src: url('font/Mali-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Mali';
    src: url('font/Mali-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Mali';
    src: url('font/Mali-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Mali';
    src: url('font/Mali-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Mali';
    src: url('font/Mali-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Mali';
    src: url('font/Mali-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Mali';
    src: url('font/Mali-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mali', 'Arial', sans-serif;
    background: url('png/background.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Background filter overlay when form is displayed */
body.form-active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00255b9c;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hide footer when form is active */
body.form-active .footer-section {
    display: none;
}

/* Override Font Awesome webfont path to use local asset */
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('libs/fonts/fa-solid-900.woff2') format('woff2');
}

/* Header Styles */
.header-section {
    padding: 15px 0;
    position: relative;
    z-index: 10;
    background: transparent;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 5;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.bipp-logo .logo {
    height: 80px;
    width: auto;
}

.dhg-logo {
    position: absolute;
    right: 0;
    transform: none;
}

.dhg-logo-img {
    height: 30px;
    width: auto;
}

.desktop-nav {
    display: flex;
    gap: 25px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #1e3a8a;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px;
    gap: 15px;
}

.mobile-nav.show {
    display: flex;
}

.nav-link {
    color: white !important;
    font-family: 'Mali', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.nav-link:hover {
    color: #f0f0f0 !important;
}

.mobile-nav .nav-link {
    color: #1e3a8a !important;
    background: none;
    backdrop-filter: none;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e5e7eb;
    text-shadow: none;
}

.mobile-nav .nav-link:hover {
    background: #f3f4f6;
    transform: none;
    border-color: #1e3a8a;
    color: #1e3a8a !important;
}

.nav-link i {
    font-size: 12px;
    margin-left: 5px;
}

/* Hero Section */
.hero-section {
    padding: 0 0 20px;
    text-align: center;
    position: relative;
}

.main-title {
    font-family: 'Mali', 'Arial', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.2;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.title-line {
    display: block;
}

/* Products Section */
.products-section {
    padding: 20px 0 40px;
    position: relative;
}


.products-section .container {
    padding: 30px 0;
    border-radius: 50px;
    max-width: 1400px;
}

/* Products Flex List Layout */
.products-flex-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    padding: 20px 0;
}

.product-flex-item {
    flex: 0 0 calc(20% - 24px);
    min-width: 200px;
    display: flex;
    align-items: stretch;
}

.product-flex-item .product-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.product-card {
    background: transparent;
    border-radius: 20px;
    padding: 0;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.05);
}

/* Product-specific colors */
.gummy-c:hover {
    filter: drop-shadow(0 20px 30px rgba(255, 215, 0, 0.3));
}

.gummy-iq:hover {
    filter: drop-shadow(0 20px 30px rgba(221, 160, 221, 0.3));
}

.gummy-bio:hover {
    filter: drop-shadow(0 20px 30px rgba(152, 251, 152, 0.3));
}

.gummy-calci:hover {
    filter: drop-shadow(0 20px 30px rgba(135, 206, 235, 0.3));
}

.product-image {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 25px;
}

.gummy-image {
    max-width: 100%;
    height: 375px;
    object-fit: contain;
    transition: all 0.4s ease;
}

.product-card:hover .gummy-image {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.1) contrast(1.1);
}

/* Footer Section */
.footer-section {
    background: url('png/bg-footer.png') no-repeat center center;
    background-size: cover;
    padding: 20px 0 30px;
    color: #1e3a8a;
    position: absolute;
    bottom: 0;
    width: 100%;
    display: none;
    align-items: center;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.contact-title {
    font-family: 'Mali', 'Arial', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e3a8a;
    text-align: left;
    margin: 0;
    padding-right: 60px;
    line-height: 1.2;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px 30px;
    flex: 1;
    padding-left: 60px;
    justify-content: center;
    align-content: center;
    border-left: 2px solid #1e3a8a;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Mali', 'Arial', sans-serif;
    font-size: 16px;
    color: #1e3a8a;
    font-weight: 500;
    line-height: 1.4;
}

.contact-icon {
    width: 18px;
    height: 18px;
    filter: none;
    flex-shrink: 0;
}


/* Responsive Design */
@media (max-width: 1200px) {
    .main-title {
        font-size: 3rem;
    }

    .products-section .container {
        padding: 70px 0;
    }
    
    .product-flex-item {
        flex: 0 0 calc(19% - 23px);
    }

    .product-image {
        padding: 0px 25px;
    }
}

@media (max-width: 992px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .dhg-logo {
        width: fit-content;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Force 2 columns on tablet */
    .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .gummy-image {
        height: 200px;
    }
    
    .product-flex-item {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 180px;
    }
    
    .products-flex-list {
        gap: 20px;
    }
    
    .contact-info {
        grid-template-columns: 1fr 1fr;
        gap: 15px 20px;
        padding-left: 40px;
    }
}

@media (max-width: 900px) {
    .contact-info {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .title-line {
        display: block;
    }
    
    .hero-section {
        padding: 20px 0 15px;
    }
    
    .products-section {
        padding: 15px 0 30px;
    }
    
    .products-section .container {
        background-color: transparent;
        padding: 0;
        border-radius: 0;
    }
    
    .product-card {
        padding: 0;
        margin-bottom: 20px;
    }

    .product-image {
        padding: 0;
    }
    
    .gummy-image {
        height: 200px;
    }
    
    .product-flex-item {
        flex: 0 0 calc(50% - 15px);
        min-width: 150px;
    }
    
    .products-flex-list {
        gap: 15px;
        padding: 15px 0;
    }
    
    /* Force 2 columns on mobile */
    .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .footer-section {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 0 20px;
    }
    
    .footer-content::before {
        display: none;
    }
    
    .contact-title {
        text-align: center;
        padding-right: 0;
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .contact-info {
        padding-left: 0;
        align-items: center;
        gap: 15px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    .contact-item {
        font-size: 15px;
        justify-content: flex-start;
        text-align: left;
    }
    
    .bipp-logo .logo {
        height: 60px;
    }
    
    .dhg-logo-img {
        height: 25px;
    }
    
    .main-nav {
        gap: 10px;
        position: static;
        transform: none;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .dhg-logo {
        width: fit-content;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    body {
        background-attachment: scroll;
        background-size: cover;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .bipp-logo .logo {
        height: 50px;
    }
    
    .dhg-logo-img {
        height: 20px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .main-nav {
        gap: 8px;
        position: static;
        transform: none;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .dhg-logo {
        width: fit-content;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .product-name {
        font-size: 1.2rem;
    }
    
    .products-section .container {
        background-color: transparent;
        padding: 0;
        border-radius: 0;
    }
    
    .gummy-image {
        height: 140px;
    }
    
    .product-flex-item {
        flex: 0 0 calc(50% - 10px);
        min-width: 140px;
    }
    
    .products-flex-list {
        gap: 10px;
        padding: 10px 0;
    }
    
    /* Force 2 columns on small mobile */
    .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .feature-bubble {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .contact-item {
        font-size: 12px;
    }
    
    .hero-section {
        padding: 5px 0 10px;
    }
    
    .products-section {
        padding: 0 0 20px;
    }
    
    .footer-section {
        padding: 10px 0;
    }
    
    .footer-content {
        gap: 0;
        padding: 0 15px;
    }
    
    .contact-title {
        font-size: 1.5rem;
        border-bottom: 2px solid #1e3a8a;
    }
    
    .contact-item {
        font-size: 14px;
    }
    
    .contact-info {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 10px;
        border-left: none;
    }
}

/* Reset Form Button */
.reset-form-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 99999;
    background: #dc2626;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Mali', 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.reset-form-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}


/* Mobile styles for reset button */
@media (max-width: 768px) {
    .reset-form-btn {
        top: 75px;
        left: 10px;
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 6px;
    }
}

@media (max-width: 576px) {
    .reset-form-btn {
        top: 70px;
        left: 8px;
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 4px;
    }
}

/* Animation for floating elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-20px) scale(1.05);
    }
    60% {
        transform: translateY(-10px) scale(1.02);
    }
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1) contrast(1) drop-shadow(0 0 0px rgba(0,0,0,0));
    }
    50% {
        filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 20px rgba(255,255,255,0.5));
    }
}

.product-card:hover .gummy-image {
    animation: bounce 0.6s ease-in-out, glow 2s ease-in-out infinite;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1e3a8a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

/* GIF Overlay Styles */
.gif-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    border-radius: 50px;
    animation: fadeIn 0.3s ease-in-out;
    overflow: hidden;
}

.products-section .container {
    position: relative;
}

.close-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.close-overlay:hover {
    background: #3b82f6;
    transform: scale(1.1);
}

.overlay-gif {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: block;
    width: 100%;
    height: auto;
}

.bipp-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
    z-index: 2;
}

.bipp-logo-overlay.show {
    opacity: 1;
    visibility: visible;
}

.bipp-logo-image {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    animation: logoAppear 1.2s ease-out;
}

.prize-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #1e3a8a;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
    z-index: 3;
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5faed;
    border-radius: 20px;
}

.prize-text.show {
    opacity: 1;
    visibility: visible;
}

/* No Prize Text Styles */
.no-prize-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #1e3a8a;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
    z-index: 3;
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5faed;
    border-radius: 20px;
}

.no-prize-text.show {
    opacity: 1;
    visibility: visible;
}

.no-prize-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: textSlideIn 0.8s ease-out;
    color: #1e3a8a;
}

.program-name {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #dc3545;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: textSlideIn 0.8s ease-out 0.2s both;
    font-style: italic;
}

.no-prize-message {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    font-weight: 500;
    animation: textSlideIn 0.8s ease-out 0.4s both;
    color: #1e3a8a;
}


.prize-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: textSlideIn 0.8s ease-out;
}

.prize-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #dc3545;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: textSlideIn 0.8s ease-out;
}

.prize-image {
    max-width: 80%;
    max-height: 300px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: textSlideIn 0.8s ease-out 0.2s both;
    transition: transform 0.3s ease;
}

.prize-image:hover {
    transform: scale(1.05);
}

.prize-instruction {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    font-weight: 500;
    animation: textSlideIn 0.8s ease-out 0.4s both;
}

.prize-thanks {
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 25px;
    font-weight: 500;
    animation: textSlideIn 0.8s ease-out 0.6s both;
}

.game-code-value {
    font-weight: 700;
    color: #dc3545;
}

.share-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    animation: textSlideIn 0.8s ease-out 0.8s both;
}

.share-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.share-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.share-button i {
    font-size: 0.9rem;
}

@keyframes textSlideIn {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes logoAppear {
    0% {
        transform: scale(0.3) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Overlay Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive overlay styles */
@media (max-width: 768px) {
    .gif-overlay {
        border-radius: 0;
    }

    .close-overlay {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }
    
    .overlay-gif {
        border-radius: 15px;
        height: 100%;
        width: auto;
    }
    
    .prize-image {
        max-width: 90%;
        max-height: 250px;
    }
}

@media (max-width: 576px) {
    .prize-text,
    .no-prize-text {
        border-radius: 0;
    }

    .prize-title,
    .prize-name,
    .no-prize-title {
        font-size: 1.4rem;
    }

    .close-overlay {
        width: 30px;
        height: 30px;
        top: 8px;
        right: 8px;
    }
    
    .overlay-gif {
        border-radius: 10px;
    }
    
    .prize-image {
        max-width: 95%;
        max-height: 200px;
    }
}

/* Rules Page Styles */
.rules-page .main-content {
    position: relative;
    z-index: 5;
}

/* Title Section */
.title-section {
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.rules-section {
    padding: 20px 0 40px;
    position: relative;
    z-index: 10;
}

/* Mascot Container */
.mascot-container {
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 20px 0;
}

.mascot-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

/* Planets Row */
.planets-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.planet-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.planet-1 .planet-icon {
    width: 150px;
    animation: bounce 2s ease-in-out infinite;
}

.planet-2 .planet-icon {
    width: 100px;
    animation: bounce 2s ease-in-out infinite;
    animation-delay: 0.3s;
}

.planet-3 .planet-icon {
    width: 100px;
    animation: bounce 2s ease-in-out infinite;
    animation-delay: 0.6s;
}

.planet-number {
    font-family: 'Mali', 'Arial', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e3a8a;
    background: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Scrollable Rules Container */
.rules-scroll-container {
    background: transparent;
    border-radius: 20px;
    box-shadow: none;
    max-height: 40vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(10px);
}

.rules-content {
    padding: 30px;
}

.rules-content p {
    margin-bottom: 0;
}

.rule-item {
    margin-bottom: 30px;
}

.rule-item:last-child {
    margin-bottom: 0;
}

.rule-title {
    font-family: 'Mali', 'Arial', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 15px;
    border-bottom: 2px solid #1e3a8a;
    padding-bottom: 10px;
}

.rule-text {
    font-family: 'Mali', 'Arial', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.highlight {
    color: #1e3a8a;
    font-weight: 600;
    background: rgba(30, 58, 138, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.participation-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #1e3a8a;
}

.step-badge {
    font-family: 'Mali', 'Arial', sans-serif;
    font-weight: 700;
    color: white;
    background: #1e3a8a;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-text {
    font-family: 'Mali', 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    flex: 1;
}

.link-highlight {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #1e3a8a;
}

.link-highlight:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.hashtag {
    color: #1e3a8a;
    font-weight: 700;
    background: rgba(30, 58, 138, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.nav-link.active {
    color: #228B22 !important;
    font-weight: 700;
}

/* Custom Star Scrollbar */
.rules-scroll-container {
    position: relative;
}

.rules-scroll-container::-webkit-scrollbar {
    width: 60px;
}

.rules-scroll-container::-webkit-scrollbar-track {
    background: url('png/line-blue.png') no-repeat center center;
    background-size: contain;
    border-radius: 10px;
}

.rules-scroll-container::-webkit-scrollbar-thumb {
    background: url('png/star.png') no-repeat center center;
    background-size: contain;
    background-color: transparent;
    border: none;
    box-shadow: none;
    position: relative;
}

.rules-scroll-container::-webkit-scrollbar-corner {
    background: transparent;
}

/* Responsive Rules Page */
@media (max-width: 992px) {
    .mascot-image {
        max-height: 350px;
    }
    
    .planets-row {
        gap: 15px;
    }
    
    .planet-1 .planet-icon {
        width: 110px;
    }
    
    .planet-2 .planet-icon {
        width: 80px;
    }
    
    .planet-3 .planet-icon {
        width: 80px;
    }
    
    .rules-scroll-container {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .rules-content {
        padding: 20px;
    }

    .mascot-container {
        display: none;
    }
    
    .mascot-image {
        max-height: 300px;
    }
    
    .planets-row {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .planet-1 .planet-icon {
        width: 110px;
    }
    
    .planet-2 .planet-icon {
        width: 80px;
    }
    
    .planet-3 .planet-icon {
        width: 80px;
    }
    
    .planet-number {
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }
    
    .rules-scroll-container {
        max-height: 350px;
    }
    
    .rule-title {
        font-size: 1.3rem;
    }
    
    .rule-text {
        font-size: 1rem;
    }
    
    .step-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-badge {
        align-self: flex-start;
    }
}

@media (max-width: 576px) {
    .rules-section {
        padding: 15px 0 30px;
    }
    
    .rules-content {
        padding: 15px;
    }
    
    .mascot-image {
        max-height: 250px;
    }
    
    .planets-row {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .planet-small .planet-icon {
        width: 30px;
        height: 30px;
    }
    
    .planet-medium .planet-icon {
        width: 40px;
        height: 40px;
    }
    
    .planet-large .planet-icon {
        width: 50px;
        height: 50px;
    }
    
    .planet-number {
        width: 18px;
        height: 18px;
        font-size: 0.9rem;
    }
    
    .rules-scroll-container {
        max-height: 450px;
    }
    
    .rule-title {
        font-size: 1.2rem;
    }
    
    .rule-text {
        font-size: 0.95rem;
    }
    
    .step-text {
        font-size: 0.9rem;
    }
}

/* Customer Information Section Styles */
.customer-info-section {
    padding: 50px 0 100px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    position: relative;
}

.customer-form-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    z-index: 10;
}

.customer-form-header {
    text-align: center;
    height: 100px;
    position: relative;
    display: flex;
    justify-content: space-around;
}

.title-customer-infomation {
    height: 100%;
    width: auto;
    margin-top: -15px;
}

.monsters {
    height: 150%;
    width: auto;
    margin-top: -50px;
}

.customer-form {
    padding: 0 30px 30px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    font-family: 'Mali', 'Arial', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: url('png/bg-input.png') no-repeat center center;
    background-size: 100%;
}

.form-group input::placeholder {
    color: #999;
    font-style: italic;
}


.form-group input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.error-message {
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
    font-family: 'Mali', 'Arial', sans-serif;
}

.submit-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.submit-btn img {
    height: 80px;
}

/* Responsive Customer Section */
@media (max-width: 768px) {
    .customer-info-section {
        padding: 40px 0 80px 0;
        min-height: calc(100vh - 150px);
    }
    
    .customer-form-container {
        width: 95%;
        margin: 10px auto;
        padding: 30px 20px;
    }
    
    .customer-form-title {
        font-size: 2rem;
    }
    
    .customer-form-title::before,
    .customer-form-title::after {
        width: 25px;
        height: 25px;
    }
    
    .customer-form-title::before {
        left: -40px;
    }
    
    .customer-form-title::after {
        right: -40px;
    }
    
    .customer-characters {
        gap: 10px;
    }
    
    .customer-character {
        width: 40px;
        height: 40px;
    }
    
    .customer-form {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .customer-info-section {
        padding: 30px 0 60px 0;
        min-height: calc(100vh - 120px);
    }
    
    .customer-form-container {
        width: 98%;
        margin: 5px auto;
        padding: 20px 15px;
    }

    .customer-form-header {
        flex-direction: column;
        height: auto;
        align-items: center;
    }

    .title-customer-infomation {
        width: 100%;
        height: auto;
    }

    .monsters {
        width: 60%;
        height: auto;
        margin-top: 10px;
    }
    
    .customer-form-title {
        font-size: 1.5rem;
    }
    
    .customer-form-title::before,
    .customer-form-title::after {
        display: none;
    }
    
    .customer-characters {
        gap: 8px;
    }
    
    .customer-character {
        width: 35px;
        height: 35px;
    }
    
    .customer-form {
        padding: 15px;
    }

    .form-group {
        margin-bottom: 5px;
    }
    
    .form-group input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
