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

:root {
    /* Gummy Colors */
    --gummy-red: rgba(255, 71, 87, 0.7);
    --gummy-green: rgba(46, 213, 115, 0.7);
    --gummy-blue: rgba(55, 66, 250, 0.7);
    --gummy-yellow: rgba(255, 192, 72, 0.7);
    --gummy-purple: rgba(165, 94, 234, 0.7);
    --candy-pink: #FF6B9D;
    --sugar-white: #FFFFFF;
    --syrup-amber: #FFA726;
    --chocolate-brown: #5D4037;
    
    /* Gradients */
    --gummy-gradient: linear-gradient(135deg, var(--gummy-red), var(--candy-pink));
    --rainbow-gradient: linear-gradient(135deg, #FF4757, #2ED573, #3742FA, #FFC048, #A55EEA);
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--chocolate-brown);
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF0F5 100%);
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Gummy Background */
.gummy-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-gummy {
    position: absolute;
    width: 60px;
    height: 80px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.3;
    animation: gummyFloat var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
    pointer-events: none;
}

.floating-gummy.red { background: var(--gummy-red); left: 10%; }
.floating-gummy.green { background: var(--gummy-green); left: 70%; }
.floating-gummy.blue { background: var(--gummy-blue); left: 30%; }
.floating-gummy.yellow { background: var(--gummy-yellow); left: 90%; }
.floating-gummy.purple { background: var(--gummy-purple); left: 50%; }

@keyframes gummyFloat {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(75vh) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(50vh) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translateY(25vh) rotate(270deg) scale(1.1);
    }
}

/* Navigation */
.gummy-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Fredoka', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--chocolate-brown);
    text-decoration: none;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    animation: gummyBounce 3s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-pill {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gummy-gradient);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.nav-pill:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}

.nav-pill:active {
    transform: scale(0.95);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--chocolate-brown);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    padding-top: 80px; /* Account for fixed nav */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 245, 245, 0.9));
    overflow: hidden;
    height: 1200px;
}

.banner-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 20%;
    filter: drop-shadow(0 10px 30px rgba(255, 71, 87, 0.2));
    animation: gummyFloat 6s ease-in-out infinite;
}

@keyframes gummyFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 60px 0 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    text-align: center;
}

.gummy-mascot {
    margin-bottom: 2rem;
    animation: gummyJiggle 3s ease-in-out infinite;
}

.gummy-bear-hero {
    width: 200px;
    height: 250px;
    filter: drop-shadow(0 10px 30px rgba(255, 71, 87, 0.3));
}

@keyframes gummyJiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-5deg) scale(1.05); }
    50% { transform: rotate(5deg) scale(0.95); }
    75% { transform: rotate(-5deg) scale(1.05); }
}

.hero-title {
    font-family: 'Fredoka', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--rainbow-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--candy-pink);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

/* Gummy Buttons */
.gummy-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.gummy-button.primary {
    background: var(--gummy-gradient);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.4);
}

.gummy-button.secondary {
    background: linear-gradient(135deg, var(--gummy-green), #26de81);
    color: white;
    box-shadow: 0 8px 20px rgba(46, 213, 115, 0.4);
}

.gummy-button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 71, 87, 0.5);
}

.gummy-button:active {
    transform: scale(0.95) translateY(0);
    animation: gummySquish 0.3s ease-out;
}

@keyframes gummySquish {
    0% { transform: scale(1); }
    50% { transform: scaleX(1.2) scaleY(0.8); }
    100% { transform: scale(1); }
}

.gummy-button.small {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

/* Stats Cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
    font-family: 'Fredoka', cursive;
    font-size: 2rem;
    color: var(--candy-pink);
    margin-bottom: 0.5rem;
}

/* NFT Showcase Section */
.nft-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 245, 245, 0.9), rgba(255, 240, 245, 0.9));
}

.nft-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.nft-frame {
    background: white;
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(255, 71, 87, 0.2);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.nft-frame::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 71, 87, 0.1), transparent);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.nft-frame:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 80px rgba(255, 71, 87, 0.3);
}

.nft-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.nft-frame:hover .nft-image {
    transform: scale(1.02);
}

.nft-info {
    margin-top: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.nft-info h3 {
    font-family: 'Fredoka', cursive;
    font-size: 1.5rem;
    color: var(--chocolate-brown);
    margin-bottom: 0.5rem;
}

.nft-info p {
    color: var(--chocolate-brown);
    opacity: 0.8;
}

/* Features Section */
.about {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.5);
}

