/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Logo */
.logo {
    display: block;
    margin: 0 auto 20px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

/* Títulos */
h1 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    color: #ffd700;
    font-size: 2rem;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd700;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, transparent);
}

h3 {
    color: #ffed4e;
    font-size: 1.5rem;
    margin: 25px 0 10px 0;
    padding-left: 15px;
    border-left: 4px solid #ffd700;
}

/* Párrafos y texto */
p {
    margin-bottom: 15px;
    text-align: justify;
    color: #d0d0d0;
    line-height: 1.8;
}

strong {
    color: #ffd700;
    font-weight: 600;
}

/* Listas */
ul {
    list-style: none;
    padding-left: 0;
}

li {
    margin: 10px 0;
    padding: 12px 20px;
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #ffd700;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

li:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateX(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Enlaces */
a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

a:hover {
    color: #000;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

/* Elementos del proyecto */
.proyecto-item {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    padding: 25px;
    margin: 20px 0;
    border-radius: 15px;
    border: 1px solid #444;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proyecto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
    border-color: #ffd700;
}

/* Elementos del equipo */
.equipo-item {
    background: rgba(42, 42, 42, 0.8);
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    border-left: 5px solid #ffd700;
    transition: all 0.3s ease;
}

.equipo-item:hover {
    background: rgba(42, 42, 42, 1);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.2);
}

/* Videos */
video {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin: 15px 0;
    border: 2px solid #444;
    transition: border-color 0.3s ease;
}

video:hover {
    border-color: #ffd700;
}

/* Formulario */
form {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #444;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    margin: 20px 0;
}

label {
    color: #ffd700;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
textarea,
select {
    width: 100%;
    padding: 12px;
    background: #333;
    border: 2px solid #555;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

button {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #ffed4e, #ffd700);
}

/* Sección de comentarios */
#commentsSection {
    margin-top: 30px;
}

.comentario-item {
    background: rgba(42, 42, 42, 0.6);
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
    transition: all 0.3s ease;
}

.comentario-item:hover {
    background: rgba(42, 42, 42, 0.8);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.2);
}

/* Footer */
footer {
    margin-top: 50px;
    padding: 30px 0;
    border-top: 2px solid #ffd700;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ffd700;
    margin-bottom: 15px;
}

footer p {
    color: #ccc;
    margin: 10px 0;
}

footer a {
    color: #ffd700;
    margin: 0 15px;
    display: inline-block;
}

/* Efectos adicionales */
@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }
    100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.2); }
}

h1 {
    animation: glow 3s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    video {
        width: 100%;
        height: auto;
    }
}