/* MoonYetis Ecosystem Landing Page Styles */

:root {
    --ecosystem-primary: #FF6B35;
    --ecosystem-secondary: #4ECDC4;
    --ecosystem-accent: #FFE66D;
    --ecosystem-dark: #0A0E1A;
    --ecosystem-darker: #060A14;
    --ecosystem-light: #F8FAFC;
    --ecosystem-gradient-hero: linear-gradient(135deg, #FF6B35 0%, #F7931E 25%, #FFE66D 50%, #4ECDC4 75%, #FF6B35 100%);
    --ecosystem-gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --ecosystem-shadow-hero: 0 50px 100px -20px rgba(255, 107, 53, 0.3);
    --ecosystem-shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* === MOONYETIS ABOUT SECTION === */
.ecosystem-about-moonyetis {
    padding: 4rem 0;
    background: linear-gradient(135deg, #060A14 0%, #0A0E1A 50%, #060A14 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.moonyetis-text-column {
    padding-right: 2rem;
}

.moonyetis-description {
    margin-top: 1.5rem;
}

.moonyetis-description p {
    margin-bottom: 1.5rem;
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.7;
    font-size: 1rem;
}

.moonyetis-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.moonyetis-building-container {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.moonyetis-building-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.moonyetis-building-image:hover {
    transform: scale(1.05);
}

.building-caption {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ecosystem-gradient-hero);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.building-text {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive design for MoonYetis section */
@media (max-width: 768px) {
    .moonyetis-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .moonyetis-text-column {
        padding-right: 0;
        text-align: center;
    }
    
    .moonyetis-building-container {
        max-width: 300px;
    }
    
    .moonyetis-description p {
        font-size: 0.9rem;
    }
}

/* === ECOSYSTEM NAVIGATION === */
.ecosystem-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(6, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 2rem;
}

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

.ecosystem-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ecosystem-light);
}

.ecosystem-logo-icon {
    font-size: 2rem;
    background: var(--ecosystem-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ecosystem-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--ecosystem-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ecosystem-nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ecosystem-nav-link {
    color: var(--ecosystem-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.ecosystem-nav-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    color: var(--ecosystem-secondary);
    transform: translateY(-1px);
}

/* Audio Toggle Button in Navigation */
.audio-toggle-nav {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.audio-toggle-nav:hover {
    transform: translateY(-2px) scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.3));
}

.audio-toggle-nav[data-current-source="landing"]::after {
    content: "🏠";
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.7rem;
    background: var(--ecosystem-secondary);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-toggle-nav[data-current-source="coin-flip"]::after {
    content: "🪙";
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.7rem;
    background: var(--ecosystem-accent);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-toggle-nav[data-current-source="dice-roll"]::after {
    content: "🎲";
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.7rem;
    background: var(--ecosystem-primary);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecosystem-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ecosystem-nav-btn {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ecosystem-nav-btn.primary {
    background: var(--ecosystem-gradient-hero);
    color: var(--ecosystem-dark);
}

.ecosystem-nav-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ecosystem-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ecosystem-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ecosystem-shadow-card);
}

/* === HERO SECTION === */
.ecosystem-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.4;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(255, 107, 53, 0.4));
    animation: logoFloat 8s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 50px rgba(255, 107, 53, 0.4));
    }
    50% { 
        transform: scale(1.05); 
        filter: drop-shadow(0 0 80px rgba(255, 107, 53, 0.6));
    }
}

.ecosystem-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(78, 205, 196, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 230, 109, 0.1) 0%, transparent 50%);
    animation: heroBreath 8s ease-in-out infinite;
    z-index: -1;
}

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


.ecosystem-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ecosystem-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--ecosystem-secondary);
}

