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

body {
    background: url('LWBottle.png') center center / cover no-repeat fixed;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, rgba(0,26,51,0.85), rgba(0,51,102,0.8), rgba(0,102,170,0.75), rgba(0,77,128,0.8), rgba(0,34,68,0.85));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

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


/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(100, 200, 255, 0.4);
    border-radius: 50%;
    animation: float 20s infinite;
    box-shadow: 0 0 6px rgba(100, 200, 255, 0.3);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 25s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 20s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 28s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 22s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 26s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 21s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 24s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 27s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 23s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3s; animation-duration: 29s; }
.particle:nth-child(11) { left: 25%; animation-delay: 0s; animation-duration: 19s; }
.particle:nth-child(12) { left: 35%; animation-delay: 2s; animation-duration: 30s; }
.particle:nth-child(13) { left: 45%; animation-delay: 4s; animation-duration: 18s; }
.particle:nth-child(14) { left: 55%; animation-delay: 1s; animation-duration: 25s; }
.particle:nth-child(15) { left: 65%; animation-delay: 3s; animation-duration: 22s; }
.particle:nth-child(16) { left: 75%; animation-delay: 5s; animation-duration: 28s; }
.particle:nth-child(17) { left: 85%; animation-delay: 2s; animation-duration: 20s; }
.particle:nth-child(18) { left: 95%; animation-delay: 4s; animation-duration: 26s; }
.particle:nth-child(19) { left: 5%; animation-delay: 1s; animation-duration: 24s; }
.particle:nth-child(20) { left: 50%; animation-delay: 0s; animation-duration: 31s; }
.particle:nth-child(21) { left: 8%; animation-delay: 6s; animation-duration: 23s; }
.particle:nth-child(22) { left: 18%; animation-delay: 7s; animation-duration: 27s; }
.particle:nth-child(23) { left: 28%; animation-delay: 8s; animation-duration: 21s; }
.particle:nth-child(24) { left: 38%; animation-delay: 9s; animation-duration: 25s; }
.particle:nth-child(25) { left: 48%; animation-delay: 10s; animation-duration: 19s; }
.particle:nth-child(26) { left: 58%; animation-delay: 11s; animation-duration: 29s; }
.particle:nth-child(27) { left: 68%; animation-delay: 12s; animation-duration: 22s; }
.particle:nth-child(28) { left: 78%; animation-delay: 13s; animation-duration: 26s; }
.particle:nth-child(29) { left: 88%; animation-delay: 14s; animation-duration: 20s; }
.particle:nth-child(30) { left: 98%; animation-delay: 15s; animation-duration: 24s; }
.particle:nth-child(31) { left: 3%; animation-delay: 6s; animation-duration: 28s; }
.particle:nth-child(32) { left: 13%; animation-delay: 8s; animation-duration: 22s; }
.particle:nth-child(33) { left: 23%; animation-delay: 10s; animation-duration: 26s; }
.particle:nth-child(34) { left: 33%; animation-delay: 12s; animation-duration: 20s; }
.particle:nth-child(35) { left: 43%; animation-delay: 14s; animation-duration: 24s; }
.particle:nth-child(36) { left: 53%; animation-delay: 7s; animation-duration: 28s; }
.particle:nth-child(37) { left: 63%; animation-delay: 9s; animation-duration: 22s; }
.particle:nth-child(38) { left: 73%; animation-delay: 11s; animation-duration: 26s; }
.particle:nth-child(39) { left: 83%; animation-delay: 13s; animation-duration: 20s; }
.particle:nth-child(40) { left: 93%; animation-delay: 15s; animation-duration: 24s; }


@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(0, 40, 80, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 102, 170, 0.5);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 0 32px rgba(100, 200, 255, 0.05),
                0 0 60px rgba(0, 102, 170, 0.2);
    animation: cardFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(100, 200, 255, 0.03),
        transparent
    );
    animation: shimmer 8s infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Animated Title */
.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow:
        /* Dark outline for readability */
        -2px -2px 0 #003366,
        2px -2px 0 #003366,
        -2px 2px 0 #003366,
        2px 2px 0 #003366,
        /* Glow effect */
        0 0 20px rgba(100, 200, 255, 0.8),
        0 0 40px rgba(100, 200, 255, 0.5),
        0 0 60px rgba(100, 200, 255, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
    letter-spacing: 2px;
}

