/* Christmas theme */
:root {
    --red: #c1272d;
    --green: #006d32;
    --gold: #d4af37;
    --white: #f8f8f8;
    --dark: #1a1a1a;
}

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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, var(--green), var(--red));
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

/* Login page */
.login-body {
    background: url('https://png.pngtree.com/background/20250105/original/pngtree-the-christmas-horizontal-banner-template-is-a-header-for-website-merry-picture-image_15755971.jpg') no-repeat center center fixed;
    background-size: cover;
}

.login-container {
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid var(--gold);
    border-radius: 15px;
    padding: 30px;
    width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.login-title {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.login-subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--gold);
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.btn-login {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-login:hover {
    background: var(--white);
    transform: scale(1.05);
}

.error {
    background: var(--red);
    color: var(--white);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Main app */
.main-container {
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid var(--gold);
    border-radius: 15px;
    padding: 30px;
    width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.main-title {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.wheel-container {
    margin: 20px 0;
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        var(--red) 0% 16.6%,
        var(--green) 16.6% 33.3%,
        var(--gold) 33.3% 50%,
        var(--red) 50% 66.6%,
        var(--green) 66.6% 83.3%,
        var(--gold) 83.3% 100%
    );
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 4s cubic-bezier(0.1, 0.5, 0.1, 1);
}

.wheel::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    border: 4px solid var(--white);
    z-index: 2;
}

.wheel::before {
    content: 'SPIN';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark);
    z-index: 3;
}

.btn-spin {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    margin: 10px 5px;
    transition: all 0.3s;
}

.btn-spin:hover {
    background: var(--white);
    transform: scale(1.05);
}

.btn-logout {
    background: var(--red);
    color: var(--white);
}

.result {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 2px solid var(--gold);
}

.result h2 {
    color: var(--gold);
    margin-bottom: 10px;
}

.result p {
    font-size: 1.2rem;
    color: var(--white);
}
