* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
}

.wheel-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #007bff;
    transition: transform 0.3s ease;
}

.wheel-card:hover {
    transform: scale(1.02);
}

.wheel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.wheel-header h1 {
    color: #007bff;
    margin-bottom: 0.5rem;
}

.daily-limit {
    color: #007bff;
    font-weight: bold;
    margin-top: 0.5rem;
}

.recent-payments {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid #007bff;
}

.recent-payments h2 {
    color: #007bff;
    text-align: center;
    margin-bottom: 1rem;
}

.payment-list {
    display: grid;
    gap: 0.5rem;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.payment-amount {
    font-weight: bold;
    color: #007bff;
}

.payment-email {
    color: #666;
}

.payment-time {
    color: #999;
    font-size: 0.8rem;
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
}

.alert-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.alert-success {
    background: #efe;
    border: 1px solid #cfc;
    color: #363;
}

.alert-success a {
    color: #007bff;
    text-decoration: none;
}

.user-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.user-info h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    background: white;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007bff;
}

.wheel-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 2rem auto;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #ff6b6b 0% 10%,
        #4d96ff 10% 20%,
        #6bcf7f 20% 30%,
        #ffd93d 30% 40%,
        #9b59b6 40% 50%,
        #e74c3c 50% 60%,
        #2ecc71 60% 70%,
        #f39c12 70% 80%,
        #8e44ad 80% 90%,
        #c0392b 90% 100%
    );
    position: relative;
    transition: transform 3s cubic-bezier(0.2, 0.8, 0.3, 1);
    transform: rotate(0deg);
}

.wheel-segment {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    width: 150px;
    text-align: center;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.wheel-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-top: 30px solid #007bff;
    z-index: 10;
}

.wheel-spin-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s;
}

.wheel-spin-btn:hover {
    background: #0056b3;
    transform: translate(-50%, -50%) scale(1.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    width: 100%;
    transition: all 0.3s;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #545b62;
}

.logout-form {
    display: inline;
}

@media (max-width: 768px) {
    .wheel-container {
        width: 250px;
        height: 250px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .wheel-card {
        margin: 1rem;
        padding: 1.5rem;
    }
}