/* Import custom font */
@font-face {
    font-family: 'GameFont';
    src: url('../assets/fonts/SharpsGF.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0e0c08;
    color: #fff;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(14, 12, 8, 0.9);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f5bc2f;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Slideshow styles */
.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slideshow .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow .slide.active {
    opacity: 1;
}

/* Video slide styles */
.video-slide {
    background-color: rgba(0,0,0,0.6) !important;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.video-slide.active {
    opacity: 1;
}

.video-slide video,
.video-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the video covers the entire container */
}

/* Game Section */
#game {
    background: 
        linear-gradient(
            135deg,
            rgba(77, 37, 168, 0.9) 0%,
            rgba(77, 37, 168, 0.8) 50%,
            rgba(77, 37, 168, 0.9) 100%
        ),
        url('../assets/best/promo/banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates parallax effect */
    min-height: 80vh;
    position: relative;
}

#game-container {
    width: 100%;
    height: 70vh;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    /* Ensure game container stays above background */
    z-index: 2;
}

/* Optional: Add subtle animation to enhance the background */
#game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(75, 0, 130, 0.1) 0%, transparent 40%);
    animation: gameBackgroundShift 12s ease-in-out infinite alternate;
    z-index: 1;
    pointer-events: none;
}

@keyframes gameBackgroundShift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate3d(10px, -15px, 0) scale(1.02);
        opacity: 0.8;
    }
}

/* Ensure all content within the game section stays above background elements */
#game > *:not(::before) {
    position: relative;
    z-index: 2;
}
#game-canvas {
    width: 100%;
    height: 100%;
}

.game-controls {
    background: rgba(0,0,0,0.7);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    display: inline-block;
}

.game-controls p {
    margin-bottom: 10px;
}

#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    }
    #hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
    135deg,
    rgba(107, 63, 160, 0.8) 0%,
    rgba(107, 63, 160, 0.6) 50%,
    rgba(107, 63, 160, 0.9) 100%
    );
    z-index: 0;
    }
    #hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
    radial-gradient(circle at 20% 20%, rgba(0, 206, 209, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 69, 0, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 70%, rgba(255, 255, 0, 0.2) 0%, transparent 50%);
    animation: particleFloat 6s ease-in-out infinite alternate;
    z-index: 0;
    }
    @keyframes particleFloat {
    0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
    }
    100% {
    transform: translateY(-20px) rotate(5deg);
    opacity: 1;
    }
    }
    #hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    z-index: 1;
    animation: fadeIn 2s ease-in, rivalGlow 3s ease-in-out infinite alternate;
    font-family: 'GameFont', 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF69B4;
    text-shadow:
    0 0 10px rgba(255, 105, 180, 0.8),
    0 0 20px rgba(255, 105, 180, 0.6),
    0 0 30px rgba(255, 105, 180, 0.4),
    2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    }
    @keyframes rivalGlow {
    0% {
    text-shadow:
    0 0 10px rgba(255, 105, 180, 0.8),
    0 0 20px rgba(255, 105, 180, 0.6),
    0 0 30px rgba(255, 105, 180, 0.4),
    2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    100% {
    text-shadow:
    0 0 15px rgba(255, 105, 180, 1),
    0 0 25px rgba(255, 105, 180, 0.8),
    0 0 35px rgba(255, 105, 180, 0.6),
    2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    }
    #hero h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'GameFont', 'Orbitron', sans-serif;
    color: #FFC107;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding: 15px 25px;
    background: linear-gradient(
    135deg,
    rgba(107, 63, 160, 0.9) 0%,
    rgba(107, 63, 160, 0.7) 50%,
    rgba(107, 63, 160, 0.9) 100%
    );
    border: 3px solid #FFC107;
    border-radius: 10px;
    box-shadow:
    0 0 20px rgba(255, 193, 7, 0.6),
    inset 0 0 20px rgba(255, 193, 7, 0.1);
    z-index: 1;
    animation: memecoinPulse 2s ease-in-out infinite alternate;
    text-shadow:
    0 0 8px rgba(255, 193, 7, 0.8),
    2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    @keyframes memecoinPulse {
    0% {
    box-shadow:
    0 0 20px rgba(255, 193, 7, 0.6),
    inset 0 0 20px rgba(255, 193, 7, 0.1);
    }
    100% {
    box-shadow:
    0 0 30px rgba(255, 193, 7, 0.8),
    inset 0 0 30px rgba(255, 193, 7, 0.2);
    }
    }
    #hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    z-index: 1;
    color: #FFFFFF;
    text-shadow:
    0 0 10px rgba(0, 206, 209, 0.6),
    1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    }
    .cta-button {
    background: linear-gradient(
    135deg,
    #FFC107 0%,
    #FFD700 50%,
    #FF69B4 100%
    );
    color: #000;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
    box-shadow:
    0 0 20px rgba(255, 193, 7, 0.5),
    0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #FFFF00;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    .cta-button:hover {
    transform: scale(1.1) translateY(-3px);
    background: linear-gradient(
    135deg,
    #FF4500 0%,
    #FF69B4 50%,
    #00CED1 100%
    );
    color: #FFF;
    box-shadow:
    0 0 30px rgba(255, 105, 180, 0.7),
    0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #00CED1;
    }
    

/* Section Styles */
section {
    padding: 5rem 2rem;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'GameFont', 'Orbitron', sans-serif;
    color: #f5bc2f;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(236,36,112,0.8) 0%, rgba(245,188,47,0.8) 100%);
    border-radius: 3px;
}

section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'GameFont', 'Orbitron', sans-serif;
    color: #FF69B4;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(245,188,47,0.8) 0%, rgba(236,36,112,0.8) 100%);
    border-radius: 2px;
}

