/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ESG & Sustainability Color Palette - Bright Theme */
    --primary-color: #52c41a;
    /* Natural Green - 생명력, 지속가능성 */
    --secondary-color: #1890ff;
    /* Sky Blue - 깨끗한 환경 */
    --accent-color: #73d13d;
    /* Fresh Green - 성장, 혁신 */
    --eco-gold: #faad14;
    /* Eco Gold - 가치, 책임 */
    --earth-brown: #8c7851;
    /* Earth Tone - 안정성 */

    /* Brighter Background */
    --dark-bg: #1a2332;
    /* Lighter Navy Blue - 밝은 톤 */
    --darker-bg: #141d2b;
    /* Medium Dark - 전문성 유지 */
    --light-section-bg: #1f2937;
    /* Slightly Lighter Section */

    /* Enhanced Text Contrast */
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    /* Much Lighter Gray for Better Readability */
    --text-tertiary: #9ca3af;
    /* Medium Gray for subtle text */

    /* Brighter Cards */
    --card-bg: rgba(255, 255, 255, 0.08);
    /* Brighter Card Background */
    --card-border: rgba(82, 196, 26, 0.25);
    --card-hover-bg: rgba(82, 196, 26, 0.12);

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', 'Roboto', sans-serif;
    background: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   Navigation Controls (BGM & Language)
   ======================================== */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* BGM Toggle Button */
.bgm-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(82, 196, 26, 0.12);
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.bgm-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(82, 196, 26, 0.4);
}

.bgm-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bgm-icon svg {
    width: 16px;
    height: 16px;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.icon-play {
    opacity: 1;
}

.icon-pause {
    opacity: 0;
}

.bgm-toggle.playing .icon-play {
    opacity: 0;
    transform: scale(0.8);
}

.bgm-toggle.playing .icon-pause {
    opacity: 1;
    transform: scale(1);
}

.bgm-text {
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
}

/* ========================================
   Scroll Rocket Animation
   ======================================== */
#scrollRocket {
    position: fixed;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    z-index: 999;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
}

/* ========================================
   Navigation
   ======================================== */
#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition);
}

#mainNav.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1.05rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Language Toggle Button */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(82, 196, 26, 0.12);
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.lang-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(82, 196, 26, 0.4);
}

.lang-icon {
    font-size: 1.2rem;
}

.lang-text {
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
}

/* ========================================
   Section Titles
   ======================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    text-align: center;
}

.hero-background {
    background-image: url("images/library_bg_final.png");
    background-size: cover;
    background-position: center;
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    opacity: 0.4;
    filter: brightness(0.7) contrast(0.9);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.85) 0%,
            rgba(10, 14, 39, 0.75) 50%,
            rgba(10, 14, 39, 0.9) 100%);
    z-index: 0;
    backdrop-filter: blur(2px);
}


.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    text-align: center;
    max-width: 1000px;
    padding: 2rem;
    margin: 0 auto;
}

.hero-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-align: center;
}

.title-line-1 {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-2 {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.5;
    text-align: center;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.9;
    font-weight: 400;
    text-align: center;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 10px 30px rgba(82, 196, 26, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(82, 196, 26, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
    margin: 0.5rem auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   Competencies Section
   ======================================== */
.competencies-section {
    padding: 5rem 0;
    background: var(--light-section-bg);
    position: relative;
    overflow: hidden;
}

/* Competencies Video Background */
.competencies-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.competencies-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 1;
}

.competencies-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.75) 0%,
            rgba(10, 14, 39, 0.65) 50%,
            rgba(10, 14, 39, 0.75) 100%);
    z-index: 1;
}

.competencies-section .container {
    position: relative;
    z-index: 2;
}

/* Skills Subsection within Competencies */
.skills-subsection {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(82, 196, 26, 0.2);
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.competency-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.competency-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(82, 196, 26, 0.25);
    background: rgba(82, 196, 26, 0.08);
}

.competency-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.competency-icon svg {
    width: 100%;
    height: 100%;
}

.competency-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.4;
}

.competency-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
    font-weight: 400;
}

.competency-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.competency-tags li {
    background: rgba(82, 196, 26, 0.12);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(82, 196, 26, 0.4);
    transition: var(--transition);
    font-weight: 500;
}

.competency-tags li:hover {
    background: rgba(82, 196, 26, 0.2);
    transform: translateY(-2px);
}

/* ========================================
   Projects Section
   ======================================== */
.projects-section {
    padding: 5rem 0;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

/* Projects Video Background */
.projects-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.projects-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 1;
}

.projects-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.75) 0%,
            rgba(10, 14, 39, 0.65) 50%,
            rgba(10, 14, 39, 0.75) 100%);
    z-index: 1;
}

.projects-section .container {
    position: relative;
    z-index: 2;
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(82, 196, 26, 0.2);
    background: rgba(82, 196, 26, 0.05);
}

