﻿        /* 마루부리 폰트 정의 */
        @font-face {
            font-family: 'MaruBuri';
            src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10-21@1.0/MaruBuri-Regular.woff') format('woff');
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        }

        /* 信 한자 전용 스타일 - 서예체 */
        .hanja-shin {
            font-family: 'Zhi Mang Xing', cursive !important;
            font-size: 1.6em !important;
            font-weight: 400 !important;
            font-style: normal !important;
            display: inline-block;
            margin: 0 0.1em;
            line-height: 1;
            vertical-align: baseline;
            letter-spacing: 0;
            color: inherit !important;
            background: none !important;
            -webkit-text-fill-color: initial !important;
            position: relative;
            top: 0.08em;
            /* 아래로 내림 */
        }

        /* 타이틀 내의 信 스타일 */
        .site-title h1 .hanja-shin {
            font-family: 'Zhi Mang Xing', cursive !important;
            font-size: 1.9em !important;
            /* 1.8em에서 1.9em으로 증가 */
            font-weight: 400 !important;
            background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #0ea5e9 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
            top: 0.08em;
            /* 아래로 내림 */
            cursor: pointer;
            /* 클릭 가능 표시 */
            transition: all 0.3s ease;
            display: inline-block;
            animation: shimmer 20s ease-in-out infinite;
            /* 2.5s에서 20s로 변경 */
        }

        /* 信 한자 은은한 반짝임 (이스터에그 힌트 - 고급버전) */
        @keyframes shimmer {

            0%,
            100% {
                filter: brightness(1);
                text-shadow: 0 0 0 rgba(14, 165, 233, 0);
            }

            50% {
                filter: brightness(3.5);
                text-shadow: 0 0 50px white, 0 0 100px white, 0 0 150px rgba(14, 165, 233, 1);
            }
        }

        /* 信 한자 hover 효과 - 더 강하게 */
        .site-title h1 .hanja-shin:hover {
            transform: scale(1.15) rotate(5deg);
            /* 1.1에서 1.15로 증가 */
            filter: brightness(1.6);
            /* 1.5에서 1.6으로 */
            text-shadow: 0 0 35px rgba(14, 165, 233, 0.6);
            /* 30px에서 35px로, 0.5에서 0.6으로 */
        }

        /* 헤더 내의 信 스타일 */
        .header-left .hanja-shin {
            font-size: 1.4em !important;
            top: 0.05em;
            /* 아래로 내림 */
        }

        /* 기타 위치의 信 스타일 */
        .alert-content .hanja-shin,
        .install-banner-text .hanja-shin,
        .install-success .hanja-shin,
        .welcome-content .hanja-shin,
        .guide-header .hanja-shin,
        .guide-link-copy .hanja-shin {
            font-family: 'Zhi Mang Xing', cursive !important;
            font-size: 1.5em !important;
            top: 0.06em;
            /* 아래로 내림 */
            vertical-align: middle;
        }

        /* 푸터의 信은 조금 작게 */
        .footer-copyright .hanja-shin {
            font-size: 1.4em !important;
        }

        :root {
            --primary-color: #1e293b;
            --secondary-color: #334155;
            --accent-color: #0ea5e9;
            --success-color: #10b981;
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --text-light: #64748b;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --border-color: #e2e8f0;
            --hover-bg: #f1f5f9;
            --card-shadow: 0 4px 6px -1px rgba(30, 41, 59, 0.1), 0 2px 4px -1px rgba(30, 41, 59, 0.06);
            --card-shadow-hover: 0 20px 25px -5px rgba(30, 41, 59, 0.15), 0 10px 10px -5px rgba(30, 41, 59, 0.08);

            /* 자주 사용되는 값들 추가 */
            --radius-sm: 0.5rem;
            --radius-md: 0.75rem;
            --radius-lg: 1rem;
            --radius-full: 50%;
            --spacing-xs: 0.25rem;
            --spacing-sm: 0.5rem;
            --spacing-md: 1rem;
            --spacing-lg: 1.5rem;
            --shadow-sm: 0 2px 8px rgba(30, 41, 59, 0.05);
            --shadow-md: 0 4px 20px rgba(30, 41, 59, 0.3);
            --transition-fast: transform 0.2s, opacity 0.2s, background 0.2s, border-color 0.2s;
            --transition-normal: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* 공통 클래스 */
        .blur-5 {
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
        }

        .blur-10 {
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .transition-all {
            transition: all 0.3s ease;
        }

        .transition-2 {
            transition: all 0.2s;
        }

        .hover-lift:hover {
            transform: translateY(-2px);
        }

        .text-center {
            text-align: center;
        }

        .rounded-lg {
            border-radius: 0.75rem;
        }

        .rounded-full {
            border-radius: 50%;
        }

        .shadow-card {
            box-shadow: 0 4px 6px -1px rgba(30, 41, 59, 0.1), 0 2px 4px -1px rgba(30, 41, 59, 0.06);
        }

        body {
            font-family: 'MaruBuri', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: #79b8c9;
            /* 기본 배경색 (이미지 로드 전) */
            color: var(--text-primary);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
            scrollbar-width: thin;
            scrollbar-color: rgba(30, 41, 59, 0.1) transparent;
        }

        /* [성능 최적화] 배경 이미지를 body::before로 분리하여 GPU 가속 + 스크롤 버벅임 방지 */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -2;
            /* 맨 뒤 */

            /* 기존 배경 이미지 설정 이동 */
            background-image: url('background.png');
            background-image: -webkit-image-set(url('background.webp') type('image/webp'),
                    url('background.png') type('image/png'));
            background-image: image-set(url('background.webp') type('image/webp'),
                    url('background.png') type('image/png'));
            background-size: cover;
            background-position: top center;
            background-repeat: no-repeat;

            /* 핵심: 모바일에서 부드러운 스크롤을 위해 transform 사용 (GPU) */
            will-change: transform;
            pointer-events: none;
        }

        /* 배경 이미지 위에 반투명 오버레이 (성능 최적화: fixed로 고정) */
        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.15);
            pointer-events: none;
            z-index: -1;
        }

        /* 스크롤바 스타일 */
        body::-webkit-scrollbar {
            width: 4px;
        }

        body::-webkit-scrollbar-track {
            background: transparent;
        }

        body::-webkit-scrollbar-thumb {
            background: rgba(30, 41, 59, 0.1);
            border-radius: 2px;
        }

        body::-webkit-scrollbar-thumb:hover {
            background: rgba(30, 41, 59, 0.2);
        }



        /* Header */
        .header {
            background: rgba(255, 255, 255, 0.05);
            border-bottom: 1px solid rgba(30, 41, 59, 0.08);
            padding: 0.5rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 8px rgba(30, 41, 59, 0.05);
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-height: 40px;
        }

        .header-left {
            font-size: 0.875rem;
            color: var(--text-secondary);
            line-height: 1.2;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.15rem;
            text-decoration: none;
            transition: var(--transition-fast);
            padding: var(--spacing-sm);
            margin: -0.5rem;
            border-radius: var(--radius-sm);
        }

        .header-left:hover {
            background: var(--hover-bg);
            transform: translateY(-1px);
        }

        .header-left .main-info {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .header-left strong {
            color: var(--text-primary);
            font-weight: 700;
            font-size: 0.9rem;
        }

        .header-left span.sub-info {
            font-weight: 600 !important;
            color: var(--text-secondary);
        }

        /* 모든 화면에서 강제 적용 */
        @media all {
            .header-left .main-info span.sub-info {
                font-weight: 600 !important;
            }
        }

        .header-left .website-info {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            font-size: 0.7rem;
            color: var(--primary-color);
            /* 수정된 부분 */
            font-weight: 500;
        }



        .header-left .website-info i {
            font-size: 0.65rem;
        }

        .browser-tip {
            color: var(--text-secondary);
            font-size: 1rem;
            background: transparent;
            padding: var(--spacing-sm);
            border: none;
            cursor: pointer;
            transition: var(--transition-fast);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-sm);
        }

        .browser-tip:hover {
            background: var(--hover-bg);
            transform: translateY(-1px);
            color: var(--primary-color);
        }



        /* Main Content */
        .main-content {
            flex: 1;
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            padding: 2rem 2rem 4rem 2rem;
            position: relative;
            overflow: hidden;
        }

        /* Title */
        .site-title {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .site-title h1 {
            font-size: 3.25rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            letter-spacing: -0.025em;
            text-shadow:
                0 1px 3px rgba(255, 255, 255, 0.9),
                0 2px 8px rgba(255, 255, 255, 0.8),
                0 0 20px rgba(255, 255, 255, 0.7),
                0 0 40px rgba(255, 255, 255, 0.5);
        }

        /* 信 한자만 그라데이션 유지 */
        .site-title h1 .hanja-shin {
            font-family: 'Zhi Mang Xing', cursive !important;
            font-size: 1.8em !important;
            font-weight: 400 !important;
            background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #0ea5e9 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
            top: 0.08em;
            display: inline-block;
            cursor: pointer;
            transition: all 0.3s ease;
            animation: shimmer 20s ease-in-out infinite;
            /* 3s에서 20s로 변경 */
        }

        .site-subtitle {
            font-size: 1.25rem;
            color: var(--text-primary);
            font-weight: 700;
            margin-bottom: 0.75rem;
            margin-top: 1rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            text-shadow:
                0 1px 3px rgba(255, 255, 255, 0.9),
                0 2px 8px rgba(255, 255, 255, 0.8),
                0 0 20px rgba(255, 255, 255, 0.7),
                0 0 40px rgba(255, 255, 255, 0.5);
        }

        /* 실시간 날짜/시간 표시 */
        .live-datetime {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1.25rem;
            background: linear-gradient(135deg,
                    rgba(255, 255, 255, 0.35) 0%,
                    rgba(224, 242, 254, 0.4) 50%,
                    rgba(186, 230, 253, 0.35) 100%);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1.5px solid rgba(14, 165, 233, 0.3);
            border-radius: 25px;
            margin: 0.75rem 0 0.75rem 0;
            font-size: 0.95rem;
            font-weight: 650;
            color: var(--text-primary);
            box-shadow:
                0 2px 12px rgba(14, 165, 233, 0.2),
                0 4px 20px rgba(14, 165, 233, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.7),
                inset 0 -1px 0 rgba(14, 165, 233, 0.1);
            transition: all 0.3s ease;
            min-width: 280px;
            cursor: pointer;
        }

        .live-datetime:hover {
            background: linear-gradient(135deg,
                    rgba(255, 255, 255, 0.45) 0%,
                    rgba(224, 242, 254, 0.5) 50%,
                    rgba(186, 230, 253, 0.45) 100%);
            border-color: rgba(14, 165, 233, 0.4);
            transform: translateY(-2px);
            box-shadow:
                0 4px 18px rgba(14, 165, 233, 0.25),
                0 6px 24px rgba(14, 165, 233, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.8),
                inset 0 -1px 0 rgba(14, 165, 233, 0.15);
        }

        .live-datetime i {
            color: var(--accent-color);
            font-size: 0.9rem;
        }

        #datetimeDisplay {
            letter-spacing: 0.02em;
            font-family: 'Courier New', 'MaruBuri', monospace;
            /* 고정폭 폰트 우선 */
            font-variant-numeric: tabular-nums;
            /* 숫자 고정폭 */
            min-width: 240px;
            /* 최소 너비 설정 */
            text-align: center;
        }

        /* 각 숫자를 고정폭으로 */
        .time-digit {
            display: inline-block;
            width: 0.65em;
            text-align: center;
        }

        /* 요일 강조 */
        .day-of-week {
            color: var(--accent-color);
            font-weight: 700;
            margin: 0 0.2rem;
        }

        .site-description {
            font-size: 1rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.75;
        }

        .site-description .email-link {
            color: var(--primary-color);
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
        }

        .site-description .email-link:hover {
            color: var(--accent-color);
            text-decoration: underline;
        }

        /* Service Grid - 모바일 우선 */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.75rem;
            margin-bottom: 0rem;
        }

        /* 갤럭시 폴드 펼친 화면 세로 (600px 이상) */
        @media (min-width: 600px) {
            .services-grid {
                grid-template-columns: repeat(6, 1fr) !important;
                gap: 1rem;
            }
        }

        /* 갤럭시 폴드 가로 (900px 이상, 세로 모드) */
        @media (min-width: 900px) and (orientation: portrait) {
            .services-grid {
                grid-template-columns: repeat(6, 1fr) !important;
                gap: 1rem;
            }
        }

        /* 갤럭시 폴드 가로 + 태블릿 가로 (900px 이상, 가로 모드) */
        @media (min-width: 900px) and (orientation: landscape) {
            .services-grid {
                grid-template-columns: repeat(8, 1fr) !important;
                gap: 1rem;
            }

            .service-card {
                padding: 0.75rem 0.25rem;
                /* 여백 더 축소하여 내용물 공간 확보 */
                aspect-ratio: auto;
                /* 내용물이 많을 시 살짝 커질 수 있도록 강제 고정 비율 해제 */
                min-height: 110px;
            }

            .service-icon {
                font-size: 1.6rem;
                margin-bottom: 0.5rem;
            }

            .service-title {
                font-size: 0.85rem;
            }

            .google-store-text,
            .special-info-text {
                font-size: 0.65rem;
                margin-top: 4px;
            }
        }

        /* 데스크탑 (1024px 이상) - 8열로 변경 */
        @media (min-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(8, 1fr) !important;
                gap: 1.25rem;
            }

            .service-card {
                padding: 0.75rem 0.25rem;
                /* 높이가 제한적인 8열 타일에서 텍스트가 잘리지 않도록 상하/좌우 패딩 더 축소 */
                aspect-ratio: auto;
                /* 내용물이 잘리는 현상 방지를 위해 고정 비율 해제 */
                min-height: 120px;
            }

            .service-icon {
                font-size: 1.6rem;
                /* 아이콘 크기 축소 */
                margin-bottom: 0.5rem;
            }

            .service-title {
                font-size: 0.85rem;
                /* 타이틀 크기 약간 축소 */
            }

            .google-store-text,
            .special-info-text {
                font-size: 0.65rem;
                margin-top: 4px;
                /* 파란 텍스트 위아래 여백 축소 */
            }
        }

        .services-grid.last-section {
            margin-bottom: 4rem;
        }

        /* Service Card Base */
        /* [수정] 박스 배경색 및 테두리, 그림자 수정 */
        .service-card {
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.3));
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: var(--radius-md);
            padding: 1.5rem 1rem;
            text-decoration: none;
            color: inherit;
            cursor: pointer;
            transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease;
            box-shadow: 0 4px 12px rgba(30, 41, 59, 0.1);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            aspect-ratio: 1 / 1;
            justify-content: center;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            will-change: transform;
        }

        /* [수정] 박스 hover 효과 */
        .service-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 10px 30px rgba(30, 41, 59, 0.15);
            border-color: rgba(255, 255, 255, 0.6);
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.4));
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .service-card:hover::before {
            transform: translateX(0);
        }

        /* 준비 중인 서비스 */
        .service-card.coming-soon {
            background: #f8f9fa;
            border-color: #e9ecef;
        }

        .service-card.coming-soon .service-icon {
            color: #6c757d;
        }

        .service-card.coming-soon .service-title {
            color: #495057;
        }

        .service-card.coming-soon:hover {
            background: #e9ecef;
            border-color: #adb5bd;
        }

        /* Service content styling - 미니 타일용 */
        /* [수정] 아이콘 색상을 진한 청색으로 변경 */
        .service-icon {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 0.75rem;
            transition: transform 0.3s ease;
        }

        .service-card:hover .service-icon {
            transform: scale(1.1);
        }

        .service-title {
            font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
            font-size: clamp(0.7rem, 2.5vw, 0.9rem);
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0;
            line-height: 1.25;
            letter-spacing: -0.03em;
            word-break: keep-all;
            white-space: pre-wrap;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            flex-shrink: 0;
        }

        /* 공식 인증 배지 스타일 (또박노트 전용) */
        .verified-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 20px;
            height: 20px;
            background: linear-gradient(135deg, #3b82f6, #0ea5e9);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            box-shadow: 0 2px 4px rgba(14, 165, 233, 0.3);
            border: 2px solid white;
            z-index: 5;
        }

        /* 구글 앱스토어 및 특별 안내 텍스트 스타일 */
        .google-store-text,
        .special-info-text {
            font-size: 0.7rem;
            font-weight: 700;
            color: #0ea5e9;
            margin-top: 6px;
            text-align: center;
            line-height: 1.2;
            letter-spacing: -0.02em;
            flex-shrink: 0;
        }

        /* 배지 스타일 - 작은 점으로 변경 */
        .new-badge,
        .hot-badge {
            position: absolute;
            top: var(--spacing-sm);
            right: var(--spacing-sm);
            width: 8px;
            height: 8px;
            border-radius: var(--radius-full);
            padding: 0;
            font-size: 0;
            text-indent: -9999px;
            box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
        }

        .new-badge {
            background: #16a34a;
        }

        .hot-badge {
            background: #dc2626;
            animation: pulse 2s infinite;
        }

        /* 즐겨찾기 버튼 - 미니멀 디자인 */
        .favorite-btn {
            position: absolute;
            top: 8px;
            left: 8px;
            background: transparent;
            border: none;
            width: 32px;
            height: 32px;
            padding: 8px;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.2s ease;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.6;
            border-radius: 50%;
        }

        /* Smart Site Card Styles */
        .smart-site-card {
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.3));
            border: 1px solid rgba(255, 255, 255, 0.4);
            border-radius: var(--radius-md);
            padding: 1.25rem 1rem 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            aspect-ratio: 1 / 1;
            transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease;
            box-shadow: 0 4px 12px rgba(30, 41, 59, 0.1);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            text-decoration: none;
            color: var(--text-primary);
            cursor: pointer;
        }

        .smart-site-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .smart-site-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 10px 30px rgba(30, 41, 59, 0.15);
            border-color: rgba(255, 255, 255, 0.6);
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.4));
        }

        .smart-site-card:hover::before {
            transform: translateX(0);
        }

        .smart-site-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
        }

        .smart-site-desc {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.4;
            margin-bottom: 1rem;
            word-break: keep-all;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .smart-site-footer {
            display: flex;
            width: calc(100% + 2rem);
            margin: 0 -1rem;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            margin-top: auto;
        }

        .smart-site-btn {
            flex: 1;
            border: none;
            padding: 0.5rem 0;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
        }

        .smart-site-btn.guide-btn {
            background: transparent;
            color: var(--text-secondary);
        }

        .smart-site-btn.guide-btn:hover {
            background: rgba(0, 0, 0, 0.03);
            color: var(--text-primary);
        }

        .smart-site-btn.link-btn {
            background: rgba(14, 165, 233, 0.1);
            color: var(--accent-color);
        }

        .smart-site-btn.link-btn:hover {
            background: rgba(14, 165, 233, 0.2);
        }

        /* Guide Modal Styles */
        .guide-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(8px);
            z-index: 10001;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .guide-modal.show {
            display: flex;
            opacity: 1;
        }

        .guide-content {
            background: rgba(255, 255, 255, 0.95);
            padding: 2.5rem;
            border-radius: 1.5rem;
            text-align: left;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            position: relative;
            transform: translateY(20px);
            transition: transform 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .guide-modal.show .guide-content {
            transform: translateY(0);
        }

        .guide-close {
            position: absolute;
            top: 1.25rem;
            right: 1.25rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-light);
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 50%;
            transition: all 0.2s;
            line-height: 1;
        }

        .guide-close:hover {
            background: rgba(0, 0, 0, 0.05);
            color: var(--text-primary);
        }

        .guide-header-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
            text-align: center;
            display: block;
        }

        .guide-title {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            text-align: center;
        }

        .guide-desc {
            font-size: 1rem;
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            text-align: center;
            line-height: 1.6;
            word-break: keep-all;
        }

        .guide-steps {
            background: #f8fafc;
            padding: 1.25rem 1.5rem;
            border-radius: 1rem;
            margin-bottom: 1.5rem;
        }

        .guide-step-item {
            display: flex;
            margin-bottom: 1.25rem;
            align-items: flex-start;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        }

        .guide-step-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .guide-step-num {
            background: var(--primary-color);
            color: white;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            font-weight: 700;
            margin-right: 1rem;
            flex-shrink: 0;
        }

        .guide-step-text {
            flex: 1;
        }

        .guide-step-text strong {
            display: block;
            color: var(--text-primary);
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .guide-step-text span {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.5;
            display: block;
        }

        .guide-tip {
            background: #eff6ff;
            border: 1px solid #bfdbfe;
            padding: 1rem;
            border-radius: 0.75rem;
            font-size: 0.9rem;
            color: #1e40af;
            display: flex;
            gap: 0.75rem;
            align-items: flex-start;
        }

        .guide-tip i {
            color: #3b82f6;
            margin-top: 3px;
        }

        .guide-footer-btn {
            width: 100%;
            padding: 1rem;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 0.75rem;
            font-size: 1rem;
            font-weight: 700;
            margin-top: 1.5rem;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .guide-footer-btn:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2);
        }

        .service-card:hover .favorite-btn,
        .smart-site-card:hover .favorite-btn {
            opacity: 1;
        }

        .favorite-btn i {
            color: #f59e0b !important;
            /* 비활성 별: 밝은 노란색 외곽선 */
            font-size: 1.1rem;
            transition: all 0.3s ease;
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
        }

        .favorite-btn.active i {
            color: #fbbf24 !important;
            opacity: 1;
            filter: drop-shadow(0 1px 3px rgba(251, 191, 36, 0.3));
        }

        .favorite-btn:hover {
            background: rgba(255, 255, 255, 0.8);
            transform: scale(1.15);
        }

        .favorite-btn:hover i {
            transform: rotate(15deg);
        }

        .favorite-btn.active {
            opacity: 1;
        }

        /* 즐겨찾기 클릭 애니메이션 */
        @keyframes starPulse {
            0% {
                transform: scale(1) rotate(0deg);
            }

            50% {
                transform: scale(1.4) rotate(180deg);
            }

            100% {
                transform: scale(1) rotate(360deg);
            }
        }

        .favorite-btn.animating i {
            animation: starPulse 0.5s ease;
        }

        /* 필터 버튼 스타일 */
        .filter-buttons {
            display: flex;
            justify-content: flex-start;
            gap: 0.75rem;
            padding: 0;
            background: transparent;
            border: none;
            padding-left: 1rem;
        }

        .filter-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.5rem 1.1rem;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1.5px solid rgba(30, 41, 59, 0.12);
            border-radius: 18px;
            cursor: pointer;
            transition: all 0.25s ease;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--text-primary);
            box-shadow: 0 2px 6px rgba(30, 41, 59, 0.08);
            min-width: 90px;
            justify-content: center;
        }

        .filter-btn:hover {
            background: rgba(255, 255, 255, 0.35);
            transform: translateY(-1px);
            border-color: rgba(30, 41, 59, 0.2);
            box-shadow: 0 3px 10px rgba(30, 41, 59, 0.12);
        }

        .filter-btn.active {
            background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(56, 189, 248, 0.2));
            border-color: rgba(14, 165, 233, 0.4);
            color: var(--primary-color);
            box-shadow:
                0 3px 12px rgba(14, 165, 233, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            font-weight: 700;
        }

        .filter-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .hot-dot {
            background: #dc2626;
            box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
        }

        .new-dot {
            background: #16a34a;
            box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
        }

        /* 필터 활성화 시 애니메이션 */
        @keyframes filterSlideIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        #filteredSection.show {
            animation: filterSlideIn 0.3s ease;
        }

        /* 모바일 필터 버튼 최적화 */
        @media (max-width: 599px) {
            .filter-buttons {
                gap: 0.5rem;
                padding: 0.5rem 0.8rem;
            }

            .filter-btn {
                padding: 0.4rem 0.8rem;
                font-size: 0.8rem;
                border-radius: 16px;
            }

            .filter-dot {
                width: 6px;
                height: 6px;
            }
        }

        /* Section headers */
        .section-header {
            text-align: left;
            margin-bottom: 1.75rem;
            position: relative;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid rgba(14, 165, 233, 0.2);
            background: linear-gradient(to right,
                    rgba(14, 165, 233, 0.08) 0%,
                    rgba(14, 165, 233, 0.03) 50%,
                    transparent 100%);
            padding-left: 1rem;
            padding-top: 0.5rem;
            border-radius: 8px 8px 0 0;
        }

        .section-header h2 {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0;
            text-shadow:
                0 1px 3px rgba(255, 255, 255, 0.9),
                0 2px 8px rgba(255, 255, 255, 0.8),
                0 0 20px rgba(255, 255, 255, 0.7),
                0 0 40px rgba(255, 255, 255, 0.5);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .section-header h2::before {
            content: '';
            display: inline-block;
            width: 4px;
            height: 1.5rem;
            background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
            border-radius: 2px;
        }

        .section-header p {
            font-size: 0.875rem;
            color: var(--text-primary);
            margin-top: var(--spacing-sm);
            font-weight: 600;
            background: rgba(255, 255, 255, 0.4);
            display: inline-block;
            padding: var(--spacing-xs) var(--spacing-md);
            border-radius: var(--radius-lg);
            backdrop-filter: blur(8px);
        }

        /* Footer */
        .footer {
            background: rgba(255, 255, 255, 0.25);
            border-top: 1px solid rgba(30, 41, 59, 0.1);
            padding: 1.25rem 0;
            margin-top: auto;
            position: relative;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(30, 41, 59, 0.3), rgba(14, 165, 233, 0.3), transparent);
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
            text-align: center;
            position: relative;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: var(--primary-color);
            /* 수정된 부분 */
            text-decoration: none;
            font-size: 1rem;
            transition: var(--transition-fast);
            display: flex;
            align-items: center;
            gap: var(--spacing-sm);
        }

        .footer-links a:hover {
            color: var(--accent-color);
            /* 수정된 부분 */
            transform: translateY(-2px);
        }

        .footer-copyright {
            color: var(--text-light);
            font-size: 0.75rem;
            margin-top: var(--spacing-md);
            padding-top: var(--spacing-md);
            border-top: 1px solid var(--border-color);
            line-height: 1.6;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            font-style: normal;
        }



        /* Animations */
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: translate(-50%, -50%) scale(0.8);
            }

            to {
                opacity: 1;
                transform: translate(-50%, -50%) scale(1);
            }
        }

        @keyframes pulse {

            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.9);
            }

            70% {
                box-shadow: 0 0 0 6px rgba(220, 38, 38, 0), 0 0 0 2px rgba(255, 255, 255, 0.9);
            }
        }

        /* PWA 설치 배너 */
        .install-banner {
            position: fixed;
            bottom: 100px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            color: white;
            padding: 15px 25px;
            border-radius: 50px;
            box-shadow: 0 10px 30px rgba(30, 41, 59, 0.5);
            display: none;
            align-items: center;
            gap: 15px;
            z-index: 1001;
            animation: slideUp 0.5s ease;
            max-width: 90%;
            width: auto;
        }

        .install-banner.show {
            display: flex;
        }

        .install-banner-text {
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .install-banner-text .hanja-shin {
            margin: 0 0.05em !important;
        }

        .install-banner-buttons {
            display: flex;
            gap: 10px;
        }

        .install-btn {
            background: white;
            color: #1e293b;
            border: none;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
        }

        .install-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
        }

        .install-btn.later {
            background: transparent;
            color: white;
            border: 1px solid white;
        }

        /* 모바일용 설치 배너 최적화 */
        @media (max-width: 768px) {
            .install-banner {
                bottom: 80px;
                left: 20px;
                right: 20px;
                transform: none;
                max-width: none;
                padding: 12px 15px;
                border-radius: 15px;
                flex-direction: column;
                gap: 10px;
            }

            .install-banner-text {
                font-size: 13px;
                text-align: center;
                justify-content: center;
                width: 100%;
            }

            .install-banner-text i {
                font-size: 14px;
            }

            .install-banner-buttons {
                width: 100%;
                display: flex;
                gap: 8px;
            }

            .install-btn {
                flex: 1;
                padding: 8px 12px;
                font-size: 12px;
                border-radius: 10px;
            }
        }

        /* iOS 설치 가이드 모달 */
        .ios-install-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            z-index: 3000;
            padding: 20px;
        }

        .ios-install-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ios-install-content {
            background: white;
            padding: 30px;
            border-radius: 20px;
            max-width: 400px;
            width: 100%;
            text-align: center;
            position: relative;
        }

        .ios-install-content h3 {
            color: #1e293b;
            margin-bottom: 20px;
            font-size: 20px;
        }

        .ios-install-steps {
            text-align: left;
            margin: 20px 0;
        }

        .ios-install-steps li {
            margin: 10px 0;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
        }

        .ios-install-steps .step-icon {
            font-size: 20px;
        }

        .ios-close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #666;
        }

        /* 설치 완료 팝업 */
        .install-success {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #10b981;
            color: white;
            padding: 20px 40px;
            border-radius: 15px;
            font-size: 16px;
            font-weight: bold;
            display: none;
            z-index: 3001;
            animation: fadeInScale 0.5s ease;
        }

        .install-success.show {
            display: block;
        }

        /* 설치 감사 모달 */
        .welcome-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.85);
            z-index: 3002;
            padding: 20px;
        }

        .welcome-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.5s ease;
        }

        .welcome-content {
            background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
            padding: 40px;
            border-radius: 25px;
            max-width: 500px;
            width: 100%;
            text-align: center;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .welcome-header {
            font-size: 48px;
            margin-bottom: 20px;
        }

        .welcome-title {
            color: #8b5cf6;
            font-size: 28px;
            margin-bottom: 20px;
            font-weight: bold;
        }

        .welcome-message {
            color: #5d4e37;
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .welcome-features {
            background: rgba(139, 105, 20, 0.05);
            padding: 20px;
            border-radius: 15px;
            margin-bottom: 25px;
            text-align: left;
        }

        .welcome-features h4 {
            color: #8b6914;
            font-size: 16px;
            margin-bottom: 10px;
        }

        .welcome-features ul {
            list-style: none;
            padding: 0;
        }

        .welcome-features li {
            padding: 5px 0;
            font-size: 14px;
            color: #6b5d54;
        }

        .welcome-features li:before {
            content: "✅ ";
            margin-right: 5px;
        }

        .welcome-signature {
            color: #6b5d54;
            font-size: 14px;
            font-style: italic;
            margin-top: 20px;
        }

        .welcome-close-btn {
            background: #8b6914;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 20px;
        }

        .welcome-close-btn:hover {
            background: #a07916;
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(139, 105, 20, 0.4);
        }

        /* 비밀 포털 스타일 */
        .secret-portal-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.95));
            z-index: 10000;
            animation: portalOpen 0.5s ease;
        }

        @keyframes portalOpen {
            from {
                opacity: 0;
                transform: scale(0.8);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .secret-portal-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .secret-portal-content {
            background: rgba(255, 255, 255, 0.98);
            border-radius: 25px;
            padding: 40px;
            max-width: 400px;
            width: 90%;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
            position: relative;
            animation: floatingCard 3s ease-in-out infinite;
        }

        @keyframes floatingCard {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-10px) rotate(1deg);
            }
        }

        .secret-portal-icon {
            font-size: 60px;
            margin-bottom: 20px;
            animation: spin 4s linear infinite;
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        .secret-portal-title {
            font-size: 22px;
            color: #1e293b;
            margin-bottom: 15px;
            font-weight: 700;
            white-space: nowrap;
        }

        .secret-portal-message {
            font-size: 16px;
            color: #475569;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .secret-portal-message .special {
            color: #8b5cf6;
            font-weight: 600;
            font-size: 18px;
            display: block;
            margin-top: 10px;
        }

        .secret-password-input {
            width: 100%;
            padding: 12px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 18px;
            text-align: center;
            letter-spacing: 3px;
            transition: all 0.3s;
            margin-bottom: 20px;
        }

        .secret-password-input:focus {
            outline: none;
            border-color: #8b5cf6;
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
        }

        .secret-portal-buttons {
            display: flex;
            gap: 12px;
        }

        .secret-portal-btn {
            flex: 1;
            padding: 12px 24px;
            border-radius: 20px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
        }

        .secret-portal-btn.enter {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
        }

        .secret-portal-btn.enter:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(118, 75, 162, 0.4);
        }

        .secret-portal-btn.cancel {
            background: #f1f5f9;
            color: #64748b;
        }

        .secret-portal-btn.cancel:hover {
            background: #e2e8f0;
        }

        .secret-portal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 28px;
            cursor: pointer;
            color: #94a3b8;
            transition: all 0.2s;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .secret-portal-close:hover {
            background: #f1f5f9;
            color: #475569;
            transform: rotate(90deg);
        }

        /* 카드 플립 전환 효과 */
        .portal-transition {
            animation: cardFlipOut 1.5s ease-in-out forwards;
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        @keyframes cardFlipOut {
            0% {
                transform: rotateY(0deg) scale(1);
                opacity: 1;
            }

            50% {
                transform: rotateY(90deg) scale(0.95);
                opacity: 0.8;
            }

            100% {
                transform: rotateY(180deg) scale(0.9);
                opacity: 0;
            }
        }

        /* 信 한자 hover 효과 - 비밀 암시 */
        .site-title h1 .hanja-shin {
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .site-title h1 .hanja-shin:hover {
            transform: scale(1.1) rotate(5deg);
            filter: brightness(1.5);
            text-shadow: 0 0 30px rgba(14, 165, 233, 0.5);
        }

        /* 틀렸을 때 흔들림 효과 */
        @keyframes shake {

            0%,
            100% {
                transform: translateX(0);
            }

            25% {
                transform: translateX(-10px);
            }

            75% {
                transform: translateX(10px);
            }
        }

        .wrong-password {
            animation: shake 0.5s ease;
        }

        /* 달력 모달 스타일 */
        .calendar-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 5000;
            animation: fadeIn 0.3s ease;
        }

        .calendar-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .calendar-content {
            background: white;
            border-radius: 20px;
            padding: 25px;
            max-width: 420px;
            width: 100%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            position: relative;
            animation: slideUp 0.3s ease;
        }

        .calendar-close {
            position: absolute;
            top: 20px;
            left: 20px;
            background: #f1f5f9;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: #64748b;
            transition: all 0.2s;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            z-index: 1;
        }

        .calendar-close:hover {
            background: #e2e8f0;
            color: #1e293b;
            transform: rotate(90deg);
        }

        .calendar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 15px;
            padding-left: 40px;
            /* X 버튼 공간 확보 */
            border-bottom: 2px solid #e2e8f0;
            gap: 10px;
            /* 전체 간격 줄임 */
        }

        .calendar-year-selector {
            display: flex;
            align-items: center;
            gap: 5px;
            /* 8px에서 5px로 */
        }

        .year-btn {
            background: none;
            border: none;
            color: #64748b;
            cursor: pointer;
            padding: 4px;
            /* 5px에서 4px로 */
            transition: all 0.2s;
            font-size: 15px;
            /* 16px에서 15px로 */
        }

        .year-btn:hover {
            color: var(--accent-color);
            transform: scale(1.2);
        }

        .current-year {
            font-size: 15px;
            /* 16px에서 15px로 */
            font-weight: 700;
            color: var(--primary-color);
            min-width: 55px;
            /* 60px에서 55px로 */
            text-align: center;
        }

        .calendar-month-selector {
            display: flex;
            align-items: center;
            gap: 12px;
            /* 15px에서 12px로 */
        }

        .month-nav-btn {
            background: #f1f5f9;
            border: none;
            width: 30px;
            /* 32px에서 30px로 */
            height: 30px;
            /* 32px에서 30px로 */
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            color: #475569;
        }

        .month-nav-btn:hover {
            background: var(--accent-color);
            color: white;
            transform: scale(1.1);
        }

        .current-month {
            font-size: 19px;
            /* 20px에서 19px로 */
            font-weight: 700;
            color: var(--text-primary);
            min-width: 38px;
            /* 40px에서 38px로 */
            text-align: center;
        }

        .today-btn {
            background: #1e293b;
            /* 오늘 날짜와 동일한 진한 색 */
            color: white;
            border: none;
            padding: 7px 16px;
            /* 8px에서 7px로 */
            border-radius: 15px;
            font-size: 13px;
            /* 14px에서 13px로 */
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .today-btn:hover {
            background: #334155;
            /* hover도 오늘 날짜와 동일 */
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(30, 41, 59, 0.3);
        }

        .calendar-body {
            margin-top: 20px;
        }

        .calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 5px;
            margin-bottom: 10px;
        }

        .weekday {
            text-align: center;
            font-size: 13px;
            font-weight: 600;
            color: #64748b;
            padding: 8px 0;
        }

        .weekday.sunday {
            color: #dc2626;
        }

        .weekday.saturday {
            color: #0ea5e9;
        }

        .calendar-dates {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 5px;
        }

        .calendar-date {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 14px;
            font-weight: 500;
            background: white;
            border: 1px solid transparent;
        }

        .calendar-date:hover {
            background: #f1f5f9;
            transform: scale(1.05);
        }

        .calendar-date.other-month {
            color: #cbd5e1;
        }

        .calendar-date.today {
            background: #1e293b;
            color: white !important;
            font-weight: 700;
            box-shadow: 0 2px 8px rgba(30, 41, 59, 0.3);
        }

        .calendar-date.today:hover {
            background: #334155;
            transform: scale(1.08);
        }

        .calendar-date.selected {
            background: #e0f2fe;
            color: var(--primary-color);
            border-color: var(--accent-color);
        }

        .calendar-date.sunday {
            color: #dc2626;
        }

        .calendar-date.saturday {
            color: #0ea5e9;
        }

        .calendar-date.other-month.sunday,
        .calendar-date.other-month.saturday {
            color: #cbd5e1;
        }

        .calendar-footer {
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid #e2e8f0;
        }

        .footer-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
        }

        #dateDisplay {
            font-size: 14px;
            flex: 1;
            transition: all 0.3s ease;
        }

        .date-placeholder {
            color: #94a3b8;
            font-style: italic;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .date-selected {
            color: var(--text-primary);
            font-weight: 600;
            font-style: normal;
        }

        .copy-btn {
            padding: 8px 18px;
            background: var(--accent-color);
            color: white;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 14px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .copy-btn:disabled {
            background: #e2e8f0;
            color: #94a3b8;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .copy-btn:not(:disabled):hover {
            background: var(--primary-color);
            transform: translateY(-1px);
            box-shadow: 0 3px 8px rgba(30, 41, 59, 0.2);
        }

        .copy-btn.copied {
            background: #10b981;
            animation: successPulse 0.5s ease;
        }

        @keyframes successPulse {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.05);
            }

            100% {
                transform: scale(1);
            }
        }

        /* 모바일 달력 최적화 */
        @media (max-width: 599px) {
            .calendar-content {
                padding: 20px 15px;
                max-width: 100%;
            }

            .calendar-close {
                top: 15px;
                left: 15px;
                width: 28px;
                height: 28px;
                font-size: 18px;
            }

            .calendar-header {
                flex-wrap: wrap;
                gap: 10px;
                padding-left: 35px;
                /* 모바일에서도 X 버튼 공간 */
            }

            .calendar-year-selector {
                order: 1;
                width: 100%;
                justify-content: center;
            }

            .calendar-month-selector {
                order: 2;
                flex: 1;
            }

            .today-btn {
                order: 3;
                padding: 6px 14px;
                font-size: 13px;
            }

            .calendar-date {
                font-size: 13px;
            }

            .weekday {
                font-size: 12px;
                padding: 5px 0;
            }
        }

        /* Mobile Responsive - 통합 */
        @media (max-width: 599px) {

            /* 스크롤바 숨기기 */
            body {
                scrollbar-width: none;
                -ms-overflow-style: none;
                background-image: url('background.png');
                background-image: -webkit-image-set(url('background.webp') type('image/webp'),
                        url('background.png') type('image/png'));
                background-image: image-set(url('background.webp') type('image/webp'),
                        url('background.png') type('image/png'));
            }

            body::-webkit-scrollbar {
                display: none;
            }

            /* Header */
            .header-container {
                padding: 0 1rem;
            }

            .header-left {
                font-size: 0.8rem;
                padding: 0.25rem;
            }

            .header-left strong {
                font-size: 0.8rem;
            }

            .header-left .sub-info {
                font-weight: 600 !important;
            }

            .browser-tip {
                font-size: 0.7rem;
                padding: 0.3rem 0.5rem;
            }

            /* Title */
            .site-title h1 {
                font-size: 2.5rem;
            }

            .site-title h1 .hanja-shin {
                font-size: 1.85em !important;
                /* 모바일에서도 살짝 크게 */
                animation: shimmer 3s ease-in-out 1;
                /* [성능] 모바일: 1회만 재생 후 정지 (GPU 절약) */
            }

            .site-subtitle {
                font-size: 1.125rem;
                margin-top: 0.5rem;
                margin-bottom: 0.75rem;
            }

            /* 실시간 시계 모바일 */
            .live-datetime {
                font-size: 0.9rem;
                /* 0.75rem에서 크게 */
                padding: 0.45rem 1rem;
                /* 패딩 살짝 증가 */
                margin: 0.6rem 0 0.6rem 0;
                min-width: 240px;
                /* 최소 너비 약간 증가 */
                font-weight: 700;
                /* 600에서 700으로 굵게 */
                background: rgba(255, 255, 255, 0.35);
                /* 배경 더 진하게 */
                border: 1.5px solid rgba(14, 165, 233, 0.3);
                /* 테두리 굵고 진하게 */
                box-shadow:
                    0 3px 12px rgba(14, 165, 233, 0.2),
                    /* 그림자 강화 */
                    inset 0 1px 0 rgba(255, 255, 255, 0.6);
            }

            .live-datetime i {
                font-size: 0.85rem;
                /* 아이콘도 크게 */
                color: var(--accent-color);
                filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
                /* 아이콘 그림자 */
            }

            #datetimeDisplay {
                min-width: 210px;
                /* 최소 너비 증가 */
                font-size: 0.9rem;
                /* 0.75rem에서 크게 */
                font-weight: 700;
                /* 굵게 */
                color: var(--text-primary);
                text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
                /* 텍스트 그림자로 가독성 향상 */
            }

            /* 요일 강조 더 강하게 */
            .day-of-week {
                color: var(--accent-color);
                font-weight: 800;
                /* 더 굵게 */
                margin: 0 0.25rem;
                text-shadow: 0 1px 2px rgba(14, 165, 233, 0.2);
            }

            /* Service Grid */
            .services-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 0.5rem;
                padding: 0 0.25rem;
            }

            .service-card {
                padding: 1rem 0.5rem;
            }

            .service-icon {
                font-size: 1.5rem;
                margin-bottom: 0.5rem;
            }

            .service-title {
                font-size: clamp(0.6rem, 2vw, 0.8rem);
                margin-bottom: 0;
            }

            /* Footer */
            .footer {
                padding: 0.75rem 0;
            }

            .footer-links {
                gap: 1.5rem;
                font-size: 0.875rem;
            }

            .footer-copyright {
                font-size: 0.7rem;
                margin-top: 0.75rem;
                padding-top: 0.75rem;
                line-height: 1.4;
            }

            /* Buttons */
            .sort-mode-btn {
                top: 50px;
                right: 10px;
                padding: 6px 10px;
                border-radius: 15px;
                font-size: 10px;
                box-shadow: 0 2px 6px rgba(30, 41, 59, 0.15);
            }

            .edit-mode-btn {
                top: 50px;
                right: 85px;
                padding: 6px 10px;
                border-radius: 15px;
                font-size: 10px;
                box-shadow: 0 2px 6px rgba(139, 92, 246, 0.15);
            }

            .edit-mode-message {
                top: 80px;
                padding: 6px 12px;
                font-size: 11px;
                border-radius: 14px;
            }

            /* Badges */
            .new-badge,
            .hot-badge {
                width: 6px;
                height: 6px;
                top: var(--spacing-xs);
                right: var(--spacing-xs);
            }

            .favorite-btn {
                width: 28px;
                height: 28px;
                padding: 6px;
                top: 6px;
                left: 6px;
            }

            .favorite-btn i {
                font-size: 1rem;
            }

            /* Install Banner */
            .install-banner {
                bottom: 80px;
                padding: 12px 20px;
                font-size: 13px;
            }

            .install-banner-text {
                font-size: 12px;
            }

            .install-banner-text .hanja-shin {
                font-size: 1.3em !important;
            }

            .install-btn {
                padding: 6px 12px;
                font-size: 12px;
            }

            /* Modals */
            .welcome-content {
                padding: 30px 20px;
            }

            .welcome-title {
                font-size: 24px;
            }

            .welcome-message {
                font-size: 14px;
            }

            /* Guide Modal */
            .home-guide-content {
                padding: 15px;
                padding-top: 50px;
            }

            .guide-link-copy {
                font-size: 11px;
                padding: 6px 10px;
                top: 10px;
                left: 15px;
                right: 45px;
                gap: 6px;
            }

            .guide-link-copy .hanja-shin {
                font-size: 1.3em !important;
            }

            .guide-header h3 {
                font-size: 18px;
                padding: 0 20px;
                line-height: 1.4;
            }

            .guide-header h3 .hanja-shin {
                font-size: 1.5em !important;
            }

            .browser-section {
                padding: 10px;
                margin-bottom: 12px;
            }

            .browser-section h4 {
                font-size: 13px;
            }

            .guide-steps li {
                font-size: 11px;
                padding-left: 14px;
            }

            .guide-footer {
                margin-top: 15px;
                padding-top: 12px;
            }

            .guide-benefit {
                font-size: 12px;
            }


            /* hover 효과 (모바일: 경량화 - box-shadow 애니메이션 제거) */
            .service-card:hover {
                transform: translateY(-4px);
                /* box-shadow 변경 제거: GPU 부하 감소 */
            }

            .smart-site-card:hover {
                transform: translateY(-4px);
                /* box-shadow 변경 제거: GPU 부하 감소 */
            }

            /* [성능 최적화] 모바일 backdrop-filter 전면 제거 */
            .header,
            .footer,
            .service-card,
            .smart-site-card,
            .site-title,
            .live-datetime,
            .section-header p,
            .guide-link-copy,
            .panel-header,
            .consult-panel {
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }

            /* [공간 확보] 모바일 카드 패딩 대폭 축소 (글자 공간 확보) */
            .service-card {
                padding: 0.5rem 0.25rem !important;
                background: rgba(255, 255, 255, 0.78) !important;
            }

            .smart-site-card {
                padding: 0.5rem 0.25rem 0 !important;
                background: rgba(255, 255, 255, 0.78) !important;
            }

            /* [강제 축소] 폰트 크기 및 줄간격 압축 */
            .service-title {
                font-size: clamp(0.55rem, 3vw, 0.75rem) !important;
                line-height: 1.2 !important;
                letter-spacing: -0.04em !important;
                word-break: keep-all !important;
                overflow-wrap: anywhere !important;
                white-space: normal !important;
                overflow: hidden !important;
                display: -webkit-box !important;
                -webkit-line-clamp: 2 !important;
                -webkit-box-orient: vertical !important;
            }

            /* [공간 확보] 특수 텍스트(또박노트, 충북변호사 찾기 하단 설명) 크기 및 간격 축소 */
            .google-store-text,
            .special-info-text {
                font-size: 0.55rem !important;
                margin-top: 2px !important;
                line-height: 1.1 !important;
            }

            /* [공간 확보] 배지 위치 최적화 */
            .new-badge,
            .hot-badge,
            .verified-badge {
                top: 4px !important;
                right: 4px !important;
            }

            .service-icon {
                margin-bottom: 0.35rem !important;
                /* 아이콘-제목 간격 축소 */
                font-size: 1.5rem !important;
                /* 아이콘도 살짝 축소 */
            }

            .live-datetime {
                background: rgba(255, 255, 255, 0.75) !important;
            }
        }

        /* Tablet 세로 (600px-1023px, portrait) */
        @media (min-width: 600px) and (max-width: 1023px) and (orientation: portrait) {
            body {
                background-image: url('background.png');
                background-image: -webkit-image-set(url('background.webp') type('image/webp'),
                        url('background.png') type('image/png'));
                background-image: image-set(url('background.webp') type('image/webp'),
                        url('background.png') type('image/png'));
            }

            .services-grid {
                grid-template-columns: repeat(6, 1fr) !important;
                gap: 1rem;
            }

            .service-icon {
                font-size: 2rem;
                margin-bottom: 0.875rem;
            }

            .service-title {
                font-size: clamp(0.65rem, 1.8vw, 0.875rem);
            }

            /* [성능] 信 shimmer 1회만 재생 */
            .site-title h1 .hanja-shin {
                animation: shimmer 3s ease-in-out 1;
            }

            /* [성능] hover box-shadow 제거 */
            .service-card:hover,
            .smart-site-card:hover {
                transform: translateY(-4px);
            }

            /* [성능] backdrop-filter 전면 제거 */
            .header,
            .footer,
            .service-card,
            .smart-site-card,
            .site-title,
            .live-datetime,
            .section-header p,
            .guide-link-copy,
            .panel-header,
            .consult-panel {
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }

            /* [공간 확보] 태블릿(폴드) 카드 패딩 축소 */
            .service-card {
                padding: 0.5rem 0.25rem !important;
                background: rgba(255, 255, 255, 0.78) !important;
            }

            .smart-site-card {
                padding: 0.5rem 0.25rem 0 !important;
                background: rgba(255, 255, 255, 0.78) !important;
            }

            /* [강제 축소] 폰트 크기 및 줄간격 압축 (폴드 대응) */
            .service-title {
                font-size: clamp(0.6rem, 2.5vw, 0.82rem) !important;
                line-height: 1.2 !important;
                letter-spacing: -0.04em !important;
                word-break: keep-all !important;
                overflow-wrap: anywhere !important;
                display: -webkit-box !important;
                -webkit-line-clamp: 2 !important;
                -webkit-box-orient: vertical !important;
                overflow: hidden !important;
            }

            /* [공간 확보] 특수 텍스트 크기 및 간격 축소 */
            .google-store-text,
            .special-info-text {
                font-size: 0.6rem !important;
                margin-top: 3px !important;
                line-height: 1.1 !important;
            }

            .service-icon {
                margin-bottom: 0.4rem !important;
            }

            .live-datetime {
                background: rgba(255, 255, 255, 0.75) !important;
            }
        }

        /* Tablet 가로 (600px-1023px, landscape) */
        @media (min-width: 600px) and (max-width: 1023px) and (orientation: landscape) {
            body {
                background-image: url('background.png');
                background-image: -webkit-image-set(url('background.webp') type('image/webp'),
                        url('background.png') type('image/png'));
                background-image: image-set(url('background.webp') type('image/webp'),
                        url('background.png') type('image/png'));
            }

            .services-grid {
                grid-template-columns: repeat(6, 1fr) !important;
                gap: 1rem;
            }

            .service-icon {
                font-size: 2rem;
                margin-bottom: 0.875rem;
            }

            .service-title {
                font-size: clamp(0.65rem, 1.8vw, 0.875rem);
            }

            /* [성능] 信 shimmer 1회만 재생 */
            .site-title h1 .hanja-shin {
                animation: shimmer 3s ease-in-out 1;
            }

            /* [성능] hover box-shadow 제거 */
            .service-card:hover,
            .smart-site-card:hover {
                transform: translateY(-4px);
            }

            /* [성능] backdrop-filter 전면 제거 */
            .header,
            .footer,
            .service-card,
            .smart-site-card,
            .site-title,
            .live-datetime,
            .section-header p,
            .guide-link-copy,
            .panel-header,
            .consult-panel {
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }

            /* [공간 확보] 태블릿 가로 */
            .service-card {
                padding: 0.5rem 0.25rem !important;
                background: rgba(255, 255, 255, 0.78) !important;
            }

            .smart-site-card {
                padding: 0.5rem 0.25rem 0 !important;
                background: rgba(255, 255, 255, 0.78) !important;
            }

            /* [강제 축소] 폰트 */
            .service-title {
                font-size: clamp(0.6rem, 2.5vw, 0.82rem) !important;
                line-height: 1.2 !important;
                word-break: keep-all !important;
                overflow-wrap: anywhere !important;
                display: -webkit-box !important;
                -webkit-line-clamp: 2 !important;
                -webkit-box-orient: vertical !important;
                overflow: hidden !important;
            }

            /* [공간 확보] 특수 텍스트 크기 및 간격 축소 */
            .google-store-text,
            .special-info-text {
                font-size: 0.6rem !important;
                margin-top: 3px !important;
                line-height: 1.1 !important;
            }

            .service-icon {
                margin-bottom: 0.4rem !important;
            }

            .live-datetime {
                background: rgba(255, 255, 255, 0.75) !important;
            }
        }

        /* Desktop (1024px+) */
        @media (min-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(8, 1fr) !important;
                gap: 1rem;
            }

            .service-icon {
                font-size: 1.75rem;
                margin-bottom: 0.75rem;
            }

            .service-title {
                font-size: clamp(0.65rem, 1.5vw, 0.8rem);
            }


        }

        /* 정렬 모드 확인 모달 추가 */
        .sort-confirm-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2002;
            animation: fadeIn 0.3s ease;
        }

        .sort-confirm-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .sort-confirm-content {
            background: white;
            border-radius: 20px;
            padding: 30px;
            max-width: 400px;
            width: 100%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            text-align: center;
            animation: slideUp 0.3s ease;
        }

        .sort-confirm-icon {
            font-size: 48px;
            margin-bottom: 20px;
            color: var(--accent-color);
        }

        .sort-confirm-title {
            font-size: 20px;
            color: var(--text-primary);
            font-weight: 700;
            margin-bottom: 12px;
        }

        .sort-confirm-message {
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .sort-confirm-buttons {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .sort-confirm-btn {
            padding: 12px 30px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
        }

        .sort-confirm-btn.confirm {
            background: var(--accent-color);
            color: white;
        }

        .sort-confirm-btn.confirm:hover {
            background: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(30, 41, 59, 0.3);
        }

        .sort-confirm-btn.cancel {
            background: transparent;
            color: var(--text-secondary);
            border: 2px solid var(--border-color);
        }

        .sort-confirm-btn.cancel:hover {
            background: var(--hover-bg);
            border-color: var(--accent-color);
            color: var(--accent-color);
        }

        /* 데스크탑 애니메이션 (opacity만 애니메이션, transform은 hover용으로 남겨둠) */
        @media (min-width: 769px) {
            @keyframes fadeInUp {
                from {
                    opacity: 0;
                }

                to {
                    opacity: 1;
                }
            }

            .service-card {
                opacity: 0;
                animation: fadeInUp 0.6s ease-out forwards;
            }

            .service-card:nth-child(1) {
                animation-delay: 0.1s;
            }

            .service-card:nth-child(2) {
                animation-delay: 0.2s;
            }

            .service-card:nth-child(3) {
                animation-delay: 0.3s;
            }

            .service-card:nth-child(4) {
                animation-delay: 0.4s;
            }

            .service-card:nth-child(5) {
                animation-delay: 0.5s;
            }

            .service-card:nth-child(6) {
                animation-delay: 0.6s;
            }

            .service-card:nth-child(7) {
                animation-delay: 0.7s;
            }

            .service-card:nth-child(8) {
                animation-delay: 0.8s;
            }
        }

        /* 메인 편집 버튼 (진한 남색, 항상 표시) */
        .edit-main-btn {
            position: fixed;
            top: 60px;
            right: 15px;
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            color: white;
            border: none;
            padding: 8px 14px;
            border-radius: 20px;
            cursor: pointer;
            z-index: 99;
            transition: var(--transition-normal);
            font-size: 11px;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(30, 41, 59, 0.3);
        }

        .edit-main-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(30, 41, 59, 0.4);
        }

        .edit-main-btn.active {
            background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
        }

        /* 편집 하위 메뉴 */
        .edit-submenu {
            position: fixed;
            top: 65px;
            /* 헤더 아래 */
            right: 22px;
            /* 메인 버튼 위치와 맞춤 */
            display: none;
            flex-direction: row;
            /* 가로 나열 */
            align-items: center;
            gap: 8px;
            z-index: 99;
            animation: fadeIn 0.15s ease;
        }

        .edit-submenu.show {
            display: flex;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .edit-submenu-item {
            background: white;
            color: var(--text-primary);
            border: 1px solid rgba(226, 232, 240, 0.8);
            padding: 8px 14px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 11px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            white-space: nowrap;
        }

        .edit-submenu-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        /* 드래그 정렬 (하늘색 강조) */
        .edit-submenu-item.active-mode {
            background: #e0f2fe;
            /* 하늘색 배경 */
            color: #0284c7;
            /* 진한 하늘색 텍스트 */
            border-color: #bae6fd;
        }

        .edit-submenu-item.active-mode:hover {
            background: #0ea5e9;
            color: white;
        }

        /* 자동 정렬 (옅은 붉은색 강조) */
        .edit-submenu-item.auto-sort {
            background: #fef2f2;
            /* 아주 옅은 붉은색 */
            color: #ef4444;
            /* 붉은색 텍스트 */
            border-color: #fecaca;
        }

        .edit-submenu-item.auto-sort:hover {
            background: #ef4444;
            color: white;
        }

        /* 취소 버튼 */
        .edit-submenu-item.cancel {
            background: #f1f5f9;
            color: #64748b;
            border-color: #e2e8f0;
        }

        .edit-submenu-item.cancel:hover {
            background: #94a3b8;
            color: white;
        }

        .edit-submenu-item i {
            font-size: 11px;
        }

        /* 드래그 모드 안내 메시지 */
        .drag-mode-message {
            position: fixed;
            top: 105px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 12px;
            font-weight: 600;
            display: none;
            align-items: center;
            gap: 12px;
            z-index: 98;
            box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
        }

        .drag-mode-message.show {
            display: flex;
        }

        .drag-done-btn {
            background: white;
            color: #16a34a;
            border: none;
            padding: 5px 12px;
            border-radius: 15px;
            cursor: pointer;
            font-size: 11px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 4px;
            transition: all 0.2s;
        }

        .drag-done-btn:hover {
            background: #f0fdf4;
            transform: scale(1.05);
        }

        /* 드래그 모드 스타일 (Always-on) */
        .service-card,
        .smart-site-card {
            -webkit-user-select: none;
            user-select: none;
            -webkit-touch-callout: none;
            /* 모바일 링크 롱탭 메뉴 방지 */
            -webkit-user-drag: none;
            touch-action: pan-y;
        }

        .service-card:active,
        .smart-site-card:active {
            cursor: grabbing;
        }

        .service-card.dragging,
        .smart-site-card.dragging {
            opacity: 0.9;
            transform: scale(1.05);
            box-shadow: 0 15px 40px rgba(30, 41, 59, 0.25);
            z-index: 1000;
        }

        .service-card.drag-over,
        .smart-site-card.drag-over {
            transform: scale(0.95);
            border: 2px dashed var(--accent-color);
        }

        .service-card.dragging::after,
        .smart-site-card.dragging::after {
            content: '';
            position: absolute;
            inset: -2px;
            border: 2px dashed rgba(14, 165, 233, 0.4);
            border-radius: 0.75rem;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .service-card.dragging:hover::after,
        .smart-site-card.dragging:hover::after {
            opacity: 1;
        }

        /* 모바일 드래그 최적화 */
        @media (max-width: 768px) {
            .edit-submenu {
                flex-direction: column;
                right: 15px;
                top: 95px;
            }

            .drag-mode-message {
                flex-direction: column;
                padding: 12px 20px;
                gap: 8px;
            }
        }

        /* 편집 모드 스타일 (기존 호환성 유지) */
        body.edit-mode .service-card {
            cursor: move;
            position: relative;
        }

        body.edit-mode .service-card::after {
            content: '';
            position: absolute;
            inset: -2px;
            border: 2px dashed var(--accent-color);
            border-radius: 0.75rem;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s;
        }

        body.edit-mode .service-card:hover::after {
            opacity: 0.5;
        }

        /* 이동 컨트롤 */
        .move-controls {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: none;
            grid-template-columns: repeat(3, 30px);
            grid-template-rows: repeat(3, 30px);
            gap: 2px;
            padding: 8px;
            border-radius: 8px;
            z-index: 20;
        }

        body.edit-mode .service-card .move-controls {
            display: grid;
        }

        .move-control-btn {
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(139, 105, 20, 0.25);
            border-radius: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            font-size: 12px;
            color: var(--primary-color);
            opacity: 0.85;
        }

        .move-control-btn:hover:not(:disabled) {
            background: rgba(30, 41, 59, 0.9);
            color: white;
            transform: scale(1.1);
            border-color: var(--primary-color);
            opacity: 1;
        }

        .move-control-btn:disabled {
            opacity: 0;
            cursor: default;
        }

        /* 편집 모드에서 링크 비활성화 */
        body.edit-mode .service-card {
            pointer-events: none;
        }

        body.edit-mode .service-card .move-controls,
        body.edit-mode .service-card .favorite-btn {
            pointer-events: all;
        }

        /* 편집 모드 안내 메시지 (기존 호환성) */
        .edit-mode-message {
            position: fixed;
            top: 105px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 8px 16px;
            border-radius: 18px;
            font-size: 12px;
            display: none;
            z-index: 98;
        }

        body.edit-mode .edit-mode-message {
            display: block;
        }

        /* 공통 알림 모달 */
        .alert-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2001;
            animation: fadeIn 0.3s ease;
        }

        .alert-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .alert-content {
            background: white;
            border-radius: 20px;
            padding: 30px;
            max-width: 360px;
            width: 100%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            text-align: center;
            animation: slideUp 0.3s ease;
        }

        .alert-icon {
            font-size: 48px;
            margin-bottom: 20px;
        }

        .alert-title {
            font-size: 20px;
            color: var(--text-primary);
            font-weight: 700;
            margin-bottom: 12px;
        }

        .alert-message {
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .alert-button {
            background: var(--accent-color);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .alert-button:hover {
            background: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(30, 41, 59, 0.3);
        }

        .alert-button.secondary {
            background: transparent;
            color: var(--accent-color);
            border: 2px solid var(--accent-color);
            margin-left: 10px;
        }

        .alert-button.secondary:hover {
            background: var(--accent-color);
            color: white;
        }

        /* 홈 화면 추가 안내 모달 */
        .home-guide-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            animation: fadeIn 0.3s ease;
        }

        .home-guide-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .home-guide-content {
            background: white;
            border-radius: 20px;
            padding: 20px;
            padding-top: 60px;
            /* 링크 복사 버튼 공간 확보 */
            max-width: 380px;
            width: 100%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            position: relative;
            animation: slideUp 0.3s ease;
        }

        /* 링크 복사 버튼 */
        .guide-link-copy {
            position: absolute;
            top: 15px;
            left: 20px;
            right: 50px;
            /* X 버튼 공간 확보 */
            background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
            border: 1px solid #6b7280;
            border-radius: 8px;
            padding: 8px 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 12px;
            color: #1f2937;
            font-weight: 600;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
        }

        .guide-link-copy .hanja-shin {
            color: #111827 !important;
            font-weight: 400 !important;
        }

        .guide-link-copy:hover {
            background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
            border-color: #4b5563;
            color: #111827;
            transform: translateY(-1px);
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
        }

        .guide-link-copy:active {
            transform: translateY(0);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
        }

        .guide-link-copy.copied {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            border-color: #059669;
            box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
        }

        .guide-link-copy i {
            font-size: 14px;
        }

        .guide-header {
            text-align: center;
            margin-bottom: 20px;
        }

        .guide-header h3 {
            font-size: 20px;
            color: var(--primary-color);
            margin-bottom: 6px;
            font-weight: 700;
            padding: 0 30px;
            /* X 버튼과 겹치지 않게 여백 추가 */
            line-height: 1.4;
            text-align: center;
            display: block;
        }

        .guide-header p {
            color: var(--text-secondary);
            font-size: 13px;
        }

        .guide-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #999;
            transition: all 0.2s;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            z-index: 1;
            /* 다른 요소 위에 표시 */
        }

        .guide-close:hover {
            background: var(--hover-bg);
            color: var(--primary-color);
        }

        .browser-section {
            margin-bottom: 15px;
            padding: 12px;
            background: var(--bg-secondary);
            border-radius: 10px;
            border: 1px solid var(--border-color);
        }

        .browser-section h4 {
            font-size: 14px;
            color: var(--text-primary);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .browser-icon {
            width: 18px;
            height: 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .samsung-icon {
            background: #1428A0;
            color: white;
            border-radius: 50%;
            font-size: 11px;
            font-weight: bold;
        }

        .chrome-icon {
            font-size: 16px;
        }

        .safari-icon {
            color: #007AFF;
            font-size: 16px;
        }

        .guide-steps {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .guide-steps li {
            font-size: 12px;
            color: var(--text-secondary);
            padding: 3px 0;
            padding-left: 16px;
            position: relative;
        }

        .guide-steps li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 3px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 50%;
        }

        .guide-footer {
            text-align: center;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid var(--border-color);
        }

        .guide-benefit {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            color: var(--success-color);
            font-size: 13px;
            font-weight: 600;
        }

        @media (min-width: 769px) {
            /* 데스크탑 전용 스타일 */
        }

        /* ===== 상담 FAB (Floating Action Button) ===== */
        .consult-fab {
            position: fixed;
            bottom: 28px;
            right: 22px;
            height: 50px;
            padding: 0 22px 0 18px;
            border-radius: 25px;
            border: none;
            background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #0ea5e9 100%);
            color: white;
            font-size: 15px;
            cursor: pointer;
            z-index: 1500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            box-shadow:
                0 4px 18px rgba(30, 41, 59, 0.4),
                0 0 0 0 rgba(14, 165, 233, 0.4);
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            animation: fabPulse 3s ease-in-out infinite;
        }

        .consult-fab-icon {
            font-size: 17px;
        }

        .consult-fab-text {
            font-size: 14px;
            font-weight: 800;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        .consult-fab:hover {
            transform: scale(1.05) translateY(-2px);
            box-shadow:
                0 8px 28px rgba(30, 41, 59, 0.45),
                0 0 0 5px rgba(14, 165, 233, 0.12);
            animation: none;
        }

        .consult-fab:active {
            transform: scale(0.97);
        }

        .consult-fab.active {
            background: linear-gradient(135deg, #475569 0%, #64748b 100%);
            animation: none;
            padding: 0 18px;
        }

        .consult-fab.active .consult-fab-icon::before {
            content: "\f00d";
        }

        .consult-fab.active .consult-fab-text {
            display: none;
        }

        @keyframes fabPulse {

            0%,
            100% {
                box-shadow:
                    0 4px 16px rgba(30, 41, 59, 0.35),
                    0 0 0 0 rgba(14, 165, 233, 0.5);
            }

            50% {
                box-shadow:
                    0 4px 16px rgba(30, 41, 59, 0.35),
                    0 0 0 14px rgba(14, 165, 233, 0);
            }
        }

        /* ===== 상담 패널 ===== */
        .consult-panel {
            position: fixed;
            bottom: 96px;
            right: 22px;
            width: 360px;
            max-height: calc(100vh - 140px);
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 20px;
            box-shadow:
                0 20px 60px rgba(30, 41, 59, 0.2),
                0 0 0 1px rgba(30, 41, 59, 0.08);
            z-index: 1499;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px) scale(0.95);
            transform-origin: bottom right;
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .consult-panel.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        /* 패널 헤더 */
        .consult-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            color: white;
        }

        .consult-panel-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 15px;
            font-weight: 700;
        }

        .consult-panel-title i {
            font-size: 18px;
            opacity: 0.9;
        }

        .consult-panel-close {
            background: rgba(255, 255, 255, 0.15);
            border: none;
            color: white;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 14px;
        }

        .consult-panel-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        /* 패널 바디 */
        .consult-panel-body {
            padding: 20px;
            overflow-y: auto;
            flex: 1;
            max-height: calc(100vh - 300px);
        }

        .consult-panel-body::-webkit-scrollbar {
            width: 3px;
        }

        .consult-panel-body::-webkit-scrollbar-thumb {
            background: rgba(30, 41, 59, 0.15);
            border-radius: 3px;
        }

        /* 전화 상담 박스 */
        .consult-phone-box {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border: 1px solid rgba(14, 165, 233, 0.2);
            border-radius: 14px;
            padding: 16px;
            text-align: center;
            margin-bottom: 16px;
        }

        .consult-phone-label {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 12px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 8px;
        }

        .consult-phone-label i {
            color: #0ea5e9;
            font-size: 13px;
        }

        .consult-phone-number {
            display: block;
            font-size: 22px;
            font-weight: 800;
            color: var(--primary-color);
            text-decoration: none;
            letter-spacing: 0.5px;
            transition: all 0.2s;
        }

        .consult-phone-number:hover {
            color: #0ea5e9;
            transform: scale(1.02);
        }

        .consult-phone-hours {
            font-size: 11px;
            color: var(--text-secondary);
            margin-top: 4px;
        }

        /* 구분선 */
        .consult-divider {
            display: flex;
            align-items: center;
            margin: 16px 0;
        }

        .consult-divider::before,
        .consult-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border-color);
        }

        .consult-divider span {
            padding: 0 12px;
            font-size: 11px;
            color: var(--text-secondary);
            white-space: nowrap;
        }

        /* 안내 문구 박스 */
        .consult-info-box {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border: 1px solid rgba(30, 41, 59, 0.1);
            border-radius: 12px;
            padding: 14px 16px;
            margin-bottom: 16px;
        }

        .consult-info-box p {
            font-size: 12.5px;
            line-height: 1.7;
            color: var(--text-primary);
            margin: 0;
            word-break: keep-all;
        }

        .consult-info-box p i {
            color: #0ea5e9;
            margin-right: 4px;
            font-size: 12px;
        }

        .consult-info-box p strong {
            color: #1e293b;
        }

        .consult-privacy-note {
            margin-top: 10px !important;
            padding-top: 10px;
            border-top: 1px dashed rgba(30, 41, 59, 0.12);
            font-size: 11.5px !important;
            color: var(--text-secondary) !important;
        }

        .consult-privacy-note i {
            color: #10b981 !important;
        }

        /* 폼 스타일 */
        .consult-form-group {
            margin-bottom: 14px;
        }

        .consult-label {
            display: block;
            font-size: 12px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 6px;
        }

        .consult-label i {
            color: var(--accent-color);
            font-size: 11px;
            margin-right: 2px;
        }

        .consult-label .required {
            color: #ef4444;
            font-weight: 700;
        }

        .consult-input {
            width: 100%;
            padding: 11px 14px;
            border: 2px solid var(--border-color);
            border-radius: 10px;
            font-size: 14px;
            font-family: inherit;
            color: var(--text-primary);
            background: white;
            transition: all 0.2s;
            outline: none;
        }

        .consult-input:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
        }

        .consult-input::placeholder {
            color: #94a3b8;
        }

        .consult-textarea {
            width: 100%;
            padding: 11px 14px;
            border: 2px solid var(--border-color);
            border-radius: 10px;
            font-size: 14px;
            font-family: inherit;
            color: var(--text-primary);
            background: white;
            transition: all 0.2s;
            outline: none;
            resize: vertical;
            min-height: 100px;
            line-height: 1.6;
        }

        .consult-textarea:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
        }

        .consult-textarea::placeholder {
            color: #94a3b8;
        }

        .consult-hint {
            font-size: 11px;
            color: var(--text-secondary);
            margin-top: 4px;
            padding-left: 2px;
        }

        /* 보내기 버튼 */
        .consult-submit-btn {
            width: 100%;
            padding: 13px;
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s;
            margin-top: 4px;
        }

        .consult-submit-btn:hover {
            background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
        }

        .consult-submit-btn:active {
            transform: translateY(0);
        }

        .consult-submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .consult-submit-btn i {
            font-size: 14px;
        }

        /* 성공 메시지 */
        .consult-success {
            text-align: center;
            padding: 30px 20px;
        }

        .consult-success-icon {
            font-size: 48px;
            color: #10b981;
            margin-bottom: 16px;
            animation: successBounce 0.6s ease;
        }

        @keyframes successBounce {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.2);
            }
        }

        .consult-success h4 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .consult-success p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .consult-success-btn {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            border: none;
            padding: 10px 32px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
        }

        .consult-success-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        }

        /* 패널 푸터 */
        .consult-panel-footer {
            padding: 12px 20px;
            text-align: center;
            border-top: 1px solid var(--border-color);
            background: var(--bg-secondary);
        }

        .consult-panel-footer p {
            font-size: 11px;
            color: var(--text-secondary);
            font-weight: 600;
        }

        /* 상담 오버레이 */
        .consult-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.3);
            z-index: 1498;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }

        .consult-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        /* ===== 모바일 대응 ===== */
        @media (max-width: 768px) {
            .consult-fab {
                bottom: 20px;
                right: 16px;
                height: 46px;
                padding: 0 18px 0 14px;
                font-size: 13px;
            }

            .consult-fab-icon {
                font-size: 15px;
            }

            .consult-fab-text {
                font-size: 13px;
            }

            .consult-panel {
                bottom: 0;
                right: 0;
                left: 0;
                width: 100%;
                max-height: 85vh;
                border-radius: 20px 20px 0 0;
                transform: translateY(100%);
                transform-origin: bottom center;
            }

            .consult-panel.open {
                transform: translateY(0);
            }

            .consult-panel-body {
                max-height: calc(85vh - 160px);
            }
        }