body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #36393f;
    color: #dcddde;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 20px;
    background-color: #2f3136;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h1, h2 {
    color: #ffffff;
    text-align: center;
}

.form-container {
    margin-bottom: 30px;
}

#confesion-input {
    width: 100%;
    height: 150px;
    padding: 15px;
    border: 2px solid #5865f2;
    border-radius: 8px;
    background-color: #40444b;
    color: #dcddde;
    font-size: 16px;
    resize: vertical;
    box-sizing: border-box;
}

#confesion-input::placeholder {
    color: #b9bbbe;
}

#enviar-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background-color: #5865f2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#enviar-btn:hover {
    background-color: #4752c4;
}

#message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
}

#message.success {
    background-color: #4CAF50;
    color: #ffffff;
}

#message.error {
    background-color: #f44336;
    color: #ffffff;
}

#confesiones-list {
    margin-top: 30px;
}

#confesiones-container {
    max-height: 400px;
    overflow-y: auto;
}

.confesion-item {
    background-color: #40444b;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #5865f2;
}

.confesion-item p {
    margin: 0;
    color: #dcddde;
}

.confesion-item small {
    color: #b9bbbe;
    font-size: 12px;
}

/* Estilos para la página de inicio */
.welcome-section {
    text-align: center;
    margin-top: 50px;
}

.welcome-text {
    font-size: 24px;
    color: #dcddde;
    margin-bottom: 20px;
    font-weight: 300;
}

.description {
    font-size: 18px;
    color: #b9bbbe;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.start-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #5865f2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #5865f2;
}

.start-btn:hover {
    background-color: #4752c4;
    border-color: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

/* Efecto de lluvia de papeles */
#paper-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.paper {
    position: absolute;
    font-size: 24px;
    animation: fall linear infinite;
    opacity: 0.7;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) translateX(0px) rotate(var(--initial-rotation, 0deg));
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(50vh) translateX(20px) rotate(calc(var(--initial-rotation, 0deg) + 180deg));
        opacity: 0.8;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) translateX(-10px) rotate(calc(var(--initial-rotation, 0deg) + 360deg));
        opacity: 0;
    }
}