/* Custom Properties for Modern Theming */
:root {
    --primary-color: #2E7D32; /* Nomadic Green / Nature Green */
    --accent-color: #0077B6;  /* Deep Sky Blue */
    --bg-color: #FFFFFF;
    --bg-secondary: #F7F7F9;
    --text-main: #222222;
    --text-muted: #64748b;
    --border-color: #DDDDDD;
    --border-radius: 16px;
    --card-radius: 16px;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 30px 60px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Admin Colors */
    --admin-bg: #f4f6f8;
    --admin-sidebar: #1e293b;
    --admin-sidebar-hover: #334155;
    --admin-text-light: #f8fafc;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Global Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    touch-action: pan-y;
}

body {
    font-family: 'Pretendard', 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

#main-app {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

.hidden {
    display: none !important;
}

/* ==========================================
   Common Modal UI
   ========================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(20px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-overlay:not(.hidden) .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.close-modal-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.close-modal-btn:hover {
    background: #f1f5f9;
    color: #ef4444;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: 70vh;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.modal-body p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 500;
}

.modal-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    background: white;
    color: var(--text-main);
    margin-bottom: 16px;
}

.modal-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

textarea.modal-input {
    resize: vertical;
    min-height: 100px;
}

select.modal-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: white url('data:image/svg+xml;utf8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="%23717171" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 16px center;
    padding-right: 40px;
}

.modal-form .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
    width: 100%;
}

.modal-form .form-group label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
}

.modal-form .form-group .modal-input {
    margin-bottom: 0;
}

.error-msg {
    color: #dc2626;
    font-size: 13px;
    font-weight: 700;
    margin-top: -8px;
    margin-bottom: 16px;
}

.error-msg.hidden {
    display: none !important;
}

/* Modal 모바일 대응 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
    .modal-header {
        padding: 20px;
    }
    .modal-body {
        padding: 20px;
    }
    .modal-form .form-row {
        flex-direction: column;
        gap: 12px;
    }
}

/* SPA Page Views */
.page-view {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.page-view.active {
    display: block;
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Topbar */
.topbar {
    background: #f8f9fa;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 80px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    position: absolute;
    top: 0; left: 0; width: 100%;
    z-index: 1001;
}

.topbar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar a:hover { color: var(--primary-color); }
.topbar span { color: #cbd5e1; }
.topbar .highlight { color: var(--primary-color); font-weight: 700; display: flex; align-items: center; gap: 4px; }

/* Header - Modern Glassmorphism effect */
.header {
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(221, 221, 221, 0.4);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-sm);
    padding: 12px 80px;
    top: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: var(--transition);
}
.logo:hover {
    transform: scale(1.02);
}

/* Header Navigation & Dropdown Styling */
.nav-links {
    display: flex;
    gap: 28px;
    font-weight: 600;
    color: var(--text-main);
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
    padding: 24px 0;
    margin: -14px 0;
}

.dropdown .dropbtn {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    cursor: pointer;
}

.dropdown .dropbtn:hover {
    color: var(--primary-color);
}

.text-sm {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .text-sm {
    transform: rotate(180deg);
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    padding: 12px 0;
    z-index: 1000;
    border: 1px solid rgba(221, 221, 221, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 25px;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 24px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.dropdown-content a:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
    padding-left: 28px;
}

.nav-single-link {
    transition: color 0.2s;
}
.nav-single-link:hover {
    color: var(--primary-color);
}

/* User Menu & CTA Buttons */
.user-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.host-btn {
    background: none;
    border: none;
    font-weight: 700;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.host-btn:hover {
    background: var(--bg-secondary);
}

.primary-btn-style {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5922 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.primary-btn-style:hover {
    background: linear-gradient(135deg, #1e5922 0%, #143d17 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4);
}

.profile-dropdown {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 6px 6px 14px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.profile-dropdown:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.avatar {
    width: 32px;
    height: 32px;
    background: var(--text-muted);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
}

.mobile-menu-header {
    display: none;
}

/* Immersive Hero Section */
.hero {
    margin-top: 80px;
    padding: 60px 80px;
    background-image: url('https://images.unsplash.com/photo-1464802686167-b939a6910659?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center 70%;
    height: 40vh;
    min-height: 350px;
    border-radius: 0 0 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
    border-radius: 0 0 40px 40px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.hero-title {
    color: white;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 40px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.4);
    letter-spacing: -1px;
}

/* Sub-Hero Section */
.sub-hero {
    margin-top: 76px;
    padding: 100px 40px 60px;
    background: var(--bg-secondary);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.sub-page-hero {
    margin-top: 76px;
    background-size: cover;
    background-position: center;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sub-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.sub-page-hero .hero-content {
    color: white;
    z-index: 2;
    padding: 0 40px;
    text-align: center;
}

.sub-page-hero .hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    letter-spacing: -1px;
}

.sub-page-hero .hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Search Bar */
.search-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    margin: 0 auto 30px;
    width: fit-content;
    border: 1px solid rgba(221, 221, 221, 0.6);
    padding: 8px 12px 8px 28px;
}

.search-field {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    justify-content: center;
    position: relative;
}

.search-field:hover {
    background: rgba(0,0,0,0.04);
}

.search-field:focus-within {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.5), 0 4px 12px rgba(0,0,0,0.05);
    transform: translateY(-1px);
    z-index: 10;
}

.search-field label {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-field input, .search-field select {
    border: none !important;
    background: transparent !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 600;
    color: var(--text-main) !important;
    outline: none !important;
    height: 20px !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
}

.search-field input {
    width: 140px !important;
    cursor: text !important;
}

.search-field select {
    width: 150px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.search-field input::placeholder {
    color: #a0a0a0;
    font-weight: 500;
}

.divider {
    width: 1px;
    height: 24px; 
    background: var(--border-color);
    margin: 0 8px;
}

.search-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5922 100%);
    color: white;
    border: none;
    width: auto;
    height: 44px; 
    padding: 0 24px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-left: 8px;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4);
    background: linear-gradient(135deg, #1e5922 0%, #143d17 100%);
}

/* Story Page Styles */
.section-padding { padding: 100px 40px; }
.story-container { max-width: 1200px; margin: 0 auto; }
.story-text-center { max-width: 860px; margin: 0 auto; text-align: center; }

.section-title-elegant {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -0.5px;
    line-height: 1.4;
}
.section-title-elegant.center { text-align: center; }

.story-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    font-weight: 500;
}
.story-desc strong { color: var(--primary-color); font-weight: 700; }

.bg-box { background: var(--bg-secondary); }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pillar-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(46, 125, 50, 0.2);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
    transition: var(--transition-smooth);
}
.pillar-card:hover .pillar-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3);
}

.pillar-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
}
.pillar-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 500;
}

.story-vision { text-align: center; }
.vision-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}
.vision-statement {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-style: italic;
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 20px; }
    .section-title-elegant { font-size: 28px; }
    .vision-statement { font-size: 22px; }
    .vision-content { padding: 40px 24px; }
}

/* Tour Highlights Section */
.tour-highlights {
    padding: 80px 80px 40px;
    max-width: 1600px;
    margin: 0 auto;
    background: var(--bg-color);
}

.section-header.center {
    text-align: center;
    align-items: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-header .subtitle {
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 500;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.highlight-item {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    will-change: transform, box-shadow, border-color;
}

.highlight-item:hover {
    background: white;
    border-color: rgba(46, 125, 50, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px); 
}

.highlight-item .icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: var(--transition-smooth);
}

.highlight-item:hover .icon-wrapper {
    background: var(--primary-color);
    color: white;
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3);
}

.highlight-item h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.highlight-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 500;
}