.section-title {
    font-family: 'Fredoka', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.feature-icon {
    font-size: 3rem;
    display: inline-block;
    margin-bottom: 1rem;
    animation: gummyBounce 3s ease-in-out infinite;
}

.feature-icon.green { animation-delay: 0.2s; }
.feature-icon.yellow { animation-delay: 0.4s; }
.feature-icon.blue { animation-delay: 0.6s; }
.feature-icon.purple { animation-delay: 0.8s; }

@keyframes gummyBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(0.95) rotate(-5deg); }
    50% { transform: scale(1.1) rotate(0deg); }
    75% { transform: scale(0.98) rotate(5deg); }
}

.feature-card h3 {
    font-family: 'Fredoka', cursive;
    color: var(--chocolate-brown);
    margin-bottom: 0.5rem;
}

/* Timeline Section */
.timeline {
    padding: 80px 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

.candy-path {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    width: 100%;
    overflow-x: hidden;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.gummy-milestone {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border-radius: 30px;
    transition: all 0.3s;
}

.gummy-milestone.red {
    background: linear-gradient(135deg, var(--gummy-red), var(--candy-pink));
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.3);
}

.gummy-milestone.green {
    background: linear-gradient(135deg, var(--gummy-green), #26de81);
    box-shadow: 0 10px 30px rgba(46, 213, 115, 0.3);
}

.gummy-milestone.purple {
    background: linear-gradient(135deg, var(--gummy-purple), #9c88ff);
    box-shadow: 0 10px 30px rgba(165, 94, 234, 0.3);
}

.gummy-milestone.yellow {
    background: linear-gradient(135deg, var(--gummy-yellow), #FFA726);
    box-shadow: 0 10px 30px rgba(255, 192, 72, 0.3);
}

.gummy-milestone:hover {
    transform: scale(1.05) translateX(10px);
}

.year {
    font-family: 'Fredoka', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    min-width: 100px;
}

.event {
    color: white;
}

.event h3 {
    font-family: 'Fredoka', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.path-connector {
    width: 100px;
    height: 100px;
    margin: -20px auto;
    display: block;
    max-width: 100%;
}

/* How to Buy Section */
.how-to-buy {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.7);
}

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

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--gummy-red), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.step-card:hover::before {
    opacity: 0.1;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gummy-gradient);
    color: white;
    font-family: 'Fredoka', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
    animation: gummyBounce 3s ease-in-out infinite;
}

.step-card h3 {
    font-family: 'Fredoka', cursive;
    color: var(--chocolate-brown);
    margin-bottom: 0.5rem;
}

.token-address {
    display: block;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    word-break: break-all;
    margin-top: 1rem;
}

/* Community Section */
.community {
    padding: 80px 0;
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-gummy {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: white;
    border-radius: 30px;
    text-decoration: none;
    color: var(--chocolate-brown);
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.social-gummy span {
    font-size: 1.5rem;
}

.social-gummy.twitter:hover {
    background: linear-gradient(135deg, #1DA1F2, #0e71c8);
    color: white;
    transform: scale(1.05) translateX(10px);
}

.social-gummy.telegram:hover {
    background: linear-gradient(135deg, #0088cc, #006097);
    color: white;
    transform: scale(1.05) translateX(10px);
}

.social-gummy.github:hover {
    background: linear-gradient(135deg, #333, #000);
    color: white;
    transform: scale(1.05) translateX(10px);
}

.newsletter-card {
    background: white;
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.newsletter-card h3 {
    font-family: 'Fredoka', cursive;
    color: var(--chocolate-brown);
    margin-bottom: 0.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gummy-input {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 71, 87, 0.3);
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
}

.gummy-input:focus {
    outline: none;
    border-color: var(--gummy-red);
    transform: scale(1.02);
}

/* Footer */
.gummy-footer {
    background: var(--chocolate-brown);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 80px;
}

.gummy-footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-banner {
        padding-top: 70px;
        height: 800px;
    }
    
    .banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .nft-image {
        width: 250px;
        height: 250px;
    }
    
    .nft-frame {
        padding: 1.5rem;
        max-width: 90vw;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0 60px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .gummy-button {
        max-width: 100%;
        white-space: normal;
    }
    
    .timeline-item {
        max-width: 100%;
    }
    
    .gummy-milestone {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .features-grid {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: right 0.3s ease-out;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .community-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

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