:root {
    --color-primary: #4B69FD;
    --color-secondary: #FFF9EB;
    --color-tertiary: #C4C4C4;
    --color-button: #fe652b;
    --color-button-hover: #e55720;
    --color-text: #444444;
    --color-white: #FFFFFF;
    --color-success: #05DF05;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

/* Configuración general del cuerpo */
body {
    height: 100vh;
    background-color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Contenedor principal */
.main-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    background: var(--color-secondary);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Banner */
.header-banner {
    padding: 20px;
    background: var(--color-primary);
    color: var(--color-white);
}

.header-banner img {
    max-width: 80%;
    height: auto;
}

/* Sección de entrada */
.input-section {
    padding: 20px;
}

/* Títulos */
.main-title {
    font-size: 36px;
    font-weight: 900;
    font-style: italic;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Contenedor de entrada y botón */
.input-wrapper {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 15px;
}

/* Entrada de texto */
.input-name {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--color-text);
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}

.input-name:focus {
    border-color: var(--color-primary);
}

/* Botones */
button {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.button-add {
    background: var(--color-tertiary);
    color: var(--color-text);
}

.button-add:hover {
    background: #a1a1a1;
}

/* Contenedor del botón de sorteo */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Botón de sorteo */
.button-draw {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-button);
    color: var(--color-white);
    font-weight: bold;
}

.button-draw:hover {
    background: var(--color-button-hover);
}

/* Listas */
ul {
    list-style: none;
    font-size: 18px;
    margin-top: 15px;
    padding: 0;
}

/* Lista de amigos */
.name-list {
    color: var(--color-text);
}

/* Resultado del sorteo */
.result-list {
    font-size: 22px;
    font-weight: bold;
    color: var(--color-success);
}

/* Responsividad */
@media (max-width: 480px) {
    .main-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 20px;
    }

    .button-draw {
        font-size: 14px;
        padding: 10px 20px;
    }

    .input-name {
        font-size: 14px;
    }
}
