body, html {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(#fdfde8, #8ed8cd);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

h1 {
    color: #333;
    font-weight: 600;
    margin-bottom: 40px;
}

.character-selection-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 900px;
}

.character-choice {
    flex: 1;
}

.character-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    width: 100%;
}

.character-button:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.character-button img {
    max-width: 100%; /* Poprawiono, aby obraz był responsywny */
    width: 300px; /* Ustawiono stałą szerokość dla spójności */
    height: auto;
    display: block;
    margin: 0 auto;
}

.arrows-container {
    flex: 1; /* Uelastyczniono kontener */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    min-width: 150px; /* Zapewniono minimalną szerokość */
}

.arrow {
    position: relative;
    background: white;
    padding: 12px 25px;
    color: #333;
    font-weight: 600;
    font-size: 1.2em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.arrow.right {
    padding-right: 40px;
}
.arrow.left {
    padding-left: 40px;
}


.arrow.right::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 20px solid white;
}

.arrow.left::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-right: 20px solid white;
}

.error {
    color: white;
    margin-top: 20px;
    background: #e74c3c;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}