/* === Synthwave LED Retro Theme (Final Style) === */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

body {
    background: linear-gradient(90deg, #000428, #004e92);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0px 0px 10px #ff00ff;
}

header {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    font-size: 18px;
    text-transform: uppercase;
    border-bottom: 2px solid #ff00ff;
    box-shadow: 0px 0px 10px #ff00ff;
}

nav a {
    color: #0ff;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 20px;
    transition: all 0.3s ease-in-out;
}

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

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 40px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #220033, #5500AA);
    border-radius: 16px;
    box-shadow: 0px 0px 30px rgba(255, 0, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats-container {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #1a0026, #3d0099);
    border-radius: 12px;
    box-shadow: 0px 0px 25px rgba(255, 0, 255, 0.9);
    max-width: 600px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.stat {
    text-align: left;
    margin-bottom: 20px;
    font-size: 18px;
    text-shadow: 0px 0px 10px #00ffff;
}

.bar {
    width: 100%;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    box-shadow: 0px 0px 8px #0ff;
    overflow: hidden;
    position: relative;
}

.fill {
    height: 100%;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    box-shadow: 0px 0px 12px #ff00ff;
    transition: width 2s ease-in-out;
    animation: glowEffect 2s infinite alternate;
}

@keyframes glowEffect {
    0% { box-shadow: 0px 0px 10px #ff00ff; }
    50% { box-shadow: 0px 0px 20px #00ffff; }
    100% { box-shadow: 0px 0px 10px #ff00ff; }
}

.chat-container {
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #1b0033, #330066);
    border-radius: 12px;
    box-shadow: 0px 0px 25px rgba(0, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#chatInput {
    width: 80%;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid #00ffff;
    color: #ffffff;
    box-shadow: 0px 0px 8px #00ffff;
    margin-bottom: 12px;
}

#chatButton {
    padding: 10px 25px;
    font-size: 16px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0px 0px 15px #ff00ff;
    transition: all 0.3s ease-in-out;
}

#chatButton:hover {
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    transform: scale(1.05);
    box-shadow: 0px 0px 20px #00ffff;
}

.vita-avatar {
    width: 160px;
    height: auto;
    border-radius: 16px;
    border: 2px solid #00ffff;
    box-shadow: 0px 0px 25px #00ffff;
    margin: 25px auto 10px auto;
    display: block;
}

.vita-avatar-large {
    width: 180px;
    max-width: 90%;
    padding: 16px;
    border-radius: 16px;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    margin: 20px auto;
    display: block;
    background: rgba(0, 0, 0, 0.3);
}

.ai-health, .hero-image {
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    border: 2px solid #00ffff;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    transition: transform 0.3s ease-in-out;
}

.ai-health:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px #ff00ff;
}

.soft-container {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,255,255,0.15);
    max-width: 90%;
    margin: auto;
}

#tokenCount, #streakCount {
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 8px #0ff;
}

#hydrationStatus {
    background-color: rgba(0, 255, 255, 0.1);
    padding: 10px 15px;
    margin-top: 8px;
    border-radius: 10px;
    border: 1px solid #00ffff;
    color: #00ffff;
    font-size: 16px;
    font-style: italic;
    box-shadow: 0px 0px 15px #00ffff88;
    animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 10px #00ffff66; }
    100% { box-shadow: 0 0 25px #00ffffaa; }
}

.mic-button {
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    border: none;
    color: black;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    margin-top: 12px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0px 0px 10px #ff00ff;
    transition: all 0.3s ease-in-out;
}

.mic-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 20px #00ffff;
}

img[src*="nft-placeholder"] {
    transition: transform 0.3s ease-in-out;
}

img[src*="nft-placeholder"]:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 20px #ff00ff;
}

