body {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 100%);
    margin: 0;
    padding: 0;
}
.container {
    max-width: 500px;
    margin: 40px auto;
    background: rgba(255,255,255,0.85);
    padding: 32px 30px 36px 30px;
    border-radius: 22px;
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18), 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    backdrop-filter: blur(6px);
}
.spin-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.spin-section {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 48px 0 24px;
}

#wheel {
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}
.pointer {
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 32px solid transparent;
    border-right: 32px solid transparent;
    border-bottom: 52px solid #e74c3c;
    filter: drop-shadow(0 6px 16px rgba(192, 57, 43, 0.4));
    z-index: 2;
    border-radius: 0 0 16px 16px;
}

.spin-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 320px;
}
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    color: #2d3748;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}
button {
    padding: 12px 28px;
    background: linear-gradient(90deg, #3498db 60%, #6dd5fa 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px #bfc9d1;
    transition: background 0.2s, box-shadow 0.2s;
}
button:hover {
    background: linear-gradient(90deg, #2980b9 60%, #3498db 100%);
    box-shadow: 0 4px 16px #bfc9d1;
}
/* Admin Dashboard Styles */
.admin-container {
    max-width: 1000px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-section {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.1);
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.generate-code {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.table-container {
    overflow-x: auto;
    margin: 16px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background: #f7fafc;
    font-weight: 600;
    color: #2d3748;
}

.prize-list {
    display: grid;
    gap: 12px;
    margin: 16px 0;
}

/* Buttons */
.btn-spin {
    padding: 14px 32px;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.btn-spin:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-spin:active {
    transform: translateY(0);
}

.btn-primary {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    padding: 10px 20px;
    font-size: 0.875rem;
    color: #2d3748;
    background: #e2e8f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.message-box {
    padding: 12px;
    border-radius: 8px;
    background: #f7fafc;
    color: #2d3748;
}

/* Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinning {
    animation: spin 4s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}