
/* ==========================================================================
   Section: components.css | Lines 312 to 905
   ========================================================================== */
/* ===== Filter Navigation (Floating Pill Style) ===== */
.filter-nav {
    position: sticky;
    top: 20px;
    z-index: 100;
    display: block;
    margin: 0 auto 20px auto;
    width: 100%;
    background: rgba(17, 24, 39, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-nav.scrolled {
    background: rgba(17, 24, 39, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.filter-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 4px;
    width: 100%;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    color: var(--surface-200);
    font-family: var(--font-family);
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    justify-content: center;
    text-align: center;
}

.filter-tab[data-filter="all"] {
    grid-column: 1 / -1;
    font-size: 16.5px;
    font-weight: 700;
}

.filter-tab:hover {
    color: var(--surface-200);
    background: var(--glass-bg);
    border-color: var(--glass-border);
}

.filter-tab.active[data-theme="all"] {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-500), var(--accent-500));
    border-color: var(--accent-400);
    box-shadow: 0 4px 16px rgba(212, 160, 35, 0.3);
}

.filter-tab.active[data-theme="berhill"] {
    color: #ffffff;
    background: linear-gradient(135deg, #e8231a, #b81711);
    border-color: #ff4d4d;
    box-shadow: 0 4px 16px rgba(232, 35, 26, 0.3);
}

.filter-tab.active[data-theme="junghung"] {
    color: #ffffff;
    background: linear-gradient(135deg, #c9a227, #a1801c);
    border-color: #ffd700;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
}

.filter-tab.active[data-theme="first"] {
    color: #ffffff;
    background: linear-gradient(135deg, #c59995, #a37571);
    border-color: #eabfb9;
    box-shadow: 0 4px 16px rgba(197, 153, 149, 0.4);
}

.filter-tab.active[data-theme="granluche"] {
    color: #ffffff;
    background: linear-gradient(135deg, #1e3a8a, #172554);
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.4);
}

.tab-icon {
    font-size: 16px;
}

/* ===== Listings Section ===== */
.listings-section {
    scroll-margin-top: 30px;
    padding: 60px 0 var(--section-padding);
    position: relative;
    z-index: 10;
    background: var(--primary-900);
    border-top-left-radius: 48px;
    border-top-right-radius: 48px;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.4);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-400);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    background: linear-gradient(135deg, #ffffff 30%, #e6ceb3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-desc {
    font-size: clamp(11px, 3.5vw, 17px);
    color: var(--surface-400);
    font-weight: 300;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

/* ===== Loan Notice Banner ===== */
.loan-notice {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(212, 160, 35, 0.1), rgba(212, 160, 35, 0.05));
    border: 1px solid rgba(212, 160, 35, 0.25);
    border-radius: 14px;
    margin-bottom: 32px;
}

.loan-notice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.loan-notice-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.loan-notice-text strong {
    font-size: 15px;
    color: var(--accent-400);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.loan-notice-sub {
    font-size: 13px;
    color: var(--surface-400);
    font-weight: 400;
}

/* ===== Toolbar (Type Filter + Dong Filter + Sort) ===== */
.toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* [수정 20260725] 가로 스크롤바 다시 보이게(얇게). 필터칩이 넘칠 때 스크롤 가능함을 사용자에게 표시.
   .type-filters·.dong-filters 동일 스타일(가로 스크롤 공통 패턴). */
.type-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
    -ms-overflow-style: auto;
    flex: 1;
    padding-bottom: 4px;
}

/* [마이크로모듈 20260725] 가로 스크롤바 썸/트랙 스타일 — 값을 한 곳에만 두고 여러 필터 행이 공유(중복 제거).
   새 가로스크롤 행이 생기면 아래 셀렉터 목록에 클래스만 추가하면 된다. */
.type-filters::-webkit-scrollbar,
.dong-filters::-webkit-scrollbar {
    height: 6px;
}
.type-filters::-webkit-scrollbar-thumb,
.dong-filters::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 100px;
}
.type-filters::-webkit-scrollbar-track,
.dong-filters::-webkit-scrollbar-track {
    background: transparent;
}

.type-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: var(--surface-400);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.type-tab:hover {
    color: var(--surface-200);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.type-tab.active {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--primary-400);
    font-weight: 600;
}

.sort-controls {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

.sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--surface-500);
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    color: var(--surface-200);
    background: rgba(255, 255, 255, 0.08);
}

.sort-btn.active {
    color: var(--accent-400);
    border-color: rgba(212, 160, 35, 0.3);
    background: rgba(212, 160, 35, 0.08);
}

.sort-btn.highlight-map {
    background: var(--accent-500);
    color: #ffffff;
    border: none;
    font-weight: 600;
    margin-right: 8px;
    padding: 8px 16px;
    border-radius: 8px;
}

.sort-btn.highlight-map:hover {
    background: var(--accent-600);
    color: #ffffff;
}

.sort-btn svg {
    opacity: 0.7;
}

.sort-btn.active svg {
    opacity: 1;
    stroke: var(--accent-400);
}

/* Dong Filters */
.dong-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
    -ms-overflow-style: auto;
    width: 100%;
    flex: 1;
    min-width: 0;
    padding-bottom: 4px;
}
/* .dong-filters 가로 스크롤바 썸/트랙은 위 '.type-filters,.dong-filters' 공통 규칙에서 함께 정의됨 */