.ecosystem-hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--ecosystem-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.ecosystem-hero-subtitle {
    font-size: 1.25rem;
    color: var(--ecosystem-light);
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.ecosystem-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ecosystem-hero-btn {
    padding: 1rem 2rem;
    border-radius: 16px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.ecosystem-hero-btn.primary {
    background: var(--ecosystem-gradient-hero);
    color: var(--ecosystem-dark);
    box-shadow: var(--ecosystem-shadow-hero);
}

.ecosystem-hero-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ecosystem-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ecosystem-hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 50px 100px -20px rgba(255, 107, 53, 0.4);
}

/* === PRODUCTS SECTION === */
.ecosystem-products {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--ecosystem-darker) 0%, var(--ecosystem-dark) 100%);
}

.ecosystem-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ecosystem-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ecosystem-section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--ecosystem-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ecosystem-section-subtitle {
    font-size: 1.1rem;
    color: var(--ecosystem-light);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.ecosystem-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ecosystem-product-card {
    background: var(--ecosystem-gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ecosystem-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ecosystem-gradient-hero);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.product-image-container {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

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

.ecosystem-product-card:hover .product-image {
    transform: scale(1.05);
}

.slots-card .product-image-container {
    background: linear-gradient(135deg, #4ECDC4 0%, #FF6B35 100%);
}

.ecosystem-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ecosystem-gradient-hero);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.ecosystem-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ecosystem-shadow-card);
    border-color: rgba(255, 107, 53, 0.3);
}

.ecosystem-product-card:hover::before {
    opacity: 0.05;
}

.ecosystem-product-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.4));
}

.ecosystem-product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--ecosystem-light);
}

.ecosystem-product-description {
    color: var(--ecosystem-light);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ecosystem-product-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.ecosystem-product-status.live {
    background: rgba(78, 205, 196, 0.2);
    color: var(--ecosystem-secondary);
    border: 1px solid var(--ecosystem-secondary);
}

.ecosystem-product-status.coming-soon {
    background: rgba(255, 230, 109, 0.2);
    color: var(--ecosystem-accent);
    border: 1px solid var(--ecosystem-accent);
}

.ecosystem-product-action {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ecosystem-product-action.primary {
    background: var(--ecosystem-gradient-hero);
    color: var(--ecosystem-dark);
}

.ecosystem-product-action.disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ecosystem-light);
    opacity: 0.6;
    cursor: not-allowed;
}

.ecosystem-product-action:not(.disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -8px rgba(255, 107, 53, 0.3);
}

/* === STATS SECTION === */
.ecosystem-stats {
    padding: 4rem 2rem;
    background: var(--ecosystem-dark);
}

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

.ecosystem-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ecosystem-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--ecosystem-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.ecosystem-stat-label {
    color: var(--ecosystem-light);
    opacity: 0.8;
    font-weight: 500;
}

/* === ABOUT SECTION === */
.ecosystem-about {
    padding: 6rem 2rem;
    background: var(--ecosystem-darker);
}

.ecosystem-about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ecosystem-about-text {
    font-size: 1.1rem;
    color: var(--ecosystem-light);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.ecosystem-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.ecosystem-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.ecosystem-feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--ecosystem-light);
}

