/* Estilos para el Workshop Juvenil con efectos festivos */

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Efectos de confeti */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffd700;
    position: absolute;
    animation: confetti-fall linear infinite;
    opacity: 0.8;
}

.confetti:nth-child(1) {
    left: 10%;
    animation-duration: 3s;
    animation-delay: 0s;
    background: #ff6b6b;
}

.confetti:nth-child(2) {
    left: 30%;
    animation-duration: 4s;
    animation-delay: 1s;
    background: #4ecdc4;
}

.confetti:nth-child(3) {
    left: 50%;
    animation-duration: 3.5s;
    animation-delay: 0.5s;
    background: #ffe66d;
}

.confetti:nth-child(4) {
    left: 70%;
    animation-duration: 4.5s;
    animation-delay: 1.5s;
    background: #a8e6cf;
}

.confetti:nth-child(5) {
    left: 90%;
    animation-duration: 3.8s;
    animation-delay: 0.8s;
    background: #ff8b94;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Tarjeta del formulario */
.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animaciones de título */
.animate-title {
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.animate-subtitle {
    animation: fadeIn 1s ease-in;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Efectos de brillo */
.sparkles {
    font-size: 2rem;
    color: #ffd700;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkles i {
    margin: 0 10px;
    animation: rotate 3s linear infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Botones con efecto hover */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Inputs con efecto focus */
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Efectos de partículas adicionales */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

/* Estilos para las tarjetas de estadísticas */
.border-left-primary {
    border-left-color: #667eea !important;
}

.border-left-success {
    border-left-color: #28a745 !important;
}

.border-left-info {
    border-left-color: #17a2b8 !important;
}

/* Sección de título */
.title-section {
    margin-bottom: 2rem !important;
    padding-top: 2rem;
}

.location-text {
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .title-section {
        padding-top: 3rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .display-3 {
        font-size: 2.5rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.2;
    }
    
    .display-5 {
        font-size: 1.3rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .location-text {
        font-size: 0.95rem;
        margin-bottom: 0.5rem !important;
    }
    
    .form-card {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .title-section {
        padding-top: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .display-3 {
        font-size: 2rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .display-5 {
        font-size: 1.1rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .location-text {
        font-size: 0.85rem;
        margin-bottom: 0.3rem !important;
    }
}

/* Mensaje destacado de compartir */
.share-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    animation: pulse 2s ease-in-out infinite;
}

.share-message h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.share-message .group-name {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .share-message {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .share-message h3 {
        font-size: 1.4rem;
    }
    
    .share-message .group-name {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 576px) {
    .share-message {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .share-message h3 {
        font-size: 1.2rem;
    }
    
    .share-message .group-name {
        font-size: 1.3rem;
    }
}