.filter-label {
    font-size: 13px;
    color: var(--surface-400);
    font-weight: 600;
    white-space: nowrap;
    margin-right: 4px;
}

.dong-tab {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: var(--surface-500);
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.dong-tab:hover {
    color: var(--surface-300);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.dong-tab.active {
    color: #ffffff;
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    font-weight: 600;
}

/* ===== Complex Section (전체 보기 시 단지 그룹) ===== */
.complex-section {
    margin-bottom: 48px;
}

.complex-section:last-child {
    margin-bottom: 0;
}

.complex-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.complex-section-logo img {
    display: block;
}

.complex-section-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.complex-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.complex-section-count {
    font-size: 13px;
    color: var(--surface-400);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: 100px;
}

.complex-section-accent {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    border-radius: 3px;
}

.complex-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 24px;
}

/* ===== Listings Grid (단지 선택 시) ===== */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 24px;
}

/* 전체 보기에서 섹션 모드일 때 그리드 해제 */
.listings-grid:has(.complex-section) {
    display: block;
    grid-template-columns: none;
    gap: 0;
}

/* ===== 단지 공통사항 (의무 표시) ===== */
.common-info-box {
    margin-top: 28px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow-x: auto;
}

.common-info-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--surface-400);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.common-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 6px 24px;
    margin-bottom: 14px;
}

.common-info-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 3px 0;
}

.common-info-item.ci-full {
    grid-column: 1 / -1;
}

.ci-label {
    font-size: 11px;
    color: var(--surface-500);
    min-width: 62px;
    flex-shrink: 0;
}

.ci-value {
    font-size: 11px;
    color: var(--surface-300);
}

.common-info-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--surface-500);
    margin-bottom: 8px;
}