.ecosystem-feature-text {
    color: var(--ecosystem-light);
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .ecosystem-nav {
        padding: 1rem;
    }
    
    .ecosystem-nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ecosystem-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .ecosystem-nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .ecosystem-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .ecosystem-hero-title {
        font-size: 2.5rem;
    }
    
    .ecosystem-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .ecosystem-products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ecosystem-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ecosystem-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ecosystem-hero-title {
        font-size: 2rem;
    }
    
    .ecosystem-section-title {
        font-size: 2rem;
    }
    
    .ecosystem-product-card {
        padding: 1.5rem;
    }
    
    .ecosystem-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ecosystem-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.ecosystem-fade-in-delay {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* === TOKENOMICS SECTION === */
.ecosystem-tokenomics {
    padding: 6rem 2rem;
    background: var(--ecosystem-dark);
    position: relative;
    overflow: hidden;
}

.tokenomics-background-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
    overflow: hidden;
}

/* Floating coins with upward movement */
.tokenomics-coin-1 {
    position: absolute;
    left: 10%;
    width: 80px;
    height: 80px;
    animation: coinRiseFloat 12s ease-in-out infinite;
}

.tokenomics-coin-2 {
    position: absolute;
    left: 25%;
    width: 60px;
    height: 60px;
    animation: coinRiseFloat 15s ease-in-out infinite 2s;
}

/* Additional floating coins */
.tokenomics-coin-3 {
    position: absolute;
    left: 40%;
    width: 90px;
    height: 90px;
    animation: coinRiseFloat 18s ease-in-out infinite 4s;
}

.tokenomics-coin-4 {
    position: absolute;
    left: 65%;
    width: 70px;
    height: 70px;
    animation: coinRiseFloat 14s ease-in-out infinite 6s;
}

.tokenomics-coin-5 {
    position: absolute;
    left: 80%;
    width: 85px;
    height: 85px;
    animation: coinRiseFloat 16s ease-in-out infinite 8s;
}

.tokenomics-coin-6 {
    position: absolute;
    left: 5%;
    width: 75px;
    height: 75px;
    animation: coinRiseFloat 13s ease-in-out infinite 10s;
}

.tokenomics-moon {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 150px;
    height: 150px;
    opacity: 0.08;
    animation: moonGlow 10s ease-in-out infinite;
}

/* Coin rise animation - from bottom to top */
@keyframes coinRiseFloat {
    0% { 
        transform: translateY(150vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% { 
        transform: translateY(-20vh) rotate(720deg) scale(1.2);
        opacity: 0;
    }
}

/* Moon glow effect */
@keyframes moonGlow {
    0%, 100% { 
        opacity: 0.05;
        filter: brightness(1);
    }
    50% { 
        opacity: 0.12;
        filter: brightness(1.3);
    }
}

.tokenomics-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tokenomics-overview {
    margin-bottom: 4rem;
}

.tokenomics-highlight {
    background: var(--ecosystem-gradient-card);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tokenomics-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.tokenomics-highlight-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tokenomics-highlight-icon {
    font-size: 3rem;
    background: var(--ecosystem-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tokenomics-highlight h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ecosystem-light);
    margin: 0;
}

.tokenomics-highlight-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tokenomics-stat {
    text-align: center;
}

.tokenomics-stat-label {
    display: block;
    color: var(--ecosystem-light);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.tokenomics-stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--ecosystem-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.tokenomics-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tokenomics-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--ecosystem-shadow-card);
}

.tokenomics-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.tokenomics-feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--ecosystem-light);
}

.tokenomics-feature-text {
    color: var(--ecosystem-light);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.9rem;
}

.tokenomics-distribution {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.tokenomics-distribution-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ecosystem-light);
    margin-bottom: 2rem;
}

.tokenomics-distribution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.distribution-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.distribution-percentage {
    font-size: 2rem;
    font-weight: 800;
    background: var(--ecosystem-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.distribution-label {
    color: var(--ecosystem-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.distribution-amount {
    color: var(--ecosystem-light);
    opacity: 0.8;
    font-size: 0.9rem;
}

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

.tokenomics-btn {
    padding: 1rem 2rem;
    border-radius: 16px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tokenomics-btn.primary {
    background: var(--ecosystem-gradient-hero);
    color: var(--ecosystem-dark);
}

.tokenomics-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ecosystem-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tokenomics-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--ecosystem-shadow-card);
}

/* === ROADMAP SECTION === */
.ecosystem-roadmap {
    padding: 6rem 2rem;
    background: var(--ecosystem-darker);
    position: relative;
    overflow: hidden;
}

.roadmap-background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.1;
}

.roadmap-building-image {
    width: 400px;
    height: 400px;
    object-fit: contain;
    filter: sepia(20%) saturate(150%);
}

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--ecosystem-primary), var(--ecosystem-secondary));
    z-index: 1;
}

