@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,800;1,900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #050811;
    color: #f8fafc;
}

/* AMBIENT BACKGROUND GLOW ANIMATION */
.ambient-glow-bg {
    position: relative;
}
.ambient-glow-bg::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatGlow 12s ease-in-out infinite alternate;
}
.ambient-glow-bg::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatGlow 15s ease-in-out infinite alternate-reverse;
}

@media (min-width: 640px) {
    .ambient-glow-bg::before { width: 500px; height: 500px; }
    .ambient-glow-bg::after { width: 600px; height: 600px; }
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.1); }
    100% { transform: translate(-30px, 50px) scale(0.95); }
}

.brand-logo-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.brand-logo-italic {
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(110deg, #ffffff 0%, #e2e8f0 25%, #38bdf8 45%, #ffffff 55%, #f59e0b 80%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoShine 3.5s linear infinite;
}

@keyframes logoShine {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.gold-gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cyan-gradient-text {
    background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ANIMATED NEON RUNNING LINE */
.flowing-line-container {
    position: relative;
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
    margin: 0.75rem auto 0;
}

.flowing-line-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #38bdf8, #f59e0b, transparent);
    animation: flowingLine 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes flowingLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.poster-glow-box {
    position: relative;
    background: linear-gradient(145deg, rgba(13, 19, 34, 0.95) 0%, rgba(5, 8, 17, 0.98) 100%);
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.9),
                -8px 0 20px -6px rgba(245, 158, 11, 0.2),
                8px 0 20px -6px rgba(56, 189, 248, 0.25);
    transition: all 0.3s ease;
}

.luxury-card {
    background: linear-gradient(145deg, rgba(13, 19, 34, 0.85) 0%, rgba(5, 8, 17, 0.95) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7);
}

.glass-card {
    background: rgba(13, 19, 34, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* CAROUSEL TRACK RESPONSIVE SCROLL */
.carousel-track {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}
.carousel-track::-webkit-scrollbar {
    height: 4px;
}
.carousel-track::-webkit-scrollbar-track {
    background: rgba(13, 19, 34, 0.8);
    border-radius: 10px;
}
.carousel-track::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #38bdf8 0%, #f59e0b 100%);
    border-radius: 10px;
}

@keyframes pulse-ring {
    0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
.pulse-btn {
    animation: pulse-ring 2.5s infinite;
}

/* SERTIFIKASI CARD ULTRA MEWAH */
.cert-card-interactive {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(6, 10, 20, 0.95) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cert-card-interactive::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.cert-card-interactive:hover::before {
    opacity: 1;
}
.cert-card-interactive:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 15px 30px -10px rgba(56, 189, 248, 0.25);
}

/* SERVICE CARD WORKSHOP */
.service-card-premium {
    background: linear-gradient(145deg, rgba(13, 19, 34, 0.9) 0%, rgba(5, 8, 17, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.7s ease;
}

.service-card-premium:hover::before {
    left: 100%;
}

.service-card-premium:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 15px 30px -10px rgba(245, 158, 11, 0.25);
}

.service-card-flagship {
    background: linear-gradient(145deg, rgba(14, 26, 46, 0.95) 0%, rgba(5, 8, 17, 0.98) 100%);
    border: 2px solid rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 25px -5px rgba(56, 189, 248, 0.3);
}

.service-card-flagship:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.9);
    box-shadow: 0 20px 40px -10px rgba(56, 189, 248, 0.4);
}

/* CHEMICAL PRODUCT CARD */
.chemical-card-revamp {
    background: linear-gradient(145deg, rgba(13, 19, 34, 0.95) 0%, rgba(5, 8, 17, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.35s ease;
    position: relative;
}

.chemical-card-revamp:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 15px 30px -10px rgba(56, 189, 248, 0.3);
}

/* LOYALTY MEMBER STYLING */
.vip-card-glow {
    background: linear-gradient(135deg, rgba(20, 27, 45, 0.95) 0%, rgba(10, 14, 26, 0.98) 50%, rgba(30, 22, 10, 0.95) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.9),
                0 0 25px 2px rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
}

.vip-card-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255, 215, 0, 0.08) 50%, transparent 55%);
    animation: cardShimmer 6s infinite linear;
    pointer-events: none;
}

@keyframes cardShimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stamp-btn {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stamp-btn.stamped {
    animation: stampPop 0.4s ease-out forwards;
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%) !important;
    color: #070a12 !important;
    border-color: #fbbf24 !important;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.stamp-btn.reward-5k-stamped {
    animation: stampPop 0.4s ease-out forwards;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #070a12 !important;
    border-color: #ffe066 !important;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
}

.stamp-btn.reward-free-stamped {
    animation: stampPop 0.4s ease-out forwards;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
    color: #ffffff !important;
    border-color: #6ee7b7 !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
}

@keyframes stampPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(-6deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.location-card-neon {
    background: linear-gradient(145deg, rgba(13, 19, 34, 0.9) 0%, rgba(5, 8, 17, 0.95) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    transition: all 0.3s ease;
}

.location-card-neon:hover {
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 10px 25px -5px rgba(56, 189, 248, 0.25);
    transform: translateY(-3px);
}

.modal-scroll::-webkit-scrollbar {
    width: 4px;
}
.modal-scroll::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
}
.modal-scroll::-webkit-scrollbar-thumb {
    background: #38bdf8;
    border-radius: 4px;
}

.category-chip {
    transition: all 0.25s ease;
}
.category-chip.active {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #050811;
    font-weight: 800;
    border-color: #7dd3fc;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

/* HIDE SCROLLBAR FOR CHIPS */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}