.project-number {
    font-size: 3rem;
    font-weight: 700;
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.project-content {
    position: relative;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    flex: 1;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.project-client {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.client-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.client-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.project-details {
    display: grid;
    gap: 0.75rem;
}

.project-block h4 {
    color: var(--primary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.project-block p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    font-weight: 400;
}

.project-achievement {
    margin-top: 0.6rem;
}

.achievement-highlight {
    background: rgba(82, 196, 26, 0.08);
    border: 1px solid rgba(82, 196, 26, 0.3);
    border-radius: 10px;
    padding: 0.8rem;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.badge-icon {
    font-size: 1.6rem;
}

.badge-text strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.badge-text span {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.achievement-highlight>p {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}

.project-tags span {
    background: rgba(115, 209, 61, 0.12);
    color: var(--accent-color);
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(115, 209, 61, 0.4);
    transition: var(--transition);
    font-weight: 500;
}

.project-tags span:hover {
    background: rgba(115, 209, 61, 0.2);
    transform: translateY(-2px);
}

/* ========================================
   Skills Grid (within Competencies)
   ======================================== */
.skills-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.skill-category:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(82, 196, 26, 0.15);
    background: rgba(82, 196, 26, 0.05);
}

.skill-category h3,
.skill-category h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.3px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    font-weight: 500;
}

.skill-tag:hover {
    background: rgba(82, 196, 26, 0.15);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.2);
}

/* ========================================
   Global Experience Section
   ======================================== */
.global-section {
    padding: 5rem 0;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

/* Global Video Background */
.global-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.global-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 1;
}

.global-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.85) 0%,
            rgba(10, 14, 39, 0.8) 50%,
            rgba(10, 14, 39, 0.85) 100%);
    z-index: 1;
}

.global-section .container {
    position: relative;
    z-index: 2;
}

.global-map-container {
    margin-top: 2.5rem;
    position: relative;
}

/* Leaflet Map Styles */
.google-map {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 450px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--card-border);
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Leaflet 기본 컨트롤 스타일 조정 */
.leaflet-control-zoom a {
    background-color: rgba(10, 14, 39, 0.9) !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
}

.leaflet-control-zoom a:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* 커스텀 마커 스타일 */
.custom-marker {
    background: transparent;
    border: none;
}

.marker-pin {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(82, 196, 26, 0.8),
        0 0 40px rgba(82, 196, 26, 0.4);
    animation: markerPulse 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.marker-pin:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(82, 196, 26, 1),
        0 0 60px rgba(82, 196, 26, 0.6);
}

@keyframes markerPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Leaflet 팝업 커스텀 스타일 */
.leaflet-popup-content-wrapper {
    background: rgba(10, 14, 39, 0.98) !important;
    backdrop-filter: blur(20px);
    border: 2px solid var(--primary-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(82, 196, 26, 0.3) !important;
    padding: 0 !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    min-width: 200px !important;
}

.leaflet-popup-custom {
    padding: 16px 20px;
}

.leaflet-popup-custom h4 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    letter-spacing: 0.3px;
}

.leaflet-popup-custom p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.leaflet-popup-tip {
    background: var(--primary-color) !important;
    box-shadow: none !important;
}

.leaflet-popup-close-button {
    color: var(--primary-color) !important;
    font-size: 24px !important;
    padding: 4px 8px !important;
}

.leaflet-popup-close-button:hover {
    color: white !important;
    background: var(--primary-color) !important;
}

/* Map Legend */
.map-legend {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legend-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(82, 196, 26, 0.6);
}

.legend-text {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}


.global-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: 5rem 0;
    background: var(--light-section-bg);
    position: relative;
    overflow: hidden;
}

/* About Video Background */
.about-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 1;
}

.about-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.88) 0%,
            rgba(10, 14, 39, 0.85) 50%,
            rgba(10, 14, 39, 0.88) 100%);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-section .section-title {
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2.5rem;
}

.about-image {
    position: sticky;
    top: 120px;
}

.profile-image-container {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 9 / 14;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--card-border);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    background: rgba(10, 14, 39, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(82, 196, 26, 0.2);
}

.about-text h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.about-text p {
    color: #e5e7eb;
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.about-highlight {
    background: rgba(82, 196, 26, 0.15);
    border-left: 4px solid var(--primary-color);
    padding: 1.2rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(82, 196, 26, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(82, 196, 26, 0.3);
}

.about-highlight p {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    margin: 0;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ========================================
   Career Board Section
   ======================================== */
.career-section {
    padding: 5rem 0;
    background: var(--light-section-bg);
    position: relative;
    overflow: hidden;
}

/* Career Video Background */
.career-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.career-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 1;
}

.career-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.85) 0%,
            rgba(10, 14, 39, 0.8) 50%,
            rgba(10, 14, 39, 0.85) 100%);
    z-index: 1;
}

.career-section .container {
    position: relative;
    z-index: 2;
}

/* Admin Panel */
/* Footer Admin Icon */
.footer-admin-icon {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer-admin-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(82, 196, 26, 0.3);
    background: rgba(10, 14, 39, 0.8);
    color: rgba(82, 196, 26, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0.7;
}

.footer-admin-btn svg {
    width: 18px;
    height: 18px;
}

.footer-admin-btn:hover {
    background: rgba(82, 196, 26, 0.15);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
    opacity: 1;
}

.footer-admin-btn.btn-add {
    background: rgba(82, 196, 26, 0.15);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-admin-btn.btn-add:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05) rotate(90deg);
}

.footer-admin-btn.btn-add-cert {
    background: rgba(24, 144, 255, 0.15);
    color: #1890ff;
    border-color: rgba(24, 144, 255, 0.4);
}

.footer-admin-btn.btn-add-cert:hover {
    background: #1890ff;
    color: white;
    transform: scale(1.05) rotate(20deg);
}

.footer-admin-btn.btn-logout {
    background: rgba(255, 75, 75, 0.1);
    border-color: rgba(255, 75, 75, 0.3);
    color: rgba(255, 75, 75, 0.6);
}