.roadmap-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.roadmap-item:nth-child(odd) {
    flex-direction: row;
}

.roadmap-item:nth-child(even) {
    flex-direction: row-reverse;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    z-index: 2;
}

.roadmap-item.completed::before {
    background: var(--ecosystem-secondary);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.5);
}

.roadmap-item.active::before {
    background: var(--ecosystem-primary);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    animation: pulse 2s infinite;
}

.roadmap-item.upcoming::before {
    background: var(--ecosystem-accent);
    opacity: 0.6;
}

.roadmap-date {
    flex: 0 0 120px;
    text-align: center;
    font-weight: 700;
    color: var(--ecosystem-light);
    margin-top: 2rem;
}

.roadmap-item:nth-child(even) .roadmap-date {
    text-align: center;
}

.roadmap-content {
    flex: 1;
    background: var(--ecosystem-gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 0 2rem;
    position: relative;
}

.roadmap-item:nth-child(odd) .roadmap-content {
    margin-left: 2rem;
    margin-right: 60px;
}

.roadmap-item:nth-child(even) .roadmap-content {
    margin-right: 2rem;
    margin-left: 60px;
}

.roadmap-status {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.roadmap-item.completed .roadmap-status {
    color: var(--ecosystem-secondary);
}

.roadmap-item.active .roadmap-status {
    color: var(--ecosystem-primary);
}

.roadmap-item.upcoming .roadmap-status {
    color: var(--ecosystem-accent);
}

.roadmap-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ecosystem-light);
    margin-bottom: 0.75rem;
}

.roadmap-description {
    color: var(--ecosystem-light);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.roadmap-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.roadmap-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--ecosystem-light);
}

/* === SECURITY SECTION === */
.ecosystem-security {
    padding: 6rem 2rem;
    background: var(--ecosystem-dark);
}

.security-content {
    max-width: 1000px;
    margin: 0 auto;
}

.security-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.security-hero-badge {
    background: var(--ecosystem-gradient-card);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 2rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.security-hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.security-hero-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.security-hero-badge h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ecosystem-light);
    margin-bottom: 0.5rem;
}

.security-hero-badge p {
    color: var(--ecosystem-light);
    opacity: 0.8;
}

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

.security-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.security-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--ecosystem-shadow-card);
}

.security-item-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.security-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--ecosystem-light);
}

.security-item-text {
    color: var(--ecosystem-light);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.9rem;
}

.security-certifications {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
}

.security-certifications-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ecosystem-light);
    margin-bottom: 2rem;
}

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

.certification-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.certification-icon {
    font-size: 1.5rem;
    color: var(--ecosystem-secondary);
}

.certification-name {
    color: var(--ecosystem-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.certification-status {
    color: var(--ecosystem-light);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* === ANIMATIONS === */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

/* === RESPONSIVE DESIGN FOR NEW SECTIONS === */
@media (max-width: 768px) {
    .tokenomics-highlight-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tokenomics-highlight-icon {
        font-size: 2rem;
    }
    
    .tokenomics-highlight h3 {
        font-size: 1.5rem;
    }
    
    .tokenomics-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .roadmap-timeline::before {
        left: 20px;
    }
    
    .roadmap-item {
        flex-direction: column !important;
        margin-left: 40px;
    }
    
    .roadmap-item::before {
        left: 20px !important;
        transform: translateX(-50%);
    }
    
    .roadmap-content {
        margin: 1rem 0 !important;
    }
    
    .roadmap-date {
        text-align: left;
        margin-top: 0;
        margin-bottom: 1rem;
    }
}

/* === COMMUNITY SECTION === */
.ecosystem-community {
    padding: 6rem 2rem;
    background: var(--ecosystem-darker);
    position: relative;
    overflow: hidden;
}

.community-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.community-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(2px);
}

.community-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.community-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.community-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--ecosystem-gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.community-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--ecosystem-shadow-card);
}