/* Explore Section Grid */
.explore {
    padding: 40px 80px 80px;
    max-width: 1600px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.filters {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 30px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--text-main);
    color: var(--text-main);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transform: translateY(-1px); 
}

.filter-btn.active {
    background: var(--text-main);
    color: white;
    border-color: var(--text-main);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.tour-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
    border-radius: var(--card-radius);
    transition: var(--transition-smooth);
    border: 1px solid transparent; 
    background: white;
    padding-bottom: 16px;
    will-change: transform, box-shadow, border-color;
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg); 
    border-color: rgba(46, 125, 50, 0.2); 
    border-radius: var(--card-radius);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 20 / 19;
    overflow: hidden;
    border-radius: var(--card-radius);
    background: var(--bg-secondary);
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tour-card:hover .card-image-wrapper img {
    transform: scale(1.08);
}

.wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: rgba(0, 0, 0, 0.5);
    font-size: 26px;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s, color 0.2s;
    -webkit-text-stroke: 2px white;
}

.wishlist-btn:hover {
    transform: scale(1.15);
    color: #ff385c;
    -webkit-text-stroke: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 16px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.location {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.3px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--text-main);
    font-weight: 700;
}

.description, .dates {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

.price {
    margin-top: 8px;
    font-size: 17px;
    color: var(--text-main);
    font-weight: 800;
}

.light-text {
    font-weight: 500;
    color: var(--text-muted);
}

/* Matching Board Specifics */
.matching-board-section { 
    padding: 60px 80px 100px; 
    max-width: 1400px; 
    margin: 0 auto; 
    position: relative; 
}

.board-toolbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 40px; 
    flex-wrap: wrap; 
    gap: 20px; 
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px; 
    border-radius: 24px; 
    border: 1px solid rgba(221, 221, 221, 0.5); 
    box-shadow: var(--shadow-sm); 
}

