/* Welcome Panel Styles */
* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    min-height: 100vh;
    overflow: hidden;
}

.welcome-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a0f00 0%, #2d1800 50%, #402000 100%);
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.music-notes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.note {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    animation: floatUp 8s infinite linear;
}

.note:nth-child(1) { left: 10%; animation-delay: 0s; }
.note:nth-child(2) { left: 25%; animation-delay: 2s; }
.note:nth-child(3) { left: 40%; animation-delay: 4s; }
.note:nth-child(4) { left: 60%; animation-delay: 6s; }
.note:nth-child(5) { left: 75%; animation-delay: 1s; }
.note:nth-child(6) { left: 90%; animation-delay: 3s; }

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.blockchain-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: pulse 3s infinite ease-in-out;
}

.node::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ripple 3s infinite ease-out;
}

.node-1 { top: 20%; left: 15%; animation-delay: 0s; }
.node-2 { top: 30%; left: 70%; animation-delay: 0.5s; }
.node-3 { top: 60%; left: 25%; animation-delay: 1s; }
.node-4 { top: 70%; left: 80%; animation-delay: 1.5s; }
.node-5 { top: 45%; left: 50%; animation-delay: 2s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(2); opacity: 0; }
}

/* Main Welcome Panel */
.welcome-panel {
    position: relative;
    background: linear-gradient(135deg, #2d1800 0%, #402000 100%, #1a0f00 100%);
    border: 3px solid #ffcc00;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 500px;
    width: 90%;
    z-index: 10;
    position: relative;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Logo Animation */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.musicchain-logo {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.logo-ring {
    width: 80px;
    height: 80px;
    border: 3px solid #667eea;
    border-radius: 50%;
    position: relative;
    animation: rotateRing 4s infinite linear;
}

.logo-note {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #667eea;
    animation: bounceNote 2s infinite ease-in-out;
}

.logo-chain {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    border: 2px solid #764ba2;
    border-radius: 10px;
    animation: chainPulse 2s infinite ease-in-out;
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounceNote {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -60%) scale(1.1); }
}

@keyframes chainPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.brand-name {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Welcome Content */
.welcome-title {
    font-size: 2rem;
    color: #ffcc00;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(255, 204, 0, 0.3);
    text-align: center;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.welcome-subtitle {
    font-size: 1.1rem;
    color: #ffa500;
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.7s both;
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: bounce 2s infinite ease-in-out;
}

.feature-card:nth-child(1) .feature-icon { animation-delay: 0s; }
.feature-card:nth-child(2) .feature-icon { animation-delay: 0.3s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 0.6s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* CTA Section */
.cta-section {
    text-align: center;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.primary-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.4), 0 0 20px rgba(76, 175, 80, 0.2);
    background: linear-gradient(135deg, #5cbf60, #4caf50);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.primary-btn:hover .btn-glow {
    left: 100%;
}

.skip-text {
    color: #ffa500;
    font-size: 0.9rem;
}

.skip-text a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.skip-text a:hover {
    text-decoration: underline;
}

/* Progress Dots */
.progress-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
}

.dot.active {
    background: #667eea;
    transform: scale(1.2);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.sound-wave {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffcc00, #ffa500);
    opacity: 0.2;
    animation: pulse 3s ease-in-out infinite;
}

.disc-1 { top: 10%; left: 10%; animation-delay: 0s; }
.disc-2 { top: 20%; right: 15%; animation-delay: 2s; }
.disc-3 { bottom: 20%; left: 20%; animation-delay: 4s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.wave-1 { 
    top: 50%; left: 50%; width: 100px; height: 100px; 
    transform: translate(-50%, -50%); animation-delay: 0s; 
}
.wave-2 { 
    top: 50%; left: 50%; width: 150px; height: 150px; 
    transform: translate(-50%, -50%); animation-delay: 1s; 
}
.wave-3 { 
    top: 50%; left: 50%; width: 200px; height: 200px; 
    transform: translate(-50%, -50%); animation-delay: 2s; 
}

@keyframes wave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-panel {
        padding: 2rem;
        margin: 1rem;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .primary-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}