.footer-admin-btn.btn-logout:hover {
    background: rgba(255, 75, 75, 0.2);
    color: #ff4b4b;
    border-color: #ff4b4b;
}

.footer-admin-controls {
    display: flex;
    gap: 0.5rem;
}

/* 기존 스타일 호환성 유지 */
.admin-btn {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    border: 2px solid var(--primary-color);
    background: rgba(82, 196, 26, 0.12);
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.admin-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(82, 196, 26, 0.4);
}

.admin-controls {
    display: flex;
    gap: 1rem;
}

/* Career Posts Container */
.career-posts-container {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.career-post-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    cursor: pointer;
}

.career-post-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(82, 196, 26, 0.2);
    transform: translateY(-3px);
}

.career-post-card.compact {
    padding: 1.5rem;
}

.career-post-card.compact .post-content {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;
    line-height: 1.5;
}

.career-post-card.compact .post-attachments {
    display: none;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.read-more-btn {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.read-more-btn:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.post-info {
    flex: 1;
}

.post-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.post-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.post-company,
.post-position,
.post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.post-company {
    color: var(--primary-color);
    font-weight: 600;
}

.post-date {
    font-style: italic;
}

.post-actions {
    display: flex;
    gap: 0.5rem;
}

.post-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.post-action-btn:hover {
    transform: translateY(-2px);
}

.btn-edit:hover {
    background: rgba(82, 196, 26, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-delete:hover {
    background: rgba(255, 75, 75, 0.2);
    border-color: #ff4b4b;
    color: #ff4b4b;
}

.post-content {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    white-space: pre-wrap;
}

.post-content.preview {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-tag {
    background: rgba(82, 196, 26, 0.12);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(82, 196, 26, 0.3);
}

/* Empty State */
.career-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--darker-bg);
    border: 2px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-small {
    max-width: 450px;
}

.modal-large {
    max-width: 900px;
}

/* Career Detail Modal Content */
.career-detail-content {
    padding: 1rem 0;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-label {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: block;
}

.detail-value {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.detail-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-meta-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.detail-meta-value {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.detail-content-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.9;
    white-space: pre-wrap;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-tag {
    background: rgba(82, 196, 26, 0.12);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(82, 196, 26, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.modal-close:hover {
    background: rgba(255, 75, 75, 0.2);
    color: #ff4b4b;
}

/* Form Styles */
.career-post-form,
.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.login-hint {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

/* File Upload Area */
.file-upload-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-file-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(82, 196, 26, 0.12);
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
}

.btn-file-upload:hover {
    background: rgba(82, 196, 26, 0.2);
    border-style: solid;
}

.file-icon {
    font-size: 1.5rem;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.files-summary {
    padding: 0.75rem 1rem;
    background: rgba(82, 196, 26, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    transition: var(--transition);
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.file-type-icon {
    font-size: 1.5rem;
}

.file-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.file-name {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.file-size {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.file-remove {
    background: rgba(255, 75, 75, 0.15);
    border: 1px solid #ff4b4b;
    color: #ff4b4b;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.file-remove:hover {
    background: #ff4b4b;
    color: white;
}

/* Post Attachments Display */
.post-attachments {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}

.post-attachments-title {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.attachment-item:hover {
    background: rgba(82, 196, 26, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.attachment-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.attachment-info {
    flex: 1;
    min-width: 0;
}

.attachment-name {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.attachment-size {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-top: 0.15rem;
    line-height: 1.2;
}

.attachment-download-icon {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: 5rem 0;
    background: var(--darker-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(82, 196, 26, 0.15);
    background: rgba(82, 196, 26, 0.05);
}

.contact-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-item p {
    color: var(--text-secondary);
    word-break: break-word;
    font-size: 1.05rem;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(82, 196, 26, 0.15);
    background: rgba(82, 196, 26, 0.03);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Certification Section
   ======================================== */
.certification-section {
    min-height: 100vh;
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.certification-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.certification-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.certification-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(10, 14, 39, 0.92) 0%,
            rgba(20, 24, 56, 0.88) 100%);
    backdrop-filter: blur(2px);
}

.certification-section .container {
    position: relative;
    z-index: 2;
}

/* Certification Posts Container */
.certification-posts-container {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.certification-post-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(82, 196, 26, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.certification-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
}

.certification-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(82, 196, 26, 0.2);
    border-color: var(--primary-color);
}

.certification-post-card:hover::before {
    opacity: 1;
}

.cert-post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.cert-post-info {
    flex: 1;
}

.cert-post-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cert-post-issuer {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.cert-post-date {
    color: rgba(82, 196, 26, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
}

.cert-post-badge {
    background: linear-gradient(135deg, rgba(82, 196, 26, 0.2), rgba(115, 209, 61, 0.15));
    border: 1px solid rgba(82, 196, 26, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.cert-post-content {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cert-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cert-post-tag {
    padding: 0.4rem 1rem;
    background: rgba(82, 196, 26, 0.1);
    border: 1px solid rgba(82, 196, 26, 0.3);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.certification-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 20px;
    border: 2px dashed rgba(82, 196, 26, 0.3);
}

.certification-empty-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--card-border);
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 400;
}

/* ========================================
   Work/Life Mode Toggle
   ======================================== */
.mode-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.mode-btn {
    padding: 12px 20px;
    border: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-origin: center;
}

.mode-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Mode Switch Button */
.mode-switch-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    border: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-origin: center;
    min-width: 80px;
    justify-content: center;
}

.mode-switch-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.mode-switch-btn.work-mode {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.mode-switch-btn.work-mode:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6b46c1 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.mode-switch-btn.life-mode {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #2d3436;
    box-shadow: 0 6px 20px rgba(255, 154, 158, 0.4);
}

.mode-switch-btn.life-mode:hover {
    background: linear-gradient(135deg, #ff8a95 0%, #fdcb6e 100%);
    box-shadow: 0 8px 25px rgba(255, 154, 158, 0.5);
}

.mode-text {
    font-weight: 600;
}

.mode-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.mode-switch-btn:hover .mode-icon {
    transform: rotate(15deg);
}

.mode-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ========================================
   Life Mode Styles - Bright & Vibrant Theme
   ======================================== */
.life-mode-content {
    display: none;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 25%, #e17055 50%, #d63031 75%, #e84393 100%);
    min-height: 100vh;
}

.life-mode-content.active {
    display: block;
}

/* Life Mode Navigation */
.life-nav-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.life-nav-menu li a {
    color: #2d3436 !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.life-nav-menu li a:hover {
    color: #e84393 !important;
    transform: translateY(-2px);
}

/* Life Hero Section */
.life-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    overflow: hidden;
}

.life-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
}

.life-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
}

.life-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #2d3436;
    max-width: 800px;
    padding: 0 2rem;
}

.life-hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.life-title-line-1 {
    display: block;
    background: linear-gradient(45deg, #e84393, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.life-title-line-2 {
    display: block;
    color: #2d3436;
}

.life-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #636e72;
    margin-bottom: 2rem;
}

/* Life Sections */
.life-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.life-section .section-title {
    color: #2d3436;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Exercise Section */
.exercise-content {
    display: flex;
    justify-content: center;
}

.exercise-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.exercise-card:hover {
    transform: translateY(-10px);
}

.exercise-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.exercise-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e84393;
}

.exercise-card p {
    color: #636e72;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.exercise-stats {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    gap: 1rem;
}

.stat {
    text-align: center;
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    padding: 1.5rem 1rem;
    border-radius: 20px;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2d3436;
}

.stat-label {
    font-size: 0.9rem;
    color: #636e72;
    font-weight: 500;
}

.exercise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.exercise-tags span {
    background: linear-gradient(135deg, #e84393, #fd79a8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Music Section */
.music-section {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.music-content {
    display: flex;
    justify-content: center;
}

.music-player-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    width: 100%;
}

.music-player {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.player-main {
    margin-bottom: 1rem;
}

.track-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.track-info h4 {
    color: #2d3436;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.track-info p {
    color: #636e72;
    font-size: 0.9rem;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.control-btn {
    background: linear-gradient(135deg, #e84393, #fd79a8);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(232, 67, 147, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(232, 67, 147, 0.4);
}

.play-btn {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #00b894, #00cec9);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.player-progress {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.progress {
    height: 100%;
    background: linear-gradient(135deg, #e84393, #fd79a8);
    width: 0%;
    transition: width 0.1s ease;
}

.time-info {
    display: flex;
    justify-content: space-between;
    color: #636e72;
    font-size: 0.8rem;
}

.volume-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(224, 224, 224, 0.5);
}

.volume-control span {
    font-size: 1rem;
}

.volume-control input {
    width: 100px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-control input::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #e84393, #fd79a8);
    border-radius: 50%;
    cursor: pointer;
}

.playlist {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.playlist h4 {
    color: #2d3436;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.playlist-tracks {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 400px;
    overflow-y: auto;
}

.playlist-tracks::-webkit-scrollbar {
    width: 4px;
}

.playlist-tracks::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.playlist-tracks::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e84393, #fd79a8);
    border-radius: 2px;
}

.track-item {
    padding: 0.8rem;
    background: rgba(232, 67, 147, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.track-item:hover {
    background: rgba(232, 67, 147, 0.15);
    transform: translateX(3px);
}

.track-item.active {
    background: linear-gradient(135deg, #e84393, #fd79a8);
    color: white;
    border-color: #e84393;
    transform: translateX(5px);
}

.track-item h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.track-item p {
    font-size: 0.75rem;
    opacity: 0.8;
    margin: 0;
}

/* Travel Section */
.travel-content {
    display: flex;
    justify-content: center;
}

.travel-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.travel-card:hover {
    transform: translateY(-10px);
}

.travel-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.travel-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e84393;
}

.travel-card p {
    color: #636e72;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.travel-stats {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    gap: 1rem;
}

.travel-stat {
    text-align: center;
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    padding: 1.5rem 1rem;
    border-radius: 20px;
    flex: 1;
}

.travel-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.travel-item {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.travel-item:hover {
    transform: scale(1.05);
}

.travel-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #2d3436;
    font-weight: 600;
}

.travel-icon-small {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.travel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.travel-tags span {
    background: linear-gradient(135deg, #e84393, #fd79a8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Life Contact Section */
.life-contact-section {
    padding: 100px 0;
    background: var(--dark-bg);
    text-align: center;
}

.life-contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-secondary);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .mode-toggle {
        top: 15px;
        left: 15px;
        padding: 3px;
    }

    .mode-switch-btn {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 70px;
    }

    .mode-switch-btn:hover {
        transform: translateY(-1px) scale(1.02);
    }

    .mode-icon {
        font-size: 14px;
    }

    .life-section {
        margin: 1rem;
        padding: 60px 0;
    }

    .life-section .section-title {
        font-size: 2rem;
    }

    .exercise-stats,
    .travel-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .music-player-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }

    .music-player {
        padding: 1rem;
    }

    .playlist {
        padding: 1rem;
    }

    .travel-gallery {
        grid-template-columns: 1fr;
    }

    .exercise-card,
    .travel-card {
        padding: 2rem;
    }

    .player-controls {
        gap: 0.5rem;
    }

    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 17px;
        line-height: 1.8;
        letter-spacing: 0.02em;
    }

    /* Enhanced Visibility for Mobile */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #ffffff;
        font-weight: 700;
    }

    p {
        color: #e5e7eb;
    }

    .text-secondary {
        color: #d1d5db;
    }

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .projects-section {
        padding: 3.5rem 0;
    }

    .nav-menu {
        display: none;
    }

    .nav-container {
        padding: 0.8rem 1.5rem;
    }

    .nav-logo {
        font-size: 1.4rem;
        font-weight: 700;
    }

    .nav-controls {
        gap: 0.7rem;
    }

    /* 모바일용 Footer 관리자 아이콘 */
    .footer-admin-icon {
        right: 10px;
        bottom: 10px;
    }

    .footer-admin-btn {
        width: 32px;
        height: 32px;
    }

    .footer-admin-btn svg {
        width: 16px;
        height: 16px;
    }

    .bgm-toggle,
    .lang-toggle {
        padding: 0.6rem 1.1rem;
        font-size: 0.95rem;
        min-height: 44px;
        min-width: 44px;
    }

    .bgm-icon {
        width: 20px;
        height: 20px;
    }

    .bgm-icon svg {
        width: 16px;
        height: 16px;
    }

    .lang-icon {
        font-size: 1.1rem;
    }

    .video-overlay {
        background: linear-gradient(180deg,
                rgba(10, 14, 39, 0.5) 0%,
                rgba(10, 14, 39, 0.3) 50%,
                rgba(10, 14, 39, 0.6) 100%);
    }

    .competencies-video-overlay {
        background: linear-gradient(180deg,
                rgba(10, 14, 39, 0.8) 0%,
                rgba(10, 14, 39, 0.7) 50%,
                rgba(10, 14, 39, 0.8) 100%);
    }

    .projects-video-overlay {
        background: linear-gradient(180deg,
                rgba(10, 14, 39, 0.8) 0%,
                rgba(10, 14, 39, 0.7) 50%,
                rgba(10, 14, 39, 0.8) 100%);
    }

    .about-video-overlay {
        background: linear-gradient(180deg,
                rgba(10, 14, 39, 0.9) 0%,
                rgba(10, 14, 39, 0.88) 50%,
                rgba(10, 14, 39, 0.9) 100%);
    }

    .global-video-overlay {
        background: linear-gradient(180deg,
                rgba(10, 14, 39, 0.88) 0%,
                rgba(10, 14, 39, 0.85) 50%,
                rgba(10, 14, 39, 0.88) 100%);
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -0.3px;
        line-height: 1.3;
        font-weight: 800;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.7;
        font-weight: 600;
        margin-bottom: 1.2rem;
    }

    .hero-description {
        font-size: 1.05rem;
        line-height: 1.8;
        font-weight: 400;
        color: var(--text-secondary);
    }

    .hero-cta {
        margin-top: 2rem;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
        min-height: 52px;
        font-size: 1.05rem;
        font-weight: 600;
    }

    .section-title {
        font-size: 2.2rem;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        line-height: 1.7;
        font-weight: 400;
        margin-bottom: 2rem;
    }

    .projects-section .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .projects-section .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .competencies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .competency-card {
        padding: 2rem;
    }

    .competency-card h3 {
        font-size: 1.3rem;
        font-weight: 700;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .competency-card p {
        font-size: 1rem;
        line-height: 1.8;
        font-weight: 400;
    }

    .competency-tags li {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .subsection-title {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .projects-container {
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.2rem;
        margin-bottom: 0;
    }

    .project-number {
        font-size: 1.5rem;
        font-weight: 800;
        margin-bottom: 0.7rem;
    }

    .project-header {
        margin-bottom: 0.8rem;
    }

    .project-title {
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .project-client {
        margin-top: 0.4rem;
    }

    .client-label {
        font-size: 0.75rem;
        opacity: 0.7;
    }

    .client-name {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .project-details {
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }

    .project-block {
        padding: 0.8rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.03);
    }

    .project-block h4 {
        font-size: 0.9rem;
        font-weight: 700;
        margin-bottom: 0.4rem;
        color: var(--primary-color);
    }

    .project-block p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .project-tags {
        margin-top: 0.8rem;
        gap: 0.35rem;
    }

    .project-tags span {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .achievement-badge {
        padding: 0.6rem;
        gap: 0.4rem;
    }

    .badge-icon {
        font-size: 1.3rem;
    }

    .badge-text strong {
        font-size: 0.85rem;
    }

    .badge-text span {
        font-size: 0.75rem;
    }

    .achievement-highlight p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-top: 0.5rem;
    }

    .btn {
        padding: 1rem 2.2rem;
        font-size: 1.05rem;
        font-weight: 600;
        min-height: 52px;
        box-shadow: 0 4px 15px rgba(82, 196, 26, 0.3);
    }

    .btn-primary {
        background: var(--primary-color);
        color: #0a0e27;
        font-weight: 700;
    }

    .btn-secondary {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        font-weight: 700;
    }

    /* Card Visibility Enhancement */
    .competency-card,
    .project-card,
    .skill-category {
        border: 1px solid rgba(82, 196, 26, 0.3);
        background: rgba(255, 255, 255, 0.08);
    }

    .achievement-badge {
        background: rgba(82, 196, 26, 0.15);
    }

    #scrollRocket {
        right: 1rem;
        font-size: 2rem;
    }

    .google-map {
        height: 450px;
    }

    .map-legend {
        bottom: 1rem;
        right: 1rem;
        padding: 0.8rem 1.2rem;
    }

    .legend-text {
        font-size: 0.85rem;
    }

    .global-stats {
        gap: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
        line-height: 1.8;
    }

    .container {
        padding: 0 1.2rem;
    }

    section {
        padding: 3rem 0;
    }

    .projects-section {
        padding: 2.5rem 0;
    }

    .nav-controls {
        flex-direction: row;
        gap: 0.6rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.8rem;
        font-weight: 800;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
        font-weight: 800;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .projects-section .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .projects-section .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .competency-card {
        padding: 1.5rem;
    }

    .competency-card h3 {
        font-size: 1.2rem;
    }

    .competency-card p {
        font-size: 0.95rem;
    }

    .projects-container {
        gap: 1.2rem;
    }

    .project-card {
        padding: 1rem;
        margin-bottom: 0;
    }

    .project-number {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .project-header {
        margin-bottom: 0.6rem;
    }

    .project-title {
        font-size: 1.05rem;
        line-height: 1.3;
        margin-bottom: 0.4rem;
    }

    .project-client {
        margin-top: 0.3rem;
    }

    .client-label {
        font-size: 0.65rem;
        opacity: 0.7;
    }

    .client-name {
        font-size: 0.8rem;
    }

    .project-details {
        gap: 0.6rem;
    }

    .project-block {
        padding: 0.7rem;
    }

    .project-block h4 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .project-block p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .project-tags {
        margin-top: 0.6rem;
        gap: 0.25rem;
    }

    .project-tags span {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    .achievement-badge {
        padding: 0.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .badge-icon {
        font-size: 1.2rem;
    }

    .badge-text strong {
        font-size: 0.8rem;
    }

    .badge-text span {
        font-size: 0.7rem;
    }

    .achievement-highlight p {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-top: 0.4rem;
    }

    .google-map,
    #googleMap {
        height: 250px;
    }

    .email-card {
        min-width: 100%;
        padding: 1.5rem;
    }

    /* Skills Section - Extra Small Screens */
    .skills-subsection {
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .subsection-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1.2rem;
    }

    .skills-grid {
        gap: 1rem;
    }

    .skill-category {
        padding: 1.2rem;
    }

    .skill-category h4 {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 0.8rem;
    }

    .skill-tags {
        gap: 0.4rem;
    }

    .skill-tag {
        font-size: 0.8rem;
        padding: 0.35rem 0.65rem;
        font-weight: 500;
    }

    .bgm-toggle,
    .lang-toggle {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
        min-height: 44px;
    }

    .bgm-text,
    .lang-text {
        display: none;
    }

    .bgm-icon,
    .lang-icon {
        margin: 0;
    }

    /* About Section */
    .about-text {
        padding: 1.5rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1.2rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 1.2rem;
    }

    .about-highlight p {
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.7;
    }

    /* Global Stats */
    .global-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
        font-weight: 800;
    }

    .stat-label {
        font-size: 1rem;
        font-weight: 500;
    }

    .google-map {
        height: 350px;
        border-radius: 15px;
    }

    .map-legend {
        bottom: 0.5rem;
        right: 0.5rem;
        padding: 0.6rem 1rem;
    }

    .legend-icon {
        width: 12px;
        height: 12px;
    }

    .legend-text {
        font-size: 0.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    .video-overlay {
        background: linear-gradient(180deg,
                rgba(10, 14, 39, 0.6) 0%,
                rgba(10, 14, 39, 0.4) 50%,
                rgba(10, 14, 39, 0.7) 100%);
    }

    .competencies-video-overlay {
        background: linear-gradient(180deg,
                rgba(10, 14, 39, 0.85) 0%,
                rgba(10, 14, 39, 0.75) 50%,
                rgba(10, 14, 39, 0.85) 100%);
    }

    .projects-video-overlay {
        background: linear-gradient(180deg,
                rgba(10, 14, 39, 0.85) 0%,
                rgba(10, 14, 39, 0.75) 50%,
                rgba(10, 14, 39, 0.85) 100%);
    }

    .about-video-overlay {
        background: linear-gradient(180deg,
                rgba(10, 14, 39, 0.92) 0%,
                rgba(10, 14, 39, 0.9) 50%,
                rgba(10, 14, 39, 0.92) 100%);
    }

    .global-video-overlay {
        background: linear-gradient(180deg,
                rgba(10, 14, 39, 0.9) 0%,
                rgba(10, 14, 39, 0.88) 50%,
                rgba(10, 14, 39, 0.9) 100%);
    }

    .about-text {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .project-card {
        padding: 2rem 1.5rem;
    }

    .project-title {
        font-size: 1.6rem;
    }

    .competencies-grid {
        grid-template-columns: 1fr;
    }

    .competency-card,
    .skill-category {
        padding: 1.2rem;
    }

    .skill-category h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .skill-tags {
        gap: 0.5rem;
    }

    .skill-tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.7rem;
    }

    .skills-subsection {
        margin-top: 2.5rem;
        padding-top: 2.5rem;
    }

    .subsection-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .skills-grid {
        gap: 1.2rem;
    }

    .competency-card h3 {
        font-size: 1.3rem;
    }

    .competency-card p,
    .project-block p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    .about-text {
        padding: 1.8rem;
    }

    .about-text h3 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 1.05rem;
    }

    .about-highlight p {
        font-size: 1.15rem;
    }

    /* Career Section Mobile */
    .career-admin-panel {
        flex-direction: column;
        align-items: center;
    }

    .admin-controls {
        flex-direction: column;
        width: 100%;
    }

    .admin-btn {
        width: 100%;
        text-align: center;
    }

    .career-post-card {
        padding: 1.5rem;
    }

    .post-header {
        flex-direction: column;
    }

    .post-title {
        font-size: 1.3rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .post-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
        max-height: 85vh;
    }

    .modal-header h3 {
        font-size: 1.4rem;
    }

    /* Attachments Mobile */
    .attachment-item {
        padding: 0.45rem 0.65rem;
        gap: 0.5rem;
    }

    .attachment-name {
        font-size: 0.8rem;
    }

    .attachment-size {
        font-size: 0.7rem;
    }

    .attachment-icon {
        font-size: 1.1rem;
    }

    .attachment-download-icon {
        font-size: 0.9rem;
    }
}

/* ========================================
   Parallax & Scroll Animations
   ======================================== */
[data-parallax] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-parallax].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Library Link Button */
.library-link-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(82, 196, 26, 0.1);
    color: #52c41a;
    border: 1px solid #52c41a;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.library-link-btn:hover {
    background: #52c41a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.2);
}

/* Library Section Specifics */
#library .career-post-card {
    border-left: 4px solid #722ed1;
    /* Purple accent for library */
}

#library .career-post-card:hover {
    box-shadow: 0 10px 30px rgba(114, 46, 209, 0.15);
}

[data-parallax="slow"].visible {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Contact Email Card Styles
   ======================================== */
.contact-email-info {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.email-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    min-width: 300px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.email-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(82, 196, 26, 0.3);
}

.email-icon {
    display: inline-flex;
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.email-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
}

.email-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.email-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ========================================
   AI Generated Backgrounds
   ======================================== */
.career-background {
    background-image: url('images/career_bg.png');
    background-size: cover;
    background-position: center;
}

.certification-background {
    background-image: url('images/certification_bg.png');
    background-size: cover;
    background-position: center;
}

.library-background {
    background-image: url('images/library_bg.png');
    background-size: cover;
    background-position: center;
}

.library-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    opacity: 0.4;
    filter: brightness(0.7) contrast(0.9);
}

.contact-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('images/contact_bg.png');
    background-size: cover;
    background-position: center;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.9) 0%,
            rgba(10, 14, 39, 0.85) 50%,
            rgba(10, 14, 39, 0.9) 100%);
    z-index: 1;
}

.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}


/* ========================================
   Consistent Tone-Down Overlays
   ======================================== */
.video-overlay,
.career-overlay,
.certification-overlay,
.library-overlay,
.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.75) 0%,
            rgba(10, 14, 39, 0.65) 50%,
            rgba(10, 14, 39, 0.75) 100%);
    z-index: 1;
    backdrop-filter: blur(2px);
    /* Slight blur for better text readability */
}

/* Ensure backgrounds are positioned correctly for overlays */
.career-background,
.certification-background,
.library-background,
.contact-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}



.library-background {
    /* background-image removed for video */
    background-size: cover;
    background-position: center;
}

/* Library Section Overlay - Added to fix missing background */
.library-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.85) 0%,
            rgba(10, 14, 39, 0.8) 50%,
            rgba(10, 14, 39, 0.85) 100%);
    z-index: 1;
    backdrop-filter: blur(2px);
}

/* Ensure library container is positioned correctly */

/* Library Section Specifics */
#library .career-post-card {
    border-left: 4px solid #722ed1;
    /* Purple accent for library */
}

#library .career-post-card:hover {
    box-shadow: 0 10px 30px rgba(114, 46, 209, 0.15);
}

[data-parallax="slow"].visible {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Contact Email Card Styles
   ======================================== */
.contact-email-info {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.email-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    min-width: 300px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.email-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(82, 196, 26, 0.3);
}

.email-icon {
    display: inline-flex;
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.email-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
}

.email-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.email-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ========================================
   AI Generated Backgrounds
   ======================================== */
.career-background {
    background-image: url('images/career_bg.png');
    background-size: cover;
    background-position: center;
}

.certification-background {
    background-image: url('images/certification_bg.png');
    background-size: cover;
    background-position: center;
}

.library-background {
    background-image: url('images/library_bg.png');
    background-size: cover;
    background-position: center;
}

.library-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    opacity: 0.4;
    filter: brightness(0.7) contrast(0.9);
}

.contact-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('images/contact_bg.png');
    background-size: cover;
    background-position: center;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.9) 0%,
            rgba(10, 14, 39, 0.85) 50%,
            rgba(10, 14, 39, 0.9) 100%);
    z-index: 1;
}

.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}


/* ========================================
   Consistent Tone-Down Overlays
   ======================================== */
.video-overlay,
.career-overlay,
.certification-overlay,
.library-overlay,
.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.75) 0%,
            rgba(10, 14, 39, 0.65) 50%,
            rgba(10, 14, 39, 0.75) 100%);
    z-index: 1;
    backdrop-filter: blur(2px);
    /* Slight blur for better text readability */
}

/* Ensure backgrounds are positioned correctly for overlays */
.career-background,
.certification-background,
.library-background,
.contact-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}



.library-background {
    /* background-image removed for video */
    background-size: cover;
    background-position: center;
}

/* Library Section Overlay - Added to fix missing background */
.library-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 39, 0.85) 0%,
            rgba(10, 14, 39, 0.8) 50%,
            rgba(10, 14, 39, 0.85) 100%);
    z-index: 1;
    backdrop-filter: blur(2px);
}

/* Ensure library container is positioned correctly */
.library-section .container {
    position: relative;
    z-index: 2;
}

/* Library Card Layout with Image */
.library-card.has-image {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 !important;
    overflow: hidden;
    height: 220px;
    /* Further reduced height */
    margin-bottom: 2rem;
    /* Add spacing between cards */
}

/* Ensure spacing for cards without images too */
#library .career-post-card {
    margin-bottom: 2rem;
}

