/* ==========================================================================
   1. 기본 리셋 및 글로벌 변수 (Reset & Variables)
   ========================================================================== */
:root {
    --primary-color: #e74c3c;
    --primary-hover: #c0392b;
    --bg-dark: #0b0c10;
    --bg-card: #14151a;
    --bg-card-hover: #1e2026;
    --text-color: #ffffff;
    --text-sub: #a0aec0;
    --border-color: #2d3748;
    --transition-fast: 0.25s ease;
    --transition-normal: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Noto Sans KR', 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
    cursor: default;
}

a, button, input, select, textarea {
    cursor: pointer;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   토스트 알림 UI (Toast Notifications)
   ========================================================================== */
#toast-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-message {
    pointer-events: auto;
    min-width: 280px;
    max-width: 380px;
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(20, 22, 29, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-message.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-message.success {
    border-color: rgba(46, 204, 113, 0.5);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.25);
}

.toast-message.success i {
    color: #2ecc71;
    font-size: 1.1rem;
}

.toast-message.info {
    border-color: rgba(230, 126, 34, 0.5);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.25);
}

.toast-message.info i {
    color: #e67e22;
    font-size: 1.1rem;
}

/* ==========================================================================
   2. 커스텀 마우스 포인터 UI (Custom Ring & Dot Cursor)
   ========================================================================== */
.custom-cursor-arrow {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    z-index: 1000000;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 10px var(--primary-color);
}

.cursor-ring {
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(231, 76, 60, 0.6);
    border-radius: 50%;
    position: absolute;
    transition: all 0.2s ease;
}

body.hovered .custom-cursor-arrow .cursor-ring {
    width: 44px;
    height: 44px;
    border-color: var(--primary-color);
    background: rgba(231, 76, 60, 0.12);
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.4);
}

/* ==========================================================================
   3. 헤더 및 네비게이션 (Header & Navigation)
   ========================================================================== */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 12, 16, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

#main-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-list {
    display: flex;
    gap: 20px;
}

.nav-list a {
    font-size: 0.95rem;
    color: var(--text-sub);
    transition: color var(--transition-fast);
    font-weight: 500;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.admin-toggle-btn {
    background: #1e2026;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-toggle-btn:hover {
    background: var(--border-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-box {
    width: 24px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    transition: transform var(--transition-fast);
}

.hamburger-inner { top: 50%; transform: translateY(-50%); }
.hamburger-inner::before { content: ''; top: -7px; }
.hamburger-inner::after { content: ''; top: 7px; }

/* ==========================================================================
   4. 레이아웃 공통 및 인트로 섹션 (Intro Section)
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    will-change: transform, opacity;
    transform: translateZ(0);
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.intro-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1c23 0%, var(--bg-dark) 100%);
}

.intro-content-box {
    max-width: 800px;
}

.intro-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.intro-title {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 700;
}

.intro-title .line-1,
.intro-title .line-2 {
    display: block;
}

.typing-text {
    color: var(--primary-color);
}

.input-cursor {
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.intro-description {
    color: var(--text-sub);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.intro-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   5. 버튼 스타일 및 히어로 버튼 UI (Buttons)
   ========================================================================== */
.btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-hero {
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.btn-hero:hover {
    transform: translateY(-4px);
}

.btn-hero-primary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-hero-primary:hover {
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.6);
}

.btn-hero-outline {
    background: rgba(22, 24, 31, 0.8);
    border: 1px solid var(--border-color);
    color: #fff;
    backdrop-filter: blur(5px);
}

.btn-hero-outline:hover {
    border-color: #a0aec0;
    background: rgba(45, 55, 72, 0.8);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-hero-notice {
    background: linear-gradient(135deg, #27ae60 0%, #1e824c 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.35);
}

.btn-hero-notice:hover {
    box-shadow: 0 12px 30px rgba(39, 174, 96, 0.55);
}

/* ==========================================================================
   6. 이미지 스타일 적용 탭 메뉴 & One UI 8 검색창 UI (Floating Pill & Search UI)
   ========================================================================== */
.portfolio-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 20px;
}

.portfolio-filter, 
.notice-filter-tabs {
    display: inline-flex !important;
    align-items: center !important;
    background: #14161d !important;
    border: 1px solid var(--border-color) !important;
    padding: 6px 8px !important;
    border-radius: 50px !important;
    gap: 6px !important;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    flex-wrap: nowrap !important;
    overflow-x: auto;
    max-width: 100%;
}

.portfolio-filter button, 
.notice-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-sub);
    padding: 10px 14px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
}

.portfolio-filter button:not(.active),
.notice-tab-btn:not(.active) {
    font-size: 0;
}

.portfolio-filter button:not(.active) i,
.notice-tab-btn:not(.active) i {
    font-size: 1.05rem;
    color: #718096;
}

.portfolio-filter button:not(.active):hover i,
.notice-tab-btn:not(.active):hover i {
    color: #fff;
}

.portfolio-filter button.active, 
.notice-tab-btn.active {
    background: rgba(231, 76, 60, 0.2);
    color: var(--primary-color);
    font-size: 0.88rem;
    padding: 10px 20px;
    border: 1px solid rgba(231, 76, 60, 0.4);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.25);
}

.portfolio-filter button.active i,
.notice-tab-btn.active i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* One UI 8 스타일 알약 검색바 */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 320px;
    height: 48px;
    background-color: #14161d;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.search-wrapper:hover {
    border-color: #4a5568;
    background-color: #181a22;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.search-wrapper:focus-within {
    background-color: #181a22;
    border-color: var(--primary-color, #007aff);
    box-shadow: 0 0 18px rgba(231, 76, 60, 0.3);
}

.search-wrapper i.fa-search {
    position: absolute;
    left: 18px;
    color: var(--text-sub);
    font-size: 0.9rem;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.search-wrapper:focus-within i.fa-search {
    color: var(--primary-color);
}

#portfolio-search {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding-left: 46px;
    padding-right: 42px;
    font-size: 0.88rem;
}

#portfolio-search::placeholder {
    color: #5a6578;
    font-size: 0.85rem;
}

