* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* @import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap"); */

/* In styles.css, at the very top (Line 1) */

@font-face {
    font-family: 'HowdyBunDisplay'; /* This is the name we will use in the CSS */
    src: url('assets/fonts/howdybun.woff2') format('woff2'),
        url('assets/fonts/howdybun.ttf') format('truetype'); /* Good idea for older browsers */
    font-weight: 900; /* Define a bold weight if this font is meant for headers */
    font-style: normal;
    font-display: swap; /* Optimizes font loading */
}

:root {
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    --color-primary: #90C8F6;
    --color-secondary: #3B82F6;
    --color-bg: #0A1930;
    --color-surface: rgba(144, 200, 246, 0.08);
    --color-border: rgba(144, 200, 246, 0.25);
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-header-accent: #FFD700; /* Fonts */

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --max-width-sm: 600px;
    --max-width-md: 900px;
    --max-width-lg: 1400px;
}

/* --- KEYFRAMES REMOVED --- */

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Use the dark background color as the base */
    background-color: var(--color-bg); 
    
    /* SIMPLE GRADIENT: Goes from a subtle light blue (top) to the dark navy (bottom) */
    background-image:
        linear-gradient(
            to bottom, 
            rgba(144, 200, 246, 0.1) 0%,   /* 10% opacity Light Blue at the top */
            rgba(10, 25, 48, 0.5) 70%,     /* 50% opacity Dark Navy in the middle */
            var(--color-bg) 100%           /* Fully opaque Dark Navy at the bottom */
        );
        
    /* REMOVED: background-attachment: fixed, fixed, fixed; */
    
    color: var(--color-text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* --- body::before and body::after REMOVED --- */

.container {
    max-width: var(--max-width-lg);
    margin: 0 auto;
    padding: var(--spacing-3xl) var(--spacing-xl);
    position: relative;
    z-index: 1;

    /* 🔑 NEW: This tells the container to grow and push the footer down */
    flex-grow: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: var(--spacing-3xl) 0;
    margin-bottom: var(--spacing-3xl);
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.title {
    /* font-family: "DM Sans", sans-serif; */

    font-family: "HowdyBunDisplay", sans-serif;
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 700;
    color: var(--color-header-accent);

    /* Ensure this is here to align the spans */
    display: flex; 
    justify-content: center;

    /* 🔑 NEW: Apply the pulse animation */
    animation: glowPulse 5s infinite alternate ease-in-out; 

    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    position: relative;
    
    /* Simplified static text shadow */
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4); 
}

/* Base style for all animated letters */
.wave-char {
    display: inline-block;
    /* Apply the animation duration */
    animation: literalWave 2s infinite alternate ease-in-out;
}

/* Stagger the delay for SHRAMPVERSE (11 letters total, 0.1s interval) */
.wave-char:nth-child(1) { animation-delay: 0.0s; } /* S */
.wave-char:nth-child(2) { animation-delay: 0.1s; } /* H */
.wave-char:nth-child(3) { animation-delay: 0.2s; } /* R */
.wave-char:nth-child(4) { animation-delay: 0.3s; } /* A */
.wave-char:nth-child(5) { animation-delay: 0.4s; } /* M */
.wave-char:nth-child(6) { animation-delay: 0.5s; } /* P */
.wave-char:nth-child(7) { animation-delay: 0.6s; } /* V */
.wave-char:nth-child(8) { animation-delay: 0.7s; } /* E */
.wave-char:nth-child(9) { animation-delay: 0.8s; } /* R */
.wave-char:nth-child(10) { animation-delay: 0.9s; } /* S */
.wave-char:nth-child(11) { animation-delay: 1.0s; } /* E */

.title::after {
    content: "SHRAMP";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    filter: blur(20px);
    z-index: -1;
}

.leshrimp-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    padding: var(--spacing-lg) 0;
    margin: 0;
}

.leshrimp-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    width: auto;
    /* filter: drop-shadow(0 0 60px rgba(144, 200, 246, 0.4,)) drop-shadow(0 0 120px rgba(59, 130, 246, 0.2)) drop-shadow(0 0 180px rgba(255, 255, 255, 0.1)); */
    filter: 
           /* 1. Sharp, bright core glow */
             drop-shadow(0 0 40px rgba(144, 200, 246, 0.7)) 
             /* 2. Primary diffuse glow (increased blur) */
             drop-shadow(0 0 100px rgba(59, 130, 246, 0.3)) 
             /* 3. Secondary large blur (even more spread) */
             drop-shadow(0 0 180px rgba(144, 200, 246, 0.15))
             /* 4. Very large, faint white aura for maximum intensity */
             drop-shadow(0 0 250px rgba(255, 255, 255, 0.05));
}