.common-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.common-info-table th {
    padding: 5px 4px;
    text-align: center;
    color: var(--surface-400);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.common-info-table td {
    padding: 4px 4px;
    text-align: center;
    color: var(--surface-400);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    letter-spacing: -0.3px;
}

/* ===== Property Card ===== */
.property-card {
    position: relative;
    background: linear-gradient(145deg, rgba(36, 51, 82, 0.6), rgba(26, 34, 54, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease, border-color 0.5s ease;
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.property-card.reveal-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Card hover effect */
.property-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
}

/* Card image area */
.card-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .card-image {
    transform: scale(1.08);
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(26, 34, 54, 1), transparent);
}

.card-body {
    padding: 24px 32px 32px;
}

/* Card without image fallback */
.property-card:not(:has(.card-image)) .card-body {
    padding: 32px;
}

/* 전용면적 / 공급면적 표시 */
.card-area {
    font-size: 13px;
    color: var(--surface-400);
    margin-top: 2px;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

/* Complex-specific card top accent colors */
.card-theme-berhill { border-top: 4px solid #e8231a; }
.card-theme-junghung { border-top: 4px solid #c9a227; }
.card-theme-first { border-top: 4px solid #ECC3B2; }
.card-theme-granluche { border-top: 4px solid #041E42; }
.card-theme-elium { border-top: 4px solid #3498db; }
.card-theme-sujain { border-top: 4px solid #1f4e79; }
.card-theme-default { border-top: 4px solid var(--primary-500); }

/* Card hover - theme glow */
.card-theme-berhill:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(232, 35, 26, 0.2); border-color: rgba(232, 35, 26, 0.5); }
.card-theme-junghung:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(201, 162, 39, 0.2); border-color: rgba(201, 162, 39, 0.5); }
.card-theme-first:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(236, 195, 178, 0.2); border-color: rgba(236, 195, 178, 0.5); }
.card-theme-granluche:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(147, 197, 253, 0.2); border-color: rgba(147, 197, 253, 0.5); }
.card-theme-elium:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(52, 152, 219, 0.2); border-color: rgba(52, 152, 219, 0.5); }
.card-theme-sujain:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(31, 78, 121, 0.2); border-color: rgba(31, 78, 121, 0.5); }

/* Modal logo */
.modal-logo {
    margin-bottom: 12px;
}

.modal-logo img {
    max-height: 40px;
    object-fit: contain;
}


/* ==========================================================================
   Section: components.css | Lines 1438 to 1916
   ========================================================================== */
/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--surface-500);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 18px;
    font-weight: 400;
}

/* ===== Broker Section ===== */
.broker-section {
    scroll-margin-top: 30px;
    padding: var(--section-padding) 0;
    position: relative;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
        var(--primary-900);
}

.broker-card {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 64px;
    text-align: center;
    overflow: hidden;
}

.broker-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.broker-content {
    position: relative;
    z-index: 1;
}

.broker-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(230, 206, 179, 0.05);
    border: 1px solid rgba(230, 206, 179, 0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #e6ceb3;
    margin-bottom: 28px;
}

.broker-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

.broker-name .name-en {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 300;
    letter-spacing: 4px;
    color: #ffffff;
    font-family: 'Inter', var(--font-family);
    text-align: center;
    line-height: 1.3;
}

.mobile-break {
    display: none;
}

.broker-name .name-ko {
    font-size: clamp(12px, 2.5vw, 15px);
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--surface-400);
}

.broker-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-bottom: 30px;
}

.broker-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--surface-300);
}

.detail-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: #e6ceb3;
    font-family: 'Inter', var(--font-family);
    margin-right: 4px;
}

.detail-value {
    font-weight: 300;
}

.detail-divider {
    color: rgba(255, 255, 255, 0.15);
    margin: 0 8px;
    font-size: 12px;
}

/* Phone button */
.broker-phone {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 48px;
    background: linear-gradient(135deg, #2a2a2a 0%, #151515 100%);
    color: #e6ceb3; /* 프리미엄 샴페인 골드 */
    border: 1px solid rgba(230, 206, 179, 0.3);
    text-decoration: none;
    border-radius: 100px;
    font-size: 28px;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.broker-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(230, 206, 179, 0.15);
    border: 1px solid rgba(230, 206, 179, 0.6);
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
}

.phone-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 100px;
    border: 1px solid rgba(230, 206, 179, 0.4);
    animation: phonePulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes phonePulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.06);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.broker-phone svg {
    stroke: #e6ceb3;
}

.phone-number {
    letter-spacing: 1px;
}

.broker-note {
    font-size: 15px;
    color: #bfaea0; /* 고급스러운 샴페인 그레이 */
    font-weight: 300;
}

.broker-links-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}

.broker-links-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.broker-link-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--surface-300);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 400;
    font-family: 'Inter', var(--font-family);
    transition: all 0.3s ease;
}

