/* Reset and Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #1a1a3d, #800080);
    color: #fff;
    overflow-x: hidden;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
}

/* Cursor Glow Overlay */
.cursor-glow {
    position: fixed;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: all 0.02s ease;
}

/* Comic Sound Effect */
.comic-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1001;
}

.comic-sound {
    position: absolute;
    font-family: 'Chewy', cursive;
    font-size: 2rem;
    color: #ff69b4;
    text-shadow: 2px 2px #800080, 0 0 10px #ff69b4;
    transform: translate(-50%, -50%);
    animation: comicSound 1s forwards;
}

@keyframes comicSound {
    0% { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.5) rotate(10deg); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0; }
}

/* Radial Wipe Overlay */
.radial-wipe-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ff69b4;
    z-index: 1000;
    clip-path: circle(0% at 50% 50%);
}

.radial-wipe-overlay.wipe {
    display: block;
    animation: radialWipe 1s forwards;
}

@keyframes radialWipe {
    0% { clip-path: circle(0% at 50% 50%); }
    100% { clip-path: circle(150% at 50% 50%); }
}

.radial-wipe-overlay.wipe-out {
    display: block;
    animation: radialWipeOut 1s forwards;
}

@keyframes radialWipeOut {
    0% { clip-path: circle(150% at 50% 50%); }
    100% { clip-path: circle(0% at 50% 50%); }
}

/* Pop-Art Inspired Typography with Chewy Font */
h1, h2, h3 {
    font-family: 'Chewy', cursive;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px #800080;
    color: #ff69b4;
}

/* Reduced Neon Glow Effect for Headings */
h1, h2, h3, .contract-address {
    text-shadow: 2px 2px #800080, 0 0 5px #ff69b4;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

/* Adjusted Starburst effect behind section titles */
.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #ff69b4 5%, transparent 60%);
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    z-index: -1;
    animation: starburst 1s forwards;
    animation-delay: 0.5s;
}

/* Starburst animation */
@keyframes starburst {
    0% { transform: translate(-50%, -50%) rotate(45deg) scale(0); opacity: 0; }
    50% { transform: translate(-50%, -50%) rotate(45deg) scale(1.2); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) rotate(45deg) scale(1); opacity: 0.2; }
}

/* Animated underline for section titles */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: #800080;
    animation: expand 1s ease-in-out;
}

/* Hero Section with Speech Bubbles */
.hero {
    position: relative;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    color: #fff;
    padding: 0;
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 100%; /* Match the hero-background size */
    height: 100%; /* Match the hero-background size */
    object-fit: contain; /* Ensure the image scales correctly */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Banner3.png') no-repeat center center fixed; /* Use background image for parallax */
    background-size: cover;
    opacity: 0.8; /* Match the opacity previously applied to .hero-image */
}

/* Remove the hero-image since we're using background image for parallax */
.hero-image {
    display: none; /* No longer needed */
}

/* Speech Bubbles */
.speech-bubble-container {
    position: relative;
    margin: 1rem 0;
}

.speech-bubble {
    background: #fff;
    border: 3px solid #800080;
    border-radius: 15px;
    padding: 0.5rem 1rem;
    margin: 1rem;
    position: relative;
    display: inline-block;
    box-shadow: 3px 3px #800080;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top: 10px solid #800080;
}

.speech-bubble p {
    font-family: 'Chewy', cursive;
    font-size: 1.2rem;
    color: #800080;
    margin: 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ff69b4;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    border: 3px solid #800080;
    box-shadow: 3px 3px #800080, 0 0 10px #ff69b4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px #ff69b4, 0 0 15px #ff69b4;
}

/* Teasers Section */
.teasers-section {
    padding: 4rem 1rem;
    background: transparent;
    width: 100%;
    background-image: radial-gradient(circle, #800080 1px, transparent 1px);
    background-size: 10px 10px;
    position: relative;
    overflow: visible; /* Ensure no overflow issues */
}

.teasers-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="40" viewBox="0 0 60 40"><path d="M0,40 L10,10 L20,30 L30,0 L40,30 L50,10 L60,40" fill="none" stroke="#ff69b4" stroke-width="6" stroke-linecap="round"/><path d="M15,20 L25,20 M35,20 L45,20" fill="none" stroke="#800080" stroke-width="4"/></svg>') repeat-x;
    background-size: 60px 40px;
    animation: jiggleDivider 0.5s infinite alternate ease-in-out;
    z-index: 1;
}

