@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;
}
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: 1280px;
    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('../imgs/main/bg.png') no-repeat center top / cover;
    position: relative;
    padding-bottom: 60px; /* 창작물 섹션 하단 여백 */
}

/* Hero Section */
.hero-section {
    min-height: 700px; /* 배경 제거 및 최소 높이 설정 */
    background: none;
    padding-top: 250px; /* 헤더 높이 + 여백 */
    color: #fff;
    position: relative;
    overflow: hidden;

}
.hero-content {
    display: flex;
    height: 100%;
    align-items: center;
    position: relative;
}

/* Hero Left: Login Buttons */
.hero-left {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-right: 100px; /* 텍스트와의 간격 확보 */
    position: relative;
    z-index: 20;
}
.role-btn {
    width: 157px; height: 179px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 0;
    box-shadow: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0px; /* 텍스트 위치 조정 */
    position: relative;
}
.role-btn span { font-size: 13px; margin-bottom: 4px; display: block; margin-top: -20px;}
.role-btn strong { font-size: 15px; font-weight: bold; display: block; }

/* Hero Center: Text */
.hero-center {
    position: relative;
    z-index: 20; /* 이미지 위로 텍스트 배치 */
    margin-top: -40px; /* 시안에 맞춰 약간 상단으로 이동 */
}
.hero-text h2 { font-size: 40px; line-height: 1.2; margin-bottom: 24px; font-weight: 300; letter-spacing: -1px; }
.hero-text h2 strong { font-weight: 700; }
.hero-text p { font-size: 18px; opacity: 0.9; margin-bottom: 40px; line-height: 1.6; }
.hero-slider-controls { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.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-slider-controls .swiper-pagination-progressbar-fill { background: #fff; }

/* Hero Right: Visual Slider */
.hero-right-visual {
    position: absolute;
    right: 0; /* 컨테이너 내 우측 정렬 */
    top: 50%;
    transform: translateY(-50%);
    width: 620px;
    height: auto;
    border-radius: 215px; /* 타원형 유지 (height의 절반) */
    z-index: 1;
    /*margin-right: 66px;*/ /* 디자인 시안의 우측 여백 반영 */
    overflow: hidden;
}
.visual-swiper {
    width: 100%;
    height: 100%;
}
.visual-swiper .swiper-slide img {
    width: 100%; height: 100%; object-fit: cover;
}

/* Section Common */
section { padding: 60px 0; }
/* Artwork Section Specific */
.artwork-section { padding-top: 0; }
.artwork-container {
    background: #fff;
    border-radius: 30px 0px 0px 30px; /* 시작점에 맞춤 */
    margin-left: max(20px, calc((100% - 1280px) / 2 + 20px));
    /* 우측은 화면 끝까지 확장 */
    margin-right: 0;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
    
    padding-right: 40px; /* 우측 여백 확보 */
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 0px solid #000;
    padding-bottom: 20px;
}
.section-title { font-size: 32px; font-weight: bold; flex: 1; text-align: center; }
.tab-box {
    flex: 1;
}
.tab-group {
    display: inline-flex;
    background-color: #f5f5f5;
    border-radius: 30px;
    padding: 4px;
    
}
.tab-group button {
    padding: 8px 24px;
    border-radius: 25px;
    background: transparent;
    margin-right: 0;
    font-weight: 500;
    color: #666;
    transition: all 0.2s;
}
.tab-group button.active { background: #000; color: #fff; font-weight: 700; }
.slider-nav button {
    width: 32px; height: 32px; border: 1px solid #ddd; background: #fff; margin-left: 4px;
}
.slider-nav {
    flex: 1; text-align: right;
}

/* Artwork Grid */
.artwork-swiper {
    padding: 10px; /* Add padding to prevent shadow clipping on hover */
    margin: -10px; /* Compensate for padding in layout */
    overflow: hidden;
}
.art-card { border: 1px solid #eee; border-radius: 20px; overflow: hidden; transition: transform 0.2s; background: #fff; }
.art-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.art-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px 10px; }
.art-badges { position: static; }
.badge { padding: 5px 12px; border-radius: 20px; font-size: 12px; color: #fff; background: #000; font-weight: 700; }
.art-actions { position: static; display: flex; gap: 8px; }
.art-actions button { width: 24px; height: 24px; background: none; border-radius: 0; display: block; }
.art-actions button img { width: 100%; height: 100%; object-fit: contain; }
.art-img { height: 240px; background: #eee; position: relative; margin: 0 20px; border-radius: 10px; overflow: hidden; }
.art-img img { width: 100%; height: 100%; object-fit: cover; }
.art-info { padding: 15px; }
.art-title { font-weight: bold; font-size: 16px; margin-bottom: 5px; display: block; }
.art-artist { font-size: 14px; color: #666; margin-bottom: 10px; }
.art-price { font-weight: bold; font-size: 16px; }

/* Artists Section */
.artist-swiper {
    padding: 10px 0;
}
.artist-circle {
    text-align: center;
    cursor: pointer;
}
.artist-img {
    width: 160px; height: 160px; border-radius: 50%; background: #eee; margin: 0 auto;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.artist-img::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); z-index: 1;
    transition: background-color 0.3s ease;
}
.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;
    display: flex; flex-direction: column; align-items: center;
}
.artist-txt .badge {
    color: #fff; padding: 4px 10px; border-radius: 12px; font-size: 12px; margin-bottom: 6px; display: inline-block;
}
.artist-name { 
    font-weight: bold; font-size: 18px; display: block; color: #fff; 
    word-break: keep-all; line-height: 1.2;
}

/* 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: #513C93;
    color: #fff;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}
.intro-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.intro-left {
    display: flex;
    align-items: center;
    gap: 30px;
}
.intro-img img { height: 140px; width: auto; vertical-align: middle; }
.intro-text h3 { font-size: 28px; margin-bottom: 5px; font-weight: 700; }
.intro-text p { opacity: 0.8; font-size: 16px; }

.intro-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.intro-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.intro-btn {
    display: flex;
    align-items: center;
    padding: 10px 25px;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.intro-btn span { margin-left: 10px; }
.btn-pink { background: #FF4B8B; }
.btn-green { background: #6BCB77; }
.intro-badge {
    background: #6A5ACD;
    padding: 8px 20px;
    border-radius: 20px;
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 12px;
}
.intro-badge img { height: 18px; width: auto; }
.deco-icon { height: 80px; width: auto; padding-top: 10px; margin-left:-16px; }

/* Notice Section */
.notice-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 60px;
    row-gap: 40px;
}
.notice-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.notice-tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: 500;
    color: #666;
}
.notice-title { font-size: 18px; font-weight: bold; display: block; margin-bottom: 10px; line-height: 1.4; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-date { font-size: 14px; color: #999; }

/* Footer */
footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 40px 0;
    font-size: 13px;
    color: #666;
}
.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 */
.quick-menu {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-quick {
    width: 50px; height: 50px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.btn-quick:hover { transform: translateY(-3px); }
.btn-quick img { width: 50px; height: auto; }
.btn-top { font-size: 20px; color: #333; font-weight: bold; }

/* Responsive Styles */
@media (max-width: 1024px) {
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content { flex-direction: column; justify-content: center; text-align: center; }
    .hero-left { margin-right: 0; margin-bottom: 30px; }
    .hero-right-visual { width: 100%; height: 300px; margin-left: 0; border-radius: 20px; }
}

@media (max-width: 768px) {
    /* Header */
    .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: 600px; } /* Taller for mobile stacking */
    .hero-content { 
        justify-content: center; 
        align-items: flex-start; 
        padding-top: 20px; 
        text-align: center; 
    }
    .hero-text h2 { font-size: 28px; }
    .hero-text p { font-size: 14px; margin-bottom: 10px; }

    .hero-left {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        width: 100%;
        justify-items: center;
        margin-bottom: 20px;
    }
    .role-btn { width: 80px; height: 80px; padding-top: 10px; }
    .role-btn span { font-size: 10px; }
    .role-btn strong { font-size: 11px; }
    .role-btn .lock { right: 10px; padding: 1px 4px; font-size: 8px; }

    .hero-right-visual { display: none; } /* 모바일에서는 슬라이더 숨김 또는 조정 */

    /* Section Common */
    .section-header { flex-direction: column; align-items: center; gap: 15px; border-bottom: none; }
    .tab-group { width: 100%; overflow-x: auto; white-space: nowrap; padding-bottom: 5px; -webkit-overflow-scrolling: touch; }
    .slider-nav { display: none; } /* Hide slider nav on mobile */

    /* Artwork */
    .art-img { height: 180px; }

    /* Platform Intro */
    .intro-inner { flex-direction: column; text-align: center; gap: 30px; }
    .intro-left { flex-direction: column; gap: 10px; }
    .intro-right { align-items: center; }
    .intro-row { flex-wrap: wrap; justify-content: center; }

    /* 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; }
}

@media (max-width: 480px) {
    .hero-left { grid-template-columns: repeat(2, 1fr); } /* 2x2 on very small screens */
}