@charset "UTF-8";

/* ========================================================================== Main Modern Design System & CSS Variables ========================================================================== */
.is-index-page, .main-index-wrapper { --bg-dark: #0b0f19; --bg-card: #131b2e; --bg-card-hover: #1c2742; --primary-glow: #4f46e5; --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%); --accent-cyan: #06b6d4; --accent-pink: #ec4899; --accent-green: #10b981; --text-bright: #ffffff; --text-sub: #94a3b8; --text-muted: #64748b; --border-color: rgba(255, 255, 255, 0.08); --border-glow: rgba(99, 102, 241, 0.3); --radius-lg: 20px; --radius-md: 14px; --radius-sm: 8px; --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5); --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25); }
html.is-index-page, body.is-index-page { background-color: #0b0f19 !important; background: #0b0f19 !important; color: #e2e8f0 !important; }
.main-index-wrapper { font-family: 'Outfit', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif; background-color: var(--bg-dark); color: #e2e8f0; line-height: 1.6; overflow-x: hidden; padding-top: 110px !important; padding-bottom: 60px; }
.main-container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
/* Typography & Badges */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.section-title-group { max-width: 650px; }

/* ========================================================
   [INDEX PAGE HEADER THEME MATCHING]
   ======================================================== */
.is-index-page #header {
    background: rgba(11, 15, 25, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.is-index-page #header.on {
    background: #0b0f19 !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.3) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8) !important;
}

.is-index-page #header .list > li > a {
    color: #ffffff !important;
}

.is-index-page #header .list > li > a:hover {
    color: #818cf8 !important;
}

.is-index-page #header .sub-menu {
    background: #131b2e !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.6) !important;
    border-radius: 16px;
}

.is-index-page #header .sub-menu a {
    color: #cbd5e1 !important;
}

.is-index-page #header .sub-menu a:hover {
    background-color: rgba(99, 102, 241, 0.25) !important;
    color: #ffffff !important;
}

.is-index-page #header .ai-menu-group-title {
    color: #818cf8 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.is-index-page #header .mypage-btn,
.is-index-page #header .logout-btn,
.is-index-page #header .login-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    background: rgba(99, 102, 241, 0.15) !important;
    color: #a5b4fc !important;
}

.is-index-page #header .mypage-btn:hover,
.is-index-page #header .logout-btn:hover,
.is-index-page #header .login-btn:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    border-color: #818cf8 !important;
}

