* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #1a1a2e;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

h1, h2, h3 {
    color: #e94560;
    margin-bottom: 20px;
    text-align: center;
}

#auth-container {
    background-color: #16213e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 0 auto;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background-color: #0f3460;
    color: #fff;
    font-size: 16px;
}

input:focus {
    outline: 2px solid #e94560;
}

button {
    background-color: #e94560;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 10px;
}

button:hover {
    background-color: #ff6b81;
}

a {
    color: #e94560;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

#game-container {
    background-color: #16213e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #0f3460;
}

.user-info {
    display: flex;
    gap: 20px;
}

.game-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.wheel-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 5px solid #0f3460;
    transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    transform: rotate(0deg);
}

.wheel-center {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #e94560;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #e94560;
    z-index: 5;
}

.controls {
    width: 100%;
    max-width: 500px;
}

.bet-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.bet-controls button {
    width: auto;
    padding: 10px 15px;
}

#bet-amount {
    flex-grow: 1;
    text-align: center;
    margin: 0;
}

#spin-btn {
    background-color: #4CAF50;
}

#spin-btn:hover {
    background-color: #45a049;
}

.result-display {
    background-color: #0f3460;
    padding: 20px;
    border-radius: 10px;
}

.result-display p {
    margin-bottom: 10px;
    font-size: 18px;
}

.result-display span {
    font-weight: 600;
    color: #e94560;
}

#admin-panel {
    background-color: #16213e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.admin-controls {
    margin-bottom: 20px;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.admin-actions input {
    flex: 1;
    min-width: 100px;
}

.admin-actions button {
    width: auto;
}

#user-details {
    background-color: #0f3460;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .wheel-container {
        width: 250px;
        height: 250px;
    }
    
    .bet-controls {
        flex-direction: column;
    }
    
    .bet-controls button, #bet-amount {
        width: 100%;
    }
}