.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Options management area */
.options-panel {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.option-input {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.option-input input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Patrick Hand', cursive;
}

.option-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.option-item {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #ddd;
}

.delete-btn {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 20px;
    padding: 0 5px;
}

/* Wheel area */
.wheel-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Center pointer */
.center-pointer {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border: 4px solid #4CAF50;
}

.pointer {
    width: 6px;
    height: 40px;
    background: #4CAF50;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.pointer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 16px solid #4CAF50;
    margin-top: -14px;
}

/* Add center decoration */
.center-pointer::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #4CAF50;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Wheel styles */
#wheel-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.wheel-svg {
    width: 100%;
    height: 100%;
    transform-origin: center;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel-section {
    transition: all 0.3s;
}

.wheel-section:hover {
    filter: brightness(1.1);
}

.wheel-text {
    font-family: 'Patrick Hand', cursive;
    font-size: 14px;
    fill: #333;
    font-weight: bold;
}

/* Button styles */
.btn {
    position: relative;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.2em;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s;
    overflow: visible;
}

.btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 14px;
    transform: rotate(-1deg);
    transition: transform 0.2s;
}

.btn::after {
    content: '🎡';
    position: absolute;
    font-size: 1.4em;
    right: -15px;
    top: -15px;
    transform: rotate(15deg);
    opacity: 0;
    transition: all 0.3s;
}

.btn:hover::after {
    opacity: 1;
}

.btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

/* Result display */
.result-display {
    text-align: center;
    font-size: 24px;
    margin: 20px 0;
    font-family: 'Patrick Hand', cursive;
    color: #333;
    min-height: 36px;
}

/* Statistics */
.stats-panel {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
}

.stats-title {
    font-family: 'Patrick Hand', cursive;
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.stat-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #ddd;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.stat-value {
    font-family: 'Patrick Hand', cursive;
    font-size: 24px;
    color: #333;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .wheel-container {
        width: 280px;
        height: 280px;
    }

    .wheel-text {
        font-size: 12px;
    }
}

/* Navigation bar styles */
.top-nav {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

/* 8 ball game container */
.wheel-game {
    text-align: center;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}