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

body {
    font-family: 'Bungee', sans-serif;
    background-color: #1a1a2e;
	font-weight: 300;
	font-style: normal;
    color: white;
    min-height: 100vh;
}

h1, h2, p, button {
    font-family: inherit;
}

header {
    background-color: #16213e;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.icon {
    font-size: 2rem;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: 2rem;
    font-weight: bold;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 20px;
}

.coin-container {
    text-align: center;
}

.coin {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    cursor: pointer;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

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

.coin-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}



.flip-button {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flip-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* 
@keyframes flip {
    0% { transform: rotateY(0); }
    50% { transform: rotateY(90deg) scale(1.2); }
    100% { transform: rotateY(0deg); }
} */

@keyframes flip {
    0% { transform: rotateY(0); }
    25% { transform: rotateY(180deg) scale(1.1); }
    50% { transform: rotateY(360deg) scale(1.2); }
    75% { transform: rotateY(180deg) scale(1.1); }
    100% { transform: rotateY(0deg); }
}

@media (max-width: 768px) {
    .coin {
        width: 150px;
        height: 150px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .icon {
        font-size: 1.5rem;
    }
}