.library-content-wrapper {
    flex: 1;
    padding: 1.2rem;
    /* Further reduced padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.library-post-image {
    flex: 0 0 55%;
    position: relative;
    overflow: hidden;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.library-post-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.library-post-image:hover img {
    transform: scale(1.02);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .library-card.has-image {
        flex-direction: column;
        height: auto;
    }

    .library-post-image {
        flex: 0 0 200px;
        width: 100%;
        height: 200px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Certification Card Layout with Image */
.certification-card.has-image {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 !important;
    overflow: hidden;
    height: 180px;
    /* Fixed height */
}

.certification-card.has-image .cert-content-wrapper {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.certification-post-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-post-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.certification-post-image:hover img {
    transform: scale(1.02);
}

/* Mobile responsiveness for Certification Card */
@media (max-width: 768px) {
    .certification-card.has-image {
        flex-direction: column;
        height: auto;
    }

    .certification-post-image {
        flex: 0 0 200px;
        width: 100%;
        height: 200px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

   

/* Contact Section - KakaoTalk Card Styles */
.contact-email-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.email-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    min-width: 280px;
    text-decoration: none;
    display: block;
}

.email-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(82, 196, 26, 0.25);
    background: rgba(82, 196, 26, 0.08);
}

.email-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-icon svg {
    width: 100%;
    height: 100%;
}

.kakao-icon {
    background: #FEE500;
    border-radius: 50%;
    padding: 12px;
}

.email-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.email-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.kakao-card:hover .kakao-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(254, 229, 0, 0.4);
}

/* ========================================
   Writing Section - Book Cards
   ======================================== */
.writing-content {
    max-width: 1200px;
    margin: 0 auto;
}

.writing-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.writing-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.writing-intro h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.writing-intro p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.books-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.book-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.book-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(82, 196, 26, 0.25);
    background: rgba(82, 196, 26, 0.08);
}

