:root {
    --primary: #8a8780;
    --secondary: #e6e5c4;
    --tertiary: #d6d1af;
    --accent: #e47267;
    --light: #d7d8c5;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--light) 100%);
    min-height: 100vh;
    color: var(--primary);
    padding: 40px 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(138, 135, 128, 0.15);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    padding: 60px 40px;
    text-align: center;
    color: white;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.header-content {
    position: relative;
    z-index: 1;
}

.header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.main-content {
    padding: 50px 40px;
}

.intro {
    text-align: center;
    margin-bottom: 50px;
}

.intro h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.task-card {
    background: white;
    border: 3px solid var(--tertiary);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.task-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.task-card:hover::before {
    transform: scaleX(1);
}

.task-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 25px 50px rgba(228, 114, 103, 0.2);
}

.task-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: block;
    opacity: 0.8;
}

.task-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.task-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
    font-size: 1rem;
}

.task-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #d65a4f 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(228, 114, 103, 0.3);
    transition: all 0.3s ease;
}

.task-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(228, 114, 103, 0.4);
}

.task-link:active {
    transform: translateY(-1px);
}

.footer {
    background: var(--light);
    padding: 30px 40px;
    text-align: center;
    color: var(--primary);
    font-weight: 500;
}

.footer p {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }

    .container {
        border-radius: 20px;
    }

    .header {
        padding: 40px 30px;
    }

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

    .header p {
        font-size: 1rem;
    }

    .main-content {
        padding: 40px 30px;
    }

    .intro h2 {
        font-size: 1.8rem;
    }

    .tasks-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .task-card {
        padding: 30px 25px;
    }

    .task-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 35px 25px;
    }

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

    .main-content {
        padding: 35px 25px;
    }

    .task-card {
        padding: 25px 20px;
    }

    .footer {
        padding: 25px;
    }
}

/* Animaciones */
@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.container {
    animation: slideUp 0.8s ease-out;
}

.task-card {
    animation: slideUp 0.6s ease-out;
    animation-fill-mode: both;
}

.task-card:nth-child(1) { animation-delay: 0.1s; }
.task-card:nth-child(2) { animation-delay: 0.2s; }
.task-card:nth-child(3) { animation-delay: 0.3s; }
.task-card:nth-child(4) { animation-delay: 0.4s; }