* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0f0c29;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    min-height: 100vh;

    display: flex;
    justify-content: center;

    align-items: flex-start;

    color: white;

    padding-top: 50px;
    padding-bottom: 50px;
}

.container {
    text-align: center;
    padding: 20px;
    width: 100%;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.card-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    text-decoration: none;
    color: white;
    width: 280px;
    height: 350px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Efecto Explosivo al pasar el mouse */
.card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Colores dinámicos por tarjeta */
.figma {
    background: linear-gradient(45deg, #ff7262, #a259ff);
}

.web {
    background: linear-gradient(45deg, #00d2ff, #3a7bd5);
}

.carnaval {
    background: linear-gradient(45deg, #e8a20a, #16ad02);
}

.card-content {
    padding: 30px;
    text-align: center;
    z-index: 2;
}

.icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
}

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Animación de entrada suave */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-wrapper {
    animation: fadeIn 1s ease-out;
}