body {
    background-color: #1e1e1e;
    color: #fff;
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.container {
    padding: 20px;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffcc00;
}

#main-title {
    font-size: 36px;
    margin-bottom: 40px;
}

.character-selection {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.character-selection button {
    background-color: #333;
    color: #fff;
    border: 2px solid #ffcc00;
    font-size: 24px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 10px;
}

.character-selection button:hover {
    background-color: #555;
}

.character {
    width: 120px;
    height: 120px;
    border: 2px solid #ffcc00;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
    overflow: hidden;
}

.character img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

#character-name {
    margin-top: 5px;
    font-size: 11px;
    color: #ffcc00;
}

.character-full {
    margin-top: 20px;
}

.character-full img {
    width: 300px;
    height: 300px;
    border: 4px solid #ffcc00;
    border-radius: 20px;
    animation: zoomIn 0.5s ease-in-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

#select-btn, #sinkaf-btn, #reset-btn, #back-btn {
    background-color: #ffcc00;
    color: #1e1e1e;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 10px;
}

#select-btn {
    font-size: 20px;
    padding: 10px 20px;
    margin-top: 20px;
}

#sinkaf-btn {
    font-size: 24px;
    padding: 15px 30px;
    margin-top: 20px;
    width: 200px; 
}

.bottom-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

#back-btn, #reset-btn {
    font-size: 16px;
    padding: 10px 20px;
    width: 120px;
}

#select-btn:hover, #sinkaf-btn:hover, #reset-btn:hover, #back-btn:hover {
    background-color: #ffdd55;
}

.sinkaf-counter {
    font-size: 24px;
    margin-top: 20px;
}

#sinkaf-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#random-text-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.random-text {
    position: absolute;
    font-size: 20px;
    color: #ffcc00;
    animation: floatText 2s ease-in-out forwards;
}

@keyframes floatText {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px);
    }
}

#confirmation-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.confirmation-box {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.confirmation-box p {
    margin-bottom: 20px;
}

.confirmation-box button {
    background-color: #ffcc00;
    color: #1e1e1e;
    border: none;
    font-size: 16px;
    padding: 10px 20px;
    cursor: pointer;
    margin: 0 10px;
    border-radius: 10px;
}

.confirmation-box button:hover {
    background-color: #ffdd55;
}