* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', monospace;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated space background */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.stars {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: zoom 20s infinite linear;
}

.stars2 {
    background-image: 
        radial-gradient(1px 1px at 40px 60px, #fff, transparent),
        radial-gradient(1px 1px at 120px 50px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 190px 90px, #eee, transparent);
    background-repeat: repeat;
    background-size: 250px 120px;
    animation: zoom 40s infinite linear;
}

.stars3 {
    background-image: 
        radial-gradient(1px 1px at 60px 80px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 100px 20px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 150px 60px, #fff, transparent);
    background-repeat: repeat;
    background-size: 300px 150px;
    animation: zoom 60s infinite linear;
}

@keyframes zoom {
    from {
        transform: scale(1) translateY(0);
    }
    to {
        transform: scale(1.5) translateY(-100px);
    }
}

/* Header with scrolling text */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #1a0033, #330066, #1a0033);
    z-index: 100;
    border-bottom: 2px solid #00ffff;
    overflow: hidden;
}

.scrolling-text {
    white-space: nowrap;
    animation: scroll 30s linear infinite;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Main content */
.main-content {
    margin-top: 60px;
    padding: 20px;
}

/* Logo section */
.logo-section {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle, rgba(0,255,255,0.1) 0%, transparent 70%);
}

.main-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #00ffff;
    box-shadow: 
        0 0 20px #00ffff,
        0 0 40px rgba(0,255,255,0.5),
        0 0 60px rgba(0,255,255,0.3);
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
    object-fit: cover;
}

.title {
    font-size: 4rem;
    font-weight: 900;
    margin: 30px 0 20px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ffff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s ease infinite;
    text-shadow: 0 0 30px rgba(0,255,255,0.5);
}

.subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0% { box-shadow: 0 0 20px #00ffff, 0 0 40px rgba(0,255,255,0.5); }
    100% { box-shadow: 0 0 30px #00ffff, 0 0 60px rgba(0,255,255,0.8); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Meme section */
.meme-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(51,0,102,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

.frame-container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #00ffff;
    text-shadow: 0 0 20px #00ffff;
}

.meme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.meme-frame {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.meme-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.meme-frame:hover::before {
    left: 100%;
}

.meme-frame:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(0,255,255,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.meme-placeholder {
    text-align: center;
    padding: 40px 20px;
}

.meme-placeholder span {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
    animation: rotate 4s linear infinite;
}

.meme-placeholder p {
    font-size: 1.1rem;
    color: #ccc;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* About section */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(45deg, rgba(255,0,255,0.1) 0%, rgba(0,255,255,0.1) 100%);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-container h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ff00ff;
    text-shadow: 0 0 20px #ff00ff;
}

.narrative {
    text-align: left;
    line-height: 1.8;
    font-size: 1.1rem;
}

.narrative p {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-left: 4px solid #00ffff;
    border-radius: 8px;
    position: relative;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.narrative p:nth-child(1) { animation-delay: 0.2s; }
.narrative p:nth-child(2) { animation-delay: 0.4s; }
.narrative p:nth-child(3) { animation-delay: 0.6s; }
.narrative p:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Community section */
.community-section {
    padding: 80px 20px;
    background: radial-gradient(circle, rgba(255,0,255,0.2) 0%, transparent 70%);
}

.community-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.community-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffff00;
    text-shadow: 0 0 20px #ffff00;
    animation: glow 2s ease-in-out infinite alternate;
}

.community-container > p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Social buttons section */
.social-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 70px;
    padding: 0 10px;
}

.twitter-btn, .community-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    font-family: 'Orbitron', monospace;
    min-width: 200px;
    text-align: center;
    box-sizing: border-box;
}

.twitter-btn {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    color: white;
    box-shadow: 
        0 8px 25px rgba(29,161,242,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border: 2px solid rgba(29,161,242,0.3);
}

.community-btn {
    background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
    color: white;
    box-shadow: 
        0 8px 25px rgba(255,0,255,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border: 2px solid rgba(255,0,255,0.3);
}

.twitter-btn:hover, .community-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(255,255,255,0.2),
        inset 0 2px 0 rgba(255,255,255,0.3);
}

.twitter-btn:active, .community-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.twitter-btn::before, .community-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.twitter-btn:hover::before, .community-btn:hover::before {
    left: 100%;
}

.twitter-icon, .community-icon {
    font-size: 1.3rem;
    animation: bounce 2s ease-in-out infinite;
}

/* Stats section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 20px;
    border: 2px solid rgba(0,255,255,0.3);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,255,255,0.1), rgba(255,0,255,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: rgba(0,255,255,0.6);
    box-shadow: 0 10px 30px rgba(0,255,255,0.2);
}

.stat:hover::before {
    opacity: 1;
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

.stat-label {
    color: #ccc;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animation keyframes */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a0033, #000);
    border-top: 1px solid #00ffff;
    color: #666;
}

/* Enhanced Copy Button Styles */
.copy-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn.copied {
    background: linear-gradient(135deg, #00c851 0%, #007e33 100%);
    box-shadow: 0 4px 15px rgba(0, 200, 81, 0.4);
}

.copy-btn .copy-icon {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Copy Notification */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateX(400px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.copy-notification.show {
    transform: translateX(0);
}

.copy-notification.hide {
    transform: translateX(400px);
    opacity: 0;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 1.5em;
    animation: sparkle 1.5s infinite;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 2px;
}

.notification-address {
    font-size: 0.8em;
    opacity: 0.8;
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.notification-check {
    font-size: 1.2em;
    animation: checkPulse 0.5s ease;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

@keyframes checkPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Copy Particles */
.copy-particle {
    position: fixed;
    font-size: 1.5em;
    pointer-events: none;
    z-index: 9999;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
}

/* Contract Address Display */
.contract-display {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin: 16px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    word-break: break-all;
    backdrop-filter: blur(10px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contract-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Social Buttons */
.social-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 24px 0;
}

.social-buttons a,
.social-buttons button {
    position: relative;
    overflow: hidden;
}

.social-buttons a::before,
.social-buttons 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;
}

.social-buttons a:hover::before,
.social-buttons button:hover::before {
    left: 100%;
}

/* Mobile Responsiveness for Copy Features */
@media (max-width: 768px) {
    .copy-notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .copy-notification.show {
        transform: translateY(0);
    }
    
    .copy-notification.hide {
        transform: translateY(-100px);
    }
    
    .notification-content {
        gap: 8px;
    }
    
    .copy-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .copy-btn {
        width: 100%;
        max-width: 260px;
        margin: 8px 0;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .notification-address {
        font-size: 0.7em;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .main-logo {
        width: 120px;
        height: 120px;
    }
    
    .meme-grid {
        grid-template-columns: 1fr;
    }
    
    /* Community section mobile adjustments */
    .social-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 20px;
    }
    
    .twitter-btn, .community-btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 30px;
        font-size: 1rem;
        min-width: auto;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 300px;
    }
    
    .stat {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .community-container > p {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .scrolling-text {
        font-size: 14px;
    }
    
    .about-container h2,
    .community-container h2,
    .frame-container h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .main-content {
        margin-top: 50px;
    }
    
    .logo-section,
    .meme-section,
    .about-section,
    .community-section {
        padding: 40px 15px;
    }
    
    /* Extra small mobile adjustments */
    .community-container {
        padding: 0 5px;
    }
    
    .community-container h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .community-container > p {
        font-size: 1rem;
        margin-bottom: 35px;
        padding: 0 5px;
    }
    
    .social-buttons {
        padding: 0 10px;
        margin-bottom: 50px;
    }
    
    .twitter-btn, .community-btn {
        padding: 14px 25px;
        font-size: 0.95rem;
        max-width: 260px;
    }
    
    .twitter-icon, .community-icon {
        font-size: 1.1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 280px;
    }
    
    .stat {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Extra large mobile landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 600px;
    }
    
    .social-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .twitter-btn, .community-btn {
        width: auto;
        min-width: 180px;
    }
}