.community-stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.community-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--ecosystem-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.community-stat-label {
    color: var(--ecosystem-light);
    font-weight: 600;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: var(--ecosystem-light);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--ecosystem-shadow-card);
}

.social-icon {
    font-size: 2rem;
    color: var(--ecosystem-secondary);
}

.social-info h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.social-info p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.testimonials {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
}

.testimonials-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ecosystem-light);
    margin-bottom: 2rem;
}

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

.testimonial {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-text {
    color: var(--ecosystem-light);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ecosystem-gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-info h5 {
    color: var(--ecosystem-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-info .rating {
    color: var(--ecosystem-accent);
}

/* === TEAM SECTION === */
.ecosystem-team {
    padding: 6rem 2rem;
    background: var(--ecosystem-dark);
}

.team-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--ecosystem-gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--ecosystem-shadow-card);
    border-color: rgba(255, 107, 53, 0.3);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ecosystem-gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    color: var(--ecosystem-dark);
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ecosystem-light);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--ecosystem-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--ecosystem-light);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.9rem;
}

.partners-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
}

.partners-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ecosystem-light);
    margin-bottom: 2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.partner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.partner-logo {
    font-size: 1.5rem;
    color: var(--ecosystem-secondary);
}

.partner-name {
    color: var(--ecosystem-light);
    font-weight: 600;
}



/* === FAQ SECTION === */
.ecosystem-faq {
    padding: 6rem 2rem;
    background: var(--ecosystem-dark);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    margin-bottom: 4rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    color: var(--ecosystem-light);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--ecosystem-secondary);
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--ecosystem-light);
    opacity: 0.8;
    line-height: 1.6;
}

.support-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.support-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ecosystem-light);
    margin-bottom: 1rem;
}

.support-text {
    color: var(--ecosystem-light);
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: var(--ecosystem-light);
    transition: all 0.3s ease;
}

.support-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: var(--ecosystem-light);
}

.support-option-icon {
    font-size: 1.5rem;
    color: var(--ecosystem-secondary);
}

.support-option-text {
    font-weight: 600;
}

/* === RESPONSIVE DESIGN FOR NEW SECTIONS === */
@media (max-width: 768px) {
    .hero-background-image {
        right: 2%;
        width: 250px;
        height: 250px;
        opacity: 0.25;
    }
    
    .product-image-container {
        height: 150px;
    }
    
    .tokenomics-coin-1,
    .tokenomics-coin-2,
    .tokenomics-coin-3,
    .tokenomics-coin-4,
    .tokenomics-coin-5,
    .tokenomics-coin-6 {
        width: 50px;
        height: 50px;
    }
    
    .tokenomics-coin-3,
    .tokenomics-coin-5 {
        width: 60px;
        height: 60px;
    }
    
    .tokenomics-moon {
        width: 100px;
        height: 100px;
    }
    
    .roadmap-building-image {
        width: 250px;
        height: 250px;
    }
    
    .community-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    
    .support-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .community-stats {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 1rem 1rem;
    }
}

/* === UTILITY CLASSES === */
.ecosystem-hidden {
    display: none !important;
}

.ecosystem-visible {
    display: block !important;
}

.ecosystem-text-center {
    text-align: center;
}

.ecosystem-mb-2 {
    margin-bottom: 2rem;
}

.ecosystem-mt-4 {
    margin-top: 4rem;
}

/* === MOONYETIS CANVAS SECTION === */

