/* Premium Design System & Styles for Moondicks */

:root {
    --bg-primary: #08050a;
    --bg-secondary: #130a11;
    --accent-red: #ff3b5c;
    --accent-orange: #ff8a5c;
    --accent-pink: #d946ef;
    
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-hover: rgba(255, 59, 92, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Animated Stars / Nebula Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 150px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 150px 60px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 220px 220px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 300px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 350px 300px, rgba(255,255,255,0.7), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.25;
    animation: backgroundShift 120s linear infinite;
}

.glow-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 59, 92, 0.15) 0%, rgba(217, 70, 239, 0.05) 50%, rgba(0,0,0,0) 100%);
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Main Card */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 40px 30px;
    width: 100%;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-pink));
}

.card:hover {
    border-color: rgba(255, 59, 92, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 59, 92, 0.05);
}

/* Header */
.header {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-red) 70%, var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 6s ease-in-out infinite alternate;
}

.badge {
    background: rgba(255, 59, 92, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(255, 59, 92, 0.2);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Avatar Image Section */
.avatar-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-red) 0%, rgba(255, 59, 92, 0.1) 70%, rgba(0,0,0,0) 100%);
    filter: blur(15px);
    opacity: 0.6;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

.avatar-img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 1;
    position: relative;
    animation: float 6s ease-in-out infinite;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth);
    background-color: var(--accent-red); /* matching red bg of image just in case */
}

.avatar-container:hover .avatar-img {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--accent-red);
}

/* Description */
.description-section {
    margin-bottom: 30px;
    max-width: 90%;
}

.description-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 300;
}

.text-link {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

.text-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-orange);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform var(--transition-fast);
}

.text-link:hover {
    color: #ff9d75;
}

.text-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Links Section */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 35px;
}

.link-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    border-radius: 16px;
    text-decoration: none;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.opensea-btn {
    background: linear-gradient(135deg, rgba(255, 59, 92, 0.15) 0%, rgba(217, 70, 239, 0.05) 100%);
    border: 1px solid rgba(255, 59, 92, 0.25);
    color: var(--text-primary);
}

.opensea-btn:hover {
    background: linear-gradient(135deg, rgba(255, 59, 92, 0.25) 0%, rgba(217, 70, 239, 0.15) 100%);
    border-color: var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 59, 92, 0.2);
    transform: translateY(-2px);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--text-muted);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.25rem;
    margin-right: 16px;
    width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-red);
}

.secondary-btn .btn-icon {
    color: var(--accent-orange);
}

.btn-text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    flex-grow: 1;
    text-align: left;
}

.btn-arrow {
    font-size: 0.9rem;
    opacity: 0.5;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.link-btn:hover .btn-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* Footer Section */
.footer {
    width: 100%;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ceo-info {
    display: flex;
    justify-content: center;
    width: 100%;
}

.ceo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.ceo-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ceo-link:hover {
    color: var(--accent-red);
}

.wallet-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.wallet-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding-left: 4px;
}

.wallet-container {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.wallet-container:focus-within {
    border-color: rgba(255, 59, 92, 0.4);
}

.wallet-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-secondary);
    padding: 12px 14px;
    font-family: monospace;
    font-size: 0.85rem;
    flex-grow: 1;
    width: 100%;
    cursor: default;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-left: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0 16px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.copy-btn:hover {
    background: rgba(255, 59, 92, 0.1);
    color: var(--accent-red);
}

.copy-btn.copied {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.4;
        transform: scale(0.95);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes backgroundShift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 1000px 1000px;
    }
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 2px rgba(255, 59, 92, 0.1));
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(255, 59, 92, 0.3));
    }
}

/* Media Queries */
@media (max-width: 480px) {
    .card {
        padding: 30px 20px;
    }
    
    .logo-text {
        font-size: 2.2rem;
    }
    
    .avatar-container {
        width: 180px;
        height: 180px;
    }
    
    .wallet-container {
        flex-direction: column;
    }
    
    .wallet-input {
        border-bottom: 1px solid var(--glass-border);
    }
    
    .copy-btn {
        border-left: none;
        padding: 12px;
        justify-content: center;
    }
}