.search-and-filter { 
    display: flex; 
    gap: 16px; 
    flex-wrap: wrap; 
    flex: 1; 
}

.search-box { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    background: white; 
    border: 1px solid var(--border-color); 
    border-radius: 30px; 
    padding: 12px 24px; 
    flex: 1; 
    min-width: 280px; 
    transition: var(--transition); 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); 
}

.search-box i { 
    color: var(--text-muted); 
    transition: color 0.3s ease; 
}

.search-box:focus-within { 
    border-color: var(--primary-color); 
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15), inset 0 2px 4px rgba(0,0,0,0.02); 
    transform: translateY(-1px);
}

.search-box:focus-within i {
    color: var(--primary-color);
}

.search-box input { 
    border: none; 
    outline: none; 
    background: transparent; 
    width: 100%; 
    font-family: inherit; 
    font-size: 15px; 
    color: var(--text-main); 
    font-weight: 500;
}

.search-box input::placeholder { 
    color: #adb5bd; 
}

.filter-dropdowns { 
    display: flex; 
    gap: 12px; 
}

.modern-select { 
    padding: 12px 20px; 
    border: 1px solid var(--border-color); 
    border-radius: 30px; 
    background: white url('data:image/svg+xml;utf8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="%23717171" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 20px center; 
    appearance: none; 
    -webkit-appearance: none; 
    color: var(--text-main); 
    font-family: inherit; 
    font-size: 14px; 
    font-weight: 600; 
    cursor: pointer; 
    outline: none; 
    padding-right: 48px;
    transition: var(--transition);
}

.modern-select:hover {
    border-color: #94a3b8;
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.modern-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.write-btn { 
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5922 100%); 
    color: white; 
    border: none; 
    padding: 14px 28px; 
    border-radius: 30px; 
    font-size: 15px; 
    font-weight: 800; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    transition: var(--transition-smooth); 
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25); 
}

.write-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4); 
    background: linear-gradient(135deg, #1e5922 0%, #143d17 100%);
}

/* Matching Grid & Cards */
.matching-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.matching-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow, border-color;
}

.matching-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

