:root {
    --jelly-purple: #9c27ff;
    --jelly-pink: #ff2d7f;
    --jelly-blue: #00e5ff;
    --jelly-green: #00ff88;
    --jelly-yellow: #ffea00;
    --jelly-orange: #ff9100;
    --jelly-red: #ff3d3d;
    --font-heading: 'Luckiest Guy', cursive;
    --font-body: 'Chewy', cursive;
    --font-special: 'Bubblegum Sans', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

/* Update heading styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5em;
}

body {
    background-color: #111;
    color: white;
    overflow-x: hidden;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 30, 30, 0.7);
    border-bottom: 3px solid var(--jelly-purple);
    position: relative;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 60px;
    width: auto;
    animation: jellyBounce 2s infinite ease-in-out;
}

@keyframes jellyBounce {
    0%, 100% { 
        transform: translateY(0) scale(1) rotate(-2deg); 
    }
    50% { 
        transform: translateY(-5px) scale(1.05, 0.95) rotate(-3deg); 
    }
    50% { 
        transform: translateY(3px) scale(0.98, 1.02) rotate(-1deg); 
    }
    75% { 
        transform: translateY(-2px) scale(1.02, 0.98) rotate(-2deg); 
    }
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, 
        var(--jelly-purple), 
        var(--jelly-pink), 
        var(--jelly-blue),
        var(--jelly-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(156, 39, 255, 0.3);
    animation: rainbowText 8s linear infinite;
    background-size: 300% 300%;
    font-family: var(--font-heading);
    text-shadow:
        2px 2px 0px rgba(0,0,0,0.2),
        4px 4px 0px rgba(0,0,0,0.1),
        6px 6px 0px rgba(0,0,0,0.05);
}


/* Special Reward Card Styling */
.utility-reward {
    background: rgba(20, 30, 20, 0.8);
    border: 2px solid #00ff88;
    border-radius: 15px;
    padding: 2.0rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    margin-top: 2rem; /* Adjust this value as needed */
}

.reward-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
}

.reward-desc {
    font-size: 1rem;
    line-height: 1.6;
}

/* Fluorescent Green Text */
.fluorescent-green {
    color: #00ff88;
    text-shadow: 
        0 0 5px #00ff88,
        0 0 10px rgba(0, 255, 136, 0.5);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 5px #00ff88;
        opacity: 0.9;
    }
    100% {
        text-shadow: 0 0 20px #00ff88, 
                    0 0 30px rgba(0, 255, 136, 0.8);
        opacity: 1;
    }
}

/* Trophy Icon Styling */
.utility-reward .utility-icon {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.7);
    font-size: 2.2rem;
}

@keyframes jellyText {
    0%, 100% { transform: scale(1) rotate(-5deg); }
    25% { transform: scale(1.1, 0.9) rotate(-7deg); }
    50% { transform: scale(0.95, 1.05) rotate(-3deg); }
    75% { transform: scale(1.05, 0.95) rotate(-6deg); }
}

@keyframes glowPulse {
    0% { text-shadow: 0 0 10px var(--jelly-purple), 0 0 20px var(--jelly-pink); }
    100% { text-shadow: 0 0 20px var(--jelly-purple), 0 0 40px var(--jelly-pink), 0 0 60px var(--jelly-blue); }
}

/* Special jelly-like buttons */
.cta-button, .hub-tab {
    font-family: var(--font-special);
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}


@keyframes rainbowText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: all 0.3s;
    position: relative;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--jelly-purple);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 60%;
}

.hub-tabs {
    display: flex;
    gap: 1rem;
}

.hub-tab {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hub-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hub-tab i {
    font-size: 1rem;
}

.hero {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--jelly-purple), var(--jelly-pink), var(--jelly-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    color: #ccc;
}

.hero h1, .section-title {
    font-family: var(--font-heading);
    text-shadow: 
        2px 2px 0px rgba(0,0,0,0.2),
        4px 4px 0px rgba(0,0,0,0.1),
        6px 6px 0px rgba(0,0,0,0.05);
    animation: 
        jellyBounce 2s infinite ease-in-out,
        rainbowText 8s linear infinite;
    background: linear-gradient(45deg, 
        var(--jelly-purple), 
        var(--jelly-pink), 
        var(--jelly-blue),
        var(--jelly-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 300% 300%;
    display: inline-block;
    padding: 0 10px;
}


.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cta-button {
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.primary {
    background: linear-gradient(45deg, var(--jelly-purple), var(--jelly-pink));
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--jelly-purple);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
    animation: jellyWobble 0.5s;
}

@keyframes jellyWobble {
    0%, 100% { transform: scale(1, 1); }
    25% { transform: scale(0.95, 1.05); }
    50% { transform: scale(1.05, 0.95); }
    75% { transform: scale(0.98, 1.02); }
}

/* Header Socials */
.header-socials {
    display: flex;
    gap: 1rem;
}

.header-socials .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

/* Contract Address Button */
.contract-address {
    font-size: 0.7em;
    margin-left: 0.5rem;
    opacity: 0.7;
}

.copy-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

#copyContractBtn:hover .copy-tooltip {
    opacity: 1;
}

#copyContractBtn.copied .contract-address {
    color: var(--jelly-green);
}

#copyContractBtn.copied .copy-tooltip {
    content: "Copied!";
    background: var(--jelly-green);
}


