/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    cursor: none;
}

/* Custom Cursor - Eyes Image */
.cursor {
    width: 100px;
    height: 50px;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    background-image: url('logo-eyes.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.cursor-trail {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease;
}

.cursor.hover {
    width: 150px;
    height: 75px;
    animation: eyeScale 0.5s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-character {
    text-align: center;
    color: white;
}

.loading-eyes {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    animation: bounce 2s infinite;
}

.loading-eyes img {
    width: 150px;
    height: 75px;
    object-fit: contain;
    animation: loadingEyeMove 3s infinite;
}

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

    25% {
        transform: scale(1.1) rotate(2deg);
    }

    50% {
        transform: scale(0.9) rotate(-2deg);
    }

    75% {
        transform: scale(1.05) rotate(1deg);
    }
}

@keyframes eyeScale {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.loading-text {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    animation: glow 2s infinite alternate;
}

.loading-bar {
    width: 200px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, white, #cccccc, white);
    border-radius: 10px;
    animation: loading 3s ease-in-out infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }

    100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 1);
    }
}

@keyframes loading {
    0% {
        width: 0%;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transform: translateY(-100%);
    animation: slideDown 1s ease forwards;
    animation-delay: 3.5s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: rotate(360deg) scale(1.1);
}

.logo-text {
    font-family: 'Fredoka One', cursive;
    font-size: 24px;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, white, #cccccc);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #cccccc;
    transform: translateY(-2px);
}

.admin-link {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
}

.admin-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.admin-link:hover::after {
    transform: scaleX(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.floating-element img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* Running Cartoon Characters */
.running-character {
    position: fixed;
    width: 80px;
    height: 80px;
    z-index: 1;
    pointer-events: none;
}

.running-character video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.running-character video img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

/* iOS devices can now see running characters */
@supports (-webkit-touch-callout: none) {
    .running-character {
        display: block !important;
    }
}

/* Ensure characters are always visible */
.running-character,
.parachute-character {
    display: block !important;
}

.runner-1 {
    bottom: 20%;
    animation: runAcrossScreen1 8s linear infinite;
}

.runner-2 {
    bottom: 40%;
    animation: runAcrossScreen2 10s linear infinite;
    animation-delay: 3s;
}

.runner-3 {
    bottom: 60%;
    animation: runAcrossScreen3 12s linear infinite;
    animation-delay: 6s;
}

.runner-4 {
    top: 20%;
    width: 60px;
    height: 60px;
    animation: runDiagonal1 15s linear infinite;
    animation-delay: 2s;
}

.runner-5 {
    top: 50%;
    width: 100px;
    height: 100px;
    animation: runCurved 18s ease-in-out infinite;
    animation-delay: 8s;
}

.runner-6 {
    bottom: 10%;
    width: 50px;
    height: 50px;
    animation: runZigZag 14s linear infinite;
    animation-delay: 5s;
}

/* Parachute Characters */
.parachute-character {
    position: fixed;
    width: 120px;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.parachute-character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.parachute-1 {
    left: 20%;
    animation: parachuteFall1 12s linear infinite;
    animation-delay: 2s;
}

.parachute-2 {
    left: 60%;
    width: 100px;
    height: 100px;
    animation: parachuteFall2 15s linear infinite;
    animation-delay: 7s;
}

.parachute-3 {
    left: 80%;
    width: 80px;
    height: 80px;
    animation: parachuteFall3 10s linear infinite;
    animation-delay: 4s;
}

@keyframes runAcrossScreen1 {
    0% {
        left: -100px;
        transform: scaleX(1);
    }

    50% {
        left: 50vw;
        transform: scaleX(1);
    }

    100% {
        left: calc(100vw + 100px);
        transform: scaleX(1);
    }
}

@keyframes runAcrossScreen2 {
    0% {
        right: -100px;
        left: auto;
        transform: scaleX(-1);
    }

    50% {
        right: 50vw;
        left: auto;
        transform: scaleX(-1);
    }

    100% {
        right: calc(100vw + 100px);
        left: auto;
        transform: scaleX(-1);
    }
}

@keyframes runAcrossScreen3 {
    0% {
        left: -100px;
        transform: scaleX(1) scale(0.8);
    }

    25% {
        left: 25vw;
        transform: scaleX(1) scale(1.1);
    }

    75% {
        left: 75vw;
        transform: scaleX(1) scale(0.9);
    }

    100% {
        left: calc(100vw + 100px);
        transform: scaleX(1) scale(0.8);
    }
}

/* Διαγώνια διαδρομή */
@keyframes runDiagonal1 {
    0% {
        left: -100px;
        top: 80vh;
        transform: scaleX(1) rotate(-20deg);
    }

    50% {
        left: 50vw;
        top: 40vh;
        transform: scaleX(1) rotate(-15deg);
    }

    100% {
        left: calc(100vw + 100px);
        top: 10vh;
        transform: scaleX(1) rotate(-10deg);
    }
}

/* Καμπυλωτή διαδρομή */
@keyframes runCurved {
    0% {
        left: -100px;
        top: 50%;
        transform: scaleX(1) scale(1.2);
    }

    25% {
        left: 25vw;
        top: 20%;
        transform: scaleX(1) scale(0.8) rotate(10deg);
    }

    50% {
        left: 50vw;
        top: 70%;
        transform: scaleX(1) scale(1.1) rotate(-5deg);
    }

    75% {
        left: 75vw;
        top: 30%;
        transform: scaleX(1) scale(0.9) rotate(8deg);
    }

    100% {
        left: calc(100vw + 100px);
        top: 50%;
        transform: scaleX(1) scale(1.0);
    }
}

/* ZigZag διαδρομή */
@keyframes runZigZag {
    0% {
        left: -100px;
        bottom: 10%;
        transform: scaleX(1);
    }

    14% {
        left: 14vw;
        bottom: 40%;
        transform: scaleX(1) rotate(15deg);
    }

    28% {
        left: 28vw;
        bottom: 10%;
        transform: scaleX(1) rotate(-15deg);
    }

    42% {
        left: 42vw;
        bottom: 35%;
        transform: scaleX(1) rotate(12deg);
    }

    56% {
        left: 56vw;
        bottom: 15%;
        transform: scaleX(1) rotate(-12deg);
    }

    70% {
        left: 70vw;
        bottom: 30%;
        transform: scaleX(1) rotate(10deg);
    }

    84% {
        left: 84vw;
        bottom: 20%;
        transform: scaleX(1) rotate(-8deg);
    }

    100% {
        left: calc(100vw + 100px);
        bottom: 10%;
        transform: scaleX(1);
    }
}

/* Parachute Animations */
@keyframes parachuteFall1 {
    0% {
        top: -150px;
        transform: rotate(0deg) scale(1);
    }
    
    50% {
        top: 50vh;
        transform: rotate(5deg) scale(1.1);
    }
    
    100% {
        top: calc(100vh + 150px);
        transform: rotate(-3deg) scale(0.9);
    }
}

@keyframes parachuteFall2 {
    0% {
        top: -150px;
        left: 60%;
        transform: rotate(10deg) scale(1);
    }
    
    25% {
        top: 25vh;
        left: 55%;
        transform: rotate(-5deg) scale(1.2);
    }
    
    75% {
        top: 75vh;
        left: 65%;
        transform: rotate(8deg) scale(0.8);
    }
    
    100% {
        top: calc(100vh + 150px);
        left: 60%;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes parachuteFall3 {
    0% {
        top: -150px;
        left: 80%;
        transform: rotate(-10deg) scale(1.2);
    }
    
    33% {
        top: 33vh;
        left: 75%;
        transform: rotate(15deg) scale(0.9);
    }
    
    66% {
        top: 66vh;
        left: 85%;
        transform: rotate(-8deg) scale(1.1);
    }
    
    100% {
        top: calc(100vh + 150px);
        left: 80%;
        transform: rotate(5deg) scale(1);
    }
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(120deg);
    }

    66% {
        transform: translateY(-10px) rotate(240deg);
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
    position: relative;
}

.hero-character {
    flex: 1;
    text-align: center;
}

.main-character {
    width: 400px;
    height: 400px;
    object-fit: contain;
    animation: heroFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.hero-text {
    flex: 1;
    text-align: center;
    color: white;
}

.hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.5s;
}

.title-line:nth-child(2) {
    animation-delay: 1s;
}

.highlight {
    background: linear-gradient(45deg, white, #cccccc, #888888);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s ease infinite;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

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

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

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.5s;
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

.cta-button {
    background: linear-gradient(45deg, white, #cccccc);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: black;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: scale(0);
    animation: scaleIn 0.5s ease forwards;
    animation-delay: 2s;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.button-sparkle {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 20px;
    height: 20px;
    background: white;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: sparkle 2s infinite;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

@keyframes sparkle {
    0%,
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2) rotate(180deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: fadeIn 1s ease forwards;
    animation-delay: 2.5s;
    opacity: 0;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin: 0 auto 10px;
    animation: bounce 2s infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Title */
.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: white;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, white, #cccccc);
    border-radius: 2px;
}

/* Hero Section Updates */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: black;
    transform: scale(1.05);
}

.cta-button.tertiary {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-button.tertiary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.cta-button.tertiary:hover::before {
    left: 100%;
}

.cta-button.tertiary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.voting-highlight {
    margin-top: 15px;
    padding: 12px 20px;
    background: linear-gradient(45deg, rgba(78, 205, 196, 0.2), rgba(78, 205, 196, 0.1));
    border: 2px solid rgba(78, 205, 196, 0.4);
    border-radius: 15px;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.2);
}

.voting-highlight span {
    font-weight: 600;
    color: #4ecdc4;
}

.voting-highlight:hover {
    background: linear-gradient(45deg, rgba(78, 205, 196, 0.3), rgba(78, 205, 196, 0.2));
    border-color: rgba(78, 205, 196, 0.6);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.3);
    transform: translateY(-2px);
}

.voting-highlight a:hover {
    color: #fff !important;
    transition: color 0.3s ease;
}

.hero-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Tools Section */
.tools {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.tool-card {
    background: #111111;
    border: 2px solid #333333;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Slideshow background images for tool cards */
.tool-card[data-tool="meme-bot"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
    border-radius: 18px;
    transition: opacity 0.3s ease;
    animation: creativeHubSlideshow 20s infinite;
    animation-delay: 0s;
}

.tool-card[data-tool="playground"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('shady images/etoimes me edit background/Νέος φάκελος/replicate-prediction-fzfxhz3yk9rme0cn5y8sqc74cc.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
    border-radius: 18px;
    transition: opacity 0.3s ease;
    animation: playgroundSlideshow 18s infinite;
    animation-delay: 5s;
}

/* Creative Hub Slideshow Animation */
@keyframes creativeHubSlideshow {
    0%, 20% {
        background-image: url('shady images/replicate-prediction-mnsvbqj4r5rm80cqns6rfr1dt0.webp');
    }
    25%, 45% {
        background-image: url('shady images/replicate-prediction-gmsj9ryathrma0cqmb58vh7bwr.webp');
    }
    50%, 70% {
        background-image: url('shady images/replicate-prediction-hk9mrzh875rmc0cq6449jzwfz4.webp');
    }
    75%, 95% {
        background-image: url('shady images/replicate-prediction-t47ncfpkznrm80cqmbea33efzr.webp');
    }
    100% {
        background-image: url('shady images/replicate-prediction-mnsvbqj4r5rm80cqns6rfr1dt0.webp');
    }
}

/* Playground Slideshow Animation */
@keyframes playgroundSlideshow {
    0%, 16% {
        background-image: url('shady images/etoimes me edit background/Νέος φάκελος/replicate-prediction-fzfxhz3yk9rme0cn5y8sqc74cc.webp');
    }
    20%, 36% {
        background-image: url('shady images/etoimes me edit background/Νέος φάκελος/replicate-prediction-c6j9rt5apnrma0cn5kbtmn1z6w.webp');
    }
    40%, 56% {
        background-image: url('shady images/etoimes me edit background/Νέος φάκελος/replicate-prediction-h3vttkqkm1rm80cn5y9bnpjsm8.webp');
    }
    60%, 76% {
        background-image: url('shady images/etoimes me edit background/Νέος φάκελος/replicate-prediction-rg9674mwg9rmc0cn5ygs76yter.webp');
    }
    80%, 96% {
        background-image: url('shady images/etoimes me edit background/Νέος φάκελος/replicate-prediction-zm5901c6v9rm80cn58s8d14p4c.webp');
    }
    100% {
        background-image: url('shady images/etoimes me edit background/Νέος φάκελος/replicate-prediction-fzfxhz3yk9rme0cn5y8sqc74cc.webp');
    }
}

/* Ensure content stays above background */
.tool-card > * {
    position: relative;
    z-index: 2;
}

/* Hover effect for background images */
.tool-card:hover::before {
    opacity: 0.25;
    transition: opacity 0.3s ease;
    animation-play-state: paused;
}

.tool-card.animate {
    transform: translateY(0);
    opacity: 1;
}

.tool-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.tool-icon {
    position: relative;
    margin-bottom: 10px;
    text-align: center;
    height: 0px;
}

.tool-img {
    /* Hide the original images since they're now in the background */
    display: none;
}



.tool-glow {
    /* Hide glow effect since no image is displayed */
    display: none;
}

.tool-info h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.tool-info p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tool-features {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(45deg, #333333, #111111);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tool-button {
    background: linear-gradient(45deg, white, #cccccc);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    background: #111111;
    border: 2px solid #333333;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item.animate {
    transform: translateY(0);
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: none;
}

.feature-item:hover .feature-icon img {
    transform: scale(1.1);
}

.feature-content h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 15px;
}

.feature-content p {
    color: #cccccc;
    line-height: 1.6;
}

/* Feature Item Background Images */
.feature-item[data-feature="ai"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('shady images/replicate-prediction-gmsj9ryathrma0cqmb58vh7bwr.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 1;
    border-radius: 18px;
    transition: opacity 0.3s ease;
}

.feature-item[data-feature="gaming"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('shady images/replicate-prediction-nzk7t08qrxrmc0cqh7s803ff8m.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 1;
    border-radius: 18px;
    transition: opacity 0.3s ease;
}

.feature-item[data-feature="rewards"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('shady images/replicate-prediction-t47ncfpkznrm80cqmbea33efzr.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 1;
    border-radius: 18px;
    transition: opacity 0.3s ease;
}

.feature-item[data-feature="community"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('shady images/etoimes me edit background/Νέος φάκελος/replicate-prediction-c6j9rt5apnrma0cn5kbtmn1z6w.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 1;
    border-radius: 18px;
    transition: opacity 0.3s ease;
}

/* Ensure content stays above background */
.feature-item > * {
    position: relative;
    z-index: 2;
}

/* Hover effect for background images */
.feature-item:hover::before {
    opacity: 0.2;
}

/* Collections Section */
.collections {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 100px 0;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: #b0b0b0;
    font-size: 1.2rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.collection-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.collection-header {
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.collection-count {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.collection-gallery {
    height: 250px;
    background: linear-gradient(135deg, #2d2d2d, #3a3a3a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-placeholder {
    text-align: center;
    color: #b0b0b0;
    opacity: 0.8;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.gallery-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.collection-footer {
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.view-collection-btn {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-collection-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

.view-collection-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.view-collection-btn:hover::before {
    left: 100%;
}

/* Collection Card Animations */
.collection-card .collection-title {
    color: #ffffff;
    /* All collection titles will be white like the rest of the website */
}

/* Gallery Preview Styles */
.gallery-preview {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5px;
    height: 100%;
    padding: 10px;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.preview-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Collection Modal Styles */
.collection-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px;
    height: calc(100% - 80px);
    overflow-y: auto;
}

.gallery-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px;
}

.gallery-item-modal {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-item-modal:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 107, 0.5);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.gallery-item-modal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item-modal:hover img {
    transform: scale(1.1);
}

/* Image Viewer Modal */
.image-viewer-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.image-viewer-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-viewer {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
}

.close-viewer:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

#viewerImage {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 10002;
}

/* Responsive Design for Modals */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 90vh;
        margin: 5% auto;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .gallery-grid-modal {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
        padding: 10px;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        padding: 10px;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
    
    #viewerImage {
        max-width: 95%;
        max-height: 85%;
    }
    
    .image-counter {
        bottom: 15px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid-modal {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
        padding: 8px;
    }
    
    .close-viewer {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* Tokenomics Section */
.tokenomics {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
}

.tokenomics-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.tokenomics-chart {
    flex: 1;
    text-align: center;
}

.chart-container {
    position: relative;
}

.token-mascot {
    width: 250px;
    height: 250px;
    object-fit: contain;
    animation: tokenFloat 4s ease-in-out infinite;
}

@keyframes tokenFloat {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.chart-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tokenomics-details {
    flex: 1;
}

.token-info,
.token-distribution {
    margin-bottom: 30px;
}

.token-info h3,
.token-distribution h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.token-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.stat-value {
    font-weight: 600;
}

.distribution-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.distribution-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.buy-button {
    background: linear-gradient(45deg, white, #cccccc);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: black;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

/* Enhanced Tokenomics Visual Effects */
.token-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
        border-color: rgba(0, 255, 136, 0.3);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.7;
        border-color: rgba(0, 255, 136, 0.8);
    }
}

.floating-symbols {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.crypto-symbol {
    position: absolute;
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0.6;
    animation: floatSymbol 6s ease-in-out infinite;
}

.symbol-1 {
    top: 10%;
    left: 20%;
    color: #f7931a;
    animation-delay: 0s;
}

.symbol-2 {
    top: 15%;
    right: 25%;
    color: #627eea;
    animation-delay: 1s;
}

.symbol-3 {
    bottom: 20%;
    left: 15%;
    color: #00d4aa;
    animation-delay: 2s;
}

.symbol-4 {
    bottom: 25%;
    right: 20%;
    color: #00ff88;
    animation-delay: 3s;
}

.symbol-5 {
    top: 50%;
    left: 5%;
    color: #ff6b6b;
    animation-delay: 4s;
}

.symbol-6 {
    top: 45%;
    right: 8%;
    color: #4ecdc4;
    animation-delay: 5s;
}

@keyframes floatSymbol {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-15px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
        opacity: 0.9;
    }
}

/* Memecoin Vibes - Keep it Simple! */

/* Konami Code Easter Egg Effects */
.konami-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    text-align: center;
    transition: all 0.5s ease;
}

.konami-effect.active {
    opacity: 1;
    animation: konamiActivation 3s ease-in-out;
}

.dev-mode-text {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 300% 300%;
    animation: rainbowText 2s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.rainbow-ring {
    width: 150px;
    height: 150px;
    border: 4px solid;
    border-image: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57) 1;
    border-radius: 50%;
    animation: rainbowSpin 1s linear infinite;
    margin: 0 auto;
}

@keyframes konamiActivation {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(360deg);
        opacity: 1;
    }
}

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

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

/* Dev Mode Token Effects */
.token-mascot.dev-mode {
    animation: devModeToken 2s ease-in-out infinite;
    filter: hue-rotate(0deg) saturate(1.5) brightness(1.2);
}

@keyframes devModeToken {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        filter: hue-rotate(0deg) saturate(1.5) brightness(1.2);
    }
    25% {
        transform: translateY(-30px) scale(1.1) rotate(90deg);
        filter: hue-rotate(90deg) saturate(2) brightness(1.5);
    }
    50% {
        transform: translateY(-20px) scale(1.2) rotate(180deg);
        filter: hue-rotate(180deg) saturate(2.5) brightness(1.8);
    }
    75% {
        transform: translateY(-35px) scale(1.15) rotate(270deg);
        filter: hue-rotate(270deg) saturate(2) brightness(1.3);
    }
    100% {
        transform: translateY(0) scale(1) rotate(360deg);
        filter: hue-rotate(360deg) saturate(1.5) brightness(1.2);
    }
}

/* Dev Mode Numbers Effect */
.stat-value.counting {
    animation: numberGlow 0.5s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% {
        color: #00ff88;
        text-shadow: 0 0 5px #00ff88;
    }
    50% {
        color: #ff6b6b;
        text-shadow: 0 0 15px #ff6b6b;
    }
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
}

/* Roadmap Section - Horizontal Scrollable Cards */
/* Roadmap Section */
.roadmap {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 107, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 165, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.roadmap-grid {
    display: flex;
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
    align-items: stretch;
}

.roadmap-phase {
    flex: 1;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.roadmap-phase::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.roadmap-phase:hover::after {
    opacity: 1;
}

.roadmap-phase:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.roadmap-phase.completed {
    background: linear-gradient(135deg, rgba(0, 255, 107, 0.1), rgba(76, 175, 80, 0.05));
    border-color: rgba(76, 175, 80, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(76, 175, 80, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.roadmap-phase.completed:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(76, 175, 80, 0.3),
                0 0 0 1px rgba(76, 175, 80, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.roadmap-phase.active {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 193, 7, 0.05));
    border-color: rgba(255, 165, 0, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(255, 165, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: activeCardPulse 3s ease-in-out infinite;
}

.roadmap-phase.active:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(255, 165, 0, 0.4),
                0 0 0 1px rgba(255, 165, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes activeCardPulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                    0 0 20px rgba(255, 165, 0, 0.2),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                    0 0 30px rgba(255, 165, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

.roadmap-phase.completed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #66BB6A, #4CAF50);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.roadmap-phase.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFA500, #FFB74D, #FFA500);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
    animation: progressShimmer 2s ease-in-out infinite;
}

@keyframes progressShimmer {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(255, 165, 0, 0.8);
    }
}

.phase-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.phase-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.roadmap-phase:hover .phase-icon::before {
    transform: rotate(45deg) translateX(100%);
}

.roadmap-phase:hover .phase-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.phase-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.roadmap-phase:hover .phase-icon img {
    filter: brightness(1.3) contrast(1.2);
    transform: scale(1.1);
}

.phase-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.phase-content h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 18px;
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.roadmap-phase.completed .phase-content h3 {
    color: #e8f5e8;
}

.roadmap-phase.active .phase-content h3 {
    color: #fff3e0;
}

.phase-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.roadmap-phase.completed .phase-content p {
    color: rgba(232, 245, 232, 0.9);
}

.roadmap-phase.active .phase-content p {
    color: rgba(255, 243, 224, 0.9);
}

/* Community Section */
.community {
    padding: 100px 0;
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
    text-align: center;
    width: 100%;
    clear: both;
    display: block;
    position: relative;
    overflow: hidden;
}

/* Community Background Image */
.community[data-community="mascot"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('shady images/replicate-prediction-ebdf40kv5drmc0cqm71agye9xw.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.community:hover::before {
    opacity: 0.25;
}

/* Ensure content stays above background */
.community > * {
    position: relative;
    z-index: 2;
}

.community-content {
    display: block;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    clear: both;
}

.community-stats {
    display: block;
    text-align: center;
    margin-bottom: 60px;
}



.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.stat-card {
    background: #111111;
    border: 2px solid #333333;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .stat-number {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 5px;
}

.stat-card .stat-label {
    color: #cccccc;
    font-size: 0.9rem;
}

.community-links {
    display: block;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.community-links h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: white;
    margin-bottom: 30px;
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    background: linear-gradient(45deg, white, #cccccc);
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

.social-btn.telegram {
    background: linear-gradient(45deg, #333333, #111111);
    color: white;
}

.social-btn.twitter {
    background: linear-gradient(45deg, #333333, #111111);
    color: white;
}

.social-btn.discord {
    background: linear-gradient(45deg, #333333, #111111);
    color: white;
}

.contract-info {
    background: #111111;
    border: 2px solid #333333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contract-info h4 {
    color: white;
    margin-bottom: 10px;
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #222222;
    padding: 10px;
    border-radius: 5px;
}

.contract-address span {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #cccccc;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-btn {
    background: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    color: black;
    cursor: pointer;
    transition: background 0.3s ease;
}

.copy-btn:hover {
    background: #cccccc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item.animate {
    transform: scale(1);
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.overlay h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text .section-title {
    color: white;
    text-align: left;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInRight 1s ease forwards;
}

.about-text p:nth-child(3) {
    animation-delay: 0.3s;
}

.about-text p:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes slideInRight {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

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

.about-character {
    flex: 1;
    text-align: center;
    position: relative;
}

.about-img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    animation: aboutFloat 5s ease-in-out infinite;
}

@keyframes aboutFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.about-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: sparkleFloat 3s infinite;
}

.sparkle-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 30%;
    right: 25%;
    animation-delay: 1s;
}

.sparkle-3 {
    bottom: 30%;
    left: 30%;
    animation-delay: 2s;
}

@keyframes sparkleFloat {
    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

.contact-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #333333;
    border-radius: 10px;
    background: #111111;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.submit-btn {
    background: linear-gradient(45deg, white, #cccccc);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: black;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
}

.contact-character {
    flex: 1;
    text-align: center;
}

.contact-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    animation: contactWave 4s ease-in-out infinite;
}

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

    25% {
        transform: rotate(5deg) scale(1.02);
    }

    75% {
        transform: rotate(-5deg) scale(0.98);
    }
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-logo span {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
}

/* Background Elements */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: bgFloat 20s infinite linear;
}

.bg-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bg-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #4ecdc4, #45b7d1);
    top: 60%;
    right: 20%;
    animation-delay: 7s;
}

.bg-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #45b7d1, #ff6b6b);
    bottom: 30%;
    left: 30%;
    animation-delay: 14s;
}

@keyframes bgFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .roadmap-grid {
        flex-wrap: wrap;
        gap: 20px;
        max-width: 1200px;
    }

    .roadmap-phase {
        flex: 1 1 calc(50% - 10px);
        min-width: 260px;
        padding: 30px 20px;
    }

    .phase-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
    }

    .phase-icon img {
        width: 38px;
        height: 38px;
    }

    .phase-content h3 {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    .phase-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .main-character {
        width: 250px;
        height: 250px;
    }

    .tokenomics-content,
    .community-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .timeline-content {
        width: 38% !important;
        margin-left: 60% !important;
    }

    .roadmap-grid {
        flex-direction: column;
        gap: 20px;
        max-width: 500px;
        padding: 0 15px;
    }

    .roadmap-phase {
        flex: none;
        min-width: auto;
        padding: 25px 20px;
    }

    .phase-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 18px;
    }

    .phase-icon img {
        width: 35px;
        height: 35px;
    }

    .phase-content h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .phase-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .about-text .section-title {
        text-align: center;
    }

    .characters-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .floating-element img {
        width: 40px;
        height: 40px;
    }

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

    /* Collections responsive */
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .collection-card {
        margin: 0 10px;
    }
    
    .collection-header {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .collection-gallery {
        height: 200px;
    }
    
    .placeholder-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .main-character {
        width: 280px;
        height: 280px;
    }

    .container {
        padding: 0 15px;
    }

    .characters,
    .gallery,
    .about,
    .contact {
        padding: 60px 0;
    }
}

/* Intersection Observer Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Smooth scrolling for mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }
}

/* Performance optimizations */
.hero-bg,
.floating-element,
.bg-elements {
    will-change: transform;
}

.character-card,
.gallery-item {
    will-change: transform, opacity;
}

/* Prefers reduced motion */
/* Peek Characters */
.peek-character {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: auto;
    z-index: 5;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Right Peek Character */
.peek-character.peek-right {
    right: -150px;
}

.peek-character.peek-right.show {
    right: -50px;
}

.peek-character.peek-right:hover {
    right: 0px;
    transform: translateY(-50%) scale(1.1);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

/* Left Peek Character */
.peek-character.peek-left {
    left: -150px;
    top: 40%; /* Slightly different position */
}

.peek-character.peek-left.show {
    left: -50px;
}

.peek-character.peek-left:hover {
    left: 0px;
    transform: translateY(-50%) scale(1.1);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.peek-character img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: all 0.3s ease, opacity 0.2s ease;
}

.peek-character:hover img {
    transform: scale(1.05);
}

/* Peek Animation */
@keyframes peek-bounce {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-10px); }
}

.peek-character.bounce {
    animation: peek-bounce 1s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 

.coming-soon-card {
    opacity: 0.7;
    filter: grayscale(0.2);
    box-shadow: none;
    border-style: dashed;
}
.coming-soon-card .view-collection-btn[disabled] {
    background: #888;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.8;
    pointer-events: none;
}
.coming-soon-card .collection-title {
    color: #fff;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Animation Toggle Switch */
.toggle-item {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.toggle-slider {
    width: 50px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.toggle-slider:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.toggle-knob {
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
    background: linear-gradient(45deg, #00ff88, #00ccff);
    border-color: rgba(0, 255, 136, 0.5);
}

.toggle-switch.active .toggle-knob {
    transform: translateX(26px);
    background: #fff;
}

.toggle-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.toggle-switch.active .toggle-label {
    color: #fff;
}

/* Show animations with lower z-index when disabled */
.animations-disabled .running-character,
.animations-disabled .parachute-character {
    z-index: 0;
    opacity: 0;
    display: block !important;
}

/* Responsive toggle switch */
@media (max-width: 768px) {
    .toggle-item {
        margin-left: 15px;
    }
    
    .toggle-slider {
        width: 42px;
        height: 20px;
        border-radius: 10px;
    }
    
    .toggle-knob {
        width: 16px;
        height: 16px;
        top: 1px;
        left: 2px;
    }
    
    .toggle-switch.active .toggle-knob {
        transform: translateX(22px);
    }
    
    .toggle-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .toggle-item {
        margin-left: 10px;
    }
    
    .toggle-slider {
        width: 38px;
        height: 18px;
        border-radius: 9px;
    }
    
    .toggle-knob {
        width: 14px;
        height: 14px;
        top: 1px;
        left: 2px;
    }
    
    .toggle-switch.active .toggle-knob {
        transform: translateX(18px);
    }
    
    .toggle-label {
        font-size: 11px;
    }
} 