    @import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap');

    /* Custom font face for Vividly font */
    @font-face {
        font-family: 'Vividly';
        src: url('fonts/Vividly-Regular.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
    }

    :root {
        --primary-color: #14e5ee;
        /* Blue color */
        --secondary-color: #1f2937;
        --hover-color: #14e5ee;
        /* Blue color for hover effects */
        --background-color: #000000;
        /* Deep black background */
        --text-color: #e5e7eb;
        /* Light gray text */
    }

    /* Custom blue color class to replace text-yellow-400 */
    .text-blue-custom {
        color: #14e5ee !important;
    }

    /* Custom styles for the page */
    body {
        /* Using Vividly font stack */
        font-family: "Vividly", "Gloria Hallelujah", cursive;
        font-weight: 400;
        font-style: normal;
        font-size: 1.3rem;
        background: linear-gradient(135deg, #01417d 0%, #000000 100%);
        color: var(--primary-color);
        /* Light text color for contrast */
        padding-top: 2rem;
        padding-bottom: 2rem;
        margin: 0;
        overflow-x: hidden;
        position: relative;
    }

    /* Lazy load background image */
    body.loaded {
        background-image: url('images/bg2.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    /* Simple overlay for better text readability */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(1, 65, 125, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
        z-index: -1;
        pointer-events: none;
    }

    /* Icon link styles */
    .icon-link img {
        padding: 10px;
        font-size: 2rem;
        margin: 0 0.75rem;
        color: var(--color-text-light);
        display: flex;
        border: 2px solid var(--color-blue-accent);
        /* To center icon inside circle */
        justify-content: center;
        align-items: center;
        width: 3.5rem;
        /* Circle size */
        height: 3.5rem;
        /* Circle size */
        border-radius: 50%;
        /* Perfect circle */
        filter: grayscale(100%) brightness(1000%);

        /* Subtle shadow */
        transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, scale 0.5s ease !important;
        position: relative;
        /* Needed for pseudo-parallax effect */
        perspective: 1000px;
        /* For 3D effect */
    }

    .icon-link:hover {
        color: var(--color-text-light);
        /* Bright blue color on hover */

        transform: translateY(-8px) scale(1.15) rotateX(10deg);
        /* Zoom, float, and slight 3D rotation effect */
        box-shadow: 0 5px 10px var(--color-pink-accent);
        /* Stronger glowing shadow */
    }

    .icon-link img {

        scale: 1.1;
        transition: scale 0.5s ease !important;
    }

    .icon-link:hover img {
        filter: grayscale(100%) brightness(1000%) drop-shadow(0 0 10px var(--primary-color));
        scale: 0.9;
        /* Slightly larger icon on hover */
    }

    .contract-button {
        background-color: var(--primary-color);
        /* Cute pink background */
        transition: all 0.3s ease-in-out !important;

    }


    .icon-link:hover {
        color: var(--hover-color);
        /* Cute pink color on hover */
        transform: scale(1.1);
        /* Slight zoom effect on hover */
    }

    /* Token detail link styles */
    .token-detail-link {
        color: var(--primary-color);
        /* Pink color for token links */
        text-decoration: underline;
    }

    .token-detail-link:hover {
        color: var(--hover-color);
        /* Lighter pink on hover */
    }

    /* Fade-in animation for images */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

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

    .fade-in-image {
        opacity: 0;
        /* Start hidden */
        animation: fadeIn 1s ease-out forwards;
    }

    .main-logo-fade {
        animation-delay: 0.3s;
        /* Delay for main logo */
    }

    .marquee-image.fade-in-image {
        animation-delay: 0.8s;
        /* Delay for marquee images */
    }

    /* Hover effect for contract button */
    .contract-button {
        transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
        background-color: var(--primary-color);
        border: 2px solid transparent;
    }

    .contract-button:hover {
        box-shadow: 0 0 25px 10px rgba(20, 229, 238, 0.6);
        /* Glowing blue shadow */
        transform: translateY(-3px) scale(1.05);
        background-color: var(--hover-color);
        color: white;
        border-color: var(--hover-color);
        /* Enhanced lift and scale effect */
    }

    .contract-button:active {
        scale: 0.95;
        transform: translateY(-1px);
        /* Slight lift effect */
    }

    /* Marquee styles */
    .marquee-outer-container {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        position: relative;
        overflow: hidden;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        left: 0;
        right: 0;
        box-sizing: border-box;
        /* Hide parts of the marquee content that are outside */
    }

    /* Fade effect for marquee edges */
    .marquee-outer-container::before,
    .marquee-outer-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 75px;
        /* Width of the fade effect */
        z-index: 2;
        /* Ensure fade is above marquee items */
        pointer-events: none;
        /* Allow clicks through the fade */
    }

    .marquee-outer-container::before {
        left: 0;
        background: linear-gradient(to right, #000000 20%, rgba(0, 0, 0, 0) 100%);
    }

    .marquee-outer-container::after {
        right: 0;
        background: linear-gradient(to left, #000000 20%, rgba(0, 0, 0, 0) 100%);
    }

    .marquee-content-wrapper {
        display: inline-block;
        white-space: nowrap;
        font-size: 0;
        /* Removes potential whitespace issues between inline-block elements */
        will-change: transform;
        /* Hint for browser animation optimization */
        animation: marquee-left 20s linear infinite;
    }

    /* Second Gallery - Moving Right */
    .marquee-outer-container-reverse {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        position: relative;
        overflow: hidden;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        left: 0;
        right: 0;
        box-sizing: border-box;
        /* Hide parts of the marquee content that are outside */
    }

    /* Fade effect for reverse marquee edges */
    .marquee-outer-container-reverse::before,
    .marquee-outer-container-reverse::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 75px;
        /* Width of the fade effect */
        z-index: 2;
        /* Ensure fade is above marquee items */
        pointer-events: none;
        /* Allow clicks through the fade */
    }

    .marquee-outer-container-reverse::before {
        left: 0;
        background: linear-gradient(to right, #000000 20%, rgba(0, 0, 0, 0) 100%);
    }

    .marquee-outer-container-reverse::after {
        right: 0;
        background: linear-gradient(to left, #000000 20%, rgba(0, 0, 0, 0) 100%);
    }

    .marquee-content-wrapper-reverse {
        display: inline-block;
        white-space: nowrap;
        font-size: 0;
        /* Removes potential whitespace issues between inline-block elements */
        will-change: transform;
        /* Hint for browser animation optimization */
        animation: marquee-right 20s linear infinite;
    }

    /* Marquee animations */
    @keyframes marquee-left {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    @keyframes marquee-right {
        0% {
            transform: translateX(-50%);
        }

        100% {
            transform: translateX(0);
        }
    }

    /* Mobile-specific improvements */
    @media (max-width: 768px) {
        .marquee-image {
            box-shadow: none;
            border: none;
        }

        .marquee-outer-container::before,
        .marquee-outer-container::after,
        .marquee-outer-container-reverse::before,
        .marquee-outer-container-reverse::after {
            width: 50px;
        }
    }

    /* Ensure marquee sections are truly full width */
    .marquee-outer-container,
    .marquee-outer-container-reverse {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100vw !important;
        max-width: none !important;
    }

    /* Hero section spacing improvements */
    header {
        margin-top: 2rem;
    }

    /* Mobile-specific hero spacing */
    @media (max-width: 768px) {
        header {
            margin-top: 3rem;
        }
    }

    /* Hero button styles - similar to navbar buy button */
    .hero-button {
        background-color: #14e5ee;
        border: 2px solid #14e5ee;
        transition: all 0.3s ease;
        color: #000000;
        font-weight: 600;
        font-family: "Vividly", "Gloria Hallelujah", cursive;
        font-weight: 400;
        font-style: normal;
    }

    .hero-button:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    }

    .hero-button:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(255, 255, 255, 0.1);
    }


    .marquee-image {
        height: 200px;
        width: 200px;
        object-fit: cover;
        margin-right: 1rem;
        /* 16px */
        border-radius: 0.375rem;
        display: inline-block;
        vertical-align: middle;
        background-color: #374151;
        box-shadow: none;
    }

    /* Footer icon container */
    .footer-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }

    /* Custom Message Box Styles */
    #customMessageBox {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #14e5ee;
        /* Blue background matching the theme */
        color: white;
        /* White text for contrast */
        padding: 1rem 1.5rem;
        border-radius: 0.5rem;
        /* Tailwind's rounded-lg */
        box-shadow: 0 8px 25px rgba(20, 229, 238, 0.4);
        z-index: 1000;
        font-size: 1.3rem;
        /* Increased font size */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        display: flex;
        /* For aligning icon and text */
        align-items: center;
        /* For aligning icon and text */
        border: 2px solid rgba(20, 229, 238, 0.3);
    }

    #customMessageBox.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-5px);
    }

    #customMessageBox .icon {
        margin-right: 0.75rem;
        /* Space between icon and text */
        color: white;
    }

    /* Navbar Styles */
    .navbar {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background-color: rgba(20, 229, 238, 0.15) !important;
        border-bottom-color: rgba(20, 229, 238, 0.4) !important;
    }

    .navbar-icon-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
        transition: all 0.3s ease;
        filter: grayscale(100%) brightness(1000%);
    }

    .navbar-icon-link:hover {
        transform: scale(1.1);
        filter: grayscale(100%) brightness(1000%) drop-shadow(0 0 8px var(--primary-color));
    }

    .navbar-buy-btn {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
        font-family: "Vividly", "Gloria Hallelujah", cursive;
        font-size: 1.2rem;
        text-decoration: none;
        display: inline-block;
    }

    .navbar-buy-btn:hover {
        background: rgba(20, 229, 238, 0.2);
        border-color: var(--primary-color);
        box-shadow: 0 0 15px rgba(20, 229, 238, 0.4);
        transform: translateY(-1px);
        text-decoration: none;
        color: white;
    }

    .navbar-buy-btn:active {
        transform: translateY(0);
        scale: 0.98;
    }

    /* Adjust body padding to account for fixed navbar */
    body {
        padding-top: 5rem;
    }

    /* Enhanced font sizes for better readability */
    .text-xl {
        font-size: 1.8rem !important;
    }

    .text-2xl {
        font-size: 2.2rem !important;
    }

    .text-lg {
        font-size: 1.6rem !important;
    }

    .text-md {
        font-size: 1.4rem !important;
    }

    .text-sm {
        font-size: 1.3rem !important;
    }

    .text-base {
        font-size: 1.4rem !important;
    }

    .text-xs {
        font-size: 1.1rem !important;
    }

    /* Video Section Styles */
    .video-section {
        position: relative;
        z-index: 10;
    }

    .glow-text {
        text-shadow: 0 0 20px rgba(20, 229, 238, 0.8), 0 0 40px rgba(20, 229, 238, 0.4);
        animation: glow 2s ease-in-out infinite alternate;
    }

    @keyframes glow {
        from {
            text-shadow: 0 0 20px rgba(20, 229, 238, 0.8), 0 0 40px rgba(20, 229, 238, 0.4);
        }

        to {
            text-shadow: 0 0 30px rgba(20, 229, 238, 1), 0 0 60px rgba(20, 229, 238, 0.6);
        }
    }

    .video-container {
        position: relative;
        transition: all 0.3s ease;
    }

    .video-container:hover {
        transform: translateY(-4px);
    }

    .video-card {
        position: relative;
        overflow: hidden;
        border-radius: 1rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        height: 100%;
    }

    .video-card:hover {
        box-shadow: 0 20px 60px rgba(20, 229, 238, 0.4);
        transform: scale(1.02);
    }

    .video-wrapper {
        position: relative;
        border-radius: 0.5rem;
        overflow: hidden;
    }

    .video-wrapper video {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
    }

    .video-wrapper:hover video {
        transform: scale(1.02);
    }

    .video-overlay {
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .video-wrapper:hover .video-overlay {
        opacity: 0;
    }



    /* Responsive Video Grid */
    @media (max-width: 1024px) {
        .video-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }
    }

    @media (max-width: 768px) {
        .video-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .video-container:hover {
            transform: translateY(-2px);
        }

        .video-card:hover {
            transform: scale(1.01);
        }
    }

    /* Optimized for 2 videos layout */
    .video-grid {
        max-width: 1200px;
        margin: 0 auto;
    }

    .video-container {
        min-height: 300px;
    }

    .video-card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .video-card>div {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .video-wrapper {
        flex: 1;
        min-height: 200px;
    }

    .video-wrapper video {
        width: 100%;
        height: auto;
        border-radius: 0.5rem;
    }



    /* Video description styling */
    .video-description {
        position: relative;
    }

    .video-description::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, #14e5ee, #0891b2, #14e5ee);
        border-radius: 1rem;
        z-index: -1;
        opacity: 0.3;
        animation: borderGlow 3s ease-in-out infinite;
    }

    @keyframes borderGlow {

        0%,
        100% {
            opacity: 0.3;
        }

        50% {
            opacity: 0.6;
        }
    }