* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 450px;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    color: #f1c40f;
    margin-bottom: 10px;
    font-size: 28px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

p {
    color: #ccc;
    margin-bottom: 25px;
}

.wheel-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 30px auto;
}

#wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    transform: rotate(0deg);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    background: conic-gradient(
        #e74c3c 0deg 72deg,      /* Kazanamadın */
        #f39c12 72deg 144deg,    /* %5 İndirim */
        #2ecc71 144deg 216deg,   /* %10 İndirim */
        #3498db 216deg 288deg,   /* %15 İndirim */
        #9b59b6 288deg 360deg    /* Ücretsiz Kese Köpük */
    );
}

.labels {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.labels span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: 0 0;
    transform: rotate(calc((var(--i) - 1) * 72deg)) translateX(10px);
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    white-space: nowrap;
    font-size: 14px;
    padding: 5px;
    border-radius: 3px;
    background: rgba(0,0,0,0.3);
}

.pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid #fff;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input {
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
}

form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px #f1c40f;
}

form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.kvkk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #aaa;
    font-size: 14px;
    margin: 10px 0;
}

#spinBtn {
    padding: 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(45deg, #f1c40f, #e67e22);
    color: #111;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
}

#spinBtn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(241, 196, 15, 0.4);
}

#spinBtn:active:not(:disabled) {
    transform: translateY(-1px);
}

#spinBtn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
}

#overlayText {
    font-size: 60px;
    font-weight: 900;
    text-align: center;
    padding: 40px 60px;
    border-radius: 20px;
    z-index: 1001;
    text-transform: uppercase;
    animation: zoomIn 0.5s ease-out;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    margin: 20px;
    max-width: 90%;
    word-break: break-word;
}

.big-win {
    color: #ffd700;
    background: linear-gradient(45deg, #9b59b6, #3498db);
    animation: glow 1s infinite alternate, float 3s ease-in-out infinite;
}

.medium-win {
    color: #00ffcc;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    animation: float 3s ease-in-out infinite;
}

.small-win {
    color: #2ecc71;
    background: linear-gradient(45deg, #f39c12, #2ecc71);
}

.lose {
    color: #ff6b6b;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes glow {
    from { box-shadow: 0 0 30px #ffd700; }
    to { box-shadow: 0 0 60px #ffd700; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.notice {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 13px;
    color: #aaa;
    text-align: left;
    border-left: 3px solid #f1c40f;
}

.notice p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.notice strong {
    color: #f1c40f;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    .wheel-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .labels span {
        font-size: 12px;
    }
    
    #overlayText {
        font-size: 40px;
        padding: 30px 40px;
    }
}