.matching-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.matching-card:not(.closed):hover::before {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.matching-card.closed {
    opacity: 0.7;
    background: #f8fafc;
}

.matching-card.closed:hover {
    transform: translateY(-2px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

.card-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.tag-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dest-tag {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dest-tag.blue-tag {
    background: rgba(0, 119, 182, 0.1);
    color: var(--accent-color);
}

.post-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.4;
    margin: 4px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
    letter-spacing: -0.5px;
}

.matching-card:not(.closed):hover .post-title {
    color: var(--primary-color);
}

.trip-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(221,221,221,0.4);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #334155;
    font-weight: 600;
}

.detail-item i {
    color: var(--text-muted);
    width: 16px;
    text-align: center;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.interaction-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 700;
}

.interaction-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Status Badges */
.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.badge-recruiting { background: #e8f5e9; color: #2e7d32; }
.badge-closed { background: #f1f5f9; color: #64748b; }

/* Pagination Shared */
.pagination { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
    margin-top: 60px; 
}
.page-btn { 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    border: 1px solid var(--border-color); 
    background: white; 
    color: var(--text-main); 
    font-family: inherit; 
    font-size: 15px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: var(--transition); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.page-btn.active { 
    background: var(--text-main); 
    color: white; 
    border-color: var(--text-main); 
    box-shadow: 0 6px 16px rgba(0,0,0,0.15); 
    transform: translateY(-1px);
}
.page-btn:hover:not(.active) { 
    background: #f8fafc; 
    transform: translateY(-1px); 
    box-shadow: var(--shadow-sm);
}
.page-dots { 
    color: var(--text-muted); 
    font-weight: 800; 
    letter-spacing: 2px; 
    margin: 0 4px; 
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 5px;
}
.category-tabs.center {
    justify-content: center;
}
.category-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: 12px 28px;
    border-radius: 30px;
    background: transparent;
    border: 1px solid var(--border-color);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-main);
    border-color: var(--text-main);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.tab-btn.active {
    background: var(--text-main);
    color: white;
    border-color: var(--text-main);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

/* News Board List */
.news-board-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 40px 100px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: white;
    padding: 28px 36px;
    border-radius: 20px;
    border: 1px solid rgba(221, 221, 221, 0.6);
    transition: var(--transition-smooth);
    will-change: transform, box-shadow, border-color;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(46, 125, 50, 0.2);
}

.news-badge {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-notice { background: rgba(220, 38, 38, 0.1); color: #dc2626; }
.badge-event { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.badge-press { background: rgba(5, 150, 105, 0.1); color: #059669; }
.badge-faq { background: rgba(107, 114, 128, 0.1); color: #4b5563; }

.news-content-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    transition: color 0.2s;
    letter-spacing: -0.5px;
}

.news-item:hover .news-title {
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-weight: 500;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
    flex-shrink: 0;
}
.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Reviews Page */
.reviews-page-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 80px 100px;
}

.reviews-summary-glass {
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 40px 50px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.summary-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-right: 40px;
    border-right: 1px solid var(--border-color);
}

.summary-score h2 {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.summary-score h2 span {
    font-size: 24px;
    color: var(--text-muted);
    font-weight: 600;
}

.summary-text h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.summary-text p {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    font-weight: 500;
}

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.review-card { 
    background: white; 
    border-radius: var(--card-radius); 
    overflow: hidden; 
    box-shadow: var(--shadow-sm); 
    border: 1px solid var(--border-color); 
    transition: var(--transition-smooth); 
    cursor: pointer; 
    will-change: transform, box-shadow, border-color;
}
.review-card:hover { 
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg); 
    border-color: var(--primary-color); 
}
.review-thumb { width: 100%; height: 220px; background-size: cover; background-position: center; }
.review-content { padding: 36px 28px 28px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.review-pill { 
    position: absolute; 
    top: -18px; 
    left: 28px; 
    background: white; 
    padding: 8px 20px; 
    border-radius: 20px; 
    font-size: 13px; 
    font-weight: 800; 
    box-shadow: var(--shadow-md); 
    border: 1px solid var(--border-color); 
}
.blue-pill { color: var(--accent-color); }
.stars { color: #FFD166; font-size: 18px; letter-spacing: 2px;}
.review-title { font-size: 20px; font-weight: 800; color: var(--text-main); line-height: 1.4; margin: 4px 0 0; }
.review-text { font-size: 15px; color: #475569; flex: 1; line-height: 1.7; font-weight: 500; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border-color); }
.fallback-avatar { background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%); color: white; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: none; width: 40px; height: 40px; border-radius: 50%; }
.author-info-text { display: flex; flex-direction: column; gap: 2px; }
.author-info-text strong { font-size: 15px; color: var(--text-main); font-weight: 700; }
.author-info-text span { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* Action Banner */
.action-banner .host-btn {
    transition: var(--transition-smooth);
}
.action-banner .host-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 25px rgba(46, 125, 50, 0.5) !important;
}

/* Media Press */
.media-press-item {
    transition: var(--transition-smooth);
    will-change: transform, box-shadow, border-color;
}

.media-press-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 119, 182, 0.2);
}

/* Footers & Floating Elements */
footer { background: var(--bg-secondary); padding: 60px 80px 30px; border-top: 1px solid var(--border-color); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 40px; border-bottom: 1px solid var(--border-color); margin-bottom: 30px; flex-wrap: wrap; gap: 40px; }
.company-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; color: var(--text-main); }
.company-info p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 4px; font-weight: 500; }
.footer-sns { display: flex; gap: 20px; }
.footer-sns a { width: 48px; height: 48px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text-main); box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border-color); }
.footer-sns a:hover { background: var(--primary-color); color: white; border-color: var(--primary-color); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-muted); font-weight: 600; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--primary-color); }

.floating-btns { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 16px; z-index: 999; }
.floating-btns a, .floating-btns button { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: var(--shadow-lg); cursor: pointer; border: none; transition: var(--transition-smooth); }
.float-kakao { background: #FAE100; color: #3A2929; }
.float-top { background: white; color: var(--text-main); border: 1px solid var(--border-color); opacity: 0; visibility: hidden; transform: translateY(20px); pointer-events: none; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.float-top.visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.floating-btns a:hover, .floating-btns button:hover { transform: translateY(-4px) scale(1.05); box-shadow: var(--shadow-xl); }

/* Tour Detail Page Specifics */
.detail-hero { width: 100%; height: 60vh; min-height: 400px; background-size: cover; background-position: center; position: relative; margin-top: 76px; }
.detail-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%); }
.detail-container { max-width: 1200px; margin: -100px auto 100px; padding: 0 40px; position: relative; z-index: 10; display: flex; gap: 60px; align-items: flex-start; }
.detail-main { flex: 1; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); border-radius: 24px; padding: 50px; box-shadow: var(--shadow-xl); border: 1px solid rgba(255,255,255,0.5); }
.detail-header { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(221,221,221,0.6); }
.detail-title { font-size: 36px; font-weight: 800; margin: 16px 0; color: var(--text-main); line-height: 1.3; letter-spacing: -0.5px; }
.detail-meta { display: flex; gap: 20px; font-size: 16px; color: var(--text-muted); font-weight: 700; align-items: center; flex-wrap: wrap; }
.detail-meta i { color: var(--primary-color); }
.highlights-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.highlight-badge { padding: 10px 20px; background: rgba(46, 125, 50, 0.1); color: var(--primary-color); border-radius: 30px; font-size: 14px; font-weight: 800; box-shadow: 0 2px 8px rgba(46, 125, 50, 0.05); }
.detail-section { margin-bottom: 50px; }
.detail-section h3 { font-size: 24px; font-weight: 800; margin-bottom: 24px; color: var(--text-main); display: flex; align-items: center; gap: 12px; }
.detail-section h3 i { color: var(--primary-color); opacity: 0.8; }
.detail-desc { font-size: 17px; line-height: 1.7; color: #334155; white-space: pre-wrap; font-weight: 500; }
.includes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; background: #f8fafc; padding: 30px; border-radius: 20px; border: 1px solid var(--border-color); }
.include-item, .exclude-item { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: #334155; margin-bottom: 16px; font-weight: 600; }
.include-item i { color: #059669; font-size: 20px; margin-top: 2px; }
.exclude-item i { color: #dc2626; font-size: 20px; margin-top: 2px; }
.itinerary-timeline { position: relative; padding-left: 40px; margin-top: 20px; }
.itinerary-timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 11px; width: 3px; background: var(--border-color); border-radius: 3px; }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -42px; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-color); border: 5px solid white; box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2); z-index: 2; transition: transform 0.3s; }
.timeline-item:hover .timeline-dot { transform: scale(1.2); }
.timeline-content { background: white; padding: 30px; border-radius: 20px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: var(--transition); }
.timeline-item:hover .timeline-content { box-shadow: var(--shadow-md); border-color: rgba(46, 125, 50, 0.3); transform: translateX(3px); }
.timeline-day { font-size: 15px; font-weight: 800; color: var(--primary-color); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; display: inline-block; background: rgba(46,125,50,0.1); padding: 4px 12px; border-radius: 12px; }
.timeline-title { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: var(--text-main); }
.timeline-desc { font-size: 16px; line-height: 1.7; color: #475569; white-space: pre-wrap; font-weight: 500; }

.detail-sidebar { width: 380px; position: sticky; top: 110px; }
.booking-widget { background: white; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-xl); border: 1px solid rgba(221,221,221,0.5); }
.widget-price { font-size: 36px; font-weight: 800; color: var(--text-main); margin-bottom: 12px; display: flex; align-items: baseline; gap: 4px; }
.widget-price .currency { font-size: 24px; color: var(--primary-color); }
.widget-price .unit { font-size: 16px; font-weight: 600; color: var(--text-muted); margin-left: 8px; }
.widget-info { padding: 24px 0; border-top: 1px dashed var(--border-color); border-bottom: 1px dashed var(--border-color); margin: 24px 0; display: flex; flex-direction: column; gap: 20px; }
.widget-info-row { display: flex; justify-content: space-between; font-size: 16px; align-items: center; }
.widget-info-row .label { color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.widget-info-row .value { font-weight: 800; color: var(--text-main); }
.widget-info-row .highlight-text { color: var(--primary-color); background: rgba(46,125,50,0.1); padding: 6px 12px; border-radius: 12px; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .topbar { padding: 0 40px; }
    .header { padding: 20px 40px; }
    .hero, .sub-hero, .sub-page-hero .hero-content { padding: 40px; }
    .news-board-section { padding: 40px; }
    .reviews-page-section { padding: 40px; }
    .matching-board-section { padding: 40px; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    footer { padding: 40px 40px 20px; }
    .detail-container { flex-direction: column; gap: 40px; padding: 0 20px; }
    .detail-sidebar { width: 100%; position: static; }
    .matching-sidebar { width: 100%; position: static; }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .header { top: 0; padding: 16px 20px; }
    .header.scrolled { padding: 12px 20px; }
    
    .mobile-menu-btn { display: block; }
    
    a:active, button:active, .tour-card:active, .review-card:active, .matching-card:active, .news-item:active {
        transform: scale(0.97) !important;
        transition: transform 0.1s ease-out !important;
    }

    .mobile-menu-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-bottom: 24px;
        margin-bottom: 24px;
        border-bottom: 1px solid var(--border-color);
    }
    .mobile-menu-title {
        font-size: 20px;
        font-weight: 800;
        color: var(--text-main);
    }
    .close-mobile-btn {
        background: transparent;
        border: none;
        font-size: 28px;
        color: var(--text-main);
        cursor: pointer;
        padding: 4px;
    }

    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; 
        background: white; flex-direction: column; align-items: flex-start; 
        padding: 30px 24px; box-shadow: var(--shadow-lg); 
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
        z-index: 1001; display: flex; overflow-y: auto;
        -webkit-overflow-scrolling: touch; 
    }
    .nav-links.nav-active { right: 0; }
    
    .mobile-overlay { 
        position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; 
        transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 1000; backdrop-filter: blur(4px);
    }
    .mobile-overlay.active { opacity: 1; visibility: visible; }
    
    .dropdown { width: 100%; padding: 0; margin: 0; border-bottom: 1px solid var(--border-color); }
    .dropdown .dropbtn { width: 100%; padding: 18px 0; justify-content: space-between; border-bottom: none; font-size: 18px; font-weight: 700; }
    .dropdown-content { 
        position: static; 
        visibility: hidden; 
        opacity: 0; 
        transform: none; 
        box-shadow: none; 
        border: none; 
        padding: 0 0 0 16px; 
        margin: 0;
        background: transparent; 
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        width: 100%; 
        min-width: auto; 
        display: block; 
        max-height: 0; 
        overflow: hidden; 
        transition: max-height 0.4s ease, opacity 0.4s ease; 
    }
    .dropdown-content::before { display: none; }
    .dropdown-content a { padding: 14px 0; font-size: 16px; color: var(--text-main); border-bottom: 1px dashed rgba(221, 221, 221, 0.4); display: block; }
    .dropdown-content a:last-child { border-bottom: none; }
    
    .dropdown.active .dropdown-content {
        max-height: 400px;
        visibility: visible;
        opacity: 1;
        padding-bottom: 16px;
    }
    .dropdown.active .dropbtn .text-sm {
        transform: rotate(180deg);
    }

    .nav-single-link { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--border-color); font-size: 18px; font-weight: 700; }

    .filters, .category-tabs {
        padding: 0 20px 10px;
        margin: 0 -20px 20px;
        scroll-snap-type: x mandatory;
        gap: 12px;
    }
    .filter-btn, .tab-btn {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-height: 44px;
    }
    
    .hero-title { font-size: 26px; word-break: keep-all; line-height: 1.35; padding: 0 10px; }
    .sub-page-hero .hero-title { font-size: 26px; word-break: keep-all; }
    
    .board-toolbar { flex-direction: column; align-items: stretch; padding: 20px; }
    .search-and-filter { flex-direction: column; }
    
    .news-item { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
    .news-meta { width: 100%; justify-content: flex-start; margin-top: 8px; border-top: 1px dashed var(--border-color); padding-top: 16px;}
    
    .reviews-summary-glass { flex-direction: column; text-align: center; gap: 24px; padding: 30px 20px; }
    .summary-score { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border-color); padding-bottom: 24px; width: 100%; }
    .reviews-grid { grid-template-columns: 1fr; }
    
    .footer-top { flex-direction: column; gap: 30px; }
    .footer-bottom { flex-direction: column-reverse; gap: 20px; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
    
    .search-bar { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 20px; width: 100%; margin: 0 auto 30px; }
    .search-field { padding: 12px 0; width: 100%; align-items: flex-start; }

    .search-field label { font-size: 13px; margin-bottom: 6px; color: var(--text-muted); }
    .search-field input, .search-field select { width: 100% !important; height: auto !important; font-size: 16px !important; text-align: left !important; padding: 4px 0 !important; color: var(--text-main) !important; background: transparent !important; }
    .divider { width: 100%; height: 1px; margin: 8px 0; background: var(--border-color); }
    .search-btn { width: 100%; border-radius: 16px; margin-top: 16px; margin-left: 0; height: 52px; font-size: 16px; }
    
    .includes-grid { grid-template-columns: 1fr; }

    .profile-dropdown { display: none !important; }
    .user-menu { gap: 10px; }
    .host-btn { padding: 8px 16px !important; font-size: 13px !important; white-space: nowrap !important; }
    
    .floating-btns { 
        bottom: 16px !important; 
        right: 16px !important; 
        gap: 10px !important; 
    }
    .floating-btns a, .floating-btns button { 
        width: 48px !important; 
        height: 48px !important; 
        font-size: 20px !important; 
    }

    .explore, 
    .video-tours, 
    .tour-highlights, 
    .mini-reviews, 
    .action-banner, 
    .media-press, 
    .matching-detail-wrapper, 
    .detail-container, 
    .reviews-page-section, 
    .news-board-section, 
    footer { 
        padding-left: 16px !important; 
        padding-right: 16px !important; 
    }

    .detail-main,
    .matching-main-content,
    #nd-content {
        padding: 24px 16px !important;
    }
}

