@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* 기본 설정 */
:root {
    --purple: #8b5cf6;
    --pink: #ec4899;
    --blue: #3b82f6;
    --mint: #10b981;
    --yellow: #fbbf24;
    --orange: #fb923c;
    --bitcoin: #f7931a;
    --bg-white: #ffffff;
    --text-black: #18181b;
    --text-gray: #71717a;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-bitcoin: linear-gradient(135deg, #f7931a 0%, #ffb84d 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    background: var(--bg-white);
    color: var(--text-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 배경 장식 요소 */
.bg-decoration {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: -1;
    animation: float 20s infinite ease-in-out;
}

.bg-decoration.one {
    background: var(--purple);
    top: -150px;
    left: -150px;
}

.bg-decoration.two {
    background: var(--pink);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.bg-decoration.three {
    background: var(--mint);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* 헤더 */
header {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::after {
    content: "✨";
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 관리자 버튼 */
.admin-btn {
    background: var(--gradient-1);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600 !important;
    transition: transform 0.3s !important;
}

.admin-btn:hover {
    transform: scale(1.05);
}

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

/* 히어로 섹션 */
.hero {
    padding: 5rem 2rem 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--gradient-4);
    border-radius: 30px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    display: block;
    font-size: 3rem;
    margin-top: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* 카테고리 - 알약 스타일 */
.categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem auto;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.category-pill {
    padding: 0.7rem 1.8rem;
    background: white;
    border: 2px solid transparent;
    border-radius: 30px;
    color: var(--text-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.category-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: white;
}

.category-pill:hover::before {
    opacity: 1;
}

.category-pill.active {
    background: var(--gradient-1);
    color: white;
}

/* 블로그 그리드 - 벤토 스타일 */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
    min-height: 400px;
    justify-content: center;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-gradient-border {
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #ffc857 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.blog-card:hover .card-gradient-border {
    opacity: 1;
    animation: gradient-rotate 3s linear infinite;
}

@keyframes gradient-rotate {
    0% { background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #ffc857 100%); }
    25% { background: linear-gradient(135deg, #764ba2 0%, #f093fb 25%, #f5576c 50%, #ffc857 75%, #667eea 100%); }
    50% { background: linear-gradient(135deg, #f093fb 0%, #f5576c 25%, #ffc857 50%, #667eea 75%, #764ba2 100%); }
    75% { background: linear-gradient(135deg, #f5576c 0%, #ffc857 25%, #667eea 50%, #764ba2 75%, #f093fb 100%); }
    100% { background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #ffc857 100%); }
}

.blog-card:hover {
    transform: translateY(-12px) scale(1.03) rotateX(2deg);
    box-shadow: 
        0 30px 60px -15px rgba(139, 92, 246, 0.3),
        0 25px 35px -20px rgba(0, 0, 0, 0.2);
}

.card-visual {
    height: 180px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
}

.card-visual .emoji-overlay {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    background: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--purple);
}

.card-content {
    padding: 1.8rem;
}

.card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 600;
}

.card-category {
    color: var(--purple);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.edit-btn, .delete-btn {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.edit-btn {
    background: var(--blue);
    color: white;
}

.delete-btn {
    background: #ef4444;
    color: white;
}

.edit-btn:hover, .delete-btn:hover {
    transform: scale(1.05);
}

.read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
}

.card-arrow {
    width: 32px;
    height: 32px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: transform 0.3s;
}

.blog-card:hover .card-arrow {
    transform: translateX(5px);
}

/* 새 글 작성 버튼 */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s;
    border: none;
    z-index: 90;
}

.fab:hover {
    transform: scale(1.1) rotate(90deg);
}

.fab.active {
    display: flex;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-modal {
    width: 30px;
    height: 30px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.close-modal:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-cancel, .btn-save {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel {
    background: #f3f4f6;
    color: var(--text-gray);
}

.btn-save {
    background: var(--gradient-1);
    color: white;
}

.btn-cancel:hover, .btn-save:hover {
    transform: translateY(-2px);
}

/* 빈 상태 메시지 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* 콘텐츠 스타일 개선 */
.content-wrapper {
    line-height: 1.8;
    font-size: 1.05rem;
}

.content-wrapper h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--purple);
    border-left: 4px solid var(--purple);
    padding-left: 1rem;
}

.content-wrapper h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem;
    color: var(--text-black);
}

.content-wrapper p {
    margin-bottom: 1.2rem;
}

.content-wrapper strong {
    color: var(--purple);
    font-weight: 600;
}

.content-wrapper ul, .content-wrapper ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

.content-wrapper blockquote {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-left: 4px solid var(--purple);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    font-style: italic;
}

/* 하이라이트 박스 */
.highlight-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 2px solid #fbbf24;
}

.price-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 0.5rem;
}

.price-up {
    color: #10b981;
}

.price-down {
    color: #ef4444;
}

/* 차트 스타일 */
.chart-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin: 1.5rem 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-card {
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--purple);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 0.3rem;
}


/* 페이지 컨테이너 (about, privacy, terms 페이지용) */
.page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-content {
    line-height: 1.8;
    color: var(--text-black);
}

.page-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--purple);
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* 블로그 카드 이미지 및 콘텐츠 스타일 */
.blog-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: brightness(0.95);
}

.blog-card:hover .blog-image img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1) contrast(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 50%, 
        rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.blog-category-badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-category-badge.stock {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.blog-category-badge.economy {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.blog-category-badge.coin {
    background: linear-gradient(135deg, #ffc857, #ff9a00);
    color: white;
}

.blog-category-badge.education {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.blog-content {
    padding: 1.8rem;
    position: relative;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-emoji {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.blog-emoji.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.meta-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.blog-date {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 600;
}

.read-time {
    font-size: 0.8rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: #1f2937;
    transition: all 0.3s;
}

.blog-card:hover .blog-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-excerpt {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.hover-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8b5cf6;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.blog-card:hover .hover-indicator {
    gap: 1rem;
    color: #7c3aed;
}

.hover-indicator svg {
    transition: transform 0.3s;
}

.blog-card:hover .hover-indicator svg {
    transform: translateX(5px);
}

.engagement-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.engagement-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* 푸터 */
footer {
    background: linear-gradient(180deg, transparent, #fafafa);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-emoji {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--purple);
}

.copyright {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
}

/* 토스트 알림 */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gradient-1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 20px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s;
    z-index: 300;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* 태블릿 및 작은 노트북 */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.2rem;
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h1 span {
        font-size: 1.8rem;
    }
    
    .blog-container {
        padding: 0 0.8rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
        gap: 1rem;
    }
    
    .blog-card {
        width: 100%;
    }
    
    .card-visual {
        height: 140px;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-content h3 {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .card-meta {
        font-size: 0.75rem;
    }
    
    .categories {
        padding: 0 1rem;
    }
    
    .page-container {
        padding: 2rem 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

/* 작은 모바일 기기용 */
@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .blog-card {
        width: 100%;
    }
    
    .blog-container {
        padding: 0 0.5rem;
    }
    
    .card-visual {
        height: 120px;
    }
    
    .card-visual .emoji-overlay {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .card-content h3 {
        font-size: 0.85rem;
    }
}

/* 아주 작은 화면 (iPhone SE 등) */
@media (max-width: 375px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-visual {
        height: 150px;
    }
    
    .card-content h3 {
        font-size: 1rem;
    }
}