.broker-link-text:hover {
    color: #e6ceb3;
    background: rgba(230, 206, 179, 0.1);
    border-color: rgba(230, 206, 179, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(230, 206, 179, 0.15);
}

.broker-link-text svg {
    transition: stroke 0.3s ease;
}

.link-divider {
    display: none;
}

/* ===== Listing Submit (매물접수) Section ===== */
.listing-submit-section {
    scroll-margin-top: 100px;
    padding: 80px 0;
    position: relative;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(212, 160, 35, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(37, 99, 235, 0.04) 0%, transparent 60%),
        var(--primary-900);
}

.listing-submit-card {
    position: relative;
    background: linear-gradient(145deg, rgba(212, 160, 35, 0.08), rgba(30, 41, 59, 0.6));
    border: 1px solid rgba(212, 160, 35, 0.2);
    border-radius: 28px;
    padding: 64px;
    text-align: center;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.listing-submit-card:hover {
    border-color: rgba(212, 160, 35, 0.35);
}

.listing-submit-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 160, 35, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: submitGlow 6s ease-in-out infinite alternate;
}

@keyframes submitGlow {
    0% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.listing-submit-content {
    position: relative;
    z-index: 1;
}

.listing-submit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(246, 211, 101, 0.05);
    border: 1px solid rgba(246, 211, 101, 0.15);
    border-radius: 50%;
    margin: 0 auto 28px auto;
    color: #fce08b;
    box-shadow: 0 8px 32px rgba(246, 211, 101, 0.08);
    backdrop-filter: blur(8px);
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.listing-submit-badge {
    display: inline-block;
    padding: 8px 24px;
    background: transparent;
    border: 1px solid rgba(246, 211, 101, 0.3);
    border-radius: 100px;
    font-size: clamp(9px, 2.5vw, 11px);
    font-weight: 600;
    letter-spacing: clamp(1px, 0.5vw, 4px);
    color: #fce08b;
    margin-bottom: 24px;
    white-space: nowrap;
}

.listing-submit-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.listing-submit-desc {
    font-size: clamp(16px, 2vw, 19px);
    color: #cbd5e1;
    line-height: 1.9;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
    word-break: keep-all;
}

.listing-submit-highlight {
    background: linear-gradient(135deg, #f6d365 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    font-size: 0.95em;
    letter-spacing: 1px;
}

.listing-submit-features {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 좌측 정렬 기반 (모바일 스크롤 위해) */
    gap: clamp(12px, 2vw, 32px);
    margin-bottom: 40px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 10px 20px; /* 양옆 잘림 방지 여백 */
}

/* Chrome/Safari/Edge 스크롤바 숨김 */
.listing-submit-features::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .listing-submit-features {
        justify-content: center;
        padding: 0;
        overflow-x: visible;
    }
}

.submit-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
    white-space: nowrap;
    flex: 0 0 auto; /* 컨텐츠 크기 유지, 축소/확대 방지 */
}

.feature-icon svg {
    width: 16px;
    height: 16px;
}

.submit-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 160, 35, 0.2);
    color: #ffffff;
}

.feature-icon {
    font-size: 18px;
}

.listing-submit-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: clamp(14px, 2vw, 18px) clamp(24px, 4vw, 48px);
    background: rgba(246, 211, 101, 0.08);
    border: 1px solid rgba(246, 211, 101, 0.3);
    color: #fce08b;
    text-decoration: none;
    border-radius: 100px;
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    margin-bottom: 16px;
    white-space: nowrap;
}

.listing-submit-cta:hover {
    background: rgba(246, 211, 101, 0.15);
    border-color: rgba(246, 211, 101, 0.5);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(246, 211, 101, 0.2);
}

.listing-submit-cta svg {
    stroke: #fce08b;
}

.listing-submit-note {
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 300;
    letter-spacing: 1.5px;
    margin-top: 12px;
    opacity: 0.9;
}

/* ===== 유튜브 쇼츠 모달 플레이어 ===== */
.modal-youtube-container {
    margin: 20px 0 32px 0;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
}

.yt-shorts-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 177.77%; /* 16:9 거꾸로 (세로형 쇼츠) */
}

.yt-shorts-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ==========================================================================
   Section: components.css | Lines 2644 to 2714
   ========================================================================== */
/* ===== Floating CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
    color: var(--primary-900);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(212, 160, 35, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatBounce 2s infinite ease-in-out;
}

.floating-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(212, 160, 35, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    animation-play-state: paused;
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 16px;
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* Floating CTA Shrunk State */
.floating-cta {
    overflow: hidden;
    white-space: nowrap;
    max-width: 200px; /* safe max width */
}

.floating-cta .floating-text {
    transition: max-width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    max-width: 150px;
    opacity: 1;
}

.floating-cta.shrunk {
    padding: 14px; /* Make it a circle */
    border-radius: 50%;
}

.floating-cta.shrunk .floating-text {
    max-width: 0;
    opacity: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .floating-cta.shrunk {
        padding: 12px;
    }
}

/* 실거래가 라운지 이동 버튼 */
.realtrade-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 16px 32px;
    color: #e2e8f0;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.realtrade-nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-400);
    color: var(--accent-400);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