.book-cover {
    width: 200px;
    height: 280px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.book-cover:hover img {
    transform: scale(1.05);
}

.book-cover-placeholder {
    background: linear-gradient(135deg, rgba(82, 196, 26, 0.2), rgba(115, 209, 61, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-placeholder-icon {
    font-size: 5rem;
    opacity: 0.5;
}

.book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.book-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.book-author {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.book-publish-info {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.book-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.book-link-container {
    margin-bottom: 1rem;
}

.book-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

.book-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 196, 26, 0.5);
}

.book-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: auto;
}

.books-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.books-empty-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.books-empty-state p {
    font-size: 1.1rem;
}

/* ========================================
   Post Actions (Edit/Delete Buttons)
   ======================================== */
.post-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.post-action-btn {
    background: rgba(82, 196, 26, 0.1);
    border: 1px solid rgba(82, 196, 26, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.post-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

.post-action-btn.btn-edit {
    background: rgba(24, 144, 255, 0.1);
    border-color: rgba(24, 144, 255, 0.3);
}

.post-action-btn.btn-edit:hover {
    background: rgba(24, 144, 255, 0.2);
    border-color: rgba(24, 144, 255, 0.5);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.post-action-btn.btn-delete {
    background: rgba(255, 77, 79, 0.1);
    border-color: rgba(255, 77, 79, 0.3);
}

.post-action-btn.btn-delete:hover {
    background: rgba(255, 77, 79, 0.2);
    border-color: rgba(255, 77, 79, 0.5);
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
}

/* Library Card Specific Styles */
.library-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.library-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(82, 196, 26, 0.25);
    background: rgba(82, 196, 26, 0.08);
}

.library-content-wrapper {
    width: 100%;
}

.library-card .post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.library-card .post-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
    line-height: 1.4;
}

.library-card .post-content {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.library-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(82, 196, 26, 0.15);
    border: 1px solid rgba(82, 196, 26, 0.4);
    border-radius: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: 0.75rem;
}

.library-link-btn:hover {
    background: rgba(82, 196, 26, 0.25);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

.library-post-image {
    width: 100%;
    max-width: 300px;
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.library-post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.library-card.has-image {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: start;
}

/* Mobile responsiveness for Book Cards */
@media (max-width: 768px) {
    .books-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .book-cover {
        width: 160px;
        height: 224px;
    }

    .book-title {
        font-size: 1.2rem;
    }

    .book-author {
        font-size: 1rem;
    }

    .library-card.has-image {
        grid-template-columns: 1fr;
    }

    .post-actions {
        flex-wrap: wrap;
    }
}