:root {
    --bg: #0b0b0b;
    --card: #1a1a1a;
    --accent: #3b82f6;
    --text: #ffffff;
    --text-muted: #888888;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
}

.hidden { display: none !important; }

/* Layout */
.main-screen {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card);
}

.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

/* Roulette */
.roulette-container {
    position: relative;
    margin: 40px auto;
    width: 90%;
    max-width: 400px;
}

.roulette-window {
    height: 100px;
    overflow: hidden;
    background: #111;
    border: 2px solid #333;
    border-radius: 10px;
    position: relative;
}

.roulette-track {
    display: flex;
    transition: transform 5s cubic-bezier(0.1, 0.8, 0.2, 1);
    will-change: transform;
}

.roulette-item {
    min-width: 80px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #222;
    font-size: 12px;
}

.pointer {
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    width: 4px;
    height: 120px;
    background: #ff4444;
    z-index: 10;
    box-shadow: 0 0 10px rgba(255,0,0,0.5);
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    width: 80%;
    margin: 20px auto;
    display: block;
    font-weight: bold;
}

.btn-primary:disabled { opacity: 0.5; }

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-content {
    background: var(--card);
    width: 85%;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

.prizes-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 15px;
}

.prize-item {
    background: #252525;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 10px;
}
.nav-item.active { color: var(--accent); font-weight: bold; }

.bottom-nav {
    display: flex;
    justify-content: space-around;
    background: var(--card);
    padding: 10px;
    margin-top: auto;
}