@keyframes titleGlow {
    0% {
        text-shadow:
            -2px -2px 0 #003366,
            2px -2px 0 #003366,
            -2px 2px 0 #003366,
            2px 2px 0 #003366,
            0 0 20px rgba(100, 200, 255, 0.6),
            0 0 40px rgba(100, 200, 255, 0.4);
    }
    100% {
        text-shadow:
            -2px -2px 0 #003366,
            2px -2px 0 #003366,
            -2px 2px 0 #003366,
            2px 2px 0 #003366,
            0 0 30px rgba(100, 200, 255, 1),
            0 0 60px rgba(100, 200, 255, 0.7),
            0 0 90px rgba(100, 200, 255, 0.4);
    }
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.lead-text {
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.lead-text a {
    color: #64c8ff;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.lead-text a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(100, 200, 255, 0.8);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Futuristic Buttons */
.btn-futuristic {
    background: linear-gradient(135deg, #0066aa, #004d80);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 102, 170, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-futuristic:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 102, 170, 0.6),
                0 0 30px rgba(100, 200, 255, 0.3);
    color: #fff;
}

.btn-futuristic:hover::before {
    left: 100%;
}

.btn-futuristic:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-futuristic-outline {
    background: rgba(0, 102, 170, 0.15);
    border: 2px solid rgba(0, 102, 170, 0.7);
    border-radius: 12px;
    padding: 14px 28px;
    color: #64c8ff;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(0, 102, 170, 0.2),
                inset 0 0 15px rgba(0, 102, 170, 0.1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-futuristic-outline:hover {
    background: rgba(0, 102, 170, 0.35);
    border-color: #64c8ff;
    color: #fff;
    box-shadow: 0 0 25px rgba(100, 200, 255, 0.4),
                inset 0 0 25px rgba(100, 200, 255, 0.1);
    transform: translateY(-3px);
}

.btn-futuristic-orange {
    background: linear-gradient(135deg, #fc9003, #e07d00);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    color: #fff;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(252, 144, 3, 0.4);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-futuristic-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(252, 144, 3, 0.6),
                0 0 30px rgba(255, 180, 50, 0.3);
    color: #fff;
}

.btn-futuristic-green {
    background: linear-gradient(135deg, #1D6F42, #155a35);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    color: #fff;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(29, 111, 66, 0.4);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-futuristic-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(29, 111, 66, 0.6),
                0 0 30px rgba(50, 200, 100, 0.3);
    color: #fff;
}

/* Staggered button animations */
.btn-animate {
    animation: fadeInUp 0.6s ease-out both;
}

.btn-animate:nth-child(1) { animation-delay: 0.7s; }
.btn-animate:nth-child(2) { animation-delay: 0.8s; }
.btn-animate:nth-child(3) { animation-delay: 0.9s; }
.btn-animate:nth-child(4) { animation-delay: 1.0s; }
.btn-animate:nth-child(5) { animation-delay: 1.1s; }
.btn-animate:nth-child(6) { animation-delay: 1.2s; }

/* QR Code with glow */
.app-image {
    max-width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(0, 102, 170, 0.6);
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
}

.app-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 40px rgba(100, 200, 255, 0.4),
                0 0 30px rgba(100, 200, 255, 0.2);
    border-color: #64c8ff;
}

/* Custom Modal Size */
.modal-wide {
    max-width: 90%;
}

/* Modal styling */
.modal-content {
    background: rgba(0, 40, 80, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 102, 170, 0.4);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(0, 102, 170, 0.2);
}

.modal-header {
    border-bottom: 1px solid rgba(100, 200, 255, 0.2);
}

.modal-title {
    color: #64c8ff;
    text-shadow: 0 0 10px rgba(100, 200, 255, 0.5);
}

.modal-body {
    color: rgba(255, 255, 255, 0.9);
}

.modal-body p {
    color: rgba(255, 255, 255, 0.8);
}

.btn-close {
    filter: invert(1) brightness(2);
}

/* NProgress styling */
#nprogress .bar {
    background: linear-gradient(90deg, #0066aa, #64c8ff);
    height: 3px;
}

#nprogress .spinner-icon {
    border-top-color: #64c8ff;
    border-left-color: #64c8ff;
}

/* Full-screen overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 30, 60, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s linear;
}

.overlay.show {
    visibility: visible;
    opacity: 1;
}

/* Futuristic spinner */
.spinner {
    width: 80px;
    height: 80px;
    border: 4px solid transparent;
    border-top: 4px solid #64c8ff;
    border-right: 4px solid #0066aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 30px rgba(100, 200, 255, 0.5),
                inset 0 0 30px rgba(100, 200, 255, 0.1);
}

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

/* Horizontal rule styling */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        transparent 10%, 
        rgba(255, 255, 255, 1) 20%, 
        rgba(255, 255, 255, 1) 80%, 
        transparent 90%, 
        transparent 100%);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8),
                0 0 30px rgba(255, 255, 255, 0.5),
                0 0 45px rgba(100, 200, 255, 0.3);
    position: relative;
    overflow: hidden;
    margin: 1.5rem 0;
    opacity: 1;
}

hr::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(100, 200, 255, 0.6), 
        rgba(255, 255, 255, 1), 
        rgba(100, 200, 255, 0.6), 
        transparent);
    animation: hrShimmer 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes hrShimmer {
    0% { left: -100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Pulsing icon effect */
.bi {
    transition: all 0.3s ease;
}

.btn-futuristic:hover .bi,
.btn-futuristic-outline:hover .bi {
    animation: iconPulse 0.5s ease;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Container positioning */
.main-container {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
}

/* Card body text */
.card-body {
    position: relative;
    z-index: 1;
}

/* Link hover in modals */
.modal-body a.btn-futuristic-outline {
    transition: all 0.3s ease;
}

.modal-body a.btn-futuristic-outline:hover {
    transform: translateY(-2px);
}

/* Form controls in modals */
.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(100, 200, 255, 0.3);
    color: #fff;
    border-radius: 10px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #64c8ff;
    box-shadow: 0 0 20px rgba(100, 200, 255, 0.3);
    color: #fff;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Modal image styling */
.modal-body img {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.modal-body img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(100, 200, 255, 0.3);
}

/* Help button in modals */
.btn-help {
    background: transparent;
    border: 2px solid rgba(100, 200, 255, 0.5);
    color: #64c8ff;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.btn-help:hover {
    background: rgba(100, 200, 255, 0.2);
    border-color: #64c8ff;
    color: #fff;
    box-shadow: 0 0 15px rgba(100, 200, 255, 0.3);
}