/* Matching/Review Specific Extra Design */
.matching-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 45vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.matching-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.matching-hero .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    animation: fadeInDown 0.8s ease forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.matching-detail-wrapper {
    max-width: 1400px;
    margin: -100px auto 100px;
    padding: 0 40px;
    position: relative;
    z-index: 10;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.matching-main-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.matching-header {
    border-bottom: 1px solid rgba(221, 221, 221, 0.6);
    padding-bottom: 40px;
    margin-bottom: 50px;
}

.header-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

.post-title-main {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.3;
    letter-spacing: -1px;
}

.author-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    background: var(--bg-secondary);
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.author-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-lg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5922 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 6px 16px rgba(46, 125, 50, 0.3);
}

.author-details strong {
    display: block;
    font-size: 18px;
    color: var(--text-main);
    font-weight: 800;
}

.author-details span {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 600;
}

.post-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 700;
}

.share-btn {
    background: white;
    border: 2px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 30px;
    color: var(--text-main);
    cursor: pointer;
    font-weight: 800;
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(46, 125, 50, 0.15);
    transform: translateY(-2px);
}

.matching-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.summary-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(221, 221, 221, 0.6);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow, border-color;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.summary-card:hover::before {
    opacity: 1;
}

.summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: var(--transition);
}

