:root {
    --primary: #2b2d42;
    --secondary: #8d99ae;
    --accent: #ef233c;
    --accent-hover: #d90429;
    --bg: #edf2f4;
    --surface: #ffffff;
    --text: #2b2d42;
    --radius: 12px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    background: var(--surface);
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
}

.hidden {
    display: none !important;
}

.logo {
    max-width: 140px;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

h1,
h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--primary);
    line-height: 1.3;
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:active {
    transform: scale(0.98);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none !important;
}

.primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 35, 60, 0.3);
}

.primary:hover:not(:disabled) {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(239, 35, 60, 0.4);
}

.secondary {
    background-color: var(--primary);
    color: white;
}

.secondary:hover:not(:disabled) {
    background-color: #1a1b28;
}

.checkbox-container {
    display: flex;
    align-items: center;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    user-select: none;
    padding: 12px 14px;
    background: #f8f9fa;
    border-radius: var(--radius);
    border: 1px solid #e9ecef;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 600;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 24px;
    width: 24px;
    background-color: #fff;
    border: 2px solid var(--secondary);
    border-radius: 6px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--accent);
    border-color: var(--accent);
}

.checkmark:after {
    content: "";
    display: none;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

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

.wheel-pointer {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: var(--primary);
    z-index: 10;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 8px solid var(--surface);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}

.wheel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 20px;
    margin-top: -10px;
    transform-origin: left center;
    text-align: right;
    font-weight: 800;
    color: white;
    font-size: 0.95rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
}

.result-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary), #1a1b28);
    color: white;
    border-radius: var(--radius);
    font-size: 1.3rem;
    font-weight: 800;
    width: 100%;
    box-shadow: 0 10px 20px rgba(43, 45, 66, 0.2);
}

.fade-in {
    animation: fadeIn 0.5s forwards;
}

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

.pop-in {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

#admin-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffb703;
    color: #000;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    z-index: 1000;
}

#admin-banner a {
    color: #000;
    text-decoration: underline;
}

@media (min-width: 481px) {
    .app-container {
        border-radius: var(--radius);
        min-height: auto;
        height: 95vh;
        max-height: 850px;
    }
}