/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #e4e4e7;
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    padding: 20px;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 51, 102, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

/* Container for content */
body {
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation styling (at top) */
ul:first-of-type {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 1rem 0 2rem 0;
    padding: 0;
    gap: 2rem;
}

ul:first-of-type li {
    position: relative;
}

ul:first-of-type a {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    color: #e4e4e7;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

ul:first-of-type a::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;
}

ul:first-of-type a:hover::before {
    left: 100%;
}

ul:first-of-type a:hover {
    background: rgba(255, 51, 102, 0.2);
    border-color: #ff3366;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
}

/* Header styling */
h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin: 2rem 0;
    background: linear-gradient(135deg, #66ff33, #33ccff, #ff3366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(102, 255, 51, 0.3);
    animation: cryptoGlow 3s ease-in-out infinite alternate;
}

@keyframes cryptoGlow {
    from { filter: drop-shadow(0 0 5px rgba(102, 255, 51, 0.5)); }
    to { filter: drop-shadow(0 0 15px rgba(51, 204, 255, 0.5)); }
}

/* Description paragraph */
p {
    text-align: center;
    margin: 2rem 0 3rem 0;
    font-size: 1.2rem;
    color: #a1a1aa;
    font-weight: 500;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Crypto addresses list styling */
ul:last-of-type {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

ul:last-of-type li {
    margin: 1.5rem 0;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideIn 0.6s ease forwards;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

ul:last-of-type li:nth-child(1) { animation-delay: 0.1s; }
ul:last-of-type li:nth-child(2) { animation-delay: 0.2s; }
ul:last-of-type li:nth-child(3) { animation-delay: 0.3s; }
ul:last-of-type li:nth-child(4) { animation-delay: 0.4s; }
ul:last-of-type li:nth-child(5) { animation-delay: 0.5s; }
ul:last-of-type li:nth-child(6) { animation-delay: 0.6s; }
ul:last-of-type li:nth-child(7) { animation-delay: 0.7s; }

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

ul:last-of-type li:hover {
    background: rgba(102, 255, 51, 0.1);
    border-color: rgba(102, 255, 51, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 255, 51, 0.2);
}

/* Crypto currency names styling */
ul:last-of-type li strong {
    color: #66ff33;
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

/* Code styling for crypto addresses */
code {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 10px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.95rem;
    color: #66ff33;
    border: 1px solid rgba(102, 255, 51, 0.3);
    word-break: break-all;
    display: block;
    margin-top: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}




/* Responsive design */
@media (max-width: 768px) {
    ul:first-of-type {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    ul:first-of-type a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    ul:last-of-type li {
        padding: 15px 20px;
        margin: 1rem 0;
    }
    
    code {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    p {
        font-size: 1rem;
        padding: 15px 20px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    body::before {
        animation: none;
    }
}