/* Código animado tipo terminal */
.code-animated {
    background: #181c1f;
    color: #eafbe7;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    font-size: 1.05rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(24,28,31,0.08);
    padding: 12px 18px;
    margin: 32px auto 0 auto;
    max-width: 340px;
    min-height: 32px;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    overflow-x: auto;
}
.code-animated .prompt {
    color: #7ec699;
    margin-right: 6px;
    font-weight: bold;
}
.code-animated .typed {
    color: #eafbe7;
    white-space: pre;
}
.code-animated .cursor {
    color: #e17055;
    font-weight: bold;
    margin-left: 2px;
    animation: blink 1s steps(1) infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
/* Lista de progreso de tareas */
/* Lista de progreso minimalista y animada */
.progress-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0 0;
    text-align: left;
    font-size: 1rem;
    color: #8B5C2A;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.progress-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.7);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(139,92,42,0.06);
    margin-bottom: 12px;
    padding: 8px 16px 8px 8px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s cubic-bezier(.4,0,.2,1) forwards;
}
.progress-list li:nth-child(1) { animation-delay: 0.1s; }
.progress-list li:nth-child(2) { animation-delay: 0.25s; }
.progress-list li:nth-child(3) { animation-delay: 0.4s; }
.progress-list li:nth-child(4) { animation-delay: 0.55s; }
.progress-list li:nth-child(5) { animation-delay: 0.7s; }
.progress-list .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    margin-right: 2px;
}
.progress-list .text {
    flex: 1;
}
.progress-list li.done .icon svg {
    animation: checkAppear 0.7s cubic-bezier(.4,0,.2,1);
}
.progress-list li.in-progress .icon svg {
    animation: pulse 1.2s infinite alternate;
}
.progress-list li.done {
    color: #4caf50;
    font-weight: 600;
    opacity: 1;
}
.progress-list li.in-progress {
    color: #e17055;
    font-weight: 600;
    opacity: 1;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes checkAppear {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
    from { opacity: 0.5; }
    to { opacity: 1; }
}
/* Fondo animado minimalista */
.bg-animated {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-animated-circles {
    position: absolute;
    border-radius: 50%;
    opacity: 0.13;
    background: linear-gradient(135deg, #8B5C2A 60%, #e7d6c1 100%);
    animation: floatBg 12s ease-in-out infinite alternate;
}

@keyframes floatBg {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-40px) scale(1.08); }
}
/* Burbujas animadas */
.bubble {
    position: absolute;
    bottom: 45px;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.7;
    animation: bubbleUp 2.5s infinite;
    z-index: 3;
}

@keyframes bubbleUp {
    0% { transform: translateY(0) scale(1); opacity: 0.7; }
    70% { opacity: 1; }
    100% { transform: translateY(-32px) scale(0.7); opacity: 0; }
}
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8e7d2 0%, #e7d6c1 100%);
    font-family: 'Montserrat', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.container {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(139,92,42,0.15);
    padding: 48px 32px 32px 32px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: fadeIn 1.2s cubic-bezier(.4,0,.2,1);
    position: relative;
    z-index: 2;
}

.logo {
    margin-bottom: 24px;
    animation: bounceIn 1.2s cubic-bezier(.4,0,.2,1);
}

h1 {
    color: #8B5C2A;
    font-size: 2.5rem;
    margin: 0 0 12px 0;
    letter-spacing: 2px;
    font-weight: 700;
}

.subtitle {
    color: #5c3a1a;
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.footer {
    color: #a88b6b;
    font-size: 0.95rem;
    margin-top: 32px;
}

.animation {
    margin: 32px 0 16px 0;
    display: flex;
    justify-content: center;
}

.wine-glass {
    width: 60px;
    height: 100px;
    position: relative;
    background: transparent;
}
.wine-glass::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 40px;
    height: 60px;
    background: rgba(255,255,255,0.7);
    border-radius: 0 0 20px 20px/0 0 40px 40px;
    border: 3px solid #8B5C2A;
    border-top: none;
    transform: translateX(-50%);
    z-index: 1;
}
.wine-glass::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 60px;
    width: 6px;
    height: 30px;
    background: #8B5C2A;
    border-radius: 3px;
    transform: translateX(-50%);
    z-index: 2;
}
.liquid {
    position: absolute;
    left: 50%;
    bottom: 40px;
    width: 34px;
    height: 0;
    background: linear-gradient(180deg, #b03a2e 60%, #e17055 100%);
    border-radius: 0 0 17px 17px/0 0 20px 20px;
    transform: translateX(-50%);
    z-index: 2;
    animation: fillWine 2.5s cubic-bezier(.4,0,.2,1) 0.5s forwards;
}

@keyframes fillWine {
    0% { height: 0; }
    100% { height: 28px; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}
