body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 10px;
    background-color: #FFFDF9;
    color: #444;
}

.event-container {
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.banner-area {
    width: 100%;
    max-width: 150px; 
    margin: 0 auto 5px auto;
}

.banner-area img,
.banner-area svg {
    width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 1.8em;
    margin: 10px 0 5px 0;
    color: #FF8E72;
}

.subtitle {
    font-size: 1.0em;
    color: #888;
    margin-top: 0;
    margin-bottom: 15px;
}

.roulette-container {
    position: relative;
    width: 300px; 
    height: 300px;
    margin: 10px auto;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.roulette-container::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 35px solid #FFFDF9;
    z-index: 1;
}
.roulette-container::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 30px solid #FF6B6B;
    z-index: 2;
}

#spin-button {
    margin-top: 10px; 
    padding: 15px 50px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    border: none;
    background: linear-gradient(45deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 105, 135, 0.3);
    transition: transform 0.1s ease, box-shadow 0.2s;
}

#spin-button:active {
    transform: scale(0.96);
    box-shadow: 0 2px 8px rgba(255, 105, 135, 0.2);
}

#spin-button:disabled {
    background: #DDD;
    box-shadow: none;
    cursor: not-allowed;
}

#result {
    margin-top: 15px;
    font-size: 1.3em;
    font-weight: bold;
    min-height: 2.5em;
    line-height: 1.4;
    color: #555;
}

.verify-id {
    margin-top: 10px;
    font-size: 0.75em;
    color: #777;
    font-family: monospace;
}

.info-text {
    margin: 30px auto 10px auto;
    padding: 12px 15px;
    background-color: white;
    border: 1px solid #eee;
    border-left: 4px solid #FFDAC1;
    border-radius: 8px;
    text-align: left;
    font-size: 0.85em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    width: 90%;
}

.info-text p {
    margin: 4px 0;
    color: #666;
}

.info-text .indent {
    padding-left: 10px;
    color: #888;
}

/* [추가됨] 직원 확인 버튼 */
.btn-staff {
    padding: 12px 25px;
    border: 2px solid #e2e6ea;
    background: #f8f9fa;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    color: #555;
    transition: all 0.2s;
}
.btn-staff:hover {
    background: #e2e6ea;
    border-color: #dae0e5;
}

/* [추가됨] 모달 팝업 */
.modal-overlay {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    align-items: center; justify-content: center;
    backdrop-filter: blur(2px);
}
.modal-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    width: 85%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.modal-content h3 {
    margin-top: 0;
    color: #333;
}
.modal-content input {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1.2em;
    text-align: center;
    letter-spacing: 5px; /* 비밀번호 마스킹 간격 */
}
.modal-content input:focus {
    outline: none;
    border-color: #FF8E72;
}
.modal-buttons {
    display: flex; gap: 10px; justify-content: center; margin-top: 10px;
}
.modal-buttons button {
    padding: 10px 0;
    flex: 1;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
}
#modal-cancel { background: #f1f3f5; color: #666; }
#modal-confirm { background: #FF8E72; color: white; }

.btn-map {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px;
    background-color: #03C75A;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 15px;
    box-sizing: border-box;
    transition: background-color 0.2s;
}