.section-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.section-title { font-size: 1.9rem; font-weight: 800; color: #ffffff; letter-spacing: -0.5px; margin: 0 0 6px 0; }
.section-desc { font-size: 0.95rem; color: var(--text-sub); margin: 0; }
.view-more-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: #a5b4fc; text-decoration: none; padding: 8px 16px; border-radius: var(--radius-sm); background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.2); transition: all 0.3s ease; }
.view-more-btn:hover { background: rgba(99, 102, 241, 0.25); color: #ffffff; border-color: rgba(99, 102, 241, 0.5); transform: translateX(4px); }
/* ========================================================================== 1. Hero Banner / Main Admin Slide Section ========================================================================== */
.hero-wrapper { position: relative; padding: 30px 0 50px 0; }
.hero-slide-container { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border-color); box-shadow: var(--shadow-glow); position: relative; }
/* Swiper Hero */
.hero-swiper { width: 100%; height: 480px; position: relative; }
.hero-swiper .swiper-slide { position: relative; width: 100%; height: 100%; }
.slide-img-link { display: block; width: 100%; height: 100%; position: relative; }
.slide-img-link img { width: 100%; height: 100%; object-fit: cover; }
/* Fallback Default Hero (If no slide in admin) */
.hero-fallback-bg { width: 100%; min-height: 460px; background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.25) 0%, rgba(11, 15, 25, 0.95) 70%), linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0b0f19 100%); display: flex; align-items: center; padding: 60px; position: relative; overflow: hidden; }
.hero-fallback-bg::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: var(--primary-gradient); filter: blur(120px); opacity: 0.25; pointer-events: none; animation: floatGlow 8s infinite alternate ease-in-out; }
@keyframes floatGlow { 0% { transform: translate(0, 0) scale(1); }
100% { transform: translate(-40px, 30px) scale(1.1); }
}
.hero-fallback-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 50px; background: rgba(99, 102, 241, 0.15); border: 1px solid rgba(99, 102, 241, 0.3); color: #c7d2fe; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; backdrop-filter: blur(10px); }
.hero-badge-tag i { color: #a855f7; }
.hero-main-title { font-size: 2.8rem; font-weight: 900; line-height: 1.2; color: #ffffff; margin: 0 0 18px 0; letter-spacing: -1px; }
.hero-main-title span { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-main-desc { font-size: 1.1rem; color: #94a3b8; margin-bottom: 32px; line-height: 1.7; }
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; border-radius: var(--radius-md); background: var(--primary-gradient); color: #ffffff; font-weight: 700; font-size: 1rem; text-decoration: none; box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5); transition: all 0.3s ease; }
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.7); color: #ffffff; }
.btn-hero-secondary { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); color: #e2e8f0; font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.3s ease; }
.btn-hero-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); color: #ffffff; }
/* Swiper Pagination & Navigation Custom */
.hero-swiper .swiper-pagination { bottom: 18px !important; }
.hero-swiper .swiper-pagination-bullet { background: rgba(255, 255, 255, 0.4); opacity: 0.5; width: 8px; height: 8px; margin: 0 4px !important; transition: all 0.3s ease; }
.hero-swiper .swiper-pagination-bullet-active { background: #6366f1; width: 24px; border-radius: 4px; opacity: 1; }
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev { color: #ffffff; background: rgba(15, 23, 42, 0.6); width: 44px; height: 44px; border-radius: 50%; backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; }
.hero-swiper .swiper-button-next:after, .hero-swiper .swiper-button-prev:after { font-size: 1.1rem; font-weight: bold; }
.hero-swiper .swiper-button-next:hover, .hero-swiper .swiper-button-prev:hover { background: #6366f1; }
/* ========================================================================== 2. Live Traffic & Visitor Statistics Bar ========================================================================== */
.stats-bar-wrapper { margin-bottom: 50px; }
.stats-bar-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px 32px; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 24px; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.stats-metric-item { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.metric-icon-box { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: #c084fc; border: 1px solid rgba(139, 92, 246, 0.3); }
.metric-info .metric-label { font-size: 0.88rem; color: #cbd5e1; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; }
.metric-info .metric-val { font-size: 1.85rem; font-weight: 800; color: #ffffff; margin-top: 2px; display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.metric-info .metric-unit { font-size: 0.95rem; font-weight: 600; color: var(--text-sub); }
/* 7-Day Traffic Graph Bar Visual */
.chart-visual-box { flex: 1 1 auto; min-width: 220px; border-left: 1px solid var(--border-color); padding-left: 24px; }
.chart-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.chart-title { font-size: 0.85rem; font-weight: 700; color: var(--text-sub); }
.live-badge { font-size: 0.75rem; color: #10b981; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.live-pulse { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.chart-bars-container { display: flex; align-items: flex-end; gap: 12px; height: 50px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar-fill { width: 100%; max-width: 24px; background: linear-gradient(180deg, #6366f1 0%, #3b82f6 100%); border-radius: 4px 4px 0 0; transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
.bar-fill:hover { background: linear-gradient(180deg, #818cf8 0%, #60a5fa 100%); }
.bar-date { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }
/* ========================================================================== 3. New Smart Utility Tools Section ========================================================================== */
.tools-section { margin-bottom: 60px; }
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tool-card-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.tool-card-item:hover { background: var(--bg-card-hover); border-color: var(--border-glow); transform: translateY(-6px); box-shadow: 0 12px 30px -10px rgba(99, 102, 241, 0.3); }
.tool-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.tool-icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: rgba(99, 102, 241, 0.12); color: #818cf8; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: all 0.3s ease; }
.tool-card-item:hover .tool-icon-wrap { background: var(--primary-gradient); color: #ffffff; transform: scale(1.1); }
.badge-new { position: absolute; top: 14px; right: 14px; font-size: 0.7rem; font-weight: 800; background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%); color: #ffffff; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; z-index: 2; box-shadow: 0 2px 6px rgba(244, 63, 94, 0.4); }
.badge-new ~ .badge-new { right: 56px; }
.tool-card-title { font-size: 1.15rem; font-weight: 700; color: #ffffff; margin: 0 0 8px 0; }
.tool-card-desc { font-size: 0.88rem; color: var(--text-sub); line-height: 1.5; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tool-card-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 14px; }
.tool-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-pill { font-size: 0.75rem; color: var(--text-muted); background: rgba(255, 255, 255, 0.04); padding: 2px 8px; border-radius: 4px; }
.tool-action-arrow { color: var(--text-muted); font-size: 0.9rem; transition: transform 0.3s ease, color 0.3s ease; }
.tool-card-item:hover .tool-action-arrow { color: #818cf8; transform: translateX(4px); }
/* ========================================================================== 3A. Feed & AI Resource Section ========================================================================== */
.feed-section { margin-bottom: 60px; }
.feed-section-box { background: linear-gradient(180deg, rgba(19, 27, 46, 0.94) 0%, rgba(12, 18, 33, 0.98) 100%); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-soft); }
.feed-resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feed-resource-card { display: flex; gap: 18px; align-items: flex-start; text-decoration: none; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-md); padding: 20px; transition: all 0.3s ease; }
.feed-resource-card:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.35); background: rgba(99, 102, 241, 0.08); box-shadow: 0 16px 28px -16px rgba(99, 102, 241, 0.45); }
.feed-resource-icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: #c4b5fd; background: rgba(99, 102, 241, 0.14); border: 1px solid rgba(99, 102, 241, 0.24); }
.feed-resource-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.feed-resource-head h3 { margin: 0; color: #ffffff; font-size: 1.05rem; font-weight: 700; }
.feed-resource-head span { font-size: 0.76rem; color: #a5b4fc; background: rgba(99, 102, 241, 0.14); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.feed-resource-body p { margin: 0 0 10px; color: var(--text-sub); font-size: 0.9rem; line-height: 1.6; }
.feed-resource-body strong { display: block; color: #e2e8f0; font-size: 0.82rem; font-weight: 700; word-break: break-all; }
/* ========================================================================== 3B. Marketing Toolkit Quick Section ========================================================================== */
.marketing-tools-section { margin-bottom: 60px; }
.marketing-tools-box { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-soft); }
.marketing-tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.marketing-tool-card { text-decoration: none; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-md); padding: 20px; transition: all 0.3s ease; min-height: 220px; display: flex; flex-direction: column; }
.marketing-tool-card:hover { transform: translateY(-5px); border-color: rgba(6, 182, 212, 0.35); background: rgba(6, 182, 212, 0.07); box-shadow: 0 16px 28px -18px rgba(6, 182, 212, 0.45); }
.marketing-tool-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.marketing-tool-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #67e8f9; background: rgba(6, 182, 212, 0.12); border: 1px solid rgba(6, 182, 212, 0.22); }
.marketing-tool-tag { font-size: 0.74rem; color: #a5f3fc; background: rgba(6, 182, 212, 0.12); padding: 4px 8px; border-radius: 999px; font-weight: 700; }
.marketing-tool-card h3 { margin: 0 0 10px; color: #ffffff; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.marketing-tool-card p { margin: 0; color: var(--text-sub); font-size: 0.88rem; line-height: 1.65; }
/* ========================================================================== 4. Board Thumbnail Swiper Carousel ========================================================================== */
.carousel-section { margin-top: 24px; margin-bottom: 60px; }
.carousel-swiper { width: 100%; padding: 10px 4px 28px 4px; position: relative; }
.carousel-swiper .swiper-pagination { bottom: 0px !important; }
.carousel-swiper .swiper-pagination-bullet { background: rgba(255, 255, 255, 0.35); opacity: 0.5; width: 8px; height: 8px; margin: 0 4px !important; transition: all 0.3s ease; }
.carousel-swiper .swiper-pagination-bullet-active { background: #6366f1; width: 22px; border-radius: 4px; opacity: 1; }
.carousel-swiper .swiper-wrapper { align-items: stretch; }
.carousel-swiper .swiper-slide { height: auto; display: flex; }
.board-thumb-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s ease; height: 100%; width: 100%; }
.board-thumb-card:hover { border-color: rgba(99, 102, 241, 0.4); transform: translateY(-4px); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5); }
.board-thumb-img-wrap { width: 100%; height: 200px; position: relative; overflow: hidden; background: #0f172a; flex-shrink: 0; }
.board-thumb-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.board-thumb-card:hover .board-thumb-img-wrap img { transform: scale(1.08); }
.category-badge-overlay { position: absolute; top: 12px; left: 12px; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.15); color: #a5b4fc; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.board-thumb-body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; flex: 1; }
.board-thumb-title { font-size: 0.96rem; font-weight: 700; color: #ffffff; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.board-thumb-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--text-muted); padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.04); }
/* ========================================================================== 5. Popular Content Section ========================================================================== */
.popular-section { margin-bottom: 60px; }
.popular-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.popular-item-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 22px; display: flex; gap: 20px; align-items: center; text-decoration: none; transition: all 0.3s ease; }
.popular-item-card:hover { background: var(--bg-card-hover); border-color: rgba(99, 102, 241, 0.3); transform: translateX(4px); }
.popular-rank-badge { width: 42px; height: 42px; border-radius: 12px; background: rgba(99, 102, 241, 0.1); color: #818cf8; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; justify-content: justify; flex-shrink: 0; border: 1px solid rgba(99, 102, 241, 0.2); justify-content: center; }
.popular-item-card:nth-child(1) .popular-rank-badge { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: #ffffff; border: none; }
.popular-item-card:nth-child(2) .popular-rank-badge { background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%); color: #ffffff; border: none; }
.popular-item-card:nth-child(3) .popular-rank-badge { background: linear-gradient(135deg, #b45309 0%, #78350f 100%); color: #ffffff; border: none; }
.popular-content-info { flex: 1; }
.popular-title { font-size: 1.05rem; font-weight: 700; color: #ffffff; margin: 0 0 6px 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.popular-desc { font-size: 0.85rem; color: var(--text-sub); margin: 0 0 10px 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.popular-sub-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-muted); }
.popular-sub-meta i { color: #818cf8; margin-right: 4px; }
/* ========================================================================== 6. Free Stock Images Section ========================================================================== */
.free-images-section { margin-bottom: 40px; }
.free-images-box { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px; }
.search-keywords-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.keyword-label { font-size: 0.85rem; font-weight: 700; color: var(--text-sub); margin-right: 6px; }
.keyword-pill { font-size: 0.85rem; color: #cbd5e1; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 6px 14px; border-radius: 50px; text-decoration: none; transition: all 0.3s ease; }
.keyword-pill:hover { background: rgba(99, 102, 241, 0.2); border-color: rgba(99, 102, 241, 0.4); color: #ffffff; }
.free-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item-card { position: relative; border-radius: var(--radius-md); overflow: hidden; height: 180px; text-decoration: none; display: block; }
.gallery-item-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(11, 15, 25, 0.85) 100%); padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; transition: opacity 0.3s ease; }
.gallery-item-card:hover img { transform: scale(1.1); }
.gallery-title { font-size: 0.95rem; font-weight: 700; color: #ffffff; margin: 0; }
.gallery-author { font-size: 0.78rem; color: #cbd5e1; }
/* Responsive Media Queries */
@media (max-width: 1024px) { .main-index-wrapper { padding-top: 90px !important; }
.hero-wrapper { padding-top: 20px; }
.tools-grid { grid-template-columns: repeat(2, 1fr); }
.feed-resource-grid { grid-template-columns: 1fr; }
.marketing-tool-grid { grid-template-columns: repeat(2, 1fr); }
.popular-grid { grid-template-columns: 1fr; }
.free-gallery-grid { grid-template-columns: repeat(2, 1fr); }
.free-images-box { padding: 24px 20px; }
.stats-bar-card { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.chart-visual-box { grid-column: 1 / -1; border-left: none; padding-left: 0; border-top: 1px solid var(--border-color); padding-top: 20px; }
.hero-main-title { font-size: 2.4rem; }
}
@media (max-width: 640px) { .main-container { padding: 0 16px; }
.main-index-wrapper { padding-top: 80px !important; }
.hero-wrapper { padding-top: 15px; }
.tools-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feed-section-box, .marketing-tools-box { padding: 18px 14px; border-radius: var(--radius-md); }
.feed-resource-grid, .marketing-tool-grid { grid-template-columns: 1fr; gap: 12px; }
.feed-resource-card { padding: 16px; gap: 14px; }
.feed-resource-icon { width: 44px; height: 44px; flex-basis: 44px; border-radius: 12px; }
.feed-resource-head { flex-direction: column; align-items: flex-start; }
.marketing-tool-card { min-height: 0; padding: 16px; }
.tool-card-item { padding: 14px 12px; }
.tool-card-item > div:first-child { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; margin-bottom: 8px; }
.tool-card-top { margin-bottom: 0; flex-shrink: 0; align-items: center; gap: 4px; }
.tool-icon-wrap { width: 40px; height: 40px; font-size: 1.15rem; border-radius: 10px; }
.tool-card-title { font-size: 1.2rem; font-weight: 800; margin: 0; line-height: 1.3; flex: 1; text-align: left; word-break: keep-all; }
.badge-new { top: 10px; right: 10px; font-size: 0.65rem; padding: 2px 6px; }
.badge-new ~ .badge-new { right: 48px; }
.tool-card-desc { display: none; }
.tool-card-bottom { padding-top: 8px; }
.tag-pill { font-size: 0.74rem; padding: 2px 6px; }
.free-images-box { padding: 18px 14px; border-radius: var(--radius-md); }
.search-keywords-row { margin-bottom: 16px; gap: 6px; }
.keyword-pill { font-size: 0.78rem; padding: 4px 10px; }
.free-gallery-grid { grid-template-columns: 1fr; }
.hero-fallback-bg { padding: 28px 20px; min-height: 360px; }
.hero-badge-tag { font-size: 0.92rem; padding: 6px 14px; margin-bottom: 16px; }
.hero-main-title { font-size: 2.15rem; line-height: 1.25; margin-bottom: 14px; }
.hero-main-desc { font-size: 1.05rem; line-height: 1.6; margin-bottom: 24px; color: #cbd5e1; }
.btn-hero-primary, .btn-hero-secondary { font-size: 1rem; padding: 12px 22px; }
.stats-bar-card { grid-template-columns: 1fr 1fr; gap: 14px 8px; padding: 18px 12px; }
.stats-metric-item { gap: 10px; }
.metric-icon-box { width: 44px; height: 44px; font-size: 1.25rem; border-radius: 12px; }
.metric-info .metric-label { font-size: 0.85rem; font-weight: 700; color: #cbd5e1; letter-spacing: -0.3px; white-space: nowrap; }
.metric-info .metric-val { font-size: 1.35rem; font-weight: 800; color: #ffffff; }
.metric-info .metric-unit { font-size: 0.85rem; font-weight: 600; }
.section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
