* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    background: url('images/SVG/bg.svg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 150px;
    height: auto;
}

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

 .coin-wrapper {
    perspective: 1000px;
    margin: 0 auto 3rem;
    width: 200px;
    height: 200px;
}

.coin {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    cursor: pointer;
}

.coin-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50%;
    background: linear-gradient(145deg, #c0c0c0, #a0a0a0);
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.coin-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.coin-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.coin-heads {
    z-index: 2;
    transform: translateZ(10px);
}

.coin-tails {
    transform: rotateX(180deg) translateZ(10px);
}

.coin-edge-container {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.coin-edge-slice {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(
        to right,
        #ffffff 0%,
        #d6e8ff 50%,
        #ffffff 100%
    );
    transform: translateZ(calc(-8px + var(--slice-index) * 1.2px));
    box-shadow: 
        inset 0 0 10px rgba(0, 80, 255, 0.1),
        0 0 2px rgba(0, 32, 96, 0.2);
}

.flip-button {
    display: inline-block;
    padding: 10px 40px;
    border-radius: 50px;
    background: linear-gradient(to right, #ffffff, #d6e8ff);
    border: 2px solid #002060;
    box-shadow: 3px 3px 0px #0050ff;
    color: #0F62FE;
    font-size: 1.2rem;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flip-button:hover {
    background: linear-gradient(to right, #d6e8ff, #ffffff);
    transform: translateY(-2px);
    box-shadow: 3px 5px 0px #0050ff;
}

.flip-button:active {
    transform: translateY(0);
}

.flip-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.result {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    min-height: 2.5rem;
}