/* Utilities Section */
.utilities {
    padding: 4rem 2rem;
    background: rgba(26, 26, 26, 0.8);
    position: relative;
}

.utilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.utility-card {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-decoration: none;
    color: white;
    will-change: transform;
}

.utility-card:hover {
    transform: translateY(-5px);
    border-color: var(--jelly-purple);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
    background: linear-gradient(135deg, rgba(42,42,42,0.8), rgba(20,20,20,0.9));
}

.utility-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--jelly-purple);
}

.utility-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.utility-desc {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.5;
}

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--jelly-purple);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: bold;
}

.utility-card.secret {
    background: linear-gradient(135deg, rgba(42,42,42,0.8), rgba(20,20,20,0.9));
    border: 2px dashed var(--jelly-purple);
}

.utility-card.secret .utility-icon {
    color: var(--jelly-pink);
}


/* New mutant type colors */
.mutant-type.ape { background-color: #ff9500; color: #000; } /* Bored Ape orange */
.mutant-type.banana { background-color: #fff200; color: #000; } /* Banana yellow */
.mutant-type.dj { background-color: #ff00ff; } /* Neon pink */
.mutant-type.cat { background-color: #9d7cff; } /* Nyan cat purple */
.mutant-type.doge { background-color: #f2a900; color: #000; } /* Dogecoin gold */
.mutant-type.dog { background-color: #ba9f65; } /* Shiba brown */
.mutant-type.zombie { background-color: #00c853; } /* Zombie green */
.mutant-type.fart { background-color: #a5d6a7; color: #000; } /* Pastel green */

.mutant-showcase {
    padding: 4rem 2rem;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(5px);
    position: relative;
}

.section-title {
    transform: rotate(-2deg);
    display: inline-block;
    padding: 0 10px;
    background: linear-gradient(45deg, var(--jelly-purple), var(--jelly-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.mutant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mutant-card {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    will-change: transform;
    backdrop-filter: blur(5px);
}

.mutant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--jelly-purple);
    animation: cardWobble 0.8s ease;
}

@keyframes cardWobble {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    20% { transform: translateY(-10px) rotate(2deg); }
    40% { transform: translateY(5px) rotate(-2deg); }
    60% { transform: translateY(-5px) rotate(1deg); }
    80% { transform: translateY(3px) rotate(-1deg); }
}

.mutant-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #333;
}

.mutant-info {
    padding: 1.2rem;
}

.mutant-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow:
        2px 2px 0px var(--jelly-purple),
        3px 3px 5px rgba(0,0,0,0.5);
    transform: rotate(-2deg);
    display: inline-block;
}

/* Jelly-like text highlights */
.mutant-type {
    font-family: var(--font-special);
    transform: rotate(-3deg);
    display: inline-block;
    padding: 0.3rem 1rem !important;
    border-radius: 50px !important;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.2);
}

.chad { background-color: var(--jelly-blue); }
.giga { background-color: var(--jelly-purple); }
.troll { background-color: var(--jelly-green); }
.pepe { background-color: var(--jelly-yellow); color: #111; }
.bonk { background-color: var(--jelly-red); }

.mutant-desc {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
    padding: 0 1rem;
}

.carousel-slide {
    min-width: 300px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.carousel-slide:hover {
    transform: scale(1.03);
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(156, 39, 255, 0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.carousel-arrow:hover {
    background: var(--jelly-purple);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

/* Hide scrollbar but allow scrolling */
.carousel-track::-webkit-scrollbar {
    display: none;
}


.gallery {
    padding: 4rem 2rem;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(5px);
}

.media-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.tab-button {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-button.active {
    background: linear-gradient(45deg, var(--jelly-purple), var(--jelly-pink));
}

.tab-button:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.media-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 1;
    transition: all 0.3s;
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(5px);
}

.media-item:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.4);
}

.media-item img, .media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.media-item:hover::after {
    opacity: 1;
}

.media-item i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0.7;
    z-index: 2;
    transition: all 0.3s;
}

.media-item:hover i {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Video preview styles */
.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s;
    /* Ensure videos don't show controls */
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* Fix for Safari */
}

/* Hide play icon when videos are autoplaying */
.media-grid.active .media-item i {
    display: none;
}

.media-item:hover .video-preview {
    transform: scale(1.05);
}

/* Make sure videos don't show controls in preview */
.video-preview::-webkit-media-controls {
    display: none !important;
}

.tokenomics {
    padding: 4rem 2rem;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(5px);
}

.tokenomics-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.tokenomics-card {
    flex: 1;
    min-width: 250px;
    background: rgba(42, 42, 42, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border-top: 5px solid var(--jelly-purple);
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    will-change: transform;
}

.tokenomics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tokenomics-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--jelly-purple);
}

.tokenomics-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.tokenomics-desc {
    width: 100%;
    text-align: left;
    padding: 0;
}

.tokenomics-line {
    margin: 0.5rem 0;
    padding: 0.3rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tokenomics-line:last-child {
    border-bottom: none;
}

.percentage {
    font-weight: bold;
    color: var(--jelly-yellow);
    min-width: 3rem;
    display: inline-block;
    text-align: right;
    margin-right: 1rem;
}

.highlight {
    color: var(--jelly-blue);
    font-weight: bold;
    text-align: center;
    margin-top: 0.8rem;
    border: none;
}

/* Icon Colors */
.fa-coins { color: var(--jelly-yellow); }
.fa-chart-pie { color: var(--jelly-pink); }
.fa-trophy { color: var(--jelly-purple); }

.roadmap {
    padding: 4rem 2rem;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(5px);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--jelly-purple), var(--jelly-pink));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 10px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 1.5rem;
    background: rgba(42, 42, 42, 0.8);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--jelly-purple);
    backdrop-filter: blur(5px);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid var(--jelly-pink);
}

.timeline-date {
    font-weight: bold;
    color: var(--jelly-purple);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
    transform: rotate(-1deg);
    display: inline-block;
}

.timeline-desc {
    color: #bbb;
    line-height: 1.5;
    list-style-type: none;
    padding-left: 0;
}

.timeline-desc li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.timeline-desc li:before {
    position: absolute;
    left: 0;
}

.timeline-desc li:nth-child(1):before {
    content: "•";
    color: var(--jelly-green);
}

.timeline-desc li:contains("✅"):before {
    content: "✅";
    color: var(--jelly-green);
}

.timeline-desc li:contains("🫘"):before {
    content: "🫘";
    color: var(--jelly-purple);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--jelly-purple);
    border-radius: 50%;
    top: 20px;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2);
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.community {
    padding: 4rem 2rem;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(5px);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(42, 42, 42, 0.8);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
    text-decoration: none;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.twitter { color: #1DA1F2; }
.telegram { color: #0088cc; }
.discord { color: #5865F2; }
.reddit { color: #FF5700; }
.youtube { color: #FF0000; }

footer {
    padding: 2rem;
    background: rgba(10, 10, 10, 0.7);
    text-align: center;
    border-top: 1px solid #333;
    backdrop-filter: blur(5px);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--jelly-purple), var(--jelly-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--jelly-purple);
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-content img, .modal-content video {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hub-tabs {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .hero h1 {
        animation: 
            jellyBounceMobile 2s infinite ease-in-out,
            rainbowText 8s linear infinite;
    }
    
    @keyframes jellyBounceMobile {
        0%, 100% { transform: translateY(0) scale(1) rotate(-1deg); }
        50% { transform: translateY(-3px) scale(1.03) rotate(-2deg); }
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .timeline::before {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 21px;
    }

    .timeline-item:nth-child(odd)::after {
        right: auto;
        left: 21px;
    }

    .timeline-content {
        border-left: 4px solid var(--jelly-purple) !important;
        border-right: none !important;
    }
    
    .mutant-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    .mutant-name {
        font-size: 1.1rem;
    }
    .mutant-desc {
        font-size: 0.8rem;
    }
    
    .tokenomics-line {
        font-size: 0.9rem;
    }
    .percentage {
        min-width: 2.5rem;
        margin-right: 0.5rem;
    }
    
    .carousel-slide {
        min-width: 250px;
        height: 250px;
    }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
    }
    
    .utilities-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .reward-desc {
        font-size: 0.9rem;
    }
    .reward-title {
        font-size: 1.2rem;
    }

/* Animation classes */
.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.spin {
    animation: spin 10s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    /* Completely remove the main navigation */
    nav {
        display: none;
    }
    
    /* Simplify header layout */
    header {
        flex-direction: row;
        padding: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .hub-tabs {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .hub-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Adjust hero section for mobile */
    .hero h1 {
        font-size: 2rem;
    }
    
    /* Ensure content is still accessible via scrolling */
    section {
        scroll-margin-top: 60px;
    }
}

/* Mobile menu styles */
.mobile-menu-button {
    display: flex;
    background: var(--jelly-purple);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    font-weight: bold;
    margin-bottom: 1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(42, 42, 42, 0.9);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--jelly-purple);
    padding-left: 1.5rem;

}
