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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 25%, #fbbf24 50%, #f59e0b 75%, #d97706 100%);
    min-height: 100vh;
    color: #374151;
}

.container {
    max-width: 26rem;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 0 1.25rem rgba(0,0,0,0.1);
    position: relative;
    overflow-x: hidden;
}

.header {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: white;
    padding: 2.5rem 1.25rem 1.875rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 1.5rem 1.5rem;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03125rem;
    text-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.1);
}


.header-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(0.625rem);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.9375rem;
}

.content {
    padding: 1.25rem 1.25rem 1.875rem;
    background: linear-gradient(180deg, #fff 0%, #fefce8 100%);
    padding-bottom: 6.25rem; /* 하단 메뉴를 위한 여백 */
}

.welcome-section {
    text-align: center;
    margin-bottom: 0.625rem;
    padding: 0.625rem 0;
}

.welcome-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
    letter-spacing: -0.01875rem;
}

.welcome-section p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.625rem;
}

.feature-list {
    list-style: none;
    margin: 0.3125rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
    color: #555;
}

.feature-list li:before {
    content: "✓";
    color: #f59e0b;
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: white;
    border: none;
    padding: 1.25rem 2.1875rem;
    border-radius: 1.5625rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin: 0.5rem auto;
    box-shadow: 0 0.375rem 1.25rem rgba(251, 191, 36, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: block;
    max-width: 20rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01875rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-0.1875rem) scale(1.02);
    box-shadow: 0 0.625rem 1.875rem rgba(251, 191, 36, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
}

.btn:active {
    transform: translateY(-0.0625rem) scale(0.98);
    box-shadow: 0 0.25rem 0.9375rem rgba(251, 191, 36, 0.4);
}

/* 부드러운 펄스 애니메이션 */
@keyframes pulse {
    0% {
        box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3), 0 0 0 0 rgba(251, 191, 36, 0.5);
    }
    70% {
        box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3), 0 0 0 8px rgba(251, 191, 36, 0);
    }
    100% {
        box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3), 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

.btn {
    animation: pulse 3s infinite;
}

.btn-icon {
    font-size: 24px;
    margin-right: 12px;
    display: inline-block;
    animation: bounce 1.5s ease-in-out infinite;
}

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

.btn-secondary {
    background: #fefce8;
    color: #d97706;
    border: 2px solid #fbbf24;
    box-shadow: none;
}

.btn-secondary:hover {
    background: #fbbf24;
    color: white;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

/* 하단 메뉴 스타일은 bottom-menu.css에서 관리 */

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

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 16px;
    max-width: 90%;
    max-height: 80%;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

/* 구인구직 사이트 모달 스타일 */
.job-sites-content {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.job-site-category {
    margin-bottom: 30px;
}

.job-site-category h3 {
    color: #3b82f6;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.job-site-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-site-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.job-site-item:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.site-icon {
    font-size: 24px;
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.site-info {
    flex: 1;
}

.site-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.site-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.job-site-item:hover .site-desc {
    color: rgba(255, 255, 255, 0.8);
}

/* 면접 팁 모달 스타일 */
.tips-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.tips-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 414px;
    background: white;
    border-radius: 20px 20px 0 0;
    max-height: 80%;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.tips-content.show {
    transform: translateY(0);
}

.tips-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    border-radius: 20px 20px 0 0;
}

.tips-title {
    font-size: 18px;
    font-weight: 600;
}

.tips-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.tips-body {
    padding: 20px;
}

.tip-category {
    margin-bottom: 25px;
}

.tip-category h3 {
    color: #3b82f6;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.tip-category h3::before {
    content: "💡";
    margin-right: 8px;
}

.tip-list {
    list-style: none;
    padding: 0;
}

.tip-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.5;
    font-size: 14px;
    color: #555;
}

.tip-list li:last-child {
    border-bottom: none;
}

.tip-list li::before {
    content: "✓";
    color: #3b82f6;
    font-weight: bold;
    margin-right: 8px;
}

/* 공유 모달 스타일 */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.share-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 414px;
    background: white;
    border-radius: 20px 20px 0 0;
    max-height: 60%;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.share-content.show {
    transform: translateY(0);
}

.share-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    border-radius: 20px 20px 0 0;
}

.share-title {
    font-size: 18px;
    font-weight: 600;
}

.share-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px 20px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.share-option:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.share-option i {
    font-size: 32px;
    margin-bottom: 8px;
}

.share-option span {
    font-size: 12px;
    font-weight: 500;
}
