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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 400px;
    margin: 0 auto;
}

/* 헤더 배너 스타일 */
.header-banner {
    width: 100%;
    height: 120px;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.stamp-counter {
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: bold;
    color: #1a237e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#stampCount {
    font-size: 32px;
    color: #283593;
}

/* 상품수령 정보 등록 섹션 */
.reward-section {
    margin-bottom: 30px;
}

.reward-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.reward-card h3 {
    color: #1a237e;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
}

.reward-info {
    margin-bottom: 20px;
}

.reward-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.reward-item:last-child {
    border-bottom: none;
}

.reward-count {
    font-weight: bold;
    color: #1a237e;
    font-size: 16px;
}

.reward-gift {
    color: #666;
    font-size: 14px;
}

.reward-btn {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
    width: 100%;
    max-width: 300px;
}

.reward-btn:disabled {
    background: #cfcfd9;
    color: #888;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: not-allowed;
    transform: none;
}

.reward-btn:hover {
    background: linear-gradient(135deg, #283593 0%, #3949ab 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
}

.reward-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}

.roadmap {
    position: relative;
    height: 1800px;
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}


.booth {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.booth:active {
    transform: translateX(-50%) scale(0.95);
}

.booth-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 4px solid #d0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.booth-number {
    font-size: 32px;
    font-weight: bold;
    color: #999;
    transition: opacity 0.3s ease;
}

.stamp-icon {
    position: absolute;
    font-size: 48px;
    color: #73FFFF;
    opacity: 0;
    transition: opacity 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.booth.stamped .booth-circle {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    border-color: #1a237e;
    box-shadow: 0 4px 20px rgba(26, 35, 126, 0.4);
}

.booth.stamped .booth-number {
    opacity: 0;
}

.booth.stamped .stamp-icon {
    opacity: 1;
}

.booth-label {
    font-size: 16px;
    color: #666;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-top: 5px;
    text-align: center;
}

.booth.stamped .booth-label {
    color: #1a237e;
}

.company-intro-btn {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(26, 35, 126, 0.3);
    text-align: center;
    width: 100%;
    max-width: 140px;
}

.company-intro-btn:hover {
    background: linear-gradient(135deg, #283593 0%, #3949ab 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.4);
}

.company-intro-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(26, 35, 126, 0.3);
}

/* 애니메이션 효과 */
@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.1);
    }
    100% {
        transform: translateX(-50%) scale(1);
    }
}

.booth.just-stamped {
    animation: pulse 0.5s ease;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 300px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.completion-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.modal-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #1a237e;
}

.completion-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 600;
}

.completion-subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 0;
}

/* 상품수령 정보 입력 모달 */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h2 {
    color: #1a237e;
    font-size: 24px;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #666;
}

.modal-body {
    text-align: left;
}

.reward-level {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #283593 0%, #3949ab 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}

/* 반응형 디자인 */
@media (max-width: 375px) {
    .header-banner {
        height: 100px;
    }
    
    .booth-circle {
        width: 70px;
        height: 70px;
    }
    
    .booth-number {
        font-size: 28px;
    }
    
    .stamp-icon {
        font-size: 42px;
    }
    
    .company-intro-btn {
        font-size: 11px;
        padding: 6px 12px;
        max-width: 120px;
    }
    
    header h1 {
        font-size: 24px;
    }
}