.ecosystem-canvas {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--ecosystem-darker) 0%, var(--ecosystem-dark) 50%, var(--ecosystem-darker) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.canvas-background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%),
                radial-gradient(ellipse at 80% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 20% 80%, rgba(255, 230, 109, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.ecosystem-canvas .ecosystem-section-container {
    position: relative;
    z-index: 2;
}

.canvas-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0 2rem;
    gap: 2rem;
}

.canvas-info-panel {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.canvas-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.canvas-stat-label {
    font-size: 0.875rem;
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.canvas-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ecosystem-accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.canvas-action-panel {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.canvas-btn {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.canvas-btn.primary {
    background: var(--ecosystem-gradient-hero);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.canvas-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

.canvas-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ecosystem-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.canvas-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.15);
}

.canvas-preview-container {
    background: var(--ecosystem-gradient-card);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--ecosystem-shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    margin-top: 2rem;
}

.canvas-preview-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.canvas-preview-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.canvas-preview-container h3 {
    color: var(--ecosystem-light);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.canvas-preview-container p {
    color: rgba(248, 250, 252, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.canvas-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.canvas-features li {
    color: rgba(248, 250, 252, 0.9);
    font-size: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.canvas-features li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.canvas-preview-btn {
    background: var(--ecosystem-gradient-hero);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.canvas-preview-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.canvas-main-container {
    position: relative;
    z-index: 1051; /* Above modal (1050) */
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.canvas-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--ecosystem-dark);
}

.canvas-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 107, 53, 0.1);
    border-left: 4px solid var(--ecosystem-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* Canvas Modal System */
.canvas-modal-hidden {
    display: none !important;
}

#canvas-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    backdrop-filter: blur(20px);
}

.canvas-fullscreen-modal {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--ecosystem-dark);
}

.canvas-fullscreen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--ecosystem-darker);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.canvas-fullscreen-header h2 {
    color: var(--ecosystem-light);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.canvas-close-btn {
    background: none;
    border: none;
    color: var(--ecosystem-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.canvas-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.canvas-fullscreen-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.canvas-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--ecosystem-dark);
    text-align: center;
}

.canvas-error .error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.canvas-error h3 {
    color: #dc3545;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.canvas-error p {
    color: #666;
    margin-bottom: 2rem;
    max-width: 400px;
}

/* Canvas Component Styles (integrated from original canvas) */
.canvas-component-container {
    position: relative;
    z-index: 1052; /* Above main container */
    width: 100%;
    height: 100%;
    background: #ffffff;
    overflow: hidden;
}

/* Canvas Mode Fix - Disable navigation pointer events when canvas is active */
.canvas-mode-active .ecosystem-nav {
    pointer-events: none !important;
}

.canvas-mode-active .ecosystem-nav .ecosystem-nav-link,
.canvas-mode-active .ecosystem-nav .ecosystem-nav-btn {
    pointer-events: auto;
}

/* Override for specific canvas elements that need to be clickable */
.canvas-mode-active .zoom-controls,
.canvas-mode-active .color-presets,
.canvas-mode-active .eraser-btn,
.canvas-mode-active .paint-button,
.canvas-mode-active .canvas-component-container {
    pointer-events: auto !important;
    z-index: 9999 !important;
}

.canvas-component-container .canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    cursor: crosshair;
    overflow: hidden;
}

.canvas-component-container #canvas {
    display: block;
    background: #ffffff;
    border: none;
    cursor: crosshair;
}

/* Paint button - floating */
.paint-button {
    position: fixed;
    z-index: 1055; /* Above all canvas elements */
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    
    background: var(--ecosystem-primary);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    
    display: flex;
    align-items: center;
    gap: 8px;
}

.paint-button:hover {
    background: #e55a2b;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.paint-button.active {
    background: var(--ecosystem-secondary);
}

/* Color picker */
.color-picker {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 10px 15px;
    border-radius: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.color-swatch {
    width: 40px;
    height: 40px;
    border: 3px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    background: var(--ecosystem-primary);
}

.color-input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.color-presets {
    position: relative;
    z-index: 1053; /* Above main container */
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    pointer-events: auto; /* Force pointer events */
}

.color-preset {
    width: 30px;
    height: 30px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-preset:hover {
    transform: scale(1.2);
    border-color: var(--ecosystem-primary);
}

.color-preset.active {
    border: 2px solid var(--ecosystem-primary);
    transform: scale(1.3);
    box-shadow: 0 0 6px rgba(255, 107, 53, 0.3);
    z-index: 10;
    position: relative;
}

.eraser-btn {
    width: 30px;
    height: 30px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    margin-left: 8px;
}

.eraser-btn:hover {
    transform: scale(1.2);
    border-color: #FF6B6B;
    background: #fff;
}

.eraser-btn.active {
    border: 2px solid #FF6B6B;
    transform: scale(1.3);
    box-shadow: 0 0 6px rgba(255, 107, 107, 0.3);
    z-index: 10;
    position: relative;
    background: #fff;
}

/* Zoom controls */
.zoom-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1054; /* Above navigation and main container */
    
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.zoom-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    user-select: none;
}

.zoom-btn:hover {
    background: #f5f5f5;
    border-color: var(--ecosystem-primary);
    transform: scale(1.05);
}

.zoom-btn:active {
    transform: scale(0.95);
    background: #e9ecef;
}

.zoom-level {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    min-width: 45px;
    text-align: center;
}

/* Status indicators */
.canvas-status {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    color: #666;
    backdrop-filter: blur(5px);
}

.canvas-status.connected {
    color: var(--ecosystem-secondary);
}

.canvas-status.disconnected {
    color: #dc3545;
}

.pixel-indicator {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 1000;
    
    background: rgba(255, 107, 53, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    color: white;
    backdrop-filter: blur(5px);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Canvas transform support */
.canvas-container.grabbing {
    cursor: grabbing !important;
}

.canvas-container.grab {
    cursor: grab !important;
}

/* Mobile adjustments for Canvas */
@media (max-width: 768px) {
    .canvas-controls-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .canvas-info-panel {
        justify-content: space-around;
        gap: 1rem;
    }
    
    .canvas-action-panel {
        justify-content: center;
    }
    
    .canvas-preview-container {
        padding: 2rem 1.5rem;
    }
    
    .canvas-features {
        grid-template-columns: 1fr;
    }
    
    .color-picker {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
    }
    
    .color-swatch {
        width: 32px;
        height: 32px;
    }
    
    .color-preset {
        width: 20px;
        height: 20px;
    }
    
    .paint-button {
        bottom: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .zoom-controls {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
    }
    
    .canvas-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .canvas-stat-value {
        font-size: 1.25rem;
    }
    
    .canvas-stat-label {
        font-size: 0.75rem;
    }
    
    .canvas-preview-container h3 {
        font-size: 1.5rem;
    }
}

/* === CANVAS CONTENT WRAPPER & LOADING STATES === */
.canvas-content-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.canvas-status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--ecosystem-primary) 0%, var(--ecosystem-secondary) 100%);
    color: white;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.canvas-status-indicator {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    animation: pulse 2s infinite;
}

.canvas-status-text {
    margin-right: 0.5rem;
}

.canvas-loading-dots {
    display: inline-flex;
    gap: 0.25rem;
}

.canvas-loading-dots span {
    animation: dots 1.5s infinite;
    opacity: 0;
}

.canvas-loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.canvas-loading-dots span:nth-child(2) {
    animation-delay: 0.3s;
}

.canvas-loading-dots span:nth-child(3) {
    animation-delay: 0.6s;
}

.canvas-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}

/* === CANVAS BUTTON STATES === */
.canvas-btn.launching {
    background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
    transform: scale(0.98);
    opacity: 0.8;
    cursor: not-allowed;
}

.canvas-btn.active {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    cursor: not-allowed;
}

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

@keyframes dots {
    0%, 20% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px);
    }
    80%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
}

/* === RESPONSIVE DESIGN FOR CANVAS === */
@media (max-width: 768px) {
    .canvas-content-wrapper {
        min-height: 300px;
    }
    
    .canvas-wrapper {
        min-height: 300px;
    }
    
    .canvas-status-bar {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .canvas-status-indicator {
        font-size: 1rem;
        margin-right: 0.5rem;
    }
}