@keyframes jiggleDivider {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.teaser-video-container {
    max-width: 1200px; /* Adjusted to match 1920x1080 at a smaller scale */
	max-height: 400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: block !important; /* Ensure visibility */
}

/* Ensure the video maintains a 16:9 aspect ratio (1920x1080) */
.teaser-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (1080/1920 = 0.5625) */
    height: 0;
    overflow: visible;
}

.teaser-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #800080;
    border-radius: 10px;
    box-shadow: 5px 5px #800080, 0 0 10px #ff69b4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teaser-video-iframe:hover {
    transform: scale(1.03);
    box-shadow: 8px 8px #800080, 0 0 15px #ff69b4;
}

.teaser-video-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Characters Section */
.characters-section {
    padding: 4rem 1rem;
    background: transparent;
    width: 100%;
    background-image: radial-gradient(circle, #800080 1px, transparent 1px);
    background-size: 10px 10px;
    position: relative;
    overflow: hidden;
}

.characters-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="40" viewBox="0 0 60 40"><path d="M0,40 L10,10 L20,30 L30,0 L40,30 L50,10 L60,40" fill="none" stroke="#ff69b4" stroke-width="6" stroke-linecap="round"/><path d="M15,20 L25,20 M35,20 L45,20" fill="none" stroke="#800080" stroke-width="4"/></svg>') repeat-x;
    background-size: 60px 40px;
    animation: jiggleDivider 0.5s infinite alternate ease-in-out;
    z-index: 1;
}

.character-selection {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0 0.5rem;
}

.character-slot {
    position: relative;
    width: 250px;
    height: 400px;
    text-align: center;
    z-index: 1;
    transition: transform 0.3s;
}

.character-slot:hover {
    transform: scale(1.1);
    z-index: 2;
}

.character-slot:hover .character-bg {
    opacity: 1;
    box-shadow: 8px 8px #ff69b4;
}

.character-slot:hover .character-image {
    transform: rotate(5deg);
}

.character-slot.active .character-image {
    animation: pulse 1s infinite;
}

.character-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: skew(-15deg);
    z-index: 1;
    opacity: 0.7;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 1.5rem;
    transition: opacity 0.3s, box-shadow 0.3s;
    border: 3px solid #800080;
    border-radius: 10px;
}