.summary-card:hover .summary-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 16px rgba(46, 125, 50, 0.3);
}

.summary-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    word-break: keep-all;
}

.section-title-elegant {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-title-elegant i {
    color: var(--primary-color);
    opacity: 0.9;
}

.post-description-body {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
    white-space: pre-wrap;
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    min-height: 300px;
    font-weight: 500;
}

.matching-sidebar {
    width: 400px;
    position: sticky;
    top: 110px;
}

.status-widget {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(221, 221, 221, 0.6);
    position: relative;
    overflow: hidden;
}

.status-widget::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(46,125,50,0.06) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
}

.pulse-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 14px;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.closed .pulse-indicator {
    background-color: #64748b;
    box-shadow: none;
    animation: none;
}

.status-text-large {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.status-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 500;
}

.action-btn-primary {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    font-weight: 800;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5922 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.action-btn-primary:hover {
    transform: translateY(-2px); 
    box-shadow: 0 14px 30px rgba(46, 125, 50, 0.4);
}

.action-btn-secondary {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    border-radius: 30px;
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-main);
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-btn-secondary:hover {
    border-color: var(--text-main);
    background: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.safety-notice {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px dashed var(--border-color);
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.7;
    text-align: left;
    display: flex;
    gap: 12px;
    font-weight: 600;
}

.safety-notice i {
    color: #f59e0b;
    font-size: 18px;
    margin-top: 2px;
}

#review-detail-page .matching-hero {
    height: 55vh;
    min-height: 400px;
    background-attachment: fixed;
    position: relative;
}

#review-detail-page .matching-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

#review-detail-page .matching-main-content {
    max-width: 900px !important;
    margin: -120px auto 100px;
    padding: 70px 80px !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 6px solid var(--primary-color);
    box-shadow: var(--shadow-xl);
    border-radius: 24px;
    position: relative;
    z-index: 10;
}

