* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 컬러 시스템 - 파랑 계열 중심 */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #005792;
    --primary-700: #0369a1;
    --primary-800: #001A2C;
    --primary-900: #0c4a6e;

    /* 무드트립 브랜드 그라데이션 */
    --gradient-primary: linear-gradient(135deg, #005792 0%, #001A2C 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --gradient-accent: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);

    /* 중성 컬러 */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    /* 그림자 시스템 */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* 애니메이션 타이밍 */
    --animation-fast: 0.15s ease-out;
    --animation-normal: 0.3s ease-out;
    --animation-slow: 0.5s ease-out;
}

body {
    font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 공통 컨테이너 */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================================
   히어로 섹션 - 감정 기반 여행 찾기 메인
   =========================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    overflow: hidden; /* 가로 스크롤 방지 */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: white;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: white;
    top: 70%;
    right: 20%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: white;
    top: 40%;
    right: 10%;
    animation-delay: 10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: white;
    bottom: 20%;
    left: 20%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 60px 24px; /* 상하 패딩 추가 */
    width: 100%; /* 명시적으로 width 설정 */
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.5rem, 2.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line-1 {
    display: block;
    margin-bottom: 40px;
}

.title-line-2 {
    display: block;
    margin-bottom: 40px;
}

.gradient-text {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 80px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 버튼 스타일 시스템 */
.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-accent);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 20px 32px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    transition: all var(--animation-normal);
    transform: translateY(0);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
    background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--animation-normal);
}

.btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-icon {
    font-size: 1.2em;
}

.btn-arrow {
    font-size: 1.1em;
    transition: transform var(--animation-fast);
}

.btn-primary-large:hover .btn-arrow {
    transform: translateX(4px);
}

/* ===========================================
   NEW: 감정 기반 히어로 비주얼
   =========================================== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.emotion-cloud-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.emotion-center {
    position: absolute;
    left: 43%;
    top: 35%;
    z-index: 10;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    transform: scale(1.1);
    transform-origin: center;
}

.emotion-center:hover {
    transform: scale(1.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.emotion-main-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.emotion-brand {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    line-height: 20px;
}

.emotion-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* 떠다니는 감정 이모지들 */
.floating-emotions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.emotion-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--animation-normal);
    animation: emotionFloat 6s ease-in-out infinite;
    animation-delay: var(--delay);
    left: var(--x);
    top: var(--y);
    will-change: transform;
}

.emotion-item:hover {
    transform: scale(1.15);
    z-index: 15;
    animation-play-state: paused;
}

.emotion-emoji {
    font-size: 3rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all var(--animation-fast);
    user-select: none;
    -webkit-user-select: none;
}

.emotion-label {
    background: rgba(255, 255, 255, 0.95);
    color: var(--neutral-800);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--animation-fast);
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
}

.emotion-item:hover .emotion-label {
    opacity: 1;
    transform: translateY(0);
}

/* 더 부드러운 애니메이션 */
@keyframes emotionFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-8px) scale(1.02);
    }
    50% {
        transform: translateY(-12px) scale(1);
    }
    75% {
        transform: translateY(-8px) scale(1.02);
    }
}

/* 감정 연결선 효과 */
.emotion-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.connection-svg {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.connection-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    animation: dashMove 3s linear infinite;
}

@keyframes dashMove {
    to {
        stroke-dashoffset: -20;
    }
}

/* 통계 정보 */
.floating-stats {
    position: absolute;
    bottom: -40px;
    right: 20px;
    display: flex;
    gap: 16px;
    z-index: 10;
}

.stat-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.stat-item:nth-child(2) {
    animation-delay: 1.5s;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neutral-800);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-600);
}

/* ===========================================
   동행 매칭 섹션 - 3개 기능 + 6개 방 카드
   =========================================== */
.travel-matching {
    padding: 30px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-50);
    color: var(--primary-700);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--neutral-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* 3개 기능 소개 그리드 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    min-height: auto;
    grid-auto-rows: auto;
    position: relative;
    z-index: 1;
}

