/* Remove any critical CSS that's now inlined in the HTML */
/* ...existing code... */

/* Add font loading optimization */
@font-face {
    font-family: 'SF Pro Display';
    src: url('https://fonts.cdnfonts.com/css/sf-pro-display') format('woff2');
    font-display: swap;
}

:root {
    /* Accent colors remain the same */
    --primary-color: #ff69b4;
    --secondary-color: #ff9ecd;
    /* Change dark backgrounds to light ones */
    --background-dark: #ffffff;      /* Main background: white */
    --background-darker: #fafafa;      /* Secondary background: light gray */
    /* Change text colors to dark values */
    --text-light: #111111;           /* Primary text: nearly black */
    --text-gray:  #555555;           /* Secondary text: medium gray */
}

/* Remove user-select restrictions */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: var(--background-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Remove user-select none from text */
p, h1, h2, h3, h4, h5, h6, span, a {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

/* Allow image dragging */
img {
    user-drag: auto;
    -webkit-user-drag: auto;
    user-select: auto;
    -webkit-user-select: auto;
    pointer-events: auto;
}

/* Remove image restrictions */
img {
    pointer-events: auto;
    user-select: auto;
    -webkit-user-select: auto;
    -webkit-user-drag: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
}

/* Fix mobile menu button */
.mobile-menu-button {
    cursor: pointer;
    z-index: 1001; /* Ensure button stays above menu */
    position: relative;
    display: none; /* Hidden by default, shown in mobile */
}

@media screen and (max-width: 1024px) {
    .mobile-menu-button {
        display: block;
    }
    
    /* Ensure menu is properly layered */
    .nav-links {
        z-index: 1000;
    }
}

/* Update mobile menu button visibility */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

@media screen and (max-width: 1024px) {
    .desktop-nav-links {
        display: none;
    }

    .mobile-menu-button {
        display: block !important; /* Force display on mobile */
        margin-left: auto;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
    background: radial-gradient(circle at top, 
        rgba(255, 105, 180, 0.15) 0%, 
        var(--background-darker) 60%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* CTA Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.primary-button,
.secondary-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.primary-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 8px 24px rgba(255, 105, 180, 0.25);
}

.primary-button:hover {
    background: linear-gradient(135deg, #ff5aa7, #ff8fc4);
    box-shadow: 0 8px 24px rgba(255, 105, 180, 0.25);
    transform: none;
}

.primary-button:active {
    transform: translateY(0);
}

.secondary-button {
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.secondary-button:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
    transform: none;
}

.button-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-icon img {
    width: 100%;
    height: 100%;
    /* Remove inversion so the icon appears naturally dark */
    filter: none;
}

/* Add shine effect on primary button */
.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

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

/* Updated Nav styles */
nav {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /* Fallback for Safari older versions */
    @supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
        background: rgba(255, 255, 255, 0.95);
    }
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100vw;
    left: 0;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Reduced from 0.8rem */
    text-decoration: none; /* Add this to remove underline from link */
    color: inherit; /* Add this to maintain text color */
    cursor: pointer; /* Add this to show clickable cursor */
}

.logo img {
    width: 36px; /* Increased from 32px */
    height: 36px; /* Increased from 32px */
    border-radius: 100%;
}

.logo span {
    font-size: 18px; /* Reduced from 22px */
    font-weight: 700;
    color: var(--text-light);
    margin-left: -2px; /* Added to bring text even closer */
}

.nav-links {
    position: fixed;
    top: 0;
    left: -100%; /* Start off-screen */
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease-in-out;
    z-index: 999;
}

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

.nav-links .menu-header {
    position: absolute;
    top: 1rem;
    left: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links .menu-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links .menu-logo img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.nav-links .menu-logo span {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links .menu-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.nav-links a {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    width: 280px;
    text-align: center;
    border-radius: 12px;
    background: white;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-links a:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-menu-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-menu-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-menu-social-link img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.nav-menu-social-link i {
    font-size: 19px;
}

.nav-menu-social-link:hover {
    transform: translateY(-2px);
    align-items: center;
    justify-content: center;
}

.button-icon img {
    width: 100%;
    height: 100%;
    /* Remove inversion so the icon appears naturally dark */
    filter: none;
}

/* Add shine effect */
.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

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

/* Stats Bar */
.stats-bar {
    background: rgba(255, 105, 180, 0.1);
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat h3 {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

/* New styles for app showcase */
.app-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.app-icon {
    width: 180px;
    height: 180px;
    margin-bottom: 1rem;
    position: relative;
    transition: transform 0.3s ease;
}

.app-icon:hover {
    transform: scale(1.05);
}

.app-icon img {
    width: 100%;
    height: 100%;
    border-radius: 2.5rem;
    /* Lighter shadow for light mode */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin: 1rem 0 2rem;
    max-width: 600px;
}

/* Device mockup styles */
.device-mockup {
    position: relative;
    margin-top: 3rem;
}

.floating-device {
    max-width: 400px;
    height: auto;
    /* Lighter drop-shadow for light mode */
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Update heading styles */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0.5rem auto; /* Changed from just margin: 0.5rem 0 */
    max-width: 800px; /* Add max-width to control the width */
    padding: 0 1rem; /* Add horizontal padding */
}

/* Add responsive design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        padding: 1rem;
    }

    .app-icon {
        width: 120px;
        height: 120px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .floating-device {
        max-width: 300px;
    }

    .tagline {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
}

/* New Features Section */
.features {
    padding: 8rem 4rem;
    background: linear-gradient(180deg, var(--background-dark) 0%, var(--background-darker) 100%);
}

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

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

.features-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Updated Roadmap Styles */
.roadmap {
    padding: 8rem 4rem;
    background: var(--background-darker);
    position: relative;
    overflow: hidden;
}

.roadmap-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 6rem;
}

.roadmap-header h2 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.roadmap-header p {
    color: var(--text-gray);
    font-size: 1.2rem;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

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

.roadmap-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.15);
}

.roadmap-card-header {
    padding: 2rem;
    background: rgba(255, 105, 180, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.phase-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.roadmap-card-header h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0;
}

.roadmap-card-content {
    padding: 2rem;
}

.milestone-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.milestone {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.milestone-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-gray);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.milestone-icon.active {
    background: rgba(255, 105, 180, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.milestone-icon.upcoming {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
    color: var(--text-gray);
}

.milestone p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

/* Add hover effects */
.milestone:hover .milestone-icon {
    transform: scale(1.1);
    background: rgba(255, 105, 180, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.milestone:hover p {
    color: var(--text-light);
}

/* Add glow effect behind cards */
.roadmap-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle at center,
        rgba(255, 105, 180, 0.15) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .roadmap {
        padding: 6rem 2rem;
    }

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

    .roadmap-header h2 {
        font-size: 2.5rem;
    }
}

/* Add animation classes for scroll reveal */
.roadmap-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Add stagger delay for items */
.roadmap-item:nth-child(2) {
    transition-delay: 0.2s;
}

.roadmap-item:nth-child(3) {
    transition-delay: 0.4s;
}

/* Footer Styles */
.footer {
    background: var(--background-darker);
    padding: 6rem 4rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-brand p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1rem;
    max-width: 400px;
}

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

.social-link {
    width: 36px; /* Reduced from 40px */
    height: 36px; /* Reduced from 40px */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%; /* Changed from 12px to 50% for perfect circle */
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0; /* Add this to ensure consistent spacing */
}

.social-link img {
    width: 19px; /* Changed from 20px */
    height: 19px; /* Changed from 20px */
    object-fit: contain;
    transition: filter 0.3s ease; /* Add transition for color change */
}

.social-link i {
    font-size: 19px; /* Changed from 20px to match img size */
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 105, 180, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.social-link:hover img {
    filter: invert(73%) sepia(40%) saturate(7075%) hue-rotate(308deg) brightness(101%) contrast(101%); /* This will make SVGs pink (#ff69b4) */
}

.social-link img[src*="telegram"] {
    transform: translateY(-1px); /* Slight adjustment to visually center */
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.footer-links-column h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-links-column a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links-column a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 4rem 2rem 1.5rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* New Socials Section */
.socials {
    padding: 6rem 2rem;
    background: var(--background-dark);
    position: relative;
}

.socials-gradient-container {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 24px;
    padding: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    min-height: 400px; /* Add minimum height to ensure container is tall enough */
}

.socials-content {
    max-width: 500px; /* Reduced from 600px to make room for image */
    text-align: left;
    position: relative;
    z-index: 2;
}

.social-3d-model {
    position: absolute;
    right: 0;
    bottom: -1px; /* Push image below the container edge */
    width: 400px;
    height: auto;
    object-fit: contain;
    z-index: 1;
    transform: none; /* Remove translateY */
}

@media (max-width: 1024px) {
    .social-3d-model {
        width: 300px;
        opacity: 0.3; /* Make image more transparent on smaller screens */
    }
}

@media (max-width: 768px) {
    .socials-gradient-container {
        padding: 3rem 1.5rem;
        min-height: auto; /* Reset min-height on mobile */
    }
    
    .social-3d-model {
        width: 200px;
        opacity: 0.2; /* Even more transparent on mobile */
        display: none; /* Hide on mobile */
    }
    
    .socials-content {
        max-width: 100%; /* Full width on mobile */
    }
}

.socials-content {
    max-width: 600px;
    text-align: left;
}

.socials-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.socials-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-button {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.social-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .socials-gradient-container {
        padding: 3rem 1.5rem;
    }

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

    .social-buttons {
        flex-direction: column;
    }

    .social-button {
        text-align: center;
    }
}

/* Mobile Menu Styles */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

/* Mobile-first media queries */
@media screen and (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.8);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        /* Fallback for Safari older versions */
        @supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
            background: rgba(255, 255, 255, 0.95);
        }
        padding: 5rem 2rem;
        z-index: 999;
    }

    .hero-content {
        padding: 1rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .features-grid,
    .social-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .roadmap-timeline::before {
        left: 1rem;
    }

    .roadmap-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 2rem;
    }

    .roadmap-content {
        width: 100%;
        margin: 0 !important;
    }

    .roadmap-content::before {
        left: -2rem !important;
    }
}

/* Performance Optimizations */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .social-link-item,
    .feature-card,
    .primary-button,
    .secondary-button {
        transition: transform 0.2s ease;
    }

    .social-link-item:active,
    .feature-card:active,
    .primary-button:active,
    .secondary-button:active {
        transform: scale(0.98);
    }
}

/* Loading Performance */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Whitepaper Modal Styles */
.whitepaper-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Use a very light dark overlay to focus modal content */
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 2rem;
}

.whitepaper-content {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.whitepaper-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 2;
}

.whitepaper-header h2 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin: 0;
}

.close-button {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: var(--primary-color);
}

.whitepaper-body {
    padding: 2rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.whitepaper-body h1 {
    font-size: 2.8rem;
    margin: 3rem 0 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.whitepaper-body h2 {
    font-size: 2.2rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--text-light);
}

.whitepaper-body h3 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.whitepaper-body p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.whitepaper-body a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.whitepaper-body a:hover {
    border-bottom-color: var(--primary-color);
    opacity: 0.8;
}

.whitepaper-body ul, 
.whitepaper-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.whitepaper-body li {
    margin-bottom: 0.75rem;
    color: var (--text-gray);
}

.whitepaper-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    overflow: hidden;
}

.whitepaper-body th {
    background: rgba(255, 105, 180, 0.1);
    color: var(--text-light);
    font-weight: 600;
    text-align: left;
    padding: 1rem;
}

.whitepaper-body td {
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-gray);
}

.whitepaper-body blockquote {
    margin: 2rem 0;
    padding: 1rem 2rem;
    border-left: 4px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 12px 12px 0;
}

.whitepaper-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%);
    margin: 3rem 0;
    opacity: 0.3;
}

/* Add smooth scrolling for the whitepaper content */
.whitepaper-content {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .whitepaper-modal {
        padding: 1rem;
    }
    
    .whitepaper-content {
        margin: 1rem auto;
    }
    
    .whitepaper-body {
        padding: 1.5rem;
    }
}

.download-pdf-button {
    background: rgba(255, 105, 180, 0.1);
    border: 1px solid rgba(255, 105, 180, 0.3);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.download-pdf-button:hover {
    background: rgba(255, 105, 180, 0.2);
    transform: translateY(-2px);
}

/* Add these ecosystem section styles */
.ecosystem {
    padding: 8rem 4rem;
    background: var(--background-darker);
    position: relative;
    overflow: hidden;
}

.ecosystem-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ecosystem-header {
    text-align: center;
    margin-bottom: 6rem;
    width: 100%; /* Ensure full width */
}

.ecosystem-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-light); /* Change from gradient to solid color */
}

.ecosystem-header p {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 6rem;
}

.ecosystem-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.ecosystem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ecosystem-card:hover {
    transform: none;
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
}

.ecosystem-card:hover::before {
    opacity: 1;
}

.ecosystem-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 105, 180, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.ecosystem-card h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.ecosystem-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
}

.ecosystem-showcase {
    margin-top: 6rem;
    display: block; /* Change from grid to block */
}

.ecosystem-showcase-wrapper {
    background: linear-gradient(135deg, #2D83EC, #1AC9FF);
    border-radius: 24px;
    padding: 4rem;
    width: 100%; /* Ensure full width */
    margin: 0 auto;
    color: white;
}

.ecosystem-showcase-content {
    max-width: 600px;
    text-align: left;
    padding-right: 0;
}

.ecosystem-showcase-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.ecosystem-showcase-content p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.ecosystem-showcase-image {
    position: relative;
}

.ecosystem-showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.ecosystem-integrations {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

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

.integration-item:hover {
    transform: none;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
}

.integration-item img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
}

.integration-item img[src*="telegram.svg"],
.integration-item img[src*="gamepad.svg"] {
    filter: brightness(0) invert(0);
}

@media (max-width: 1024px) {
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ecosystem-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .ecosystem {
        padding: 6rem 2rem;
    }
    
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }
    
    .ecosystem-header h2 {
        font-size: 2.5rem;
    }
    
    .ecosystem-showcase-content {
        padding-right: 0;
    }
}

/* Phone mockup styles */
.phone-mockup {
    background: #e0e0e0;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.phone-screen {
    background: var(--background-dark);
    border-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.phone-screen img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
}

.game-preview-text {
    text-align: center;
    color: var(--text-light);
}

.game-preview-text .score {
    display: block;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 10px;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Animation classes */
.animate-fade-up,
.animate-fade-right,
.animate-fade-left {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

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

.animate-fade-up {
    transform: translateY(30px);
}

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

.animate-fade-right {
    transform: translateX(-30px);
}

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

.animate-fade-left {
    transform: translateX(30px);
}

/* Optional: Add smooth scrolling to the whole page */
html {
    scroll-behavior: smooth;
}

/* Add transition for all transform properties */
.ecosystem-card,
.feature-card,
.social-link-item {
    transition: all 0.3s ease-out;
}

/* Ensure chart is responsive */
#tokenomicsChart {
    max-width: 100%;
    height: auto !important;
}

/* Legal Pages Styles */
.legal-content {
    padding: 120px 2rem 4rem;
    min-height: 100vh;
    background: var(--background-dark);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-align: center;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.legal-section p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.legal-section a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .legal-container {
        padding: 2rem;
    }

    .legal-container h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }
}

/* Update logo styles for legal pages */
.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-light);
}

