/* ========================================
   Zen Burma — Global Base Styles
   ======================================== */

/* ========== Core ========== */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #050505;
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 2.2;
}

/* ========== Burmese Text Global Fix ========== */
p,
span,
a,
label,
h1,
h2,
h3,
h4,
h5,
h6,
li,
td,
th,
div {
    line-height: inherit;
}

h1,
h2,
h3 {
    line-height: 1.8 !important;
    padding-top: 0.15em;
    padding-bottom: 0.15em;
}

/* ========== Accent Gradient Text ========== */
.gold-text {
    background: linear-gradient(135deg, #D4AF37, #FFFFFF, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Accent Gradient Border ========== */
.gold-border {
    border-image: linear-gradient(135deg, #D4AF37, #FFFFFF) 1;
}

/* ========== Glassmorphism Card ========== */
.glass-card {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    transform: translateY(-4px);
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D4AF37, #FFFFFF);
    border-radius: 3px;
}

/* ========== Shimmer Animation ========== */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.shimmer {
    background: linear-gradient(90deg, #D4AF37, #FFFFFF, #D4AF37, #FFFFFF, #D4AF37);
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Fade In Up Animation ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ========== Fade In Down Animation ========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.fade-in-down {
    animation: fadeInDown 0.6s ease-out forwards;
}

/* ========== Floating Animation (Zen) ========== */
@keyframes zenFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.zen-float {
    animation: zenFloat 6s ease-in-out infinite;
}

/* ========== Scroll Reveal Animations ========== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Add delays for staggered reveals if needed */
.delay-100 { transition-delay: 100ms; animation-delay: 100ms; }
.delay-200 { transition-delay: 200ms; animation-delay: 200ms; }
.delay-300 { transition-delay: 300ms; animation-delay: 300ms; }
.delay-400 { transition-delay: 400ms; animation-delay: 400ms; }
.delay-500 { transition-delay: 500ms; animation-delay: 500ms; }

/* ========== Navigation Blur ========== */
.nav-blur {
    background: rgba(10, 10, 10, 0.85); /* Darker for the pill */
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), inset 0 -1px 1px rgba(0, 0, 0, 0.8), 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

/* ========== Pill Nav Styles ========== */
.pill-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
    background: transparent;
}

@media (min-width: 640px) {
    .pill-nav-item {
        gap: 0.5rem;
        padding: 0.5rem 1.25rem;
        font-size: 11px;
    }
}

.pill-nav-item .material-symbols-rounded {
    font-size: 18px;
    transition: transform 0.3s ease;
}

@media (min-width: 640px) {
    .pill-nav-item .material-symbols-rounded {
        font-size: 20px;
    }
}

.pill-nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.pill-nav-item.active {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
}

.pill-nav-item:hover .material-symbols-rounded {
    transform: scale(1.1);
}

.pill-nav-item.active .material-symbols-rounded {
    transform: scale(1.1);
}

/* ========== Line Separator ========== */
.gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4AF37, #FFFFFF, #D4AF37, transparent);
}

/* ========== Button Gradient ========== */
.btn-gold {
    background: linear-gradient(135deg, #D4AF37, #FFFFFF);
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* ========== Product Grid (Masonry) ========== */
.masonry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .masonry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.masonry-item {
    display: flex;
}

.masonry-item>a {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.masonry-item>a>.p-4 {
    flex: 1;
}

/* ========== Pulse Glow ========== */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }
}

.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* ========== Scroll to Top Button ========== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37, #FFFFFF);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    border: none;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
    transform: translateY(-3px);
}

/* ========== Glass Fluid Background ========== */
.fluid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.fluid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: blobAppear 1.5s ease-out forwards;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.10), transparent 70%);
    top: -10%;
    right: -5%;
    animation: blobFloat1 18s ease-in-out infinite, blobAppear 1.5s ease-out forwards;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(224, 224, 224, 0.05), transparent 70%);
    bottom: 10%;
    left: -8%;
    animation: blobFloat2 22s ease-in-out infinite, blobAppear 1.5s 0.3s ease-out forwards;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
    top: 40%;
    left: 50%;
    animation: blobFloat3 20s ease-in-out infinite, blobAppear 1.5s 0.6s ease-out forwards;
}

.blob-4 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(179, 179, 179, 0.04), transparent 70%);
    top: 70%;
    right: 15%;
    animation: blobFloat4 25s ease-in-out infinite, blobAppear 1.5s 0.9s ease-out forwards;
}

@keyframes blobAppear {
    to {
        opacity: 1;
    }
}

@keyframes blobFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(-40px, 60px) scale(1.1);
    }

    50% {
        transform: translate(30px, -30px) scale(0.95);
    }

    75% {
        transform: translate(-20px, -50px) scale(1.05);
    }
}

@keyframes blobFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -40px) scale(1.08);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.92);
    }
}

@keyframes blobFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(40px, 30px) scale(1.12);
    }

    50% {
        transform: translate(-50px, 50px) scale(0.9);
    }

    75% {
        transform: translate(20px, -40px) scale(1.05);
    }
}

@keyframes blobFloat4 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-60px, -30px) scale(1.15);
    }
}

/* ========== Floating Particles ========== */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 25%;
    animation-duration: 16s;
    animation-delay: 2s;
    width: 2px;
    height: 2px;
    background: rgba(224, 224, 224, 0.3);
}

.particle:nth-child(3) {
    left: 40%;
    animation-duration: 14s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 60%;
    animation-duration: 18s;
    animation-delay: 1s;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.particle:nth-child(5) {
    left: 75%;
    animation-duration: 13s;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    left: 88%;
    animation-duration: 15s;
    animation-delay: 5s;
    width: 2px;
    height: 2px;
    background: rgba(224, 224, 224, 0.25);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-10vh) scale(0.5);
        opacity: 0;
    }
}

/* ========== Mobile Responsive ========== */
@media (max-width: 639px) {
    .blob-1 {
        width: 250px;
        height: 250px;
    }

    .blob-2 {
        width: 200px;
        height: 200px;
    }

    .blob-3 {
        width: 180px;
        height: 180px;
    }

    .blob-4 {
        display: none;
    }

    .particle:nth-child(n+5) {
        display: none;
    }
}