.feature-item {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-100);
    text-align: center;
    transition: all var(--animation-normal);
    position: relative;
    z-index: 2;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    z-index: 3;
}

.feature-icon {
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 12px;
    min-height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.feature-desc {
    color: var(--neutral-600);
    line-height: 1.6;
    font-size: 1rem;
    flex: 1;
    display: flex;
    align-items: flex-start;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* CTA 섹션 */
.cta-section {
    text-align: center;
    margin-bottom: 80px;
}

.btn-primary-xl {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 24px 40px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    transition: all var(--animation-normal);
}

.btn-primary-xl:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

/* 6개 방 카드 섹션 */
.rooms-section {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-100);
}

.rooms-header {
    text-align: center;
    margin-bottom: 32px;
}

.rooms-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--neutral-900);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.room-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--animation-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.room-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-status {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.room-status.active {
    background: #22c55e;
}

.room-status.urgent {
    background: #f59e0b;
}

.room-status.completed {
    background: #6b7280;
}

.room-status.recruiting {
    background: var(--primary-600);
}

.room-content {
    padding: 24px;
}

.room-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.room-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.room-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid;
}

.tag-emotion {
    color: #dc2626;
    border-color: #fecaca;
    background: #fef2f2;
}

.tag-location {
    color: #059669;
    border-color: #a7f3d0;
    background: #ecfdf5;
}

.tag-activity {
    color: #7c3aed;
    border-color: #c4b5fd;
    background: #f3f4f6;
}

.room-description {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--neutral-600);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.room-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.room-participants {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.participants-count {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-600);
}

.participants-label {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.room-period {
    font-size: 0.875rem;
    color: var(--neutral-600);
    font-weight: 500;
}

.room-actions {
    display: flex;
    gap: 8px;
}

.room-actions button {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--animation-fast);
    position: relative;
    overflow: hidden;
}

.btn-details {
    background: var(--neutral-200);
    color: var(--neutral-500);
    cursor: not-allowed;
}

.btn-join {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: white;
    cursor: not-allowed;
}

.btn-report {
    background: #fecaca;
    color: #ef4444;
    border: 1px solid #fecaca;
    cursor: not-allowed;
}

.btn-details:hover,
.btn-join:hover,
.btn-report:hover {
    transform: none;
    opacity: 0.8;
}

/* 방이 없을 때 메시지 */
.no-rooms-message {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    border: 2px dashed #cbd5e1;
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    grid-column: 1 / -1;
}

.no-rooms-message h3 {
    color: #475569;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.no-rooms-message p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* 에러 메시지 */
.error-message {
    border: 1px solid #fecaca;
    background-color: #fee;
    color: #c33;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    text-align: center;
    grid-column: 1 / -1;
}

.error-message h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

/* 더 많은 방 보기 섹션 */
.more-rooms-section {
    margin-top: 40px;
    text-align: center;
    border-radius: 16px;
}

.more-rooms-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.more-rooms-text {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.total-count {
    display: block;
    font-size: 14px;
    color: #94a3b8;
    margin-top: 4px;
}

.btn-more-rooms {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #005792 0%, #001A2C 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-more-rooms:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #005792 0%, #001A2C 100%);
    color: white;
    text-decoration: none;
}

.btn-more-rooms:active {
    transform: translateY(0);
}

.btn-more-rooms .btn-icon {
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.btn-more-rooms .btn-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-more-rooms:hover .btn-arrow {
    transform: translateX(4px);
}

/* ===========================================
   날씨별 여행 섹션
   =========================================== */
.weather-travel {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.weather-badge {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.header-actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.section-header {
    position: relative;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 12px 20px;
    border: 2px solid var(--primary-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--animation-normal);
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
}

.weather-content {
    position: relative;
}

.weather-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    padding: 40px 0;
}

/* 날씨 데이터 없을 때 */
.no-weather-message {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    border: 2px dashed #cbd5e1;
    padding: 60px 20px;
    margin: 40px 0;
    text-align: center;
    color: #64748b;
}

.no-weather-message h3 {
    color: #475569;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.no-weather-message p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* 날씨 에러 메시지 */
.weather-error-message {
    border: 1px solid #fecaca;
    background-color: #fef2f2;
    color: #ef4444;
    margin: 40px 0;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
}

.weather-error-message h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.weather-error-message p {
    margin-bottom: 16px;
}

.weather-card {
    width: 100%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all var(--animation-normal);
    border: 1px solid var(--neutral-100);
    position: relative;
}

.weather-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.weather-card.sunny:hover {
    box-shadow: 0 25px 50px -12px rgba(251, 191, 36, 0.25);
}

.weather-card.rainy:hover {
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
}

.weather-card.cloudy:hover {
    box-shadow: 0 25px 50px -12px rgba(107, 114, 128, 0.25);
}

.weather-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.weather-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--animation-slow);
}

.weather-card:hover .weather-image img {
    transform: scale(1.05);
}

.weather-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
}

.weather-icon {
    font-size: 1.2rem;
}

.weather-temp {
    font-size: 1.125rem;
}

.weather-content-area {
    padding: 24px;
}

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.weather-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--neutral-900);
}

