@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard';
    scroll-behavior: smooth;
}

html{
    overflow-x: hidden; 
}

:root {
    --background-color: #000000;
    --text-color: #ffffff;
    --accent-color: #01FF75;
    --secondary-color: rgba(1, 255, 117, 0.1);
    --transition: all 0.3s ease;
    
    /* 폰트 굵기 변수 */
    --font-medium: 500;
    --font-bold: 700;
    --font-black: 900;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: var(--font-medium);
    /* cursor: url('../img/coser.png') 2 2, auto; */
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 공통 섹션 스타일 */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 40px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    font-weight: var(--font-black);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

/* 공통 버튼 스타일 */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: var(--font-bold);
    transition: var(--transition);
    border: 2px solid var(--accent-color);
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
}

/* 공통 폼 스타일 */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-color);
    transition: var(--transition);
    font-weight: var(--font-medium);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

.page-banner {
    height: 300px;
    background-color: var(--background-color);
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 80px; /* 헤더 높이만큼 마진 추가 */
}

.page-banner::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    filter: blur(100px);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.page-banner h1 {
    font-size: 48px;
    font-weight: var(--font-black);
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

/* 헤더 스타일 */
header {
    padding: 30px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.9);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: var(--font-black);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 30px;
}

.menu a {
    font-weight: var(--font-medium);
/* 먹통되면 아래 2줄 삭제 */
    position: relative;
    display: inline-block;
}

/* 먹통되면 애프터,호버 삭제 */
.menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

/* 호버 시 밑줄이 왼쪽에서 오른쪽으로 늘어나는 효과 */
.menu a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* 히어로 섹션 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    filter: blur(80px);
    bottom: -100px;
    left: -100px;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    filter: blur(60px);
    top: 100px;
    right: -50px;
    z-index: -1;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: var(--font-black);
}

.hero-title span {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    /* opacity: 0.8; */
    font-weight: var(--font-medium);
}

.hero-subtitle span {
    color: var(--accent-color);
}

/* 히어로 섹션 버튼 스타일 */
.hero-btns {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
}

.main-project-more-btn {
    display: block; /* inline-block → block으로 변경 */
    width: fit-content;
    margin: 40px auto 40px auto; /* 중앙 정렬 */
    padding: 12px 24px;
    /* box-shadow: 0 0 15px rgba(1, 255, 117, 0.6) !important; */
    border: 2px solid rgba(1, 255, 117, 0.4) !important;
    background: rgba(1, 255, 117, 0.1) !important;
    color: #01FF75;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.main-project-more-btn:hover {
    box-shadow: 0 0 20px rgba(1, 255, 117, 0.7) !important;
    border-color: #01FF75;
    background: rgba(1, 255, 117, 0.15) !important;
    transform: translateY(-2px);
}


/* 디자인 섹션 스타일 수정 */
.design-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.design-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.design-img {
    width: 100%;
    height: 300px; /* 100% 대신 고정값 */
    object-fit: cover;
    transition: var(--transition);
}



.design-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(1, 255, 117, 0.05) 50%,
        transparent 70%
    );
    animation: hologram-scan 3s infinite linear;
    pointer-events: none;
    z-index: 2;
}

@keyframes hologram-scan {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(200%) skewX(-15deg); }
}


/* 개선된 오버레이 */
.design-overlay {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(1, 255, 117, 0.1) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    border-radius: 4px;
}

/* 호버 시 오버레이 효과 */
.design-item:hover .design-overlay {
    opacity: 1;
   background: rgba(0, 0, 0, 0.8); /* 그라데이션 없이 단순 검은 배경 */;
    border: 2px solid rgba(1, 255, 117, 0.6);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(1, 255, 117, 0.9);
}

/* 개선된 이미지 효과 */
.design-item .design-img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1);
     transform-origin: 50% 50%; /* 정확히 중앙 지정 */
    will-change: transform; /* 브라우저 최적화 힌트 */
}