/* One UI 8 실시간 지우기(X) 버튼 */
.clear-btn {
    position: absolute;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #2d3748;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    color: #a0aec0;
}

.clear-btn.visible {
    opacity: 1;
    visibility: visible;
}

.clear-btn:hover {
    background: #4a5568;
    color: #fff;
}

.clear-btn i {
    font-size: 0.75rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.portfolio-item {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

.portfolio-item.show {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: rgba(231, 76, 60, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.portfolio-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.portfolio-item:hover .portfolio-thumb img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.info-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.portfolio-btn {
    background: none;
    border: none;
    color: var(--text-sub);
    font-size: 0.85rem;
    cursor: pointer;
}

.no-results-message {
    display: none;
    text-align: center;
    padding: 40px;
    color: var(--text-sub);
}

/* ==========================================================================
   7. 상품 안내 섹션 & 문의하기 버튼 UI 개편 (Pricing Section Redesign)
   ========================================================================== */
.pricing-subtitle {
    color: var(--text-sub);
    font-size: 0.98rem;
    margin-top: -30px;
    margin-bottom: 45px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    align-items: stretch;
}

.pricing-card {
    background: linear-gradient(145deg, #161820 0%, #0d0e12 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(231, 76, 60, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.pricing-card.featured {
    border: 1.5px solid var(--primary-color);
    background: linear-gradient(145deg, #1c1d27 0%, #12131a 100%);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.2);
}

.pricing-card.featured:hover {
    box-shadow: 0 18px 40px rgba(231, 76, 60, 0.35);
}

.pricing-card .badge {
    position: absolute;
    top: -14px;
    right: 22px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pricing-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.pricing-header .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.pricing-features {
    margin-bottom: 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    font-size: 0.88rem;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.pricing-features li i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.btn-pricing-action {
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    background: #1e2028;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-pricing-action:hover {
    background: rgba(231, 76, 60, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(231, 76, 60, 0.25);
}

.btn-pricing-action i {
    font-size: 0.82rem;
    transition: transform var(--transition-fast);
}

.btn-pricing-action:hover i {
    transform: translateX(4px);
}

.btn-pricing-action.featured-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: none;
    color: #fff;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.35);
}

.btn-pricing-action.featured-btn:hover {
    background: linear-gradient(135deg, #ff5e4c 0%, #d63031 100%);
    color: #fff;
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.5);
}

/* ==========================================================================
   8. 스킬 섹션 (Skills)
   ========================================================================== */
.skills-grid-visual {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.skill-card-v {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.skill-img-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.skill-title-meta {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-percent {
    color: var(--primary-color);
    font-weight: 700;
}

.skill-desc-v {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-bottom: 12px;
}

.skill-progress-wrapper {
    height: 6px;
    background: #111;
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress-bar {
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 1s ease;
}

/* ==========================================================================
   9. 소개 섹션 UI 개편 (About Me UI)
   ========================================================================== */
.about-card-wrapper {
    margin-bottom: 45px;
}

.about-main-card {
    background: linear-gradient(145deg, #161820 0%, #0d0e12 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.about-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.profile-photo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(231, 76, 60, 0.35);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-status-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.3);
    padding: 5px 14px;
    border-radius: 20px;
}

.profile-info-details {
    flex: 1;
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.profile-name .birth {
    font-size: 0.95rem;
    color: var(--text-sub);
    font-weight: 400;
    margin-left: 10px;
}

.profile-role {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.profile-bio {
    font-size: 0.92rem;
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 22px;
    word-break: keep-all;
}

.profile-meta-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-meta-chips span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-meta-chips span i {
    color: var(--primary-color);
}

.history-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.history-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.history-title i {
    color: var(--primary-color);
}

.timeline {
    border-left: 2px solid var(--border-color);
    padding-left: 20px;
}

.timeline li {
    position: relative;
    margin-bottom: 25px;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline .date {
    font-size: 0.8rem;
    color: var(--text-sub);
}

/* ==========================================================================
   10. FAQ 섹션 스타일 개편
   ========================================================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(231, 76, 60, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    padding: 22px 24px;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    font-size: 1.02rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 15px;
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--text-sub);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    background: #0e1015;
    color: var(--text-sub);
    padding: 0 24px;
    font-size: 0.92rem;
    line-height: 1.7;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 22px 24px;
    border-top-color: rgba(45, 55, 72, 0.5);
}

/* ==========================================================================
   11. Notice 섹션 & 수정/삭제 버튼 UI (Notice UI)
   ========================================================================== */
.notice-section-header {
    margin-bottom: 30px;
}

.notice-subtitle {
    color: var(--text-sub);
    font-size: 0.95rem;
    margin-top: -30px;
}

.notice-list-grid, .notice-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notice-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 26px;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-normal);
    will-change: transform, opacity;
}

.notice-card:hover {
    transform: translateY(-3px);
    border-color: rgba(231, 76, 60, 0.5);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

.notice-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-admin-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-edit-btn,
.notice-delete-btn {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all var(--transition-fast);
}

.notice-edit-btn {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.notice-edit-btn:hover {
    background: #3498db;
    color: #fff;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.notice-delete-btn {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.notice-delete-btn:hover {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.notice-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-primary { background: rgba(231, 76, 60, 0.15); color: #e74c3c; border: 1px solid rgba(231, 76, 60, 0.3); }
.badge-secondary { background: rgba(52, 152, 219, 0.15); color: #3498db; border: 1px solid rgba(52, 152, 219, 0.3); }
.badge-info { background: rgba(241, 196, 15, 0.15); color: #f1c40f; border: 1px solid rgba(241, 196, 15, 0.3); }
.badge-update { background: rgba(155, 89, 182, 0.15); color: #9b59b6; border: 1px solid rgba(155, 89, 182, 0.3); }

.notice-author, .notice-date {
    font-size: 0.8rem;
    color: var(--text-sub);
}

.notice-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.notice-desc {
    font-size: 0.9rem;
    color: #a0aec0;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    margin-bottom: 12px;
}

.notice-footer-action {
    display: flex;
    justify-content: flex-end;
}

.notice-detail-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform var(--transition-fast);
}

.notice-card:hover .notice-detail-btn {
    transform: translateX(3px);
}

.notice-write-box {
    background: #181a20;
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 14px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.notice-form-header h3 {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.notice-input-row input,
.notice-input-row select,
.notice-write-box textarea {
    background: #0b0c10;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    outline: none;
}

.notice-write-box textarea {
    width: 100%;
    margin-bottom: 10px;
}

.custom-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    background: #111217;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.custom-checkbox-label input {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.popup-admin-box { border-color: rgba(230, 126, 34, 0.5); }
.popup-btn-style { background: #e67e22 !important; border: none; }
.popup-btn-style:hover { background: #d35400 !important; }

.maint-admin-box { border-color: rgba(231, 76, 60, 0.5); }
.maint-btn-style { background: #e74c3c !important; border: none; }
.maint-btn-style:hover { background: #c0392b !important; }

.notice-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.notice-submit-btn {
    padding: 8px 20px;
    font-size: 0.88rem;
    border-radius: 8px;
}

/* ==========================================================================
   12. 연락 방법 섹션 UI 개편 (Contact Section UI)
   ========================================================================== */
.contact-enhanced-subtitle {
    color: var(--text-sub);
    font-size: 0.98rem;
    margin-top: -30px;
    margin-bottom: 40px;
}

.contact-enhanced-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all var(--transition-normal);
}

.contact-card:hover {
    transform: translateX(6px);
    border-color: rgba(231, 76, 60, 0.5);
    background: var(--bg-card-hover);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.contact-card-info {
    display: flex;
    flex-direction: column;
}

.contact-card-info .label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-sub);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-card-info .val {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    transition: color var(--transition-fast);
}

.contact-card-info a.val:hover {
    color: var(--primary-color);
}

.contact-social-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-social-box h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-social-box h3 i {
    color: var(--primary-color);
}

.contact-social-box p {
    font-size: 0.88rem;
    color: var(--text-sub);
    margin-bottom: 24px;
}

.contact-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-chip {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
    background: #1a1c24;
    color: #fff;
}

.social-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.social-chip.kakao:hover { background: #fee500; color: #000; border-color: #fee500; }
.social-chip.insta:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; border-color: transparent; }
.social-chip.linktree:hover { background: #39e09b; color: #000; border-color: #39e09b; }
.social-chip.youtube:hover { background: #ff0000; color: #fff; border-color: #ff0000; }

/* ==========================================================================
   13. 관리자 로그인 모달 UI 개편 (Admin Modal UI)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
}

.admin-modal-window {
    max-width: 440px;
    padding: 45px 35px;
    text-align: center;
    background: linear-gradient(145deg, #181a22 0%, #0d0e12 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.admin-modal-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px auto;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.25);
}

.admin-modal-icon-box i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.admin-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.admin-modal-desc {
    font-size: 0.88rem;
    color: var(--text-sub);
    margin-bottom: 28px;
    line-height: 1.5;
}

.password-input-group {
    position: relative;
    margin-bottom: 16px;
}

.password-input-group .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-sub);
    font-size: 0.95rem;
}

.password-input-group input {
    width: 100%;
    background: #090a0d;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 14px 16px 14px 46px;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-fast);
}

.password-input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.3);
}

.admin-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.35);
}

.admin-submit-btn:hover {
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.5);
}

.admin-auth-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-bottom: 14px;
    min-height: 20px;
    font-weight: 600;
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    color: var(--text-sub);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close-btn:hover {
    color: #fff;
}

/* ==========================================================================
   14. 푸터 (Footer)
   ========================================================================== */
footer {
    padding: 30px 0;
    text-align: center;
    color: var(--text-sub);
    font-size: 0.8rem;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   15. 모바일 및 반응형 미디어 쿼리
   ========================================================================== */
@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 30px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list.active {
        transform: translateY(0);
    }

    .about-main-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .profile-meta-chips {
        justify-content: center;
    }

    .history-container {
        grid-template-columns: 1fr;
    }

    .contact-enhanced-grid {
        grid-template-columns: 1fr;
    }

    .contact-social-grid {
        grid-template-columns: 1fr;
    }

    .custom-cursor-arrow {
        display: none !important;
    }

    .notice-input-row {
        flex-direction: column;
    }

    .notice-input-row input,
    .notice-input-row select {
        width: 100%;
        max-width: 100% !important;
    }

    .search-wrapper {
        width: 100%;
    }

    #toast-container {
        top: 15px;
        right: 15px;
        left: 15px;
    }

    .toast-message {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
}
#admin-auth-modal {
    z-index: 100000 !important;
}

/* ==========================================================================
   Mega Dropdown Animation & Styling Corrections
   ========================================================================== */
.nav-list .dropdown-parent {
    position: relative;
}

.nav-list .mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(20, 21, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    padding: 20px;
    width: 320px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.nav-list .mega-dropdown.notice-mega {
    width: 280px;
}

.nav-list .dropdown-parent:hover .mega-dropdown,
.nav-list .dropdown-parent.active-dropdown .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mega-dropdown-column h4 {
    color: #3498db;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-dropdown-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-dropdown-column ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mega-dropdown-column ul li a:hover {
    background: rgba(52, 152, 219, 0.15);
    color: #fff;
    transform: translateX(4px);
}

.mega-dropdown-column ul li a i {
    width: 16px;
    text-align: center;
    color: #3498db;
}
