body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #ffffff;
}
/*Colorcitos de arriba */
header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(90deg, #4dd889, #2576cd);
    color: white;
}


.timeline {
    display: flex;
    overflow-x: auto;
    padding: 40px;
    gap: 30px;
}
/* Tarjetitas e imagenes */

.event {
    min-width: 250px;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    animation: fadeUp 1s ease;
}

.event:hover {
    transform: translateY(-10px) scale(1.06);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.android { border-top: 6px solid #3ddc84; }
.ios { border-top: 6px solid #0071e3; }


.image-placeholder {
    height: 120px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
    border-radius: 10px;
}

.detalle-container img{
    border-radius: 14px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: all 0.6s ease;
}

.detalle-container img{
    border-radius: 20%; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: all 0.6s ease;
}

.event:hover .image-placeholder img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(1.1) contrast(1.1);
}

/* botoncitoss */
.timeline .android a,
.detalle-android .btn-vermas,
.detalle-android .btn-volver {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    text-decoration: none;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: white;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.4s ease;
}

.timeline .android a:hover,
.detalle-android .btn-vermas:hover,
.detalle-android .btn-volver:hover {
    background: linear-gradient(135deg, #1fa463, #3ddc84);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(61,220,132,0.5);
}


.timeline .ios a,
.detalle-ios .btn-vermas,
.detalle-ios .btn-volver {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    text-decoration: none;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: white;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.4s ease;
}

.timeline .ios a:hover,
.detalle-ios .btn-vermas:hover,
.detalle-ios .btn-volver:hover {
    background: linear-gradient(135deg, #1d68b4, #0071e3);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,113,227,0.5);
}


.detalle-android .detalle-container,
.detalle-ios .detalle-container{
    width: 85%;
    max-width: 900px;
}

.detalle-android .detalle-container h1,
.detalle-ios .detalle-container h1{
    font-size: 32px;
}

.detalle-android .detalle-container h2,
.detalle-ios .detalle-container h2{
    font-size: 22px;
}

.detalle-android .detalle-container p,
.detalle-ios .detalle-container p,
.detalle-android .detalle-container li,
.detalle-ios .detalle-container li{
    font-size: 16px;
    line-height: 1.7;
}

/* Fondito de colores de android verdes */
.detalle-android {
    background: linear-gradient(135deg, #67e49f, #15684e);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 0;
}

.detalle-android .detalle-container {
    background: rgba(255, 255, 255, 0.88);
    padding: 40px;
    border-radius: 20px;
    width: 85%;
    max-width: 900px;
    color: #101010;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.6s ease;
    animation: fadeUp 1s ease;
}

.detalle-android .detalle-container:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Fondito de colores de ios azulito */
.detalle-ios {
    background: linear-gradient(135deg, #6ea8ff, #022258);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 0;
}

.detalle-ios .detalle-container {
    background: rgba(255, 255, 255, 0.88);
    padding: 40px;
    border-radius: 20px;
    width: 85%;
    max-width: 900px;
    color: #101010;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.6s ease;
    animation: fadeUp 1s ease;
}

.detalle-ios .detalle-container:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Info bonita y organizadita */
.detalle-container h1{
    text-align:center;
}

.detalle-container img{
    display:block;
    margin:20px auto;
}


.detalle-container section:first-of-type{
    text-align:center;
}


.detalle-container section ul{
    text-align:left;
}

/*Imagenes para que se muevan*/
.detalle-container img{
    animation: imgFloat 4s ease-in-out infinite;
}

@keyframes imgFloat{
    0%{ transform: translateY(0) scale(1); }
    50%{ transform: translateY(-12px) scale(1.05); }
    100%{ transform: translateY(0) scale(1); }
}

/* Botoncitos */
.detalle-container section a{
    display:inline-block;
    margin-top:15px;
    padding:12px 26px;
    text-decoration:none;
    color:white;
    font-weight:bold;
    border-radius:25px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    transition: all 0.4s ease;
}


.detalle-android .detalle-container section a:hover{
    background: linear-gradient(135deg, #1fa463, #3ddc84);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(61,220,132,0.5);
}


.detalle-ios .detalle-container section a:hover{
    background: linear-gradient(135deg, #1d68b4, #0071e3);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,113,227,0.5);
}


@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