#rd-rating {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%) !important;
    color: #f59e0b !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    font-size: 16px !important;
    font-weight: 800;
    padding: 10px 20px !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15) !important;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#rd-content {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    padding: 50px 0 !important;
    background: transparent !important;
    border: none !important;
    letter-spacing: -0.3px;
    font-weight: 500;
    position: relative;
}

#rd-content::before {
    content: '\f10d'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: -40px;
    font-size: 32px;
    color: rgba(46, 125, 50, 0.15);
}

/* ==========================================
   Admin Dashboard & UI Enhancements
   ========================================== */

.admin-dashboard-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: var(--admin-bg); 
}

.admin-sidebar {
    width: 280px;
    background: var(--admin-sidebar); 
    color: var(--admin-text-light); 
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    z-index: 100;
    box-shadow: 4px 0 24px rgba(0,0,0,0.05);
}

.admin-logo {
    padding: 24px 30px;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: white;
    letter-spacing: -0.5px;
}
.admin-logo i { color: #10b981; }

.admin-nav {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
}
.admin-nav::-webkit-scrollbar { width: 4px; }
.admin-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }

.admin-nav li {
    padding: 16px 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 15px;
    color: #94a3b8;
    border-left: 4px solid transparent;
}

.admin-nav li:hover {
    background: var(--admin-sidebar-hover);
    color: white;
}

.admin-nav li.active {
    background: rgba(46, 125, 50, 0.15);
    color: white;
    border-left-color: #10b981;
}
.admin-nav li.active i { color: #10b981; }

.exit-btn {
    margin: 24px;
    padding: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.exit-btn:hover {
    background: rgba(220, 38, 38, 0.8);
    color: white;
    border-color: rgba(220, 38, 38, 1);
}

.admin-main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background: var(--admin-bg);
}

.admin-body {
    padding: 40px;
    overflow-y: auto;
    flex-grow: 1;
}

.table-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    overflow: hidden;
    overflow-x: auto;
    margin-bottom: 30px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 800px;
}