.subtitle {
    font-family: "Inter", sans-serif;
    font-size: clamp(1rem, 1.75vw, 1.375rem);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: lowercase;
    letter-spacing: 0.2em;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
}

/* Hero Contract Address */
.hero-contract {
    width: 100%;
    max-width: 700px;
    margin: 0;
    padding: 0;
}

.hero-contract .contract-label {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    opacity: 0.85;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.2);
}

.hero-contract .address-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-top-color: rgba(167, 139, 250, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(167, 139, 250, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 -1px 0 rgba(0, 0, 0, 0.2) inset;
    transition: all 0.3s ease;
}

.hero-contract .address-wrapper:hover {
    border-color: rgba(167, 139, 250, 0.35);
    border-top-color: rgba(167, 139, 250, 0.45);
    box-shadow:
        0 6px 30px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(167, 139, 250, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 -1px 0 rgba(0, 0, 0, 0.25) inset;
}

.hero-contract .contract-address {
    font-family: "Courier New", "Monaco", "Consolas", monospace;
    font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);

    /* color: var(--color-text-primary); */
    
    color: var(--color-header-accent);
    flex: 1;
    word-break: break-all;
    user-select: all;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-contract .copy-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: none;
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 44px;
    height: 44px;
    box-shadow:
        0 4px 16px rgba(167, 139, 250, 0.4),
        0 0 30px rgba(236, 72, 153, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    position: relative;
    overflow: hidden;
}


.hero-contract .copy-btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow:
        0 6px 24px rgba(167, 139, 250, 0.5),
        0 0 40px rgba(236, 72, 153, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.hero-contract .copy-btn:active {
    opacity: 0.85;
    transform: translateY(0);
}

.hero-contract .copy-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}


/* Section Wrapper */
.section-wrapper {
    margin: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
    padding-bottom: var(--spacing-lg);
}

.section-header::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.1), transparent);
}

.section-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-header-accent);

    /* color: var(--color-text-primary); */

    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
    color: var(--color-text-secondary);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

/* Twitter Embed Section */
.tweet-section {
    margin: var(--spacing-3xl) 0;
    padding: var(--spacing-2xl) 0;
}

.tweet-section .section-header {
    margin-bottom: var(--spacing-2xl);
}

.tweet-container {
    display: flex;
    justify-content: center;
    max-width: var(--max-width-sm);
    margin: 0 auto;
}

/* Images Section */
.images-section {
    margin: var(--spacing-3xl) 0;
    padding: var(--spacing-2xl) 0;
}

.images-grid {
    display: grid;
    
    /*grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
    
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    
    max-width: 600px;
    
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* 🔑 NEW STYLE: For the 2x2 Rotating Slots (the divs you added to HTML) */
.image-grid-slot {
    /* Ensures the slot maintains a square shape */
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    
    /* 🔑 KEY PROPERTIES: How the background image will look */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Visual styling taken from your old .image-item styles */
    border-radius: var(--radius-lg);
    border: 1px solid rgba(167, 139, 250, 0.2);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(167, 139, 250, 0.1);
    
    /* Smooth transition for hover effect */
    transition: background-image 1.0s ease-in-out, all 0.3s ease; 
}

/* 🔑 NEW: Hover effect for the rotating slots */
.image-grid-slot:hover {
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(167, 139, 250, 0.2);
    transform: translateY(-2px);
}

/*.image-item {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(167, 139, 250, 0.2);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(167, 139, 250, 0.1);
    transition: all 0.3s ease;
    object-fit: cover;
    aspect-ratio: 1;
}

.image-item {
    cursor: pointer;
}

.image-item:hover {
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(167, 139, 250, 0.2);
    transform: translateY(-2px);
}*/

/* Image Viewer Modal */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.image-viewer.active {
    display: flex;
}

.image-viewer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.image-viewer-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(167, 139, 250, 0.3);
    object-fit: contain;
}