.weather-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--neutral-600);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.open-time {
    color: var(--primary-600);
    font-weight: 500;
}

.weather-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--neutral-700);
    margin-bottom: 20px;
}

.weather-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: var(--neutral-100);
    color: var(--neutral-700);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all var(--animation-fast);
}

.weather-card.sunny .tag {
    background: #fef3c7;
    color: #92400e;
}

.weather-card.rainy .tag {
    background: #dbeafe;
    color: #1e40af;
}

.weather-card.cloudy .tag {
    background: #f3f4f6;
    color: #374151;
}

/* 모달 공통 스타일 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: modalSlideIn 0.3s ease-out;
}

/* 상세보기 모달 */
.detail-modal-content {
    max-width: 700px;
    max-height: 85vh;
}

.detail-room-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.detail-room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-room-info {
    padding: 24px;
}

.detail-room-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    line-height: 1.3;
}

.detail-room-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    min-width: 60px;
}

.meta-item span:last-child {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.detail-room-description {
    margin-bottom: 20px;
}

.detail-room-description h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a202c;
}

.detail-room-description p {
    font-size: 14px;
    color: rgb(100, 116, 139);
    line-height: 1.6;
    margin-top: 10px;
}

.detail-room-tags h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 16px;
    color: #1a202c;
}

.tags-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tags-container .tag {
    padding: 8px 16px;
    background: #f1f5f9;
    color: #475569;
    font-size: 14px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

/* 모달 헤더/푸터 */
.modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
}

.modal-close:hover {
    color: #374151;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* 입장 신청 모달 */
.room-info-preview {
    margin-bottom: 24px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.room-info-preview h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 4px;
}

.room-info-preview p {
    font-size: 14px;
    color: #64748b;
}

.profile-preview {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e9ecef;
}

.profile-preview h5 {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.profile-bio-preview {
    background-color: #fff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    margin-bottom: 8px;
}

.profile-bio-preview p {
    margin: 0;
    font-size: 14px;
    color: #495057;
}

.text-muted {
    color: #6c757d;
    font-size: 12px;
}

.application-form label,
.report-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    margin-top: 16px;
}

.application-form label:first-child,
.report-form label:first-child {
    margin-top: 0;
}

.optional-label {
    font-weight: 400;
    color: #6b7280;
}

.application-form textarea,
.report-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.application-form textarea:focus,
.report-form textarea:focus,
.report-form select:focus {
    outline: none;
    border-color: #005792;
}

.character-count {
    text-align: right;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

.report-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: white;
    transition: border-color 0.2s ease;
}

/* 버튼 스타일 */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-cancel {
    background: #005792;
    color: white;
}

.btn-cancel:hover {
    background: #003d6b;
}

.btn-primary {
    background: #005792;
    color: white;
}

.btn-primary:hover {
    background: #004577;
}

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
}

