/* Coin Animation */
#coin-container {
    perspective: 1000px;
    width: 150px; /* Increased size */
    height: 150px; /* Increased size */
    margin: 20px auto;
}

#coin {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.5s ease-out;
}

.coin-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    box-shadow: inset 0 0 25px rgba(0,0,0,0.3); /* Inner shadow for depth */
}

.front {
    background: linear-gradient(45deg, #ffd700, #f0c000); /* Gold gradient */
    transform: translateZ(5px); /* Give thickness */
}

.back {
    background: linear-gradient(45deg, #c0c0c0, #a9a9a9); /* Silver gradient */
    transform: rotateY(180deg) translateZ(5px); /* Give thickness */
}

/* Adding a side/edge for 3D effect */
#coin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 7.5%; /* (100% - 85% width) / 2 */
    width: 85%;
    height: 100%;
    background: #a47c00; /* Darker gold for edge */
    border-radius: 50%;
    transform: translateZ(2.5px) rotateY(90deg);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}