.admin-table th, .admin-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-main);
    vertical-align: middle;
}

.admin-table th {
    background: #f8fafc;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    border-bottom: 2px solid var(--border-color);
}

.admin-table tbody tr {
    transition: background-color 0.2s ease;
}

.admin-table tbody tr:hover {
    background: #f8fafc;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-btn.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5922 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
}
.admin-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.3);
}

.admin-btn.secondary {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}
.admin-btn.secondary:hover {
    background: var(--bg-secondary);
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.admin-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    background: white;
    color: var(--text-main);
}
.admin-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.admin-form-container {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    max-width: 800px;
}
.admin-form-container h3 {
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-form-container h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 4px;
}
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.form-row {
    display: flex;
    gap: 24px;
}
.form-row .form-group {
    flex: 1;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-group label {
    font-size: 14px;
    font-weight: 800;
    color: #475569;
}
.form-group input[type="file"] {
    padding: 12px;
    background: #f8fafc;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    color: var(--text-muted);
}
.form-group input[type="file"]::file-selector-button {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 12px;
    transition: all 0.2s;
}
.form-group input[type="file"]::file-selector-button:hover {
    background: #e2e8f0;
}
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    resize: vertical;
    background: white;
    min-height: 120px;
}
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
}

.admin-user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: right;
    cursor: pointer;
    transition: var(--transition);
}

.admin-user-profile:hover {
    opacity: 0.8;
}

.profile-info .greeting {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    line-height: 1.2;
}

.profile-info .name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    line-height: 1.2;
}

.dashboard-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    will-change: transform, box-shadow, border-color;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(46, 125, 50, 0.2);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.stat-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.bg-blue { background: #e0f2fe; color: #2563eb; }
.bg-green { background: #dcfce7; color: #166534; }
.bg-red { background: #fee2e2; color: #dc2626; }
.bg-purple { background: #f3e8ff; color: #9333ea; }
.bg-orange { background: #ffedd5; color: #ea580c; }

.admin-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.badge-active, .badge-answered { background: #dcfce7; color: #166534; }
.badge-pending { background: #ffedd5; color: #c2410c; }
.badge-closed { background: #f1f5f9; color: #64748b; }

.mobile-close-btn {
    display: none;
}

.admin-mobile-btn {
    display: none !important;
}

@media (max-width: 1024px) {
    .admin-header {
        padding: 20px 24px;
    }
    
    .admin-body {
        padding: 30px 24px;
    }
    
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        bottom: 0;
        width: 280px;
        z-index: 10001;
        transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: none;
    }
    
    .admin-sidebar.active {
        left: 0;
        box-shadow: 4px 0 24px rgba(0,0,0,0.3);
    }
    
    .admin-mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .admin-mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-close-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 30px;
        background: transparent;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        transition: transform 0.2s;
    }
    
    .mobile-close-btn:hover {
        transform: rotate(90deg);
        color: #ff385c;
    }
    
    .admin-mobile-btn {
        display: block !important;
        margin-right: 16px;
        background: transparent;
        border: none;
        font-size: 24px;
        color: var(--text-main);
        cursor: pointer;
    }

    .dashboard-stats-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Admin Detail Panel & Clickable Rows Enhancements
   ========================================== */

/* Admin Table Clickable Rows */
.admin-table tbody tr.clickable {
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.admin-table tbody tr.clickable:hover {
    background: #f8fafc;
    box-shadow: inset 4px 0 0 var(--primary-color);
    transform: translateX(2px);
}
.admin-table tbody tr.clickable td {
    transition: color 0.2s ease;
}
.admin-table tbody tr.clickable:hover td {
    color: var(--primary-color);
}

/* Admin Detail Panel Styles */
.admin-detail-panel {
    animation: fadeInSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(221, 221, 221, 0.6);
    margin-top: 10px;
}

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-header-action {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 30px;
}

.detail-panel-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.detail-content-area {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #f8fafc;
    border-radius: 16px;
    padding: 10px 30px;
    border: 1px solid var(--border-color);
}

.detail-info-row {
    display: flex;
    border-bottom: 1px dashed var(--border-color);
    padding: 24px 0;
    transition: background-color 0.2s ease;
}

.detail-info-row:last-child {
    border-bottom: none;
}

.detail-info-row:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.detail-info-label {
    width: 180px;
    font-weight: 800;
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 2px;
}

.detail-info-value {
    flex: 1;
    font-weight: 600;
    color: var(--text-main);
    font-size: 16px;
    white-space: pre-wrap;
    line-height: 1.7;
}

.detail-info-value.highlight {
    color: var(--primary-color);
    font-weight: 800;
}

/* Detail panel action buttons */
.detail-action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    justify-content: flex-end;
}