.design-item:hover .design-img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(1.2) contrast(1.3) saturate(1.2);
    box-shadow: 0 0 25px rgba(1, 255, 117, 0.4);
    transform: scale(1.15) translateZ(0); /* translateZ(0)로 GPU 가속 */
}

/* 홀로그램 강화 (호버 시) */
.design-item:hover::before {
    background: linear-gradient(
        45deg,
        transparent 20%,
        rgba(1, 255, 117, 0.12) 50%,
        transparent 80%
    );
    animation-duration: 0.8s;
}

/* 오버레이 내 텍스트 효과 추가 */
.design-overlay h3 {
    text-shadow: 0 0 10px rgba(1, 255, 117, 0.8);
    transition: all 0.3s ease;
    margin-bottom: 0px !important;
}

.design-overlay p {
    text-shadow: 0 0 5px rgba(1, 255, 117, 0.6);
    transition: all 0.3s ease;
    margin-top: 0px;
}

.design-item:hover .design-overlay h3 {
    transform: translateY(-5px);
    text-shadow: 0 0 15px rgba(1, 255, 117, 1);
}

.design-item:hover .design-overlay p {
    transform: translateY(5px);
    text-shadow: 0 0 10px rgba(1, 255, 117, 0.8);
}

.design-title {
    margin-bottom: 10px;
    font-size: 28px;
    color: var(--accent-color);
    font-weight: var(--font-bold);
}

.design-sub {
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--text-color);
    font-weight: var(--font-medium);
    line-height: 1.4; /* 줄 간격 조정 */
}

/* 소개 섹션 */
.about {
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    filter: blur(100px);
    bottom: 0;
    right: -200px;
    z-index: -1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    width: 100%;
    border-radius: 8px;
    position: relative;
}

.about-img::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--accent-color);
    border-radius: 8px;
    z-index: -1;
}

.about-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: var(--font-bold);
}