.image-viewer-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.image-viewer-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Social Links Section */
.social-section {
    margin: var(--spacing-3xl) 0;
    padding: var(--spacing-2xl) 0;
}

.social-section .section-header {
    margin-bottom: var(--spacing-2xl);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    gap: var(--spacing-sm);

    /* 🔑 FIX 1: Allow items to wrap when they exceed the container width */
    flex-wrap: wrap; 
    
    max-width: 600px; /* was 600*/
    margin: 0 auto;

    padding: var(--spacing-xl) var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.08) 0%, rgba(236, 72, 153, 0.05) 100%);
    border: 1px solid var(--color-border);
    border-top-color: rgba(167, 139, 250, 0.3);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--color-text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(15px) saturate(180%);
    position: relative;
    overflow: hidden;
    
    /*min-width: 160px;*/
    
    /* 🔑 FIX 2: Set the width so exactly two items fit per row */
    /* Calculation: (100% / 2) = 50% */
    flex-basis: calc(50% - var(--spacing-lg) / 2);
    
    /*flex-basis: 48%; /* TEST 48% + 48% = 96%, leaving 4% for the space/gap */*/

    /* We don't need flex-grow: 1 or min-width here if flex-basis is set to 50% */
    flex-grow: 0;
    min-width: 0;

    /* 🔑 FIX 3: Maintain fixed height for uniform boxes across both rows */
    height: 150px;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(167, 139, 250, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 -1px 0 rgba(0, 0, 0, 0.15) inset;
}

.social-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    border-color: rgba(167, 139, 250, 0.5);
    border-top-color: rgba(167, 139, 250, 0.6);
    transform: translateY(-4px);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(167, 139, 250, 0.25),
        0 0 80px rgba(236, 72, 153, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 -1px 0 rgba(0, 0, 0, 0.2) inset;
}

.social-icon {
    /*width: 36px;
    height: 36px;*/
    
    width: 60px; /* Increased size for better visibility */
    height: 60px; /* Increased size for better visibility */
    object-fit: contain; /* Ensure the image doesn't get distorted */

    flex-shrink: 0;
    transition: transform 0.25s ease;
    position: relative;
    z-index: 1;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.social-label {
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

/* Footer */
.footer {
    /*margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl) 0;*/
    
    border-top: 1px solid rgba(167, 139, 250, 0.1);
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.1), transparent);
}

.footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.footer-content {
    max-width: var(--max-width-lg);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    text-align: center;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.8;
}

.footer-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.2);
    position: relative;
}

.footer-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-site-logo {
    /* 🔑 FIT-TO-WIDTH: This makes the image stretch to fill the width of its container (100% of the screen) */
    width: 100%; 
    /* PRESERVE ASPECT RATIO: 'height: auto' ensures the image's height adjusts automatically, preventing distortion/squishing. */
    height: auto; 
    
    /* 🔑 SLIGHT TRANSPARENCY: Adjust this value (0.0 to 1.0) for the desired effect. */
    opacity: 0.2; 
    
    /* Smooth transition for the hover effect */
    transition: opacity 0.3s ease;
}