/* Updated Memes Gallery Styles */
.memes-gallery {
    padding: 8rem 2rem; /* Reduced horizontal padding */
    background: var(--background-dark);
    position: relative;
    overflow: hidden;
}

.memes-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

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

.memes-header h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.memes-header p {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.memes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.memes-grid.loaded {
    opacity: 1;
}

.meme-wrapper {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100%; /* Full width */
    height: auto;
    min-height: 200px; /* Add minimum height to prevent layout shifts */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
}

.meme-wrapper.loaded {
    opacity: 1;
    transform: translateY(0);
}

.meme-item {
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    max-width: 100%;
}

@media (max-width: 1200px) {
    .memes-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 2rem;
        padding: 1rem;
    }

    .meme-wrapper {
        max-width: 800px; /* Limit maximum width */
        margin: 0 auto;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .memes-gallery {
        padding: 6rem 0.5rem; /* Minimal padding on mobile */
    }

    .memes-grid {
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .meme-wrapper {
        padding: 0.75rem;
        width: 100%;
    }

    .meme-item {
        border-radius: 8px;
    }

    .memes-header {
        padding: 0 1rem;
    }
}

/* Enhanced Meme Gallery Styles */
.meme-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meme-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(255, 105, 180, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0.8;
}

.meme-wrapper.loaded::before {
    display: none;
}

.meme-item {
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.meme-item.loaded {
    opacity: 1;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Improve image loading performance */
.meme-item {
    content-visibility: auto;
    contain: content;
}

/* Add fade-in animation for images */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.meme-wrapper.loaded .meme-item {
    animation: fadeIn 0.5s ease forwards;
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 0.8rem 1.2rem;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .nav-links.active {
        animation: slideIn 0.3s ease-out;
        justify-content: center;
        gap: 2.5rem;
    }

    .nav-links.active a {
        font-size: 1.4rem;
        padding: 1rem;
        width: 80%;
        text-align: center;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .nav-links.active a:hover {
        background: rgba(255, 105, 180, 0.15);
        transform: scale(1.05);
    }

    /* Hero Section */
    .hero {
        padding: 5rem 1rem 2rem;
    }

    .hero-content {
        padding: 0;
    }

    .app-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 0.5rem;
    }

    h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .tagline {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin: 0.5rem 0 1.5rem;
    }

    /* CTA Buttons */
    .cta-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }

    .primary-button, .secondary-button {
        width: 100%;
        justify-content: center;
        padding: 0.9rem;
    }

    /* Features Section */
    .features {
        padding: 4rem 1.5rem;
    }

    .feature-card {
        padding: 1.8rem;
    }

    .feature-card h3 {
        font-size: 1.4rem;
    }

    /* Roadmap Section */
    .roadmap {
        padding: 4rem 1rem;
    }

    .roadmap-grid {
        gap: 1.5rem;
    }

    .roadmap-card {
        margin: 0 -1rem;
        border-radius: 0;
    }

    /* Social Links */
    .social-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .social-link-item {
        padding: 1.2rem;
    }

    /* Footer */
    .footer {
        padding: 4rem 1.5rem 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links-column {
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 1.5rem;
    }

    /* Add bottom navigation for mobile */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 0.8rem;
        justify-content: space-around;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        color: var(--text-gray);
        text-decoration: none;
        font-size: 0.8rem;
    }

    .mobile-nav-item i {
        font-size: 1.2rem;
    }

    .mobile-nav-item.active {
        color: var(--primary-color);
    }

    /* Add pull-to-refresh animation */
    .pull-to-refresh {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-gray);
        font-size: 0.9rem;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .pull-to-refresh.visible {
        opacity: 1;
    }

    /* Mobile-specific animations */
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none; /* Hide by default */
}

@media screen and (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex; /* Show only on mobile */
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 0.8rem;
        justify-content: space-around;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    /* Add padding to footer to prevent content from being hidden behind mobile nav */
    .footer {
        padding-bottom: calc(4rem + 60px); /* Existing padding + mobile nav height */
    }
}

/* Improve mobile nav item styles */
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.mobile-nav-item.active {
    color: var(--primary-color);
    background: rgba(255, 105, 180, 0.1);
}

/* Update ecosystem showcase styles */
.ecosystem-showcase {
    margin-top: 6rem;
}

.ecosystem-showcase-wrapper {
    background: linear-gradient(135deg, #0088CC, #29B6F6);
    border-radius: 24px;
    padding: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    color: white;
}

.ecosystem-showcase-content {
    max-width: 600px;
    text-align: left;
    padding-right: 0;
}

.ecosystem-showcase-content h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.ecosystem-showcase-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.ecosystem-integrations {
    display: flex;
    gap: 1rem;
    margin-top: 0;
}

.integration-item {
    background: white;
    color: #0088CC;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: none;
}

.integration-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: none;
    border-color: transparent;
}

@media (max-width: 768px) {
    .ecosystem-showcase-wrapper {
        padding: 3rem 1.5rem;
    }
    
    .ecosystem-showcase-content h3 {
        font-size: 2rem;
    }
    
    .ecosystem-integrations {
        flex-direction: column;
    }
    
    .integration-item {
        text-align: center;
    }
}

/* Remove mobile bottom nav styles */
.mobile-bottom-nav {
    display: none;
}

/* Update mobile menu styles */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        padding: 5rem 1.5rem 2rem; /* Reduced from 80px to 5rem */
        z-index: 99;
        align-items: stretch;
    }

    .nav-links.active a {
        font-size: 1.2rem;
        padding: 1.2rem 1.5rem;
        margin: 0.25rem 0; /* Reduced margin */
        width: 100%;
        text-align: left;
        border-radius: 12px;
        background: white;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
    }

    nav {
        padding: 0.8rem 1rem; /* Reduced horizontal padding */
    }

    .mobile-menu-button {
        width: 40px;
        height: 40px;
        margin-left: auto; /* Push to right */
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
}

/* Fix mobile menu button centering */
.mobile-menu-button {
    width: 40px;
    height: 40px;
    padding: 0;
    margin-left: auto;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-button i {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

/* Getting Started Section */
.getting-started {
    padding: 8rem 4rem;
    background: var(--background-dark);
    overflow: hidden; /* Hide main scrollbar */
}

.getting-started-header {
    text-align: left;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.getting-started-title {
    font-size: 2.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.getting-started-title > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.telegram-brand {
    background: linear-gradient(135deg, #0088cc, #29B6F6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.telegram-brand i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #0088cc, #29B6F6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.getting-started-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    border-radius: 24px;
    padding: 2.5rem;
    height: 550px; /* Increased from 500px */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.step-content {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem; /* Add space between title and image */
}

.step-content.bottom {
    margin-top: auto;
    margin-bottom: 0;
}

.step-title {
    font-size: 1.5rem; /* Reduced from 1.8rem */
    font-weight: 600;
    line-height: 1.3;
    max-width: 80%;
}

.step-card.gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.step-card.white {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.step-mockup {
    position: absolute;
    width: 100%;
    max-width: 280px;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
}

.step-mockup.bottom {
    bottom: -190px;
}

.step-mockup.top {
    top: -190px;
}

@media (max-width: 1024px) {
    .getting-started-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .getting-started {
        padding: 6rem 0 6rem 1.5rem; /* Remove right padding to allow overflow */
    }
    
    .getting-started-steps {
        grid-template-columns: repeat(3, 90%); /* Make cards wider */
        gap: 1.5rem;
        overflow-x: auto; /* Enable horizontal scroll */
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2rem; /* Add space for potential scrollbar */
        margin-bottom: -2rem; /* Compensate for padding to hide scrollbar */
    }

    /* Hide scrollbar but keep functionality */
    .getting-started-steps::-webkit-scrollbar {
        display: none;
    }
    
    .getting-started-steps {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .step-card {
        scroll-snap-align: start;
        width: 100%;
        min-width: 280px;
        height: 550px; /* Slightly shorter on mobile */
    }

    .getting-started-title {
        font-size: 1.9rem;
        gap: 0.5rem;
    }

    .getting-started-title > div {
        font-size: 1.9rem;
    }

    .telegram-brand {
        margin-left: 0.25rem;
    }

    .telegram-brand i {
        font-size: 1.9rem;
    }
}

/* Desktop Navigation */
.desktop-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.desktop-nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.desktop-nav-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 105, 180, 0.1);
}

/* Hide mobile menu on desktop */
.mobile-menu-button,
.menu-header,
.menu-items,
.nav-menu-social-links {
    display: none;
}

/* Mobile styles */
@media screen and (max-width: 1024px) {
    .desktop-nav-links {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    /* ...rest of existing mobile styles... */
}

/* Custom text selection style */
::selection {
    background: rgba(255, 105, 180, 0.2); /* Light pink with 20% opacity */
    color: inherit; /* Keep the original text color */
}

/* For Firefox */
::-moz-selection {
    background: rgba(255, 105, 180, 0.2);
    color: inherit;
}

/* Add loading indicator styles */
.loading-indicator {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
    display: none;
}

.memes-grid {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.memes-grid.loaded {
    opacity: 1;
}

.meme-wrapper {
    min-height: 200px; /* Add minimum height to prevent layout shifts */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
}

/* Updated Mobile Nav Styles */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 5rem 1.5rem 2rem;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        align-items: center;
        justify-content: center;
    }

    .nav-links .menu-items {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .nav-links a {
        width: 100%;
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        margin: 0.5rem 0;
        border-radius: 16px;
        background: white;
        color: var(--text-light);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a:hover,
    .nav-links a:active {
        transform: translateY(-2px);
        background: rgba(255, 105, 180, 0.1);
        border-color: var(--primary-color);
        color: var(--primary-color);
    }

    .nav-menu-social-links {
        margin-top: 2rem;
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    .nav-menu-social-link {
        width: 44px;
        height: 44px;
        background: white;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu-social-link:hover {
        transform: translateY(-2px);
        background: rgba(255, 105, 180, 0.1);
        border-color: var(--primary-color);
    }

    .nav-menu-social-link img,
    .nav-menu-social-link i {
        width: 20px;
        height: 20px;
        color: var(--text-light);
    }

    .nav-menu-social-link:hover i {
        color: var(--primary-color);
    }
}

/* Airdrop & Listing Section */
.airdrop-listing {
    padding: 6rem 2rem;
    background: var(--background-dark);
    position: relative;
}

.airdrop-listing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.airdrop-listing-header {
    margin-bottom: 3rem;
}

.airdrop-listing-header h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.airdrop-listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.status-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.status-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

.status-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.coming-soon-badge {
    background: rgba(255, 105, 180, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-content h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 0;
}

.status-content p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 1.1rem;
    margin: 0;
}

.status-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    transition: opacity 0.3s ease;
}

.status-link:hover {
    opacity: 0.8;
}

.status-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.status-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .airdrop-listing {
        padding: 4rem 1.5rem;
    }

    .airdrop-listing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .airdrop-listing-header h2 {
        font-size: 2rem;
    }

    .status-card {
        padding: 1.5rem;
    }

    .status-icon {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .status-content h3 {
        font-size: 1.3rem;
    }

    .status-content p {
        font-size: 1rem;
    }
}