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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(31, 31, 53, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #c084fc31 0%, #892be23b 100%);
    padding: 60px 40px;
    text-align: center;
    position: relative;
}

.photo-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
}

.photo-placeholder {
    font-size: 80px;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.content {
    padding: 40px;
}

.section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: rgba(192, 132, 252, 0.05);
    border-radius: 15px;
    border-left: 4px solid #8a2be2;
}

.section h2 {
    color: #8a2be2;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(192, 132, 252, 0.3);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    padding: 10px;
    background-color: rgba(192, 132, 252, 0.1);
    border-radius: 8px;
}

.info-item strong {
    color: #c084fc;
    margin-right: 8px;
}

.experience-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(192, 132, 252, 0.2);
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.experience-item h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.company {
    color: #c084fc;
    font-style: italic;
    margin-bottom: 12px;
}

.experience-item ul {
    list-style-position: inside;
    padding-left: 20px;
}

.experience-item li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(192, 132, 252, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(192, 132, 252, 0.5);
}

.footer {
    padding: 40px;
    text-align: center;
    background-color: rgba(31, 31, 53, 0.5);
}

.back-button {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(192, 132, 252, 0.4);
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192, 132, 252, 0.6);
}

.back-button:active {
    transform: translateY(-1px);
}

/* Responsive para móviles (hasta 600px) */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 15px;
    }

    .header {
        padding: 40px 20px;
    }

    .photo-container {
        width: 120px;
        height: 120px;
    }

    .photo-placeholder {
        font-size: 60px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .content {
        padding: 20px;
    }

    .section {
        padding: 20px;
        margin-bottom: 25px;
    }

    .section h2 {
        font-size: 1.4rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .back-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Responsive para tablets (601px - 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }

    .header {
        padding: 50px 30px;
    }

    .photo-container {
        width: 140px;
        height: 140px;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .content {
        padding: 30px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive para PC (1025px - 1920px) */
@media (min-width: 1025px) and (max-width: 1920px) {
    .container {
        max-width: 1000px;
    }

    .header {
        padding: 60px 40px;
    }
}

/* Responsive para televisores (más de 1920px) */
@media (min-width: 1921px) {
    .container {
        max-width: 1400px;
    }

    .header {
        padding: 80px 60px;
    }

    .photo-container {
        width: 180px;
        height: 180px;
    }

    .photo-placeholder {
        font-size: 100px;
    }

    .header h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.4rem;
    }

    .content {
        padding: 60px;
    }

    .section {
        padding: 40px;
    }

    .section h2 {
        font-size: 2rem;
    }

    body {
        font-size: 1.1rem;
    }
}