/* Optional: Slight effect when hovering to show it's clickable */
.footer-site-link:hover .footer-site-logo {
    opacity: 0.3; /* Make it slightly less transparent on hover */
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-text-primary);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
    box-shadow:
        0 10px 40px rgba(167, 139, 250, 0.4),
        0 0 20px rgba(236, 72, 153, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-message {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
}

@media (max-width: 1024px) {
    .container {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .hero-content {
        max-width: 100%;
    }

    .images-grid {
        /*grid-template-columns: repeat(3, 1fr);*/
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-3xl: 4rem;
        --spacing-2xl: 3rem;
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
    }

    .container {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .hero {
        padding: var(--spacing-2xl) 0;
        margin-bottom: var(--spacing-2xl);
    }

    .hero-content {
        gap: var(--spacing-md);
    }

    .title {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }

    .leshrimp-container {
        padding: var(--spacing-md) 0;
    }

    .leshrimp-image {
        max-height: 280px;
    }

    .subtitle {
        font-size: clamp(0.875rem, 3vw, 1.125rem);
    }

    .hero-contract {
        max-width: 100%;
    }

    .hero-contract .address-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }

    .hero-contract .contract-address {
        text-align: center;
        padding-bottom: var(--spacing-sm);
        border-bottom: 1px solid rgba(167, 139, 250, 0.15);
        font-size: 0.75rem;
    }

    .hero-contract .copy-btn {
        width: 100%;
        min-height: 44px;
    }

    .section-header {
        margin-bottom: var(--spacing-xl);
        padding-bottom: var(--spacing-md);
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .section-subtitle {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
    }

    .tweet-section,
    .images-section,
    .social-section {
        margin: var(--spacing-2xl) 0;
        padding: var(--spacing-xl) 0;
    }

    .images-grid {
        /*grid-template-columns: repeat(2, 1fr)!important;*/
        gap: var(--spacing-md);
        padding: 0;
    }

    .image-item {
        aspect-ratio: 1;
    }

    .social-links {
        flex-direction: column;
        gap: var(--spacing-md);
        max-width: 100%;
    }

    .social-link {
        width: 100%;
        max-width: 300px;
        min-width: auto;
        padding: var(--spacing-lg);
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-label {
        font-size: 0.9375rem;
    }

    .footer {
        margin-top: var(--spacing-2xl);
        padding: var(--spacing-xl) 0;
    }

    .footer-content {
        padding: 0 var(--spacing-md);
    }

    .image-viewer-content {
        max-width: 95vw;
        padding: var(--spacing-md);
    }

    .image-viewer-img {
        max-height: 85vh;
    }

    .image-viewer-close {
        top: -40px;
        right: 0;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-3xl: 3rem;
        --spacing-2xl: 2rem;
        --spacing-xl: 1.5rem;
        --spacing-lg: 1rem;
        --spacing-md: 1rem;
    }

    .container {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .hero {
        padding: var(--spacing-xl) 0;
        margin-bottom: var(--spacing-xl);
    }

    .title {
        font-size: clamp(2rem, 12vw, 4rem);
        margin-bottom: var(--spacing-sm);
    }

    .leshrimp-image {
        max-height: 240px;
    }

    .hero-contract .contract-label {
        font-size: 0.625rem;
        margin-bottom: var(--spacing-xs);
    }

    .hero-contract .address-wrapper {
        padding: var(--spacing-sm);
    }

    .hero-contract .contract-address {
        font-size: 0.6875rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .tweet-container {
        padding: 0;
    }

    .social-link {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .social-label {
        font-size: 0.8125rem;
    }

    .footer-text {
        font-size: 0.8125rem;
    }

    .toast {
        bottom: var(--spacing-md);
        left: var(--spacing-sm);
        right: var(--spacing-sm);
        transform: translateX(0) translateY(100px);
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .toast.show {
        transform: translateX(0) translateY(0);
    }
}

/* -------------------------------------------------------------------------- */
/* Animated Bubbles (Floating Particles)                                      */
/* -------------------------------------------------------------------------- */

/* Container: Holds the bubbles and anchors them to the viewport */
.bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows clicks to pass through to the content below */
    overflow: hidden; /* Ensures bubbles don't stray outside the viewport */
    z-index: 0; /* Ensures it is behind all other content (e.g., z-index: 1 on .container) */
}

/* Keyframe for the float movement (bottom to top) */
@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1); /* Start at the bottom, normal size */
        opacity: 0.1; /* Start mostly transparent */
    }
    50% {
        opacity: 0.25; /* Peak opacity in the middle */
    }
    100% {
        transform: translateY(-100vh) scale(0.5); /* End far above, slightly smaller */
        opacity: 0; /* Fully transparent at the top */
    }
}

/* Base style for individual bubbles */
.bubble {
    position: absolute;
    bottom: -100px; /* Start position well below the viewport */
    width: 15px; /* Base size */
    height: 15px;
    background-color: var(--color-primary); /* Light blue color */
    border-radius: 50%;
    
    /* Subtle visual effect: faint glow/shadow */
    box-shadow: 0 0 15px var(--color-primary);
    
    /* Apply the animation */
    animation: floatUp 20s infinite ease-in; /* 20 seconds duration, infinite loop, accelerating slightly (ease-in) */
}

/* -------------------------------------------------------------------------- */
/* Keyframe for Title Glow/Pulse Animation                                    */
/* -------------------------------------------------------------------------- */

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
    }
    100% {
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.4);
    }
}

@keyframes literalWave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px); /* Moves up 4 pixels */
    }
}