.tool-container {
    text-align: center;
    padding: 2rem;
}

.tool-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    margin-bottom: 2rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.coin-container {
    perspective: 1000px;
    margin: 2rem auto;
    width: 150px;
    height: 150px;
}

.coin {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s;
}

.coin.flipping {
    animation: flip 1s ease-out forwards;
}

.coin div {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    border: 5px solid var(--primary-color);
    background-color: var(--surface-color);
}

.heads {
    transform: translateZ(1px);
}

.tails {
    transform: rotateY(180deg) translateZ(1px);
}

@keyframes flip {
    from {
        transform: rotateY(0);
    }
    to {
        transform: rotateY(1800deg); /* 5 tam tur */
    }
}
