/* Global Scroll Padding for Fixed Header */
html {
    scroll-padding-top: 100px;
    /* Adjust based on header height (~80px) + breathing room */
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 75px;
        /* Match mobile header height (~72px) so title is visible but not too far */
    }
}

/* Premium Background Pattern (Dot Grid) */
.bg-grid-pattern {
    /* Creates a 1px dot every 32px */
    background-image: radial-gradient(rgba(148, 163, 184, 0.25) 1px, transparent 1px);
    background-size: 32px 32px;
    /* Fades out the pattern towards the bottom for a seamless look */
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Premium Glass Navigation (Transparent to Vision Style) */
.glass-nav {
    /* Base: Fully Transparent (Lets background text/blobs show through) */
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    /* No borders initially */
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;

    box-shadow: none;

    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled State (Vision Pro Glass) */
.glass-nav.shadow-sm {
    /* The Transformation: Becomes Milky/Glassy */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);

    /* Edges appear */
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

    /* Shadow appears */
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* Premium Glass Effect - Light Emerald-Lime Edition */
.glass-card-premium {
    /* Light Emerald to Lime Gradient */
    background: linear-gradient(135deg, #6ee7b7, #bef264);
    /* Emerald-300 to Lime-300 */

    /* Frosted Glass Effect (Subtle) */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    /* Subtle Dark Border */
    border: 1px solid rgba(0, 0, 0, 0.05);

    /* Glow Shadow */
    box-shadow: 0 10px 30px -5px rgba(16, 185, 129, 0.3);
    /* Emerald-500 Glow */

    /* Smooth Transitions */
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Hover State */
.glass-card-premium:hover {
    /* Saturation Boost */
    background: linear-gradient(135deg, #34d399, #a3e635);
    /* Emerald-400 to Lime-400 */

    /* Border Darkens */
    border-color: rgba(0, 0, 0, 0.1);

    /* Lift & Glow Shadow */
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -10px rgba(16, 185, 129, 0.4);
}

/* Skeleton Loading */
.skeleton {
    color: transparent !important;
    background-color: #e2e8f0;
    background-image: linear-gradient(90deg, #e2e8f0 0%, #f8fafc 50%, #e2e8f0 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite linear;
    border-radius: 0.375rem;
    /* rounded-md */
    user-select: none;
    width: fit-content;
    display: inline-block;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Standard Glass Card (White/Milky) */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}