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

body {
    font-family: 'VT323', monospace;
    background: #000;
    color: #fff;
    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, #1a0033, #330066, #1a0033);
    z-index: -2;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(45deg, #1a0033, #330066, #1a0033); }
    50% { background: linear-gradient(45deg, #330066, #660099, #330066); }
}

/* Stars Animation */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, white, transparent),
        radial-gradient(1px 1px at 50px 50px, white, transparent),
        radial-gradient(1px 1px at 80px 10px, white, transparent),
        radial-gradient(2px 2px at 130px 80px, white, transparent),
        radial-gradient(1px 1px at 110px 40px, white, 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(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #ff00ff;
}

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

.logo-container .logo {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: #ff00ff;
    text-shadow: 0 0 20px #ff00ff;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px #ff00ff; }
    to { text-shadow: 0 0 30px #ff00ff, 0 0 40px #ff00ff; }
}

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

.nav-link {
    color: #fff;
    text-decoration: none;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

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

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

.wallet-btn {
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    border: none;
    color: #000;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.wallet-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

/* 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: 'Press Start 2P', cursive;
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 1rem;
}

.glitch-text {
    position: relative;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    animation: glitch 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: #00ffff;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: #ffff00;
    z-index: -2;
}

@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: 'Press Start 2P', cursive;
    font-size: clamp(0.75rem, 3vw, 1.25rem);
    color: #00ffff;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-description {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-button {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

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

.cta-button.primary {
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    color: #000;
    font-weight: bold;
}

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

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

.contract-info {
    background: rgba(255, 0, 255, 0.1);
    border: 2px solid #ff00ff;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.contract-label {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    color: #ff00ff;
    margin-bottom: 0.5rem;
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contract-address span {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: #00ffff;
    word-break: break-all;
}

.copy-btn {
    background: #ff00ff;
    border: none;
    color: #000;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #00ffff;
    transform: scale(1.1);
}

/* 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, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    border: 2px solid #ff00ff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
    border-color: #00ffff;
}

.stat-card h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.875rem;
    color: #ff00ff;
    margin-bottom: 1rem;
}

.stat-value {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    color: #00ffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px #00ffff;
}

.stat-label {
    font-size: 1.25rem;
    color: #fff;
    opacity: 0.8;
}

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

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    text-align: center;
    color: #ff00ff;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px #ff00ff;
}

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

.tokenomics-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ff00ff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tokenomics-card:hover {
    transform: scale(1.05);
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

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

.tokenomics-card h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: #ff00ff;
    margin-bottom: 1rem;
}

.tokenomics-card p {
    font-size: 1.25rem;
    color: #fff;
    opacity: 0.9;
}

/* 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(0, 0, 0, 0.8);
    border: 2px solid #ff00ff;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: #00ffff;
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.5);
    color: #00ffff;
}

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

.social-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid #ff00ff;
    padding: 2rem;
    text-align: center;
}

.footer-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.875rem;
    color: #ff00ff;
    margin-bottom: 1rem;
}

.footer-disclaimer {
    font-size: 1rem;
    color: #fff;
    opacity: 0.7;
}

/* 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;
    }
}