.about-info p {
    margin-bottom: 20px;
    font-weight: var(--font-medium);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.skill {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: var(--font-medium);
}

.skill-main {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: var(--font-bold);
}

/* 소개 섹션 상세보기 모달 아이콘 스타일 */
.category-icon {
    font-size: 18px !important;
    margin-right: 15px !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(1, 255, 117, 0.1) !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #01FF75 !important; /* NFP 시그니쳐 컬러 추가 */
    border: 1px solid rgba(1, 255, 117, 0.3) !important; /* 테두리도 추가 */
}

/* 카테고리 오버레이 */

 /* 카테고리 오버레이 스타일 (전역에서 쓰이게끔) */
.highlight-card .category-overlay {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px; /* 10px → 11px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    line-height: 1; /* 추가 - 텍스트 높이 정규화 */
    
}

/* 하이라이트 카드 호버 시 카테고리 오버레이 변경 */
.highlight-card:hover .category-overlay {
    background: linear-gradient(135deg, var(--accent-color), rgba(1, 255, 117, 0.8));
    color: var(--background-color);
    border-color: var(--accent-color);
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(1, 255, 117, 0.4);
}






/* 카테고리 탭 */
.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.category-tab {
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-tab:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
}

.category-tab.active {
    background-color: var(--accent-color);
    color:var(--background-color);
}

/* 제품 상세보기 */
.view-work {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 8px 16px;
    border-radius: 4px;
    height: 45px;
    width: 100px;
    font-weight: var(--font-bold);
    line-height: 29px; /* 세로 중앙 정렬 (60px - padding 16px = 44px) */
    font-size: 16px;
    transition: var(--transition);
    border: 1px solid transparent; /* 투명한 테두리 추가 */
    margin-top: 20px;
}

.view-work:hover {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* 작업물 그리드 */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    transition: var(--transition);
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 배경만 어둡게 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
    visibility: visible;
}

.work-item:hover img {
    transform: scale(1.2);
}

.work-overlay h3 {
    font-size: 22px;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: var(--font-bold);
}

.work-overlay p {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* 문의하기 섹션 */
.cta-section {
    background-color: rgba(1, 255, 117, 0.05);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    filter: blur(80px);
    bottom: -100px;
    right: -100px;
    z-index: -1;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: var(--font-bold);
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 18px;
    opacity: 0.8;
}

/* NFP 배너 슬라이더 - translateX 방식 */
.banner-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.banner-slider {
    display: flex;
    width: 500%; /* 5개 슬라이드 = 500% */
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.banner {
    width: 20%; /* 100% ÷ 5개 = 20% */
    height: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0; /* 중요: 슬라이드 크기 고정 */
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* NFP 배너 버튼 */
.banner-btn {
    position: absolute;
    top: calc(100px + 365px); /* 헤더 높이 + 배너 높이/2 추정값 */
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--background-color);
    color: var(--accent-color);
    border: 2px solid rgba(1, 255, 117, 0.6);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 200;
    transition: all 0.3s ease;
    border-style: solid;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

 

.banner-btn:hover {
    box-shadow: 0 0 25px rgba(1, 255, 117, 0.8);
    transform: translateY(-50%) scale(1.1);

    background-color: var(--background-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.prev-btn {
    /* left: 15px; */
    left: calc((100vw - 1200px) / 2 - 45px); /* 1200px 컨테이너 왼쪽 밖 60px */
}

.next-btn {
    /* right: 15px; */
     right: calc((100vw - 1200px) / 2 - 45px); /* 1200px 컨테이너 오른쪽 밖 60px */
}

/* NFP 배너 도트 */
.banner-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;     /* absolute → relative */
    margin-top: 25px;       /* bottom: 25px 대신 margin-top */
    /* left, transform 제거 */
    z-index: 100;
}

.banner-dots .banner-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.banner-dots .banner-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(1, 255, 117, 0.8);
}


.banner-dots .banner-dot:hover {
    background-color: var(--accent-color);
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(1, 255, 117, 0.8);
}
/* 소식섹션 */
/* 소식 섹션 스타일 */
.news {
    position: relative;
}

.news::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    filter: blur(80px);
    top: 50%;
    left: -150px;
    z-index: -1;
}

.news-header {
    display: flex;
    justify-content: center; /* 일단 중앙 정렬로 설정 */
    align-items: center;
    position: relative; /* 버튼의 절대 위치 기준 */
    margin-bottom: 40px;
}

.btn-more {
    position: absolute;
    right: 0; /* 우측 정렬 */
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 4px;
}

.btn-more:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 뉴스 리스트 스타일 */
.news-list {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    transition: var(--transition);
}

.news-link:hover {
    background-color: rgba(1, 255, 117, 0.05);
}

.news-title {
    font-size: 16px;
    font-weight: var(--font-medium);
}

.news-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 연락처 섹션 */
.contact {
    background-color: rgba(1, 255, 117, 0.05);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

/* 플로팅 버튼 스타일 */

.post-title .title-text {
    color: white;
}

/* 마크다운 에디터에서 업로드한 이미지만 타겟 */
.post-body img[src^="/img/uploads/"] {
    /* 이미지 비율 처리 , 원본의 절반 크기로 줄여져서 게시글에 보여짐*/
    max-width: 70% !important; 
    height: auto !important;
    margin-bottom: 20px !important;
    display: block;
    border-radius: 4px; /* 선택사항: 모서리 둥글게 */
}

/* 본문 동영상 컨테이너 스타일 */
.post-body .video-container {
    position: relative; 
    margin-bottom: 20px !important;
    overflow: hidden; 
    padding-bottom: 39.375%; /* 56.25% × 0.7 = 39.375% */
    width: 70%;
    height: 0; /* 필수! */
}

/* 본문 동영상 스타일 */
.post-body .video-container iframe {
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}


.post-body .video-link {
    text-align: center; /* left → center */
    margin: 12px 0; /* margin-top, margin-bottom 통합 */
    font-size: 16px; /* 18px → 16px (버튼에 적합한 크기) */
    transition: all 0.3s ease;
    background: var(--background-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px; /* 추가: 버튼 모서리 둥글게 */
    padding: 12px 20px; /* 추가: 내부 여백 */
    display: inline-block; /* 추가: 버튼 형태 */
    width: fit-content; /* 추가: 콘텐츠에 맞는 너비 */
    max-width: 100%; /* 추가: 반응형 대응 */
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-body .video-link a {
    color: var(--accent-color);
    text-decoration: none;
    display: block; /* width: auto → display: block */
    font-weight: 500; /* 추가: 버튼 텍스트 강조 */
    transition: all 0.3s ease;
}

.video-link .link-icon {
    color: var(--accent-color);
    margin-right: 6px; /* 추가: 아이콘과 텍스트 간격 */
    transition: all 0.3s ease;
}

.video-link:hover{
    background: var(--accent-color); /* 추가: 호버 시 배경 변경 */
    transform: translateY(-2px); /* 추가: 호버 애니메이션 */
    box-shadow: 0 4px 12px rgba(1, 255, 117, 0.3); /* 추가: 글로우 효과 */
}

.video-link:hover a,
.video-link:hover .link-icon {
    color: var(--background-color);
}


/* 게시글 태그 섹션 스타일 */
.post-tags-section {
    margin: 40px 0 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tags-container .project-scale-badge {
    background: rgba(1, 255, 117, 0.2);
    border: 1px solid rgba(1, 255, 117, 0.3);
    color: #01FF75;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
    letter-spacing: 0.5px;
    margin-right: 4px;
    margin-bottom: 12px;
    line-height: 1;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

/* 호버 전 글로우 효과 */
.tags-container .project-scale-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(1, 255, 117, 0.2), transparent);
    transition: left 0.5s ease;
}

.tags-container .project-scale-badge:hover {
    background: linear-gradient(135deg, rgba(1, 255, 117, 0.15), rgba(1, 255, 117, 0.25));
    color: #00FF88;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(1, 255, 117, 0.3),
        0 0 20px rgba(1, 255, 117, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(1, 255, 117, 0.6);
    backdrop-filter: blur(10px);
}

/* 호버 시 반짝이는 효과 */
.tags-container .project-scale-badge:hover::before {
    left: 100%;
}

/* 액티브 상태 */
.tags-container .project-scale-badge:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

.post-content .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 20px; /* 본문과의 간격 */
}


/* 웹 데모 플레이스홀더 (전체 게시판용) - 프로그래밍 게시판과 완전히 동일 */
.demo-placeholder-all {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* 1줄 제한 추가 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* 서브카테고리별 배경 색상 (프로그래밍 게시판과 동일) */
.demo-placeholder-all[data-subcategory="프론트엔드"] {
    background: linear-gradient(135deg, #61dafb 0%, #21759b 100%);
}

.demo-placeholder-all[data-subcategory="백엔드"] {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.demo-placeholder-all[data-subcategory="웹 퍼블리싱"] {
    background: linear-gradient(135deg, #ff6d00 0%, #e65100 100%);
}

.demo-placeholder-all[data-subcategory="모바일 앱"] {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.demo-placeholder-all[data-subcategory="게임 개발"] {
    background: linear-gradient(135deg, #00F0FF 0%, #FFF200 100%);
}

/* 기본 프로그래밍 색상 */
.demo-placeholder-all:not([data-subcategory]),
.demo-placeholder-all[data-subcategory=""] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.demo-placeholder-all .demo-icon {
    font-size: 38px; /* 32px → 38px */
    margin-bottom: 10px; /* 8px → 10px */
    opacity: 0.9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-placeholder-all .demo-label {
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-placeholder-all .demo-type {
    font-size: 14px; /* 12px → 14px */
    font-weight: bold;
    margin-bottom: 3px; /* 2px → 3px */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-placeholder-all .demo-tech {
    font-size: 11px; /* 10px → 11px */
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 영상 플레이스홀더 (재생 버튼 제거) */
.video-placeholder-all {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-placeholder-all i {
    font-size: 32px;
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-placeholder-all span {
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 카테고리별 플레이스홀더 */
.category-placeholder-all {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 부드러운 애니메이션 */
}

.category-placeholder-all[data-category="web"] {
    background: linear-gradient(135deg, #4834d4 0%, #686de0 100%);
}

.category-placeholder-all[data-category="content"] {
    background: linear-gradient(135deg, #00d2d3 0%, #54a0ff 100%);
}

.category-placeholder-all[data-category="creative"] {
    background: linear-gradient(135deg, #ff9ff3 0%, #f368e0 100%);
}

.category-placeholder-all[data-category="video"] {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.category-placeholder-all[data-category="ad"] {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
}

.category-placeholder-all[data-category="programming"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 웹 데모가 있는 경우 카테고리 플레이스홀더 숨기기 */
.board-all-item .demo-placeholder-all[data-subcategory] ~ .category-placeholder-all[data-category="programming"] {
    display: none;
}

.category-placeholder-all i {
    font-size: 32px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.category-placeholder-all span {
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* 호버 효과 - 프로그래밍 게시판과 동일한 서브카테고리별 색상 변화 */
.board-all-item:hover .demo-placeholder-all[data-subcategory="프론트엔드"] {
    background: linear-gradient(135deg, #81e5ff 0%, #3a8bb5 100%);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 4px 15px rgba(97, 218, 251, 0.3);
}

.board-all-item:hover .demo-placeholder-all[data-subcategory="백엔드"] {
    background: linear-gradient(135deg, #66bb6a 0%, #4a7c59 100%);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.board-all-item:hover .demo-placeholder-all[data-subcategory="웹 퍼블리싱"] {
    background: linear-gradient(135deg, #ff8a50 0%, #ff7043 100%);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 109, 0, 0.3);
}

.board-all-item:hover .demo-placeholder-all[data-subcategory="모바일 앱"] {
    background: linear-gradient(135deg, #ef5350 0%, #f44336 100%);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.board-all-item:hover .demo-placeholder-all[data-subcategory="게임 개발"] {
    background: linear-gradient(135deg, #33f3ff 0%, #ffff33 100%);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.board-all-item:hover .demo-placeholder-all:not([data-subcategory]),
.board-all-item:hover .demo-placeholder-all[data-subcategory=""] {
    background: linear-gradient(135deg, #7c7ce6 0%, #8a5aa8 100%);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 4px 15px rgba(124, 124, 230, 0.2);
}

/* 공통 호버 효과 */
.board-all-item:hover .demo-placeholder-all .demo-icon {
    transform: scale(1.1);
    opacity: 1;
}

.board-all-item:hover .demo-placeholder-all .demo-type {
    transform: translateY(-1px);
}

.board-all-item:hover .demo-placeholder-all .demo-tech {
    opacity: 1;
    letter-spacing: 2px;
}

.board-all-item:hover .demo-placeholder-all .demo-icon {
    transform: scale(1.1);
    opacity: 1;
}

.board-all-item:hover .demo-placeholder-all .demo-type {
    transform: translateY(-1px);
}

.board-all-item:hover .demo-placeholder-all .demo-tech {
    opacity: 1;
}

.board-all-item:hover .video-placeholder-all {
    background: linear-gradient(135deg, #ff8787 0%, #f56042 100%);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

.board-all-item:hover .video-placeholder-all i {
    transform: scale(1.1);
    opacity: 1;
}

.board-all-item:hover .video-placeholder-all span {
    transform: translateY(-1px);
}

.board-all-item:hover .category-placeholder-all {
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.board-all-item:hover .category-placeholder-all i {
    transform: scale(1.1);
}


/* 뉴스레터 스타일*/
.newsletter-section {
    background: linear-gradient(135deg, rgba(1, 255, 117, 0.1), rgba(0, 0, 0, 0.95));
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(1, 255, 117, 0.2);
}

.newsletter-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(1, 255, 117, 0.08);
    border-radius: 50%;
    filter: blur(100px);
    top: -100px;
    right: -100px;
    z-index: -1;
}

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

.newsletter-header {
    margin-bottom: 40px;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}


.newsletter-title span{
  color: var(--accent-color);  
  font-weight: 900;
}

.newsletter-title i {
    font-size: 28px;
}

.newsletter-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 40px;
}

.input-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    border: 2px solid rgba(1, 255, 117, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-bottom: 25px;
}

.input-wrapper:hover,
.input-wrapper:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(1, 255, 117, 0.3);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 15px 20px;
    color: white;
    font-size: 16px;
    border-radius: 46px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-submit {
    background: var(--accent-color);
    border: none;
    border-radius: 46px;
    padding: 15px 30px;
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-submit:hover {
    background: #00e066;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 255, 117, 0.4);
}

.submit-icon {
    transition: transform 0.3s ease;
}

.newsletter-submit:hover .submit-icon {
    transform: translateX(3px);
}

/* 관심 분야 선택 */
.interest-group {
    margin: 25px 0;
    text-align: left;
}

.interest-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 500;
}

.interest-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(1, 255, 117, 0.2);
}

.interest-item:hover {
    background: rgba(1, 255, 117, 0.1);
    border-color: var(--accent-color);
}

.interest-item input[type="checkbox"] {
    display: none;
}

.interest-item .checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid var(--accent-color);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.interest-item input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
}

.interest-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: black;
    font-size: 10px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 개인정보 동의 */
.newsletter-privacy {
    margin: 20px 0;
    text-align: left;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.privacy-checkbox input[type="checkbox"] {
    display: none;
}

.privacy-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--accent-color);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
}

.privacy-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: black;
    font-size: 12px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.privacy-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.privacy-text a:hover {
    color: #00e066;
}

/* 폼 메시지 */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: rgba(1, 255, 117, 0.2);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.form-message.error {
    background: rgba(255, 69, 58, 0.2);
    border: 1px solid #ff453a;
    color: #ff453a;
}

/* 구독 혜택 */
.newsletter-benefits {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(1, 255, 117, 0.2);
}

.benefits-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color-);
    margin-bottom: 20px;
    text-align: center;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.5;
}

.benefits-list i {
    color: var(--accent-color);
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

/* 공지사항 배지 스타일 */
.notice-badge {
    color: #01FF75;
    font-weight: 600;
    margin-right: 5px;
}






/* 반응형 디자인 */
@media (max-width: 991px) {
    .hero-title {
        font-size: 48px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-img {
        order: -1;
        max-width: 500px;
        margin: 0 auto 30px;
    }

    .design-item .view-work {
        height: 35px !important;
        width: 80px !important;
        font-size: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0px;
    }

    /* 모바일에서 이미지 비율 */
.post-body img[src^="/img/uploads/"] {
    /* 이미지 비율 처리 , 원본의 절반 크기로 줄여져서 게시글에 보여짐*/
    max-width: 75% !important; 
    height: auto !important;
    margin-bottom: 20px !important;
    display: block;
    border-radius: 4px; /* 선택사항: 모서리 둥글게 */
}
}

@media (max-width: 768px) {





    /* 본문 동영상 컨테이너 스타일 */
.post-body .video-container {
    position: relative; 
    margin-bottom: 20px !important;
    overflow: hidden; 
    padding-bottom: 56.25%; /* 56.25% × 0.7 = 39.375% */
    width: 100%;
    height: 0; /* 필수! */
}

/* 본문 동영상 스타일 */
.post-body .video-container iframe {
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.post-body .video-link {
    text-align: left;
    margin-top: 6px;
    font-size: 12px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

 
   
    .newsletter-section {
        padding: 60px 0;
    }
    
    .newsletter-title {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-description {
        font-size: 16px;
    }
    
    .input-wrapper {
        flex-direction: column;
        border-radius: 12px;
        padding: 8px;
    }
    
    .newsletter-input {
        border-radius: 8px;
        margin-bottom: 8px;
    }
    
    .newsletter-submit {
        border-radius: 8px;
        justify-content: center;
    }
    
    .interest-checkboxes {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .interest-item {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .newsletter-benefits {
        padding: 20px;
    }
    
    .benefits-list li {
        font-size: 14px;
    }

    /* 게시글 썸네일 기본 스타일 */
     .demo-placeholder-all .demo-icon,
    .video-placeholder-all i,
    .category-placeholder-all i {
        font-size: 32px; /* 28px → 32px */
        margin-bottom: 8px; /* 6px → 8px */
    }
    
    .demo-placeholder-all .demo-type,
    .video-placeholder-all span,
    .category-placeholder-all span {
        font-size: 12px; /* 11px → 12px */
    }
    
    .demo-placeholder-all .demo-tech {
        font-size: 10px; /* 9px → 10px */
    }
    
    .video-overlay-all {
        font-size: 32px; /* 28px → 32px */
    }
    
    .section {
        padding: 40px 0;
    }
    .btn {
    padding: 12px 16px !important; 
    border-radius: 4px !important;
    font-size: 14px !important;
    }

    .btn-more {
    padding: 8px 14px !important; 
    border-radius: 4px !important;
    font-size: 14px !important;
    }

    .news-title {
    font-size: 13px;
    }


    .news-link{
        padding: 6px 8px;
    }

    .news-content{
        gap: 5px    ;
    }

    .tags-container .project-scale-badge{
    font-size: 12px;
    padding: 6px 10px;
    }


    .section-title {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 700;
    }

    .about-info h3{
        font-size: 22px;
        margin-bottom: 10px;
    }

    .about-info p{
        font-size: 13px;
        font-weight: 400;
        color: #cccccc;
    }

    /* 1. 히어로 섹션 버튼 모바일 최적화 - 강제 적용 */
    .hero .hero-content .hero-btns .about-buttons {
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }
    
    .hero .hero-content .hero-btns .btn .about-buttons {
        flex: 1 !important;
        max-width: 140px !important;
        text-align: center !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        width: auto !important;
    }
    
    .hero .hero-content .hero-btns .btn-outline .about-buttons {
        margin-left: 0 !important;
        flex: 1 !important;
        max-width: 140px !important;
        width: auto !important;
    }

    /* 2. 플로팅 버튼 모바일 위치 조정 */
    .floating-buttons {
        top: 65%; /* 모바일에서 더 아래로 */
        right: 20px; /* 오른쪽 여백 줄임 */
    }
    
    .floating-btn {
        width: 50px; /* 모바일에서 버튼 크기 축소 */
        height: 50px;
        font-size: 12px;
    }

    /* 3. 프로젝트 섹션 2x3 그리드 */
    .design-grid {
        grid-template-columns: repeat(2, 1fr); /* 2열로 변경 */
        gap: 20px; /* 간격 줄임 */
    }

      .design-img {
        /* height: 250px; */
        height: 160px; /* 적당한 크기로 */
        object-fit: cover;
        object-position: center;
    }
    
    .design-item {
        height: 200px; /* 높이 조정 */
    }
    
    .design-title {
        font-size: 16px; /* 제목 크기 조정 */
    }
    
    .design-sub {
        font-size: 12px; /* 설명 크기 조정 */
        line-height: 1.2;
        margin-bottom: 0; /* 모바일에서도 명시적으로 0 */
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background-color: var(--background-color);
        width: 80%;
        height: 100vh;
        padding: 80px 50px;
        z-index: 100;
        transition: var(--transition);
    }

    .menu.active {
        right: 0;
    }
    
    .menu li {
        margin: 20px 0;
    }
    
    .menu-btn {
        display: block;
        z-index: 200;
    }
    
    .hero-title {
        font-size: 36px;
    }

     /* 소식 섹션 모바일 스타일 */
     .news-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    
    
    /* 모바일 배너 정사각형 비율 */
    .banner-container {
        position: relative;
        width: 100%;
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 8px;
    }
    
    .banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .banner-dots {
        /* bottom: 20px; */
        margin-bottom: 0px;
    }

    .banner-dots .banner-dot {
    width: 8px;
    height: 8px;
    }
    
    .news-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .news-date {
        font-size: 12px;
    }

    /* 모바일 배너 버튼 최적화 */
    .banner-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
        top: calc(100px + 310px);
        /* pc에서 볼땐 310이 맞는데, 모바일에서 보면 340이 맞았음 */
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }

/* 포트폴리오 아이템 링크 스타일 */
.design-item a {
    display: block;
    width: 100%;
    height: auto;
}

/* 모바일에서 스킬들 좀 작아지게 */
.skill {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: var(--font-medium);
}

.skill-main {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: var(--font-bold);
}

}

@media (max-width: 576px) {
    .demo-placeholder-all .demo-icon,
    .video-placeholder-all i,
    .category-placeholder-all i {
        font-size: 28px; /* 24px → 28px */
        margin-bottom: 6px; /* 4px → 6px */
    }
    
    .demo-placeholder-all .demo-type,
    .video-placeholder-all span,
    .category-placeholder-all span {
        font-size: 11px; /* 10px → 11px */
    }
    
    .demo-placeholder-all .demo-tech {
        font-size: 9px; /* 8px → 9px */
    }
    
    .video-overlay-all {
        font-size: 28px; /* 24px → 28px */
    }

    .main-project-more-btn {
    display: block; /* inline-block → block으로 변경 */
    width: fit-content;
    margin: 16px auto 20px auto; /* 중앙 정렬 */
    padding: 12px 18px;
    /* box-shadow: 0 0 15px rgba(1, 255, 117, 0.6) !important; */
    border: 2px solid rgba(1, 255, 117, 0.4) !important;
    background: rgba(1, 255, 117, 0.1) !important;
    color: #01FF75;
    text-decoration: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-body .video-link {
    text-align: center; /* left → center */
    margin: 6px 0; /* margin-top, margin-bottom 통합 */
    font-size: 13px; /* 18px → 16px (버튼에 적합한 크기) */
    transition: all 0.3s ease;
    background: var(--background-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px; /* 추가: 버튼 모서리 둥글게 */
    padding: 4px 8px; /* 추가: 내부 여백 */
    display: inline-block; /* 추가: 버튼 형태 */
    width: fit-content; /* 추가: 콘텐츠에 맞는 너비 */
    max-width: 100%; /* 추가: 반응형 대응 */
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-link:hover{
    background: var(--accent-color); /* 추가: 호버 시 배경 변경 */
    transform: translateY(-2px); /* 추가: 호버 애니메이션 */
    box-shadow: 0 4px 12px rgba(1, 255, 117, 0.3); /* 추가: 글로우 효과 */
}

.video-link:hover a,
.video-link:hover .link-icon {
    color: var(--background-color);
}

/* 모바일에서 이미지 비율 */
.post-body img[src^="/img/uploads/"] {
    /* 이미지 비율 처리 , 원본의 절반 크기로 줄여져서 게시글에 보여짐*/
    max-width: 75% !important; 
    height: auto !important;
    margin-bottom: 20px !important;
    display: block;
    border-radius: 4px; /* 선택사항: 모서리 둥글게 */
}
/* 뉴스레터 */
 .newsletter-content {
        padding: 0 10px;
    }
    
    .newsletter-title {
        font-size: 22px;
    }
    
    .benefits-title {
        font-size: 18px;
    }

     .banner .mobile_img {
        display: block;
    }
    
    .banner .pc_img {
        display: none;
    }


}


