body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    background-color: #fce4ec;
    color: #4a4a4a;
    padding-top: 20px;
    margin: 0;
    overflow-x: hidden;
}

header h1 {
    color: #e91e63;
    margin-bottom: 20px;
}

.mode-selector {
    margin-bottom: 30px;
    padding: 10px;
    border-bottom: 2px solid #e91e63;
}

.mode-selector button {
    padding: 10px 15px;
    margin: 0 5px;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #ffcdd2;
    color: #4a4a4a;
    border: none;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.mode-selector button.active {
    background-color: #e91e63;
    color: white;
    font-weight: bold;
}

#app-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-section {
    display: none;
    padding: 20px;
    border-top: 1px solid #ddd;
}

.content-section.active {
    display: block;
}

.character-container {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    width: 300px;  
    height: auto;  
    margin: 30px auto;
    position: relative;
}

#main-character {
    width: 250px;   
    height: 250px;
    object-fit: contain; 
    position: relative; 
    transition: transform 3s ease-out; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    background-color: #ffffff; 
    z-index: 1;
}

.result-container {
    margin-top: 25px; 
    padding: 10px 20px;
    background-color: #ffffff; 
    border-radius: 5px;
    border: 2px solid #e91e63;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 2;
}

#current-text {
    font-size: 2.5em; 
    font-weight: bold;
    color: #d81b60; 
    transition: transform 0.2s ease-in-out;
}

.slot-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.slot-item {
    width: 120px;
    height: 120px;
    border: 5px solid #e91e63;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.05s linear;
}

.spin-button {
    padding: 18px 35px;
    font-size: 1.6em;
    cursor: pointer;
    background-color: #f06292;
    color: white;
    border: none;
    border-radius: 10px;
    margin-top: 10px;
    transition: background-color 0.3s, transform 0.2s;
}

.spin-button:hover:not(:disabled) {
    background-color: #e91e63;
    transform: translateY(-2px);
}

.spin-button:disabled {
    background-color: #ffb6c1; 
    color: #a05252; 
    cursor: not-allowed;
    box-shadow: none; 
}

#background-music, #spin-sound {
    display: none;
}

/* Kalp Patlaması Efekti Stilleri */
#heart-explosion-container {
    position: absolute;
    top: 35%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 1px; 
    pointer-events: none; 
    z-index: 0;
    overflow: visible; 
}

.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ff69b4; 
    transform: none; 
    opacity: 0;
    animation: explodeHeart 1.5s forwards ease-out; 
    border-radius: 0 0 50% 50%; 
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ff69b4;
    border-radius: 50%;
}

.heart::before {
    top: -10px;
    left: -10px; 
}

.heart::after {
    top: -10px;
    left: 10px; 
}

@keyframes explodeHeart {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }
    10% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--x), var(--y)) scale(0.5); 
    }
}