/* About Section */
#about {
    background: #4f3b61;
}

#about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Tokenomics Section */
#tokenomics {
    background: #0e0c08;
}

.tokenomics-chart {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.token-item {
    background: #f5bc2f;
    color: #0e0c08;
    padding: 1.5rem;
    border-radius: 10px;
    width: 200px;
    transition: transform 0.3s;
}

.token-item:hover {
    transform: translateY(-10px);
    background: #ec2470;
}

/* Roadmap Section - Enhanced Colors and Visual Appeal */
#roadmap {
    background: url('../assets/background.png') center center/cover;  /* Replace with your image path */
    position: relative;
    overflow: hidden;
}

#roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        rgba(0, 0, 0, 0.5),  /* Dark overlay for better text readability */
        radial-gradient(circle at 15% 25%, rgba(255, 105, 180, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(0, 206, 209, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 193, 7, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 25% 75%, rgba(255, 69, 0, 0.2) 0%, transparent 50%);
    animation: roadmapParticles 10s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes roadmapParticles {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
        opacity: 0.7;
    }
    100% {
        transform: translate3d(0, -20px, 0) rotate(2deg);
        opacity: 1;
    }
}

#roadmap h2 {
    color: #FFC107;
    text-shadow: 
        0 0 20px rgba(255, 193, 7, 0.8),
        0 0 40px rgba(255, 193, 7, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 1;
    animation: roadmapTitleGlow 3s ease-in-out infinite alternate;
}

@keyframes roadmapTitleGlow {
    0% {
        text-shadow: 
            0 0 20px rgba(255, 193, 7, 0.8),
            0 0 40px rgba(255, 193, 7, 0.4),
            2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    100% {
        text-shadow: 
            0 0 25px rgba(255, 193, 7, 1),
            0 0 50px rgba(255, 193, 7, 0.6),
            2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.roadmap-item {
    background: linear-gradient(
        135deg,
        rgba(255, 105, 180, 0.9) 0%,
        rgba(0, 206, 209, 0.8) 50%,
        rgba(255, 193, 7, 0.9) 100%
    );
    padding: 0;
    border-radius: 20px;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(
        45deg,
        #FF69B4 0%,
        #00CED1 25%,
        #FFC107 50%,
        #FF4500 75%,
        #FF69B4 100%
    );
    border-radius: 23px;
    z-index: -1;
    animation: roadmapBorderGlow 4s linear infinite;
}

@keyframes roadmapBorderGlow {
    0% {
        transform: rotate(0deg);
        filter: hue-rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

.roadmap-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(255, 105, 180, 0.5);
}

.roadmap-item:nth-child(odd) {
    background: linear-gradient(
        135deg,
        rgba(0, 206, 209, 0.9) 0%,
        rgba(255, 193, 7, 0.8) 50%,
        rgba(255, 105, 180, 0.9) 100%
    );
}

.roadmap-item:nth-child(even) {
    background: linear-gradient(
        135deg,
        rgba(255, 193, 7, 0.9) 0%,
        rgba(255, 69, 0, 0.8) 50%,
        rgba(0, 206, 209, 0.9) 100%
    );
}

.roadmap-overlay {
    background: rgba(14, 12, 8, 0.85);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 3px;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.roadmap-overlay h3 {
    color: #FFC107;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-family: 'GameFont', 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
        0 0 15px rgba(255, 193, 7, 0.8),
        0 0 30px rgba(255, 193, 7, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
}

.roadmap-overlay h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #FF69B4 0%,
        #00CED1 50%,
        #FFC107 100%
    );
    border-radius: 3px;
    animation: underlineGlow 2s ease-in-out infinite alternate;
}

@keyframes underlineGlow {
    0% {
        box-shadow: 0 0 10px rgba(255, 105, 180, 0.6);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 105, 180, 1);
    }
}

.roadmap-overlay p {
    color: #FFFFFF;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    position: relative;
    padding-left: 20px;
}

.roadmap-overlay p::before {
    content: '🚀';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
    animation: rocketBounce 2s ease-in-out infinite;
}

.roadmap-overlay p:nth-child(even)::before {
    content: '⭐';
}

.roadmap-overlay p:nth-child(3)::before {
    content: '💎';
}

.roadmap-overlay p:nth-child(4)::before {
    content: '🎮';
}

.roadmap-overlay p:nth-child(5)::before {
    content: '🏆';
}

.roadmap-overlay p:nth-child(6)::before {
    content: '🌟';
}

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

/* Add quarter labels with enhanced styling */
.roadmap-item::after {
    content: attr(data-quarter);
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(
        135deg,
        #FF69B4 0%,
        #FFC107 100%
    );
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 105, 180, 0.4);
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .roadmap-timeline {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .roadmap-overlay {
        padding: 1.5rem;
    }
    
    .roadmap-overlay h3 {
        font-size: 1.8rem;
    }
    
    .roadmap-overlay p {
        font-size: 1rem;
    }
    
    /* Disable heavy animations on mobile */
    .roadmap-item::before {
        animation: none;
        background: linear-gradient(45deg, #FF69B4, #00CED1, #FFC107);
    }
    
    #roadmap::before {
        animation: none;
        opacity: 0.5;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .roadmap-item::before,
    #roadmap::before,
    .roadmap-overlay h3::after,
    .roadmap-overlay p::before {
        animation: none;
    }
    
    .roadmap-item {
        transition: none;
    }
}

/* Character Gallery Section - Enhanced Colors and Visual Appeal */
.character-gallery {
    background: url('../assets/best/Art-Style-Poster.png') center center/cover;
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
    /* Performance optimizations */
    contain: layout style;
    will-change: transform;
    backface-visibility: hidden;
    z-index: 1;
}


/* Remove or adjust the gallery-background styling */
.gallery-background {
    display: none; /* Or remove this element from HTML if not needed */
}

.character-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        rgba(0, 0, 0, 0.5),
        radial-gradient(circle at 15% 25%, rgba(255, 105, 180, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(0, 206, 209, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 193, 7, 0.2) 0%, transparent 50%);
    z-index: -1;
}

.gallery-content {
    position: relative;
    z-index: 2;
}

.customization-title {
    color: #FFC107;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 
        0 0 10px rgba(255, 193, 7, 0.5),
        0 0 20px rgba(255, 193, 7, 0.3),
        0 0 30px rgba(255, 193, 7, 0.2);
    background: linear-gradient(135deg, #FFC107 0%, #FF69B4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 
            0 0 10px rgba(255, 193, 7, 0.5),
            0 0 20px rgba(255, 193, 7, 0.3),
            0 0 30px rgba(255, 193, 7, 0.2);
    }
    to {
        text-shadow: 
            0 0 15px rgba(255, 193, 7, 0.7),
            0 0 25px rgba(255, 193, 7, 0.5),
            0 0 35px rgba(255, 193, 7, 0.3);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .customization-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

.arena-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 105, 180, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 206, 209, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 193, 7, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(255, 69, 0, 0.3) 0%, transparent 50%);
    animation: galleryParticles 12s ease-in-out infinite alternate;
    /* Performance optimizations */
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@keyframes galleryParticles {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
        opacity: 0.7;
    }
    100% {
        transform: translate3d(0, -25px, 0) rotate(3deg);
        opacity: 1;
    }
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 255, 0, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 20, 147, 0.2) 0%, transparent 40%);
    animation: floatingEffect 8s ease-in-out infinite alternate-reverse;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
}

@keyframes floatingEffect {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate3d(0, -15px, 0) scale(1.02);
        opacity: 0.8;
    }
}

.gallery-content h2 {
    color: #FFC107;
    text-shadow: 
        0 0 20px rgba(255, 193, 7, 0.8),
        0 0 40px rgba(255, 193, 7, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: galleryTitleGlow 3s ease-in-out infinite alternate;
    margin-bottom: 1rem;
}

@keyframes galleryTitleGlow {
    0% {
        text-shadow: 
            0 0 20px rgba(255, 193, 7, 0.8),
            0 0 40px rgba(255, 193, 7, 0.4),
            2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    100% {
        text-shadow: 
            0 0 25px rgba(255, 193, 7, 1),
            0 0 50px rgba(255, 193, 7, 0.6),
            2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

.section-description {
    color: #FFFFFF;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    text-shadow: 
        0 0 10px rgba(0, 206, 209, 0.6),
        1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.character-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.character-card {
    background: linear-gradient(
        135deg,
        rgba(255, 105, 180, 0.9) 0%,
        rgba(0, 206, 209, 0.8) 50%,
        rgba(255, 193, 7, 0.9) 100%
    );
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    background-clip: padding-box;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style;
}

.character-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(
        45deg,
        #FF69B4 0%,
        #00CED1 25%,
        #FFC107 50%,
        #FF4500 75%,
        #FF69B4 100%
    );
    border-radius: 23px;
    z-index: -1;
    animation: characterBorderGlow 4s linear infinite;
}

@keyframes characterBorderGlow {
    0% {
        transform: rotate(0deg);
        filter: hue-rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

.character-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(255, 105, 180, 0.5);
}

.character-card:nth-child(2n) {
    background: linear-gradient(
        135deg,
        rgba(0, 206, 209, 0.9) 0%,
        rgba(255, 193, 7, 0.8) 50%,
        rgba(255, 105, 180, 0.9) 100%
    );
}

.character-card:nth-child(3n) {
    background: linear-gradient(
        135deg,
        rgba(255, 193, 7, 0.9) 0%,
        rgba(255, 69, 0, 0.8) 50%,
        rgba(0, 206, 209, 0.9) 100%
    );
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    border-radius: 20px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.character-card:hover .card-glow {
    opacity: 1;
}

.character-frame {
    background: rgba(14, 12, 8, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.character-image-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FFC107;
    box-shadow: 
        0 0 20px rgba(255, 193, 7, 0.6),
        inset 0 0 20px rgba(255, 193, 7, 0.1);
}

.character-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.character-card:hover .character-image-container img {
    transform: scale(1.1);
}

.character-aura {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    z-index: -1;
    animation: aurapulse 2s ease-in-out infinite alternate;
}

.doge-aura {
    background: radial-gradient(
        circle,
        rgba(255, 193, 7, 0.6) 0%,
        rgba(255, 193, 7, 0.3) 50%,
        transparent 70%
    );
}

.pepe-aura {
    background: radial-gradient(
        circle,
        rgba(0, 255, 0, 0.6) 0%,
        rgba(0, 255, 0, 0.3) 50%,
        transparent 70%
    );
}

.moontrix-aura {
    background: radial-gradient(
        circle,
        rgba(0, 206, 209, 0.6) 0%,
        rgba(0, 206, 209, 0.3) 50%,
        transparent 70%
    );
}

.rival-aura {
    background: radial-gradient(
        circle,
        rgba(255, 105, 180, 0.6) 0%,
        rgba(255, 105, 180, 0.3) 50%,
        transparent 70%
    );
}

@keyframes aurapulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.character-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-label {
    color: #FFC107;
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 50px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.stat-fill {
    flex: 1;
    height: 8px;
    background: linear-gradient(
        90deg,
        #FF69B4 0%,
        #00CED1 var(--stat-width, 50%),
        rgba(255, 255, 255, 0.2) var(--stat-width, 50%)
    );
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.stat-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--stat-width, 50%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 100%
    );
    animation: statShine 2s ease-in-out infinite;
}

@keyframes statShine {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0);
    }
}

.character-info {
    position: relative;
    z-index: 2;
}

.character-info h3 {
    color: #FFC107;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-family: 'GameFont', 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 
        0 0 10px rgba(255, 193, 7, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.character-title {
    color: #FF69B4;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.character-description {
    color: #FFFFFF;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.select-fighter-btn {
    display: inline-block;
    background: linear-gradient(
        135deg,
        #FFC107 0%,
        #FFD700 50%,
        #FF69B4 100%
    );
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #FFFF00;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
}

.select-fighter-btn:hover {
    transform: scale(1.05) translateY(-2px);
    background: linear-gradient(
        135deg,
        #FF4500 0%,
        #FF69B4 50%,
        #00CED1 100%
    );
    color: #FFF;
    box-shadow: 
        0 0 20px rgba(255, 105, 180, 0.6),
        0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: #00CED1;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.select-fighter-btn:hover .btn-glow {
    transform: translateX(100%);
}

.locked-fighter {
    position: relative;
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    z-index: 3;
}

.locked-overlay i {
    font-size: 2rem;
    color: #FFC107;
    margin-bottom: 0.5rem;
    animation: lockPulse 2s ease-in-out infinite;
}

@keyframes lockPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.locked-overlay span {
    color: #FFC107;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.locked-btn {
    display: inline-block;
    background: linear-gradient(
        135deg,
        rgba(128, 128, 128, 0.8) 0%,
        rgba(64, 64, 64, 0.8) 100%
    );
    color: #888;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #666;
    cursor: not-allowed;
}

.gallery-footer {
    text-align: center;
    margin-top: 3rem;
}

.tournament-text {
    color: #FFC107;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 
        0 0 10px rgba(255, 193, 7, 0.6),
        1px 1px 3px rgba(0, 0, 0, 0.8);
    animation: tournamentGlow 3s ease-in-out infinite alternate;
}

@keyframes tournamentGlow {
    0% {
        text-shadow: 
            0 0 10px rgba(255, 193, 7, 0.6),
            1px 1px 3px rgba(0, 0, 0, 0.8);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(255, 193, 7, 0.8),
            1px 1px 3px rgba(0, 0, 0, 0.8);
    }
}

.tournament-btn {
    display: inline-block;
    background: linear-gradient(
        135deg,
        #FF69B4 0%,
        #FF4500 50%,
        #00CED1 100%
    );
    color: #FFF;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid #FFFF00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 0 30px rgba(255, 105, 180, 0.5),
        0 8px 25px rgba(0, 0, 0, 0.3);
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
}

.tournament-btn:hover {
    transform: scale(1.1) translateY(-5px);
    background: linear-gradient(
        135deg,
        #00CED1 0%,
        #FFC107 50%,
        #FF69B4 100%
    );
    box-shadow: 
        0 0 40px rgba(0, 206, 209, 0.7),
        0 12px 35px rgba(0, 0, 0, 0.4);
    border-color: #00CED1;
}

.tournament-btn .btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.tournament-btn:hover .btn-glow {
    transform: translateX(100%);
}

/* Responsive optimizations */
@media (max-width: 768px) {
    .character-select-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .character-card {
        padding: 1rem;
    }
    
    .character-frame {
        padding: 1rem;
    }
    
    .character-image-container {
        width: 100px;
        height: 100px;
    }
    
    .character-info h3 {
        font-size: 1.5rem;
    }
    
    .tournament-text {
        font-size: 1.1rem;
    }
    
    .tournament-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Disable heavy animations on mobile */
    .character-card::before {
        animation: none;
        background: linear-gradient(45deg, #FF69B4, #00CED1, #FFC107);
    }
    
    .arena-overlay {
        animation: none;
        opacity: 0.5;
    }
    
    .floating-particles {
        animation: none;
        opacity: 0.3;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .character-card::before,
    .arena-overlay,
    .floating-particles,
    .character-aura,
    .stat-fill::after,
    .locked-overlay i,
    .tournament-text {
        animation: none;
    }
    
    .character-card,
    .select-fighter-btn,
    .tournament-btn {
        transition: none;
    }
    
    .character-card:hover {
        transform: none;
    }
}

/* Meme Gallery */
#gallery {
    background: #0e0c08;
}

.meme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.meme-grid img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.meme-grid img:hover {
    transform: scale(1.05);
}

/* ... existing code ... */

/* Community Section */
#community {
    background: 
        linear-gradient(
            135deg,
            rgba(107, 63, 160, 0.9) 0%,
            rgba(79, 59, 97, 0.9) 50%,
            rgba(107, 63, 160, 0.9) 100%
        ),
        url('../assets/best/Art-Style-Poster.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates parallax effect */
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
    /* Performance optimizations */
    contain: layout style;
    will-change: transform;
    backface-visibility: hidden;
}

#community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255, 105, 180, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(0, 206, 209, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    animation: communityBgShift 10s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes communityBgShift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translate3d(0, -20px, 0) scale(1.05);
        opacity: 1;
    }
}

#community h2 {
    color: #FFC107;
    text-shadow: 
        0 0 20px rgba(255, 193, 7, 0.8),
        0 0 40px rgba(255, 193, 7, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.social-links a {
    color: #FFC107;
    font-size: 3rem;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        #FF69B4,
        #00CED1,
        #FFC107,
        #FF4500
    );
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: #FFFFFF;
    border-color: transparent;
}

.social-links a:hover::before {
    opacity: 1;
    animation: rotateBorder 2s linear infinite;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-links {
        gap: 2rem;
    }
    
    .social-links a {
        font-size: 2.5rem;
        padding: 0.8rem;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    #community::before,
    .social-links a:hover::before {
        animation: none;
    }
    
    .social-links a:hover {
        transform: none;
    }
}

/* Character link styling */
.character-link {
    display: inline-flex;
    align-items: center;
    background: #f5bc2f;
    color: #0e0c08;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.character-link:hover {
    background: #ec2470;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(236, 36, 112, 0.3);
}

.button-text {
    margin-right: 8px;
}

.button-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.character-link:hover .button-icon {
    transform: translateX(3px);
}

.mute-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.mute-btn:hover {
    color: #ffcc00;
}

.logo-image {
    max-height: 50px;
    width: auto;
    vertical-align: middle;
}

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

/* Features Showcase Section - Performance Optimized */
.features-section {
    padding: 0;
    background: linear-gradient(
        135deg,
        #6B3FA0 0%,
        #4f3b61 50%,
        #6B3FA0 100%
    );
    position: relative;
    overflow: hidden;
    /* Performance optimizations */
    contain: layout style;
    will-change: transform;
    backface-visibility: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 206, 209, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 69, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 0, 0.08) 0%, transparent 40%);
    animation: featureParticles 8s ease-in-out infinite alternate;
    z-index: 0;
    /* Performance optimizations */
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@keyframes featureParticles {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate3d(0, -30px, 0) scale(1.05);
        opacity: 0.9;
    }
}

.features-section h2 {
    padding: 3rem 2rem 2rem 2rem;
    margin-bottom: 0;
    color: #FFC107;
    text-shadow: 
        0 0 15px rgba(255, 193, 7, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 1;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
}

.fullscreen-feature {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Performance optimizations */
    contain: layout style paint;
    will-change: transform;
}

.feature-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.feature-background img,
.feature-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(107, 63, 160, 0.6) 0%,
        rgba(107, 63, 160, 0.4) 30%,
        rgba(0, 206, 209, 0.5) 70%,
        rgba(107, 63, 160, 0.6) 100%
    );
    z-index: 2;
    /* Performance optimizations */
    will-change: opacity;
    transform: translateZ(0);
}

.feature-content {
    position: relative;
    z-index: 3;
    /* Performance optimizations */
    contain: layout style;
    will-change: transform;
}

.overlay-content {
    background: rgba(14, 12, 8, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 2rem;
    border: 2px solid #FFC107;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 193, 7, 0.2);
    position: relative;
    /* Performance optimizations */
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style;
}

/* Simplified animated border for better performance */
.overlay-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        #FFC107,
        #FF69B4,
        #00CED1,
        #FF4500,
        #FFC107
    );
    border-radius: 22px;
    z-index: -1;
    animation: borderRotate 6s linear infinite;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.overlay-content h3 {
    color: #FF69B4;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'GameFont', 'Orbitron', sans-serif;
    
    will-change: transform;
    transform: translateZ(0);
}

.overlay-content p {
    color: #FFFFFF;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
}

.overlay-content ul {
    list-style: none;
    padding: 0;
}

.overlay-content ul li {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(
        90deg,
        rgba(0, 206, 209, 0.2) 0%,
        rgba(255, 193, 7, 0.1) 100%
    );
    border-left: 4px solid #00CED1;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.overlay-content ul li:hover {
    transform: translate3d(10px, 0, 0);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
    border-left-color: #FF69B4;
}

.overlay-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(
        180deg,
        #FFC107 0%,
        #FF69B4 50%,
        #00CED1 100%
    );
    border-radius: 2px;
    /* Performance optimizations */
    will-change: transform;
    transform: translateY(-50%) translateZ(0);
}

.feature-row.reverse .overlay-content {
    margin-left: auto;
    margin-right: 2rem;
    border-color: #FF69B4;
}

.feature-row.reverse .overlay-content::before {
    background: linear-gradient(
        45deg,
        #FF69B4,
        #00CED1,
        #FFC107,
        #FF4500,
        #FF69B4
    );
}

/* Responsive optimizations */
@media (max-width: 1024px) {
    .overlay-content {
        max-width: 500px;
        padding: 2rem;
        backdrop-filter: blur(6px);
    }
    
    .overlay-content h3 {
        font-size: 2rem;
    }
    
    .overlay-content p {
        font-size: 1.1rem;
    }
    
    /* Reduce animations on smaller screens */
    .overlay-content::before {
        animation-duration: 8s;
    }
}

@media (max-width: 768px) {
    .fullscreen-feature {
        min-height: 80vh;
    }
    
    .overlay-content {
        max-width: 90%;
        padding: 1.5rem;
        margin: 0 1rem;
        text-align: center;
        backdrop-filter: blur(4px);
    }
    
    .overlay-content h3 {
        font-size: 1.8rem;
    }
    
    .overlay-content p {
        font-size: 1rem;
    }
    
    .overlay-content ul li {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    /* Disable some animations on mobile for performance */
    .features-section::before {
        animation: none;
        opacity: 0.3;
    }
    
    .overlay-content::before {
        animation: none;
        background: #FFC107;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .features-section::before,
    .overlay-content::before {
        animation: none;
    }
    
    .overlay-content ul li {
        transition: none;
    }
    
    .overlay-content ul li:hover {
        transform: none;
    }
}