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

body {
    font-family: 'Comic Sans MS', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #ffeb3b, #ff9800, #e91e63, #9c27b0);
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ffeb3b, #ff9800, #e91e63, #9c27b0);
    z-index: -2;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(45deg, #ffeb3b, #ff9800, #e91e63, #9c27b0); }
    50% { background: linear-gradient(45deg, #9c27b0, #3f51b5, #00bcd4, #4caf50); }
}

/* Happy Shapes Animation */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(15px 15px at 20px 30px, rgba(255, 235, 59, 0.6), transparent),
        radial-gradient(20px 20px at 40px 70px, rgba(233, 30, 99, 0.5), transparent),
        radial-gradient(10px 10px at 50px 50px, rgba(156, 39, 176, 0.4), transparent),
        radial-gradient(12px 12px at 80px 10px, rgba(255, 152, 0, 0.6), transparent),
        radial-gradient(18px 18px at 130px 80px, rgba(76, 175, 80, 0.5), transparent),
        radial-gradient(14px 14px at 110px 40px, rgba(33, 150, 243, 0.4), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: starsMove 120s linear infinite;
}

@keyframes starsMove {
    from { transform: translateX(0); }
    to { transform: translateX(-200px); }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #ff6b6b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.logo-container .logo {
    font-family: 'Comic Sans MS', cursive;
    font-size: 2rem;
    color: #ff6b6b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-5px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-3px); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #ff6b6b;
    text-decoration: none;
    font-family: 'Comic Sans MS', cursive;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4ecdc4;
    transform: scale(1.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: #4ecdc4;
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.wallet-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    color: #fff;
    font-family: 'Comic Sans MS', cursive;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.wallet-btn:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Main Content */
.main-content {
    padding-top: 80px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-family: 'Comic Sans MS', cursive;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    font-weight: bold;
}

.glitch-text {
    position: relative;
    color: #ff6b6b;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
    0% { color: #ff6b6b; }
    20% { color: #4ecdc4; }
    40% { color: #45b7d1; }
    60% { color: #f9ca24; }
    80% { color: #6c5ce7; }
    100% { color: #ff6b6b; }
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 10px #ff00ff; }
    25% { text-shadow: -2px 0 #00ffff; }
    50% { text-shadow: 2px 0 #ffff00; }
    75% { text-shadow: 0 0 10px #ff00ff; }
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    25% { clip-path: inset(20% 0 30% 0); transform: translate(-2px, 2px); }
    50% { clip-path: inset(50% 0 20% 0); transform: translate(2px, -2px); }
    75% { clip-path: inset(10% 0 60% 0); transform: translate(-1px, 1px); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    25% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -2px); }
    50% { clip-path: inset(20% 0 50% 0); transform: translate(-2px, 2px); }
    75% { clip-path: inset(30% 0 40% 0); transform: translate(1px, -1px); }
}

.hero-subtitle {
    font-family: 'Comic Sans MS', cursive;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #4ecdc4;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
    font-weight: bold;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-5px) scale(1.05); }
    50% { transform: translateY(0) scale(1); }
    75% { transform: translateY(-3px) scale(1.02); }
}

.hero-description {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

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

.cta-button {
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.primary {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: #fff;
}

.cta-button.secondary {
    background: transparent;
    color: #ff6b6b;
    border: 3px solid #ff6b6b;
}

.cta-button:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.platform-info {
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid #ff6b6b;
    border-radius: 20px;
    padding: 2rem;
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.platform-label {
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.2rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: center;
}

.platform-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.platform-features span {
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.1rem;
    color: #4ecdc4;
    font-weight: bold;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 15px;
    border: 2px solid #ff6b6b;
    animation: float 3s ease-in-out infinite;
}

.platform-features span:nth-child(2) {
    animation-delay: 1s;
}

.platform-features span:nth-child(3) {
    animation-delay: 2s;
}

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

/* Token Info Section */
.token-info-section {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.6);
}

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

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(78, 205, 196, 0.2));
    border: 3px solid #ff6b6b;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.3);
    border-color: #4ecdc4;
}

.stat-card h3 {
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.2rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-weight: bold;
}

.stat-value {
    font-family: 'Comic Sans MS', cursive;
    font-size: 2.5rem;
    color: #4ecdc4;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1.3rem;
    color: #333;
    font-weight: 600;
}

/* Features Section */
.features-section {
    padding: 4rem 2rem;
    background: rgba(255, 107, 107, 0.05);
}

.section-title {
    font-family: 'Comic Sans MS', cursive;
    font-size: 2.5rem;
    text-align: center;
    color: #ff6b6b;
    margin-bottom: 3rem;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
}

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

.features-card {
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid #ff6b6b;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.features-card:hover {
    transform: scale(1.1) rotate(2deg);
    border-color: #4ecdc4;
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.4);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.features-card h3 {
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.3rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-weight: bold;
}

.features-card p {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

/* Community Section */
.community-section {
    padding: 4rem 2rem;
    background: rgba(0, 255, 255, 0.05);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid #ff6b6b;
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: #333;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #4ecdc4;
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.4);
    color: #4ecdc4;
}

.social-icon {
    font-size: 2.5rem;
}

.social-text {
    font-family: 'Comic Sans MS', cursive;
    font-size: 1rem;
    font-weight: bold;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.9);
    border-top: 3px solid #ff6b6b;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.footer-text {
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.2rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer-disclaimer {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

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

.modal-content {
    background: linear-gradient(135deg, #1a0033, #330066);
    border: 2px solid #ff00ff;
    border-radius: 12px;
    margin: 10% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-btn {
    color: #ff00ff;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #00ffff;
}

.modal-content h3 {
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    color: #ff00ff;
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wallet-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 0, 255, 0.1);
    border: 2px solid #ff00ff;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Press Start 2P', cursive;
    color: #fff;
    font-size: 0.875rem;
}

.wallet-option:hover {
    background: rgba(255, 0, 255, 0.2);
    transform: translateX(10px);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.wallet-option img {
    width: 40px;
    height: 40px;
}

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: linear-gradient(135deg, #1a0033, #330066);
    border: 2px solid #ff00ff;
    border-radius: 8px;
    padding: 1rem 2rem;
    color: #fff;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    z-index: 3000;
    transition: right 0.5s ease;
    backdrop-filter: blur(10px);
}

.notification.show {
    right: 20px;
}

.notification.success {
    border-color: #00ff00;
    color: #00ff00;
}

.notification.error {
    border-color: #ff0000;
    color: #ff0000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.6rem;
    }
    
    .wallet-btn {
        font-size: 0.6rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stat-card,
    .tokenomics-card {
        padding: 1.5rem;
    }
    
    .social-links {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .social-link {
        padding: 1.5rem;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem !important;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
    
    .contract-info {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .social-icon {
        font-size: 1.5rem;
    }
}