/* 모달 애니메이션 */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===========================================
   반응형 디자인
   =========================================== */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 80vh; /* 높이 조정 */
        padding: 40px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 40px 20px;
        max-width: 100%;
    }

    .hero-visual {
        order: -1;
        height: 350px; /* 높이 줄임 */
    }

    .emotion-center {
        padding: 25px 35px;
        left: 50%;
        top: 40%;
        transform: translateX(-50%) scale(1.0);
    }

    .emotion-center:hover {
        transform: translateX(-50%) scale(1.05);
    }

    .emotion-brand {
        font-size: 1.2rem;
    }

    .emotion-subtitle {
        font-size: 1rem;
    }

    .floating-emotions .emotion-emoji {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 600px;
    }

    .feature-item {
        padding: 32px 24px;
        min-height: 200px;
    }

    .weather-slider {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        padding: 40px 24px;
    }

    .rooms-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .header-actions {
        position: static;
        transform: none;
        text-align: center;
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh; /* 더 작게 */
        padding: 20px 0;
    }

    .hero-container {
        gap: 30px;
        padding: 30px 16px;
        grid-template-columns: 1fr;
    }

    /* 모바일에서는 히어로 비주얼 섹션 완전히 숨김 */
    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .btn-primary-large,
    .btn-secondary-outline {
        width: 100%;
        justify-content: center;
        max-width: 320px;
    }

    .floating-stats {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 32px;
    }

    .travel-matching,
    .weather-travel {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-item {
        padding: 28px 20px;
        min-height: 180px;
    }

    .feature-icon {
        font-size: 2.5rem;
        width: 50px;
        height: 50px;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .feature-desc {
        font-size: 0.9rem;
    }

    .weather-card {
        width: 100%;
    }

    .weather-slider {
        gap: 20px;
        padding: 40px 16px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rooms-section {
        padding: 24px;
    }

    .more-rooms-section {
        margin-top: 30px;
        padding: 20px 0;
    }

    .more-rooms-container {
        padding: 15px;
    }

    .more-rooms-text {
        font-size: 14px;
    }

    .btn-more-rooms {
        padding: 14px 24px;
        font-size: 15px;
    }

    /* 모달 반응형 */
    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .detail-modal-content {
        max-width: 95%;
    }

    .modal-footer {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .detail-room-meta {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
}
@media (max-width: 480px) {
        .hero-section {
            min-height: 60vh;
            padding: 20px 0;
        }

        .hero-container {
            gap: 20px;
            padding: 20px 16px;
        }

        .hero-title {
            font-size: 1.8rem;
            margin-bottom: 16px;
        }

        .title-line-1,
        .title-line-2 {
            margin-bottom: 20px;
        }

        .hero-subtitle {
            font-size: 0.95rem;
            margin-bottom: 25px;
            line-height: 1.5;
        }

        .btn-primary-large {
            font-size: 0.95rem;
            padding: 14px 20px;
        }

        .btn-secondary-outline {
            font-size: 0.9rem;
            padding: 12px 18px;
        }
        .section-title {
            font-size: 1.7rem;
        }
        .btn-primary-xl {
            font-size : 0.7rem;
        }
        .rooms-title {
            font-size : 1.4rem;
        }
    }
    .weather-card {
        width: 100%;
    }

    .weather-content-area,
    .room-content {
        padding: 20px;
    }

    .feature-item {
        padding: 24px 20px;
        min-height: 160px;
    }

    .feature-icon {
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .feature-desc {
        font-size: 0.85rem;
    }

    .room-actions {
        flex-direction: column;
        gap: 8px;
    }

    .room-actions button {
        width: 100%;
    }

    .btn-more-rooms {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-more-rooms .btn-icon,
    .btn-more-rooms .btn-arrow {
        font-size: 16px;
    }

    .modal-body {
        padding: 16px;
    }

    .modal-header {
        padding: 16px 16px 12px;
    }

    .modal-footer {
        padding: 12px 16px 16px;
    }

/* 스크롤 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* 포커스 스타일 */
button:focus,
a:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* 유틸리티 클래스 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }