@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #83012c 0%, #f30404 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.logo {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    border-radius: 100%;
    flex-shrink: 0;
}

h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0;
    font-size: 5.5em;
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
}

.roulette-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin-bottom: 30px;
}

.wheel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

canvas {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
    cursor: pointer;
}

.pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 40px solid #FFD700;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    z-index: 10;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, #FFD700, #FFA500);
    border-radius: 50%;
    border: 5px solid #FF6B00;
    z-index: 5;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8), inset -2px -2px 5px rgba(0,0,0,0.3);
}

button {
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #ff1744 0%, #f50057 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255,23,68,0.4);
    transition: all 0.3s ease;
}

button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,23,68,0.5);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.result {
    display: none;
}

.result-text {
    display: none;
}

@media (max-width: 500px) {
    .roulette-container {
        width: 300px;
        height: 300px;
    }

    h1 {
        font-size: 2em;
    }

    .logo {
        width: 120px;
        height: 120px;
    }
}