.character-bg-blue { background-color: #00b7eb; }
.character-bg-yellow { background-color: #ff69b4; }
.character-bg-purple { background-color: #800080; }
.character-bg-red { background-color: #ff69b4; }

.character-name {
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 3px 3px #800080;
    transform: skew(15deg);
    z-index: 2;
}

.character-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.3s;
    border: none;
}

/* Tokenomics Section */
.tokenomics-section {
    padding: 4rem 1rem;
    background: transparent;
    color: #fff;
    position: relative;
    width: 100%;
    background-image: radial-gradient(circle, #800080 1px, transparent 1px);
    background-size: 10px 10px;
    overflow: hidden;
}

.tokenomics-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="40" viewBox="0 0 60 40"><path d="M0,40 L10,10 L20,30 L30,0 L40,30 L50,10 L60,40" fill="none" stroke="#ff69b4" stroke-width="6" stroke-linecap="round"/><path d="M15,20 L25,20 M35,20 L45,20" fill="none" stroke="#800080" stroke-width="4"/></svg>') repeat-x;
    background-size: 60px 40px;
    animation: jiggleDivider 0.5s infinite alternate ease-in-out;
    z-index: 1;
}

.tokenomics-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 0.5rem;
}

.contract-address {
    font-family: 'Chewy', cursive;
    font-size: 1.5rem;
    color: #ff69b4;
    margin-bottom: 1rem;
    text-shadow: 2px 2px #800080;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s, transform 0.5s;
}

.contract-address.visible {
    opacity: 1;
    transform: translateY(0);
}

.tokenomics-boxes {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tokenomics-box {
    background-color: #800080;
    border: 3px solid #ff69b4;
    border-radius: 10px;
    padding: 1rem;
    width: 250px;
    text-align: center;
    box-shadow: 5px 5px #ff69b4, 0 0 10px #ff69b4;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.tokenomics-box:hover {
    transform: scale(1.1);
    box-shadow: 8px 8px #ff69b4, 0 0 15px #ff69b4;
    background-color: #ff69b4;
}

.tokenomics-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.tokenomics-box:nth-child(1) { transition-delay: 0.1s; }
.tokenomics-box:nth-child(2) { transition-delay: 0.2s; }
.tokenomics-box:nth-child(3) { transition-delay: 0.3s; }

.tokenomics-box h3 {
    color: #ff69b4;
    font-size: 1.5rem;
    text-shadow: 2px 2px #800080;
    margin-bottom: 0.5rem;
}

.tokenomics-box p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #fff;
}

/* Roadmap Section */
.roadmap-section {
    padding: 4rem 1rem;
    background: transparent;
    width: 100%;
    background-image: radial-gradient(circle, #800080 1px, transparent 1px);
    background-size: 10px 10px;
    position: relative;
    overflow: hidden;
}

.roadmap-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="40" viewBox="0 0 60 40"><path d="M0,40 L10,10 L20,30 L30,0 L40,30 L50,10 L60,40" fill="none" stroke="#ff69b4" stroke-width="6" stroke-linecap="round"/><path d="M15,20 L25,20 M35,20 L45,20" fill="none" stroke="#800080" stroke-width="4"/></svg>') repeat-x;
    background-size: 60px 40px;
    animation: jiggleDivider 0.5s infinite alternate ease-in-out;
    z-index: 1;
}

.roadmap-timeline {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 6px;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="20" viewBox="0 0 6 20"><path d="M3,0 V20" stroke="#ff69b4" stroke-width="6" stroke-linecap="round" stroke-dasharray="10,10"/></svg>') repeat-y;
    background-size: 6px 20px;
    transform: translateX(-50%);
    z-index: 0;
}

.roadmap-item {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 2rem 0;
    z-index: 1;
    opacity: 0;
    transform: translateX(0) rotate(0deg);
    transition: opacity 0.5s, transform 0.5s;
}

.roadmap-item:nth-child(odd) {
    transform: translateX(-20%) rotate(-5deg);
}

.roadmap-item:nth-child(even) {
    transform: translateX(20%) rotate(5deg);
}

.roadmap-item.visible {
    opacity: 1;
    animation: comicPopInRoadmap 0.8s ease-out forwards;
}

.roadmap-item:hover {
    transform: translateX(0) rotate(0deg) scale(1.05);
}

.roadmap-content {
    background-color: #fff;
    border: 4px solid #800080;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 6px 6px #ff69b4, 0 0 15px #ff69b4;
    position: relative;
    background-image: radial-gradient(circle, rgba(255, 105, 180, 0.2) 1px, transparent 1px);
    background-size: 8px 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.roadmap-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #ff69b4 5%, transparent 60%);
    opacity: 0;
    z-index: -1;
    animation: starburstRoadmap 1s infinite;
}

.roadmap-content:nth-child(odd)::before {
    left: -40px;
    transform: translateY(-50%) rotate(45deg);
}

.roadmap-content:nth-child(even)::before {
    right: -40px;
    transform: translateY(-50%) rotate(45deg);
}

.roadmap-content h3 {
    color: #800080;
    text-shadow: 2px 2px #ff69b4;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.roadmap-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #800080;
}

/* Roadmap Animations */
@keyframes comicPopInRoadmap {
    0% { transform: scale(0) rotate(0deg); opacity: 0; }
    70% { transform: scale(1.1) rotate(10deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes starburstRoadmap {
    0% { transform: translateY(-50%) rotate(45deg) scale(0); opacity: 0; }
    50% { transform: translateY(-50%) rotate(45deg) scale(1.2); opacity: 0.5; }
    100% { transform: translateY(-50%) rotate(45deg) scale(1); opacity: 0.3; }
}

/* Episodes Section */
.episodes-section {
    padding: 4rem 1rem;
    background: transparent;
    width: 100%;
    background-image: radial-gradient(circle, #800080 1px, transparent 1px);
    background-size: 10px 10px;
    position: relative;
    overflow: hidden;
}

.episodes-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="40" viewBox="0 0 60 40"><path d="M0,40 L10,10 L20,30 L30,0 L40,30 L50,10 L60,40" fill="none" stroke="#ff69b4" stroke-width="6" stroke-linecap="round"/><path d="M15,20 L25,20 M35,20 L45,20" fill="none" stroke="#800080" stroke-width="4"/></svg>') repeat-x;
    background-size: 60px 40px;
    animation: jiggleDivider 0.5s infinite alternate ease-in-out;
    z-index: 1;
}

.episodes-comic {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carousel-arrows {
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 100; /* Ensure arrows are above panels */
}

.episodes-stack {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    justify-content: center; /* Center the entire stack */
    width: 100%;
    max-width: 600px; /* Limit the width to prevent overflow */
    margin: 0 auto; /* Center the stack horizontally */
}

.episode-panel {
    position: relative;
    flex: 0 0 250px; /* Fixed width for each panel */
    background-color: #1a1a3d;
    border: 5px solid #ff69b4;
    border-radius: 15px;
    box-shadow: 8px 8px #800080, 0 0 10px #ff69b4;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add hover transition */
}

.episode-panel:hover:not(.placeholder) {
    transform: scale(1.05); /* Scale up on hover */
    box-shadow: 10px 10px #800080, 0 0 15px #ff69b4; /* Enhanced shadow on hover */
    cursor: pointer;
}

.episode-panel.placeholder {
    cursor: default;
}

.episode-panel.active {
    z-index: 3;
}

.episode-panel:not(.active) {
    filter: grayscale(50%) brightness(0.7);
    z-index: 2;
}

.episode-panel.episode-left {
    transform: scale(0.7) translateX(-70px);
    z-index: 2;
}

.episode-panel.episode-center {
    transform: scale(1);
    z-index: 3;
}

.episode-panel.episode-right {
    transform: scale(0.7) translateX(70px);
    z-index: 2;
}

.episode-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-bottom: 3px solid #ff69b4;
}

.episode-info {
    padding: 0.5rem;
    text-align: center;
}

.episode-info h3 {
    color: #ff69b4;
    font-family: 'Chewy', cursive;
    font-size: 1.5rem;
    text-shadow: 2px 2px #800080;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.episode-info p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.2;
}

.carousel-arrow {
    display: inline-block !important; /* Force display */
    background-color: #ff69b4;
    color: #fff;
    border: 2px solid #800080;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    z-index: 100; /* Ensure arrows are above everything */
    visibility: visible; /* Force visibility */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Add transition for hover effect */
}

.carousel-arrow:hover {
    transform: scale(1.1); /* Scale up on hover */
    background-color: #ff85c0; /* Slightly lighter pink on hover */
    box-shadow: 0 0 10px #ff69b4; /* Add glow effect on hover */
}

/* Community Section */
.community-section {
    padding: 4rem 1rem;
    background: transparent;
    color: #fff;
    text-align: center;
    width: 100%;
    background-image: radial-gradient(circle, #800080 1px, transparent 1px);
    background-size: 10px 10px;
    position: relative;
    overflow: hidden;
}

.community-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="40" viewBox="0 0 60 40"><path d="M0,40 L10,10 L20,30 L30,0 L40,30 L50,10 L60,40" fill="none" stroke="#ff69b4" stroke-width="6" stroke-linecap="round"/><path d="M15,20 L25,20 M35,20 L45,20" fill="none" stroke="#800080" stroke-width="4"/></svg>') repeat-x;
    background-size: 60px 40px;
    animation: jiggleDivider 0.5s infinite alternate ease-in-out;
    z-index: 1;
}

.social-links {
    margin-top: 1rem;
}

.social-icon {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    background-color: #ff69b4;
    color: #fff;
    text-decoration: none;
    border: 2px solid #800080;
    border-radius: 5px;
    box-shadow: 3px 3px #800080, 0 0 10px #ff69b4;
    transition: transform 0.2s, box-shadow 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px #ff69b4, 0 0 15px #ff69b4;
}

/* Footer */
.footer {
    padding: 4rem 1rem;
    background: transparent;
    color: #fff;
    text-align: center;
    width: 100%;
    background-image: radial-gradient(circle, #800080 1px, transparent 1px);
    background-size: 10px 10px;
    position: relative;
    overflow: hidden;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="40" viewBox="0 0 60 40"><path d="M0,40 L10,10 L20,30 L30,0 L40,30 L50,10 L60,40" fill="none" stroke="#ff69b4" stroke-width="6" stroke-linecap="round"/><path d="M15,20 L25,20 M35,20 L45,20" fill="none" stroke="#800080" stroke-width="4"/></svg>') repeat-x;
    background-size: 60px 40px;
    animation: jiggleDivider 0.5s infinite alternate ease-in-out;
    z-index: 1;
}

/* Comic Pages Section */
.comic-section {
    padding: 2rem;
    background: linear-gradient(to bottom, #1a1a3d, #800080);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.comic-title {
    font-family: 'Chewy', cursive;
    font-size: 3rem;
    color: #ff69b4;
    text-shadow: 2px 2px #800080, 0 0 10px #ff69b4;
    margin-bottom: 2rem;
    text-align: center;
}

.comic-pages {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.comic-stack {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 500px;
}

.comic-spread {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.comic-page {
    max-width: 100%;
    height: auto;
    border: 3px solid #800080;
    box-shadow: 5px 5px #ff69b4;
    transition: transform 0.3s ease;
}

.comic-page:hover {
    transform: scale(1.05);
}

/* Desktop: Two pages side by side */
@media (min-width: 769px) {
    .comic-page {
        width: 45%;
        max-height: 80vh;
        object-fit: contain;
    }
}

/* Mobile: Ensure the hero section and video are visible */

@media (max-width: 768px) {
    .hero {
        position: relative; /* Ensure it scrolls naturally */
        width: 100vw;
        height: 100vh; /* Full viewport height */
    }

    .hero-background {
        width: 100%;
        height: 100%;
        background-attachment: fixed; /* Enable parallax on mobile */
    }

    .hero-text {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Maintain the banner text scaling */
    }

    /* Remove the top offset since hero is no longer fixed */
    .episodes-section,
    .characters-section,
    .tokenomics-section,
    .roadmap-section,
    .teasers-section,
    .community-section,
    .footer {
        position: relative;
        top: 0; /* Remove the offset */
    }

    .comic-page {
        width: 90%;
        max-height: 70vh;
        object-fit: contain;
    }

    .speech-bubble p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-title::after {
        width: 80px;
    }

    .section-title::before {
        width: 80px;
        height: 80px;
    }



    .tokenomics-boxes {
        flex-direction: column;
        align-items: center;
    }

    .tokenomics-box {
        width: 220px;
    }

    .contract-address {
        font-size: 1.2rem;
    }

    .character-selection {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }

    .character-slot {
        width: 220px;
        height: 300px;
    }

    .character-name {
        font-size: 1.2rem;
    }

    .roadmap-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .roadmap-item {
        max-width: 300px;
    }

    .roadmap-item:nth-child(odd),
    .roadmap-item:nth-child(even) {
        transform: translateX(0) rotate(0deg);
    }

    .episodes-stack {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        max-width: 400px;
    }

    .episode-panel {
        flex: 0 0 200px; /* Smaller width on mobile */
    }

    .episode-image {
        height: 250px;
    }

    .episode-info h3 {
        font-size: 1.2rem;
    }

    .episode-info p {
        font-size: 0.9rem;
    }

    .episode-panel.episode-left {
        transform: scale(0.7) translateX(-30px); /* Closer on mobile */
    }

    .episode-panel.episode-right {
        transform: scale(0.7) translateX(30px); /* Closer on mobile */
    }

    .carousel-arrows {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

    .carousel-arrow {
        display: inline-block !important; /* Force display */
        visibility: visible !important; /* Force visibility */
    }
}

@media (max-width: 480px) {
    .hero {
        position: relative; /* Ensure it scrolls naturally */
        width: 100vw;
        height: 100vh; /* Full viewport height */
    }

    .hero-background {
        width: 100%;
        height: 100%;
        background-attachment: fixed; /* Enable parallax on mobile */
    }

    .hero-text {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Maintain the banner text scaling */
    }

    /* Remove the top offset since hero is no longer fixed */
    .episodes-section,
    .characters-section,
    .tokenomics-section,
    .roadmap-section,
    .teasers-section,
    .community-section,
    .footer {
        position: relative;
        top: 0; /* Remove the offset */
    }

    .speech-bubble p {
        font-size: 0.8rem;
    }

    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title::after {
        width: 60px;
    }

    .section-title::before {
        width: 60px;
        height: 60px;
    }



    .tokenomics-box {
        width: 200px;
    }

    .tokenomics-box h3 {
        font-size: 1.2rem;
    }

    .tokenomics-box p {
        font-size: 0.9rem;
    }

    .contract-address {
        font-size: 1rem;
    }

    .character-slot {
        width: 200px;
        height: 280px;
    }

    .character-name {
        font-size: 1rem;
    }

    .episode-panel {
        flex: 0 0 150px; /* Even smaller width on very small screens */
    }

    .episode-image {
        height: 200px;
    }

    .episode-info h3 {
        font-size: 1rem;
    }

    .episode-info p {
        font-size: 0.8rem;
    }

    .episode-panel.episode-left {
        transform: scale(0.7) translateX(-20px); /* Even closer on very small screens */
    }

    .episode-panel.episode-right {
        transform: scale(0.7) translateX(20px); /* Even closer on very small screens */
    }
}