* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    min-height: 100vh;
    color: white;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.header {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.auth-form {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 20px;
    max-width: 400px;
    margin: 2rem auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.form-group input:focus {
    outline: 2px solid #ffd700;
    background: rgba(255, 255, 255, 0.15);
}

.btn {
    background: linear-gradient(45deg, #ffd700, #ff6b00);
    color: black;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
}

.slot-machine {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.slots-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.slots {
    font-size: 4rem;
    letter-spacing: 20px;
    margin: 2rem 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.balance {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: #ffd700;
}

.win-message {
    font-size: 2rem;
    color: #ffd700;
    margin: 1rem 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.lose-message {
    font-size: 1.5rem;
    color: #ff6b6b;
    margin: 1rem 0;
}

.admin-panel {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.table {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table th {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

.alert-error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.user-info {
    background: rgba(255, 215, 0, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.spin-animation {
    animation: spin 0.5s ease-in-out;
}

@keyframes spin {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.footer {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
}