/* 3D ROTATING COIN STYLES FOR NETWORK DEEP-DIVES */

.coin-scene {
    width: 120px;
    height: 120px;
    perspective: 1000px;
    margin: 0 auto 30px auto;
}

.coin-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: coin-spin 8s linear infinite;
}

.coin-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    backface-visibility: hidden;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.8));
    border: 4px solid var(--coin-color);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 0 30px var(--coin-color);
    color: var(--coin-color);
}

.coin-front {
    transform: rotateY(0deg) translateZ(10px);
}

.coin-back {
    transform: rotateY(180deg) translateZ(-10px);
}

/* 3D Depth Edges */
.coin-edge {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--coin-color);
    opacity: 0.15;
}

/* Generating thickness via stacked translations */
.coin-edge:nth-child(1) { transform: translateZ(9px); }
.coin-edge:nth-child(2) { transform: translateZ(8px); }
.coin-edge:nth-child(3) { transform: translateZ(7px); }
.coin-edge:nth-child(4) { transform: translateZ(6px); }
.coin-edge:nth-child(5) { transform: translateZ(5px); }
.coin-edge:nth-child(6) { transform: translateZ(4px); }
.coin-edge:nth-child(7) { transform: translateZ(3px); }
.coin-edge:nth-child(8) { transform: translateZ(2px); }
.coin-edge:nth-child(9) { transform: translateZ(1px); }
.coin-edge:nth-child(10) { transform: translateZ(0px); }
.coin-edge:nth-child(11) { transform: translateZ(-1px); }
.coin-edge:nth-child(12) { transform: translateZ(-2px); }
.coin-edge:nth-child(13) { transform: translateZ(-3px); }
.coin-edge:nth-child(14) { transform: translateZ(-4px); }
.coin-edge:nth-child(15) { transform: translateZ(-5px); }
.coin-edge:nth-child(16) { transform: translateZ(-6px); }
.coin-edge:nth-child(17) { transform: translateZ(-7px); }
.coin-edge:nth-child(18) { transform: translateZ(-8px); }
.coin-edge:nth-child(19) { transform: translateZ(-9px); }

@keyframes coin-spin {
    0% {
        transform: rotateY(0deg) rotateX(15deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(15deg);
    }
}
