@charset "utf-8";

/* Reset & Common */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    background-color: #fff;
    letter-spacing: -0.02em;
}
ul, li { list-style: none; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* Header (Moved to header.css)
header { ... }
.top-util { ... }
.header-main { ... }
.logo img { ... }
.gnb ul { ... }
.header-icons button { ... }
*/

/* Main Visual Wrapper (Header + Hero + Artwork) */
.main-visual-wrap {
    width: 100%;
    background: url('../images/main/bg.png') no-repeat center top / cover;
    position: relative;
    padding-top: 130px; /* 헤더 높이만큼 기본 여백 확보 */
    padding-bottom: 0px; /* 창작물 섹션 하단 여백 */
}

/* Hero Section */
.hero-section {
    min-height: 560px; /* 높이 재조정 */
    background: none;
    padding-top: 40px; /* 상단 여백 축소 */
    padding-bottom: 80px;
    color: #fff;
    position: relative;
    /* overflow: hidden; */ /* 텍스트 삐져나감 방지 해제 */
}
.hero-content {
    display: flex;
    height: 100%;
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: flex-start;
    position: relative;
    gap: 136px;
    max-width: none !important;
    width: 100%;
    margin: 0;
    /* 왼쪽 여백이 더 크고 오른쪽이 더 작은 비대칭 레이아웃 */
    padding-left: max(20px, calc(50vw - 770px + 120px)); 
    padding-right: max(20px, calc(50vw - 720px - 80px));
}

/* Hero Left: Login Buttons */
.hero-left {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 326px; /* 고정폭 */
    flex-shrink: 0;
    z-index: 20;
    position: relative;
    padding: 10px 0;
}
.role-btn {
    width: 157px; height: 179px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
    border: none;
}
.role-btn:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.role-txt { text-align: center; margin-top: -20px; }
.role-txt span { display: block; font-size: 15.5px; color: #442c93; margin-bottom: 4px; font-weight: bold; line-height: 1.58; }
.role-txt strong { display: block; font-size: 19px; color: #000; font-weight: 700; }

/* Hero Left: Logged-in Profile Card */
.profile-card {
    width: 326px;
    background: #fff;
    border-radius: 44px;
    padding: 48px 24px 32px;
    color: #333;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.02);
    position: relative;
    z-index: 20;
    border: 1px solid rgba(0,0,0,0.03);
    overflow: visible;
}

.profile-notify {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    background-image: url('../images/common/icon-noti-bell.png'); 
    background-repeat: no-repeat;
    background-position: center 8px;
    background-size: 16px;
    padding-top: 30px;
    transition: transform 0.2s;
    cursor: pointer;
}
.profile-notify:hover { transform: translateX(-50%) scale(1.05); }
.profile-notify span { font-size: 12px; font-weight: 500; display: block; margin-bottom: -7px; line-height: 2.04; }
.profile-notify strong { font-size: 24.5px; font-weight: bold; font-family: 'Outfit', sans-serif; }

/* Different Notification Colors */
.profile-card.type-001 .profile-notify { background-color: #0066FF; } /* 일반 */
.profile-card.type-002 .profile-notify { background-color: #FF4B8B; } /* 개인예술인 */
.profile-card.type-003 .profile-notify { background-color: #FF9F00; } /* 단체예술인 */
.profile-card.type-004 .profile-notify { background-color: #39831F; } /* 기관 */

.profile-header {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
    margin-bottom: 24px;
    padding: 0 4px;
}

.profile-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
    flex-shrink: 0;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

.profile-welcome {
    text-align: left;
    flex: 1;
}
.profile-welcome strong { font-size: 21px; color: #333; display: block; margin-bottom: 3px; line-height: 1.2; }
.profile-welcome strong b { color: #422893; font-weight: 800; }
.profile-welcome span { font-size: 17px; color: #333; font-weight: 700; display: block; }

.profile-stats {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    background-color: #EBEDF0;
    
}
/* General member stats background yellow 
.profile-card.type-001 .profile-stats { background: #FFF5D0; }
*/

.profile-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    /*background-color: #EBEDF0;*/
    border-bottom:1px solid #E0E1E2;
}
.profile-stat-item:hover { background: rgba(0,0,0,0.03); }
.profile-stat-item:last-child { border-bottom:0px solid #E0E1E2; }

.profile-stat-label { font-size: 15px; font-weight: 600; color: #444; display: flex; align-items: center; }
.profile-stat-label::before { content: '•'; margin-right: 6px; color: #999; }

.profile-stat-value-box {
    background: #fff;
    min-width: 50px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
.profile-stat-value { font-size: 17px; font-weight: 800; color: #422893; font-family: 'Outfit', sans-serif; }

/* Special alert text next to value */
.stat-alert { color: #FF4B8B; font-size: 14px; margin-right: 10px; font-weight: 800; }

/* Hero Right: Content Area */
.hero-right {
    flex: 1;
    position: relative;
    height: 430px;
    align-items: center;    
    border-radius: 36px;
    background-color: transparent;
}

/* Text Overlay */
.hero-text-wrap {
    z-index: 20;
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 70px;
    padding-bottom: 90px;
    pointer-events: none;
}
.hero-text {
    pointer-events: auto;
    margin-bottom: 40px;
}
.hero-text h2 { 
    font-size: 57px;
    line-height: 1.25; 
    margin-bottom: 24px; 
    font-weight: 700; 
    letter-spacing: -0.04em;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-text h2 strong { color: #fff; font-weight: 800; }
.hero-text p { 
    font-size: 17px;
    opacity: 0.95; 
    margin-bottom: 0; 
    line-height: 1.5;
    color: #fff;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Slider Controls over Image */
.hero-right .hero-slider-controls { 
    position: absolute;
    left: 60px;
    bottom: 50px;
    display: flex; 
    align-items: center; 
    gap: 20px; 
    font-size: 16px; 
    z-index: 40;
    color: #fff;
    font-weight: 500;
}
.hero-slider-controls {
    pointer-events: auto;
    display: flex; align-items: center; gap: 15px;
    color: #fff; font-size: 17px; font-weight: 600;
}
.hero-right .hero-slider-controls .swiper-pagination {
    position: relative; width: 140px; height: 2px; background: rgba(255,255,255,0.3);
    top: auto; bottom: auto; left: auto; right: auto;
}
.hero-right .hero-slider-controls .swiper-pagination-progressbar-fill { background: #fff; }

/* Hero Right: Visual Slider */
.hero-right-visual {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    position: absolute;
    left: 0; top: 0;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.hero-right-visual img {
    width: 100%; height: 100%; object-fit: cover;
}
.visual-swiper {
    width: 100%;
    height: 100%;
    display: block;
}
.visual-swiper .swiper-slide {
    width: 100%; height: 100%;
    background-color: #333;
}
.visual-swiper .swiper-slide img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; opacity: 1;
}

/* Section Common */
section { padding: 80px 0; }
.hero-section { padding-top: 40px; padding-bottom: 80px; } /* Reset overlap */

/* Artwork Section Specific */
.artwork-section { padding: 0 0 80px 0; } /* Removed negative margin */
.artwork-container {
    background: #fdfdfd;
    border-radius: 40px 0 0 40px; 
    margin-left: max(20px, calc(50% - 800px)); /* 좌측 여백 중앙 1440 시작선 맞춤 + 모바일 20px 보장 */
    margin-right: 0; /* 우측 화면 꽉참 */
    width: auto;
    padding-top: 70px;
    padding-bottom: 80px;
    padding-left: 80px;
    padding-right: 0; /* 우측 꽉차게 둠 */
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}
.artwork-container .section-header {
    margin: 0 50px 40px 70px;
    padding-left: 0;
    /* 헤더의 우측 선을 다른 섹션(1440px 컨테이너)의 우측 선과 100% 동일하게 일치시키기 위한 보정 (모바일에서도 20px로 자동 대응) */
    padding-right: max(20px, calc(50vw - 720px + 20px)); 
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
    border-bottom: 0px solid #000;
    padding-bottom: 20px;
    margin-left: calc(max(20px, calc(50% - 680px)) + 30px);
    margin-right: 50px;
}
.artwork-container .tab-box {
    flex: 3;
}
.artwork-container .section-title {
    flex: 3;
}
.section-title { flex: 1; font-size: 38.5px; font-weight: bold; color: #000; margin-top: 15px; text-align: center; }
.tab-box {
    flex: 1;
    text-align: left;
}
.tab-group {
    background: #eaecf0;
    border-radius: 21px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    height: 42px;
}
.tab-group button {
    padding: 0 24px;
    height: 42px;
    border-radius: 21px;
    font-size: 19.5px;
    color: #000;
    background: transparent;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-group button.active { background: #000; color: #fff; }
.slider-nav {
    flex: 1;
    display: flex; gap: 10px; justify-content: flex-end;
}
.slider-nav button {
    width: 36px; height: 36px; background: transparent; border: none; border-radius: 50%;
    color: #333; transition: transform 0.3s;
    display: inline-flex; justify-content: center; align-items: center;
    padding: 0;
}
.slider-nav button:hover, .slider-nav button:focus {
    transform: scale(1.05); /* Grow effect slightly on hover */
}
.slider-nav button img {
    width: 100%; height: 100%; object-fit: contain;
}

/* Artwork Grid */
.artwork-swiper {
    padding: 10px;
    margin: -10px;
    overflow: hidden;
}
.artwork-swiper .swiper-wrapper .swiper-slide { width: 270px; box-sizing: border-box; }

/* Artists Section */
.artist-section { background: transparent; padding: 60px 0 70px 0; }
.artist-swiper {
    padding: 10px 0;
}
.artist-circle {
    text-align: center;
    cursor: pointer;
}
.artist-img {
    width: 214px; height: 214px;
    border-radius: 106px;
    background: #ecf0f5; 
    border: 1px solid #f3f5f8;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.artist-img:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.artist-img::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}
.artist-img img { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; 
    transition: transform 0.3s ease;
}
.artist-txt {
    position: relative; z-index: 2; width: 100%; padding: 0 10px;
    margin-top: 15px; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.artist-txt .badge {
    color: #fff; width: 60px; height: 27px; border-radius: 20px;
    background: #422893 !important;
    border: 1px solid #3b1f94; 
    font-size: 15px; font-weight: bold;
    display: inline-flex; align-items: center; justify-content: center; padding: 0; margin: 0;
}
.artist-name { 
    display: block; font-size: 23px; color: #000; font-weight: bold; line-height: 1.3;
}
.artist-swiper .swiper-wrapper .swiper-slide { width: 214px; height: 214px; }

/* Artist Hover Effects */
.artist-circle:hover .artist-img img {
    transform: scale(1.1);
}
.artist-circle:hover .artist-img::after {
    background: rgba(0,0,0,0.6);
}

/* Platform Intro Banner */
.platform-intro {
    background: #482b9b;
    color: #fff;
    padding: 0;
    height: 230px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0px 0px 70px;
}
.intro-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    display: flex; justify-content: space-between; align-items: center;
    height: 100%;
}
.intro-left {
    display: flex;
    align-items: center;
    gap: 47px;
    position: relative;
    height: 100%;
}
.intro-img img { height: 100%; width: auto; vertical-align: middle; }
.intro-img { height: 100%; margin-left: 50px; padding-top: 12px; }
.intro-text h3 { font-size: 38.5px; font-weight: bold; margin-bottom: 19px; color: #fff; }
.intro-text p { font-size: 17.5px; margin-bottom: 0; color: #b5a5e9; font-weight: 500; line-height: 1.11; }

.intro-right {
    flex: 1.5; padding-left: 40px; display: flex; flex-direction: column; gap: 20px;
}
.intro-row {
    display: flex;
    align-items: center;
    justify-content: center;
}
.intro-btn {
    display: inline-flex; justify-content: center; align-items: center;
    border-radius: 29px; color: #fff; text-decoration: none; transition: transform 0.3s;
    font-size: 22px; font-weight: bold; line-height: 1.11;
    height: 62px;
    padding: 0px 25px;
}
.intro-btn:hover { transform: scale(1.05); }
.intro-btn.btn-pink { background: #df2666;  }
.intro-btn.btn-green { background: #39831f; }

.intro-badge {
    display: flex; align-items: center; gap: 8px;
    font-size: 22px; font-weight: bold; line-height: 1.11;
    height: 62px;
    padding: 22px 30px 21px 31px;
    border-radius: 30px;
    background-color: #5537b8;
    color: #fff;
}
.intro-badge img { height: 18px; width: auto; }
.deco-icon { height: 80px; width: auto; padding-top: 10px; }

/* Notice Section */
.notice-section { padding: 0 0 90px 0; }
.notice-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 60px;
    row-gap: 0;
    border-top: 2px solid #000;
    border-bottom: 1px solid #e1e1e1;
    padding: 0;
}
.notice-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0;
}
.notice-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e1e1e1;
}
.notice-item:nth-child(odd)::after {
    width: calc(100% + 60px);
}
/* 마지막 행은 list의 border-bottom과 겹치므로 숨김 */
.notice-item:last-child::after,
.notice-item:nth-child(odd):nth-last-child(2)::after {
    display: none;
}
.notice-tag {
    display: inline-block;
    background: #eaecf0;
    padding: 5px 16px 5px 17px;
    font-size: 16px;
    border-radius: 20px;
    margin-bottom: 21px;
    font-weight: bold;
    color: #000;
}
.notice-title { 
    height: 80px; 
    font-size: 27px; 
    font-weight: bold; 
    color: #000; 
    margin-bottom: 34px; 
    line-height: 1.48; 
    width: 100%; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: normal; 
}
.notice-date-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}
.notice-date-icon {
    width: 15px;
    height: 17px;
}
.notice-date { font-size: 15px; color: #757575; line-height: 1.93; }
.notice-swiper {
	margin-left: 0;
    margin-right: 0;
}

/* Footer */
footer {
    background: #fff;
    padding: 40px 0;
    border-top: 1px solid #eaeaea;
}
.footer-inner {
    max-width: 1440px; margin: 0 auto; padding: 0 20px;
}
.footer-links { margin-bottom: 20px; font-weight: bold; }
.footer-links a { margin-right: 20px; }
.footer-info { font-size: 14px; color: #757575; line-height: 1.8; }
.footer-brand { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.footer-brand img { height: 30px; }

/* Responsive Overrides */
@media screen and (max-width: 1024px) {
    .artist-section {
        background: #fff;
    }
    
    /* Hero Section Mobile */
    .hero-content {
        flex-direction: column;
        padding-left: 20px !important;
        padding-right: 20px !important;
        gap: 30px;
    }
    .hero-left {
        width: 100%;
        /*max-width: 380px;*/
        justify-content: center;
        margin: 0 auto;
    }
    .role-btn {
        width: 100%;
        height: 160px;
    }

    /* Profile Card Mobile */
    .profile-card {
        width: 100%;
        border-radius: 28px;
        padding: 24px 20px 16px;
        flex-direction: column; /* 세로 레이아웃 유지 */
        align-items: stretch;
        gap: 14px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
        overflow: visible;
    }
    .profile-notify {
        width: 48px;
        height: 48px;
        top: -20px;
        right: 16px;
        left: auto;
        transform: none;
        background-size: 12px;
        background-position: center 5px;
        padding-top: 10px;
    }
    .profile-notify:hover { transform: scale(1.05); }
    .profile-notify span { font-size: 8px; margin-bottom: -8px; }
    .profile-notify strong { font-size: 14px; }

    .profile-header {
        margin-bottom: 0;
        gap: 12px;
        padding: 0;
    }
    .profile-avatar {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
    }
    .profile-welcome { white-space: nowrap; }
    .profile-welcome strong { font-size: 16px; line-height: 1.3; }
    .profile-welcome span { font-size: 13px; }

    .profile-stats {
        flex-direction: row;
        gap: 0;
        padding: 8px 4px;
        border-radius: 10px;
    }
    .profile-stat-item {
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 6px 4px;
        border-bottom: none;
        border-right: 1px solid #E0E1E2;
        gap: 6px;
    }
    .profile-stat-item:last-child { border-right: none; }
    .profile-stat-label { font-size: 12px; font-weight: 600; text-align: center; white-space: nowrap; }
    .profile-stat-label::before { display: none; }
    .profile-stat-value-box { min-width: 40px; height: 28px; }
    .profile-stat-value { font-size: 15px; }
    .hero-right {
        width: 100%;
        height: 400px;
    }
    .hero-text-wrap {
        padding-left: 30px;
        padding-bottom: 50px;
    }
    .hero-text h2 {
        font-size: 34px;
        margin-bottom: 15px;
    }
    .hero-text p {
        font-size: 15px;
    }
    .hero-slider-controls {
        left: 25px !important;
        bottom: 25px !important;
    }
    
    /* Section Headers & Container */
    .artwork-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .artwork-container .section-header {
        padding-right: 0 !important;
    }
    .section-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 25px;
    }
    .section-title {
        order: -1; /* 제목을 최상단으로 */
        margin-top: 0;
        font-size: 28px;
    }
    .tab-box {
        text-align: center;
    }
    .tab-group button {
        font-size: 16px;
        padding: 0 16px;
    }
    .slider-nav {
        width: 100%;
        justify-content: center;
        order: 3; /* 확실하게 아래로 오도록 */
        margin-top: 10px;
    }
    /* Removed mobile width override to keep 270px */
    
    /* Artists Mobile */
    .artist-name {
        font-size: 18px;
    }

    /* Platform Intro Mobile */
    .platform-intro {
        height: auto;
        padding: 50px 20px;
    }
    .intro-inner {
        flex-direction: column;
        gap: 35px;
        align-items: center;
    }
    .intro-left {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: left;
        gap: 20px;
        width: 100%;
    }
    .intro-img {
        margin-left: 0;
        padding-top: 0;
        height: 130px;
    }
    .intro-text h3 {
        font-size: 26px;
        margin-bottom: 8px;
    }
    .intro-text p {
        font-size: 15px;
        word-break: keep-all;
        margin: 0;
        line-height: 1.4;
    }
    .intro-right {
        padding-left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .intro-row {
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 15px;
    }
    .intro-btn {
        font-size: 18px;
        height: 56px;
        padding: 0 25px;
        white-space: nowrap;
        border-radius: 28px;
    }
    .deco-icon {
        height: 70px;
        padding-top: 0;
    }
    .intro-badge {
        font-size: 16px;
        height: 56px;
        padding: 0 15px;
        white-space: nowrap;
    }
    .intro-badge img { 
        height: 14px; 
    }

    /* Notice Section Mobile */
    .notice-item {
        padding-top: 15px;
        padding-bottom: 20px;
    }
    .notice-list {
        grid-template-columns: 1fr;
        row-gap: 30px;
        padding: 15px 0 20px 0;
    }
    .notice-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .notice-swiper {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Footer Mobile */
    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }
}
.footer-logos {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
    flex-wrap: wrap;
}
.f-logo { height: 30px; width: auto; transition: all 0.3s; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.footer-left { flex: 1; }
.footer-links { margin-bottom: 15px; }
.footer-links a { margin-right: 20px; font-weight: 700; color: #333; }
.footer-info span { margin-right: 10px; display: inline-block; margin-bottom: 5px; }
.footer-info span::after { content: ''; display: inline-block; width: 1px; height: 10px; background: #ddd; margin-left: 10px; }
.footer-info span:last-child::after { display: none; }
.copyright { margin-top: 10px; color: #999; }

.footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.wa-mark { height: 40px; width: auto; }
.footer-main-logo { height: 40px; width: auto; }

.quick-menu {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.btn-quick {
    width: 65px; height: 65px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-quick:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 35px rgba(0,0,0,0.12); }
.btn-quick img { width: 65px; height: auto; border-radius: 50%; }
.btn-top { font-size: 20px; color: #333; font-weight: 800; }

/* Responsive Styles */
@media (max-width: 1024px) {
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-section { height: auto; padding-top: 40px; padding-bottom: 40px; }
    .hero-content { flex-direction: column; align-items: stretch; gap: 30px; }
    .hero-left { width: 100%; justify-content: center; margin-right: 0; }
    .hero-right { height: auto; display: flex; flex-direction: column-reverse; } /* 텍스트를 위로, 비주얼을 아래로 */
    
    .hero-text-wrap { 
        position: relative; 
        left: 0; top: 0; transform: none; 
        margin-bottom: 20px;
        text-align: center;
        pointer-events: auto;
    }
    .hero-text h2 { font-size: 36px; margin-bottom: 15px; }
    .hero-text p { color: #fff; font-size: 15px; }
    /* .hero-right .hero-slider-controls { display: none; } */ /* 모바일에서 컨트롤 숨김 고려 */

    .hero-right-visual {
        position: relative;
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    /* Header */
    .main-visual-wrap { padding-top: 50px; } /* 모바일 헤더 높이에 맞춤 */
    .header-main { height: auto; flex-wrap: wrap; padding: 15px 0; }
    .logo { margin-bottom: 10px; }
    .gnb { order: 3; width: 100%; margin-top: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .gnb ul { gap: 20px; white-space: nowrap; padding-bottom: 5px; }
    .header-icons { margin-left: auto; }

    /* Hero Section */
    .hero-section { height: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 50px; } 
    .hero-content { 
        flex-direction: column;
        text-align: center; 
        gap: 20px;
    }
    .hero-text h2 { font-size: 26px; }
    .hero-text p { font-size: 13px; margin-bottom: 5px; }

    .hero-left {
        width: 100%;
        grid-template-columns: 1fr; 
        gap: 10px;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .role-btn { width: 100%; height: 160px; border-radius: 20px; }
    .role-img { height: 40px; margin-bottom: 5px; }
    .role-txt span { font-size: 12px; }
    .role-txt strong { font-size: 14px; }

    .hero-right-visual { 
        position: relative;
        width: 100%;
        height: 220px;
        border-radius: 20px;
        top: 0;
    }

    /* Section Common */
    .section-header { flex-direction: column; align-items: center; gap: 15px; border-bottom: none; }
    .tab-group { width: 100%; white-space: nowrap; padding-bottom: 5px; }
    /* .slider-nav { display: none; } */ /* Hide slider nav on mobile */

    /* Artwork */
    .art-img { height: 180px; }
    .artwork-container { margin-left: 0; border-radius: 0; padding: 20px; width: 100%; box-sizing: border-box; }

    /* Platform Intro */
    .intro-inner { padding: 0; flex-direction: column; align-items: center; gap: 30px; }
    .intro-left { flex-direction: row; text-align: left; gap: 15px; justify-content: center; align-items: center; }
    .intro-img { height: 110px; }
    .intro-text h3 { font-size: 22px; margin-bottom: 6px; }
    .intro-text p { font-size: 14px; word-break: keep-all; line-height: 1.35; }
    .intro-right { align-items: stretch; display: flex; flex-direction: column; gap: 15px; }
    .intro-row { flex-wrap: nowrap; justify-content: center; gap: 12px; align-items: center; }
    .intro-btn { font-size: 25px; height: auto; padding: 20px; border-radius: 50px; }
    
    .deco-icon { height: 60px; padding-top: 0; }

    /* Notice */
    .notice-list { grid-template-columns: 1fr; gap: 20px; }

    /* Footer */
    .footer-logos { justify-content: center; gap: 20px; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .footer-links a { display: inline-block; margin: 5px 10px; }
    .footer-info span::after { display: none; }
    .footer-right { flex-direction: column; }
    
    .quick-menu { bottom: 20px; right: 20px; }
    
    .non-mobile { display: none; }
}

/* ==========================================================
   High Contrast Mode (고대비 모드)
   ========================================================== */
body.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

/* 기본 레이아웃 및 텍스트 반전 */
.high-contrast .main-visual-wrap,
.high-contrast .artwork-container,
.high-contrast .artist-swiper,
.high-contrast .platform-intro-section,
.high-contrast .platform-intro,
.high-contrast .notice-section {
    background: #000 !important;
    background-image: none !important; 
    color: #fff !important;
    border-top: 2px solid #fff;
    border-radius: 0 !important;
}

.high-contrast .hero-text h2,
.high-contrast .hero-text p,
.high-contrast .section-title,
.high-contrast .artist-name,
.high-contrast .notice-title,
.high-contrast .notice-date,
.high-contrast .intro-inner,
.high-contrast .footer-info {
    color: #fff !important;
}

/* 카드 및 박스 UI (회색 계열) */
.high-contrast .art-card,
.high-contrast {
    background-color: #eceff4 !important;
    border: 2px solid #1e1f1f !important;
    box-shadow: none !important;
}
.high-contrast .art-img {
    border-radius: 16px;
    border: 1px solid #444 !important;
}

.high-contrast .art-title,
.high-contrast .art-price {
    color: #3a3b3c !important;
}
.high-contrast .art-artist {
    color: #6a6a6a !important;
}
.high-contrast .hero-text h2 strong {
    color: #fff !important;
}

.high-contrast .role-txt span { color: #555 !important; }
.high-contrast .role-txt strong { color: #222 !important; }

/* 탭 버튼 */
.high-contrast .tab-group {
    background-color: #000 !important;
    border: 1px solid #333 !important;
}
.high-contrast .tab-group button {
    color: #ccc !important;
}
.high-contrast .tab-group button.active {
    background-color: #fff !important;
    color: #000 !important;
    font-weight: 800;
}

/* 배지 태그 */
.high-contrast .badge, 
.high-contrast .notice-tag {
    background-color: #333 !important;
    color: #fff !important;
}

/* 스와이퍼 화살표 (Slider Nav) */
.high-contrast .slider-nav button {
    background-color: #000 !important;
    color: #fff !important;
}
.high-contrast .slider-nav button:hover,
.high-contrast .slider-nav button:focus {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}

/* 하단 유틸 메뉴 등 경계선 보정 */
.high-contrast .notice-item {
    border-bottom: 1px solid #555 !important;
}
.high-contrast .section-header {
    border-bottom-color: #555 !important;
}

/* 히어로 슬라이더 이미지 밝기 보정 */
.high-contrast .hero-right-visual img {
    display: block !important;
    opacity: 0.8 !important;
}
.high-contrast .hero-right-visual {
    background: #000 !important;
}

.high-contrast .btn-quick {
	width: 67px;
	height: 67px;
}

@media (max-width: 480px) {
    /* smaller mobile adjustments if needed */
}

/* ==========================================================
   Font Size Up Mode (글자확대 모드)
   ========================================================== */
body.font-size-up {
    font-size: 20px !important;
}
body.font-size-up * {
    word-break: keep-all; 
}
body.font-size-up .role-btn span { font-size: 20px !important; margin-top: -20px; }
body.font-size-up .role-btn strong { font-size: 24px !important; }
body.font-size-up .hero-text h2 { font-size: 68px !important; margin-bottom: 28px; }
body.font-size-up .hero-text p { font-size: 22px !important; margin-bottom: 45px; }
body.font-size-up .section-title { font-size: 48px !important; }
body.font-size-up .badge { font-size: 18px !important; }
body.font-size-up .art-title { font-size: 22px !important; }
body.font-size-up .art-artist { font-size: 18px !important; }
body.font-size-up .art-price { font-size: 22px !important; }
body.font-size-up .artist-name { font-size: 28px !important; }
body.font-size-up .intro-text h3 { font-size: 48px !important; }
body.font-size-up .intro-text p { font-size: 22px !important; }
body.font-size-up .notice-title { font-size: 34px !important; }
body.font-size-up .notice-date { font-size: 18px !important; }
body.font-size-up .notice-tag { font-size: 20px !important; }
body.font-size-up .tab-group button { font-size: 24px !important; }
/* Styles extracted from index.jsp */
/* 추가적인 보정 스타일 */
@media screen and (max-width: 1030px) {
    .hero-center {margin-top: 0px;}
}
/* 퀵메뉴 고대비 아이콘 토글 */
.quick-menu .btn-quick img.hc-on { display: none !important; }
.quick-menu .btn-quick img.hc-off { display: block !important; }
body.high-contrast .quick-menu .btn-quick {
    background-color: #000 !important;
    border: 2px solid #fff !important;
}
body.high-contrast .quick-menu .btn-quick img {
    filter: none !important; /* 개별 고대비 아이콘을 사용하므로 필터 제외 */
}
body.high-contrast .quick-menu .btn-quick img.hc-off { display: none !important; }
body.high-contrast .quick-menu .btn-quick img.hc-on { display: block !important; }
