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

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@200;300;400;500;600;700;900&display=swap');

:root {
    --brand-blue: #4b74d8;
    --brand-blue-dark: #1f48a8;
    --brand-blue-light: #6495ed;
    --sepia-bg: #f5f0e8;
    --sepia-dark: #d4c5a9;
    --sepia-text: #3a3226;
    --warm-brown: #8b7355;
    --gold: #c9a959;
    --gold-light: #e8d5a0;
    --white: #ffffff;
    --shadow: rgba(58, 50, 38, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    font-weight: 400; 
    color: var(--sepia-text);
    
    /* 배경 관련 설정 필수 */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    animation: bgSlideshow 15s infinite;
	transition: background-image 1.5s ease-in-out;
}

/* 종이신문 텍스처 배경 - 오래된 신문 용지 느낌 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* 종이 결 - 가로 섬유 */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139, 115, 85, 0.09) 2px,
            rgba(139, 115, 85, 0.09) 3px
        ),
        /* 종이 결 - 세로 섬유 */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(120, 100, 70, 0.07) 3px,
            rgba(120, 100, 70, 0.07) 4px
        ),
        /* 신문 칼럼 구분선 */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 300px,
            rgba(139, 115, 85, 0.12) 300px,
            rgba(139, 115, 85, 0.12) 301px
        ),
        /* 오래된 종이 얼룩 느낌 */
        radial-gradient(ellipse at 20% 50%, rgba(180, 150, 100, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(160, 130, 80, 0.18) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(170, 140, 90, 0.15) 0%, transparent 45%),
        radial-gradient(ellipse at 10% 90%, rgba(150, 120, 70, 0.18) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* 중앙 종이색 페이드 (가로+세로 모두 좁힘) */
        radial-gradient(
            ellipse 32% 45% at calc(50% - 200px) center, 
            rgba(236, 227, 208, 0.92) 0%,
            rgba(236, 227, 208, 0.6) 70%,
            transparent 100%
        ),
        /* 가장자리 비네팅 */
        radial-gradient(ellipse at center, transparent 50%, rgba(100, 80, 50, 0.25) 100%);
		pointer-events: none;
		z-index: 0;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(248, 248, 248, 1.0);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px var(--shadow);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
	margin: 7px 4px; 
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 75px;
    width: auto;
}

.logo-badge {
    display: inline-block;
    padding: 8px 14px;
    background: linear-gradient(135deg, #1f48a8 0%, #00acc1 100%) !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
    border: none !important; 
    border-radius: 50px;
    letter-spacing: 0.05em;
    margin-left: 10px;
    white-space: nowrap;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(31, 72, 168, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

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

.nav > li {
    position: relative;
}

.nav > li > a {
    text-decoration: none;
    color: var(--sepia-text);
    font-weight: 600;
    font-size: 19px;
    padding: 10px 20px;
    display: block;
    transition: color 0.2s, background 0.2s;
    position: relative;
    border-radius: 4px;
}

.nav > li > a:hover,
.nav > li > a.active {
    color: var(--brand-blue);
    background: rgba(75, 116, 216, 0.06);
}

.nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav > li > a:hover::after {
    transform: scaleX(1);
}

/* 공모분야 드롭다운 */
.nav-dropdown {
    position: absolute;
    top: 65px;
    left: -21px;
    min-width: 145px;
    background: white;
    border: 1px solid var(--sepia-dark);
    border-top: 2px solid var(--brand-blue);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px var(--shadow);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 100;
}

.nav > li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 13px 5px;
    font-size: 14px;
    font-weight: 500;
    color: var(--sepia-text);
    text-decoration: none;
    transition: all 0.2s;
	text-align: center;
}

.nav-dropdown li a:hover {
    color: var(--brand-blue);
    background: rgba(75, 116, 216, 0.06);
    padding-left: 3px;
}

.nav-dropdown li a .dropdown-icon {
    margin-right: 4px;
}

/* 드롭다운 화살표 표시 */
/*
.has-dropdown > a::before {
    content: '▾';
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.5;
}
*/

/* 모바일 메뉴 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sepia-text);
    margin: 5px 0;
    transition: all 0.3s;
}

/* ===== Hero Section ===== */

/* 글자가 나타날 통로: 넘치는 글자는 숨김 */
.reveal-text {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: 8px;
}

/* 초기 상태: 아래로 100% 내려가 있고 투명함 */
.hero-title .hero-fade {
    display: inline-block;
    opacity: 0;
    transform: translateY(110%); 
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    will-change: transform;
}

/* 활성화 상태: 제자리로 올라옴 */
.hero-title .hero-fade.active {
    opacity: 1;
    transform: translateY(0);
}

/* 강조 단어 스타일 */
.hero-title .accent {
    color: var(--brand-blue-dark);
}

.hero-title .step-2 {
    display: inline-block;
    margin-right: 8px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-title .step-2:last-child {
    margin-right: 0;
}

.step-3 .hero-fade {
    transition-delay: 0s !important; 
}

.sync-group {
    display: block;
    width: 100%;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 120px 24px 80px;
    background:
        linear-gradient(
            to right, 
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.8) 45%,
            rgba(255, 255, 255, 0) 100%
        ),
        url('./img/newspaper-bg.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    margin: 90px 0 20px 0;
}

.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 32px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.02em;
    cursor: pointer;
}

.btn-primary {
    position: relative;
    overflow: hidden; 
    z-index: 1;
    background-color: #0fb3f0bf;
    color: #fff;
    border: 2px solid #0fb3f0;
    transition: all 0.4s ease;
	border-radius: 50px;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -5%; 
    width: 0;
    height: 0;
    background-color: #fff;
    border-radius: 50%; 
    transform: translate(-50%, -50%); 
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1; 
}

.btn-primary:hover::before {
    width: 500px; 
    height: 500px;
}

.btn-primary:hover {
    background-color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
    color: #0fb3f0;
}

.btn-primary .btn-icon {
    margin-left: 10px;
    font-size: 18px;
    font-style: normal;
}

.btn-outline::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -5%; 
    width: 0;
    height: 0;
    background-color: #0fb3f0;
    border-radius: 50%; 
    transform: translate(-50%, -50%); 
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1; 
}

.btn-outline:hover::before {
    width: 500px; 
    height: 500px;
}

.btn-outline:hover .btn-icon {
	transition: transform all 0.4s ease;
}

.hero-fade {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-fade.active {
    opacity: 1;
    transform: translateY(0);
}

.group-2 { transition-duration: 0.6s; }
.hero-content .group-2:nth-of-type(1) { transition-delay: 0.5s; }
.hero-content .group-2:nth-of-type(2) { transition-delay: 0.5s; }
.hero-content .group-2:nth-of-type(3) { transition-delay: 0.5s; }

#count-80 {
    display: inline-block;
    min-width: 1.2em; 
    font-variant-numeric: tabular-nums; 
    color: var(--brand-blue); 
	font-weight: 900;
}

/* 신문 칼럼 라인 장식 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(139, 115, 85, 0.2) 20%,
        rgba(139, 115, 85, 0.2) 80%,
        transparent 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 80px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--sepia-text);
    margin-bottom: 8px;
    word-break: keep-all;
	letter-spacing: -0.03em
}

.hero-title span {
    display: inline-block;
    vertical-align: top;
}

.hero-title .accent {
    /* color: var(--brand-blue); */
	color: var(--sepia-text);
}

.hero-slogan {
    font-family: 'Noto Serif KR', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--warm-brown);
    margin-bottom: 24px;
    word-break: keep-all;
}

.hero-desc {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin-top: 16px;
    word-break: keep-all;
	font-weight: 500;
}

.hero-period {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.hero-period .date {
    font-size: 20px;
}

/* 공모 기간 스타일링 */
.hero-period-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.period-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-blue);
    background-color: #dee1e7a1;
    padding: 6px 12px;
    border-radius: 4px;
}

.period-date {
    font-size: 20px; 
    font-weight: 500;
    color: var(--sepia-text);
    letter-spacing: 0.05em;
	color: #333;
}

.period-date .dash {
    margin: 0 5px;
    color: var(--brand-blue);
    font-weight: 700;
}

.btn-icon {
    margin-left: 8px;
    font-style: normal;
	transition: transform 0.5s ease;
}

.btn-outline:hover .btn-icon {
    transform: translateX(5px);
	transition: transform 0.5s ease;
}

.btn-primary .btn-icon {
    margin-left: 10px;
    font-size: 18px;
}

.btn-outline {
    background-position: 100% 0;
    background-size: 200% 100%;
	background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 1.0);
    cursor: pointer;
	color: #0fb3f0 !important; 
	position: relative;
    overflow: hidden; 
    z-index: 1;
    transition: all 0.4s ease;
	border-radius: 50px;
}

.btn-outline:hover {
    background-position: 0 0;
    border-color: #0fb3f0 !important;
    color: #ffffff !important; 
}

/* 스크롤 다운 화살표 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--warm-brown);
    border-bottom: 2px solid var(--warm-brown);
    transform: rotate(45deg);
    opacity: 0.5;
}

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

/* ===== Section Common ===== */
.section {
    position: relative;
    z-index: 1;
    padding: 152px 24px 200px;
}

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

.section-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-blue);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 38px;
    font-weight: 900;
    color: var(--sepia-text);
    margin-bottom: 16px;
    word-break: keep-all;
}

.section-desc {
    font-size: 18px;
    color: #777;
    max-width: 560px;
    margin: 0 auto;
    word-break: keep-all;
}

/* 신문 구분선 */
.divider {
    width: 60px;
    height: 3px;
    background: var(--brand-blue);
    margin: 20px auto;
}

/* ===== 공모전 카테고리 ===== */

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;   
    gap: 30px;             
    width: 100%;
}

/* 공모분야 각 버튼 */
.btn-category-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 45px;
    background-color: var(--brand-blue);
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;   
    text-decoration: none;
    letter-spacing: -0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(58, 50, 38, 0.08);
	letter-spacing: 0.4px;
}

.category-item:hover .btn-category-apply {
    background-color: #fff;
	color: var(--brand-blue);
    transform: translateY(-2px);
}

.btn-category-apply:active {
    transform: translateY(-1px);
}

.categories {
    /* background: var(--white); */
	background-image:url(./img/paper_bg.jpg);
	background-position:bottom;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    padding: 40px 28px;
    background: var(--sepia-bg);
    border: 1px solid var(--sepia-dark);
    text-align: center;
    transition: all 0.3s;
    overflow: hidden;
	width: 100%;
	height: 280px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	cursor: default;
}

.category-card > * {
    position: relative;
    z-index: 2;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transition: transform 0.3s;
	z-index: 3; 
}

.category-card::after {
	content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient( ellipse 50% 65% at center, 
                rgba(236, 227, 208, 0.7) 0%,
                rgba(236, 227, 208, 0.7) 80%,       
                transparent 100%),
				radial-gradient(ellipse at center, 
                transparent 60%,                    
                rgba(100, 80, 50, 0.25) 100%);
    transform: scale(1.1); 
    z-index: 1; 
	
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-number {
    font-family: 'Noto Serif KR', serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--brand-blue);
    opacity: 0.8;
    line-height: 1;
    margin-bottom: 8px;
}

.category-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.category-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--sepia-text);
    margin-bottom: 12px;
}

.category-desc {
    color: #1b2a41;
    line-height: 1.5;
}

/* ===== 상금 안내 ===== */
.prizes {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    color: white;
}

.prizes .section-label {
    color: var(--gold-light);
}

.prizes .section-title {
    color: white;
}

.prizes .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.prizes .divider {
    background: var(--gold);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.prize-card {
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.prize-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.prize-card.grand {
    border-color: var(--gold);
    background: rgba(201, 169, 89, 0.15);
}

.prize-rank {
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.prize-amount {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 4px;
}

.prize-count {
    font-size: 14px;
    opacity: 0.7;
}

/* ===== 인기 게시물 슬라이더 ===== */

@keyframes rolling {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-304px * 5)); } /* 카드 5개 너비만큼 이동 후 리셋 */
}

.popular {
    /* background: var(--sepia-bg); */ 
	background: linear-gradient(0deg, #ffffff -26.94%, #e7dbc6 100%);
}

.slider-container {
    width: 100%;
	max-width: 1200px;
    position: relative;
    overflow: hidden;
	margin: 0 auto;
}

.slider-track {
    display: flex;
    /* transition: transform 0.9s ease-in-out; */ 
    padding: 20px 0;
	margin: 0;
	width: max-content;
	will-change: transform;
	list-style: none;
}

.slide-card {
    width: 350px;
    flex-shrink: 0;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 8px var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
	display: flex;
}
.slide-card-body {
	height: 141px;
	padding: 20px;
	align-content: center;
}

.slide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 8px var(--shadow);
}

.slide-card-img {
    width: 100%;
    height: 200px;
    background: var(--sepia-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-brown);
    font-size: 14px;
    overflow: hidden;
}

.slide-card-img img {
    width: 100%;
	height: 200px;
    object-fit: cover;
    object-position: center top;
}

.slide-card-category {
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 8px;
}

.slide-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--sepia-text);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-card-meta {
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slide-card-likes {
    color: var(--brand-blue);
    font-weight: 500;
}

/* 슬라이더 컨트롤 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid var(--sepia-dark);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--sepia-text);
    transition: all 0.2s;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: white;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.popularslider {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.popularslider .swiper-slide {
    width: 350px;
    transition: transform 0.3s ease; 
}

.popularslider .swiper-wrapper {
    display: flex;
    align-items: center;
}

/* ===== 10대 이슈 배너 섹션 스타일 ===== */
.banner-ten-issues-section {
    max-width: 1200px;
    margin: 100px auto;
	position: relative;
    z-index: 5;
}

.banner-ten-issues-container {
    position: relative;
    background: linear-gradient(135deg, rgba(27, 42, 65, 0.85) 0%, rgba(17, 26, 36, 0.9) 100%) !important; 
    border-radius: 20px;
    padding: 60px 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(11, 23, 41, 0.15);
    display: flex;
	flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-content-box {
    position: relative;
    z-index: 2;
	max-width: 750px;
	width: 100%;
}

.banner-subtitle {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--gold, #c9a959); 
    letter-spacing: 0.15em;
    margin-bottom: 12px;
	text-transform: uppercase;
}

.banner-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 38px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 16px;
	word-break: keep-all;
}

.banner-title strong {
    font-weight: 700;
    color: var(--gold-light, #e8d5a0); 
}

.banner-desc {
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 32px;
	word-break: keep-all;
	font-weight: 300;
}

/* 아카이브 바로가기 버튼 */
.btn-banner-go {
    display: inline-flex;
    align-items: center;
    color: #c9a959; 
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--gold, #c9a959);
    position: relative;
    overflow: hidden; 
    background: transparent !important; 
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-banner-go::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px; 
    width: 0; 
    height: 0;
    background: var(--gold, #c9a959);
    border-radius: 100px; 
    z-index: -1; 
	transform: translate(-50%, -50%); 
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-banner-go .arrow-icon {
	margin-left: 8px; 
    color: var(--gold, #c9a959);
	transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-banner-go:hover {
    color: #111b29; 

}

.btn-banner-go:hover::before {
    width: 600px; 
    height: 600px;
}

.btn-banner-go:hover .arrow-icon {
    color: #111b29; 
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
	transform: translateX(5px);
}

/* 우측 배경 장식 (모던한 공간감 부여) */
.banner-deco-circle {
    position: absolute;
    right: -100px;
    top: -50px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,89,0.08) 0%, rgba(201,169,89,0) 70%);
    pointer-events: none;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 1;
    background: rgba(248, 248, 248, 1.0);
	box-shadow: 0px -8px 16px rgba(0, 0, 0, 0.04);
    color: var(--sepia-text);
    padding: 24px;
    text-align: center;
}

.footer-logo {
    height: 60px;
    /* filter: brightness(0) invert(1); */ 
    margin-bottom: 16px;
}

.footer-text {
    font-size: 16px;
}

.footer-text a {
    color: var(--sepia-text);
    text-decoration: none;
}

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .prizes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

	.nav > li > a {
        font-size: 16px; 
		padding: 10px 15px;
    }
}

@media (max-width: 768px) {
	body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* 중앙 종이색 페이드 (가로+세로 모두 좁힘) */
        radial-gradient(
            ellipse 100% 100% at center, 
            rgba(236, 227, 208, 0.92) 0%,
            rgba(236, 227, 208, 0.6) 70%,
            transparent 100%
        ),
        /* 가장자리 비네팅 */
        radial-gradient(ellipse at center, transparent 50%, rgba(100, 80, 50, 0.25) 100%);
		pointer-events: none;
		z-index: 0;
	}

    .mobile-menu-btn {
        display: block;
        z-index: 1100;
        position: relative;
    }
	.mobile-menu-btn span {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
	
	.nav.open ~ .mobile-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav.open ~ .mobile-menu-btn span:nth-child(2) { opacity: 0; }
    .nav.open ~ .mobile-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	
	.mobile-menu-btn span {
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
	
    .nav {
        display: flex; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
    }
	
	.nav > li {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .nav > li > a {
        font-size: 24px; 
        font-family: 'Noto Serif KR', serif;
        font-weight: 700;
        color: var(--sepia-text);
        border: none;
    }
	
    .nav.open {
        opacity: 1;
        visibility: visible;
    }
	.nav.open > li {
        opacity: 1;
        transform: translateY(0);
    }
	.nav.open > li:nth-child(1) { transition-delay: 0.1s; }
    .nav.open > li:nth-child(2) { transition-delay: 0.15s; }
    .nav.open > li:nth-child(3) { transition-delay: 0.2s; }
    .nav.open > li:nth-child(4) { transition-delay: 0.25s; }
    .nav.open > li:nth-child(5) { transition-delay: 0.3s; }
    .nav.open > li:nth-child(6) { transition-delay: 0.35s; }
	
    .nav-dropdown {
        background: rgba(236, 227, 208, 0.8) !important;
        border: 1px solid var(--sepia-dark) !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        margin: 10px auto 20px;
    }
	.nav-dropdown li {
        width: 100%;
        opacity: 1;
        transform: none;
    }
	.nav > li.active .nav-dropdown {
        display: block;
        animation: slideDown 0.4s ease forwards;
    }
	.nav-dropdown li a {
        font-size: 16px !important;
        color: var(--sepia-text) !important;
        padding: 12px 20px !important;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center; 
        gap: 10px;
    }
	.dropdown-icon {
        font-size: 18px;
        filter: grayscale(0.5);
    }
	@keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
	
    .has-dropdown > a::before {
        display: none;
    }
    .hero {
        min-height: 85vh;
        padding: 100px 20px 60px;
    }
    .hero-title {
        font-size: 50px;
    }
    .hero-slogan {
        font-size: 28px !important;
    }
    .hero-desc {
        font-size: 14px;
		margin: 0 auto;
    }
    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 280px; 
        height: 50px;
        padding: 0 20px;
        font-size: 20px;
    }
    .btn-outline {
        margin-left: 0;
        margin-top: 12px;
    }
	.hero-content {
		text-align: center;
	}
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 60px;
		align-items: center;
    }
	.categories-grid {
        grid-template-columns: 1fr; /* 1줄에 1개씩 꽉 차게 배치 */
        gap: 48px; /* 세로로 쌓일 때 위아래 항목(카드+버튼 세트) 간의 간격을 넉넉히 줌 */
    }

    /* 2. 모바일 화면에 맞춰 박스 높이와 안쪽 여백 살짝 축소 */
    .category-card {
        height: 320px; /* 데스크탑(420px)보다 높이를 줄여서 모바일 화면을 꽉 채우지 않게 조절 */
        padding: 30px 20px;
    }

    /* 3. 버튼 크기를 모바일 터치에 맞게 미세 조정 */
    .btn-category-apply {
        width: 100%; /* (선택) 버튼을 카드 가로폭만큼 꽉 차게 하려면 유지, 아니면 삭제 */
        max-width: 280px; /* 버튼이 너무 길어지는 것 방지 */
        padding: 14px 24px;
        font-size: 15px;
    }
	.categories {
		background-size: cover;
	}
    .prizes-grid {
        grid-template-columns: 1fr 1fr;
    }
    .section {
        padding: 60px 20px;
    }
    .section-title {
        font-size: 28px;
    }
    .slide-card {
        min-width: 260px;
    }
	.banner-ten-issues-section {
        margin: 60px auto 80px;
		padding: 0 20px;
    }
	.banner-ten-issues-container {
        padding: 44px 20px;
        border-radius: 18px; 
    }    
    .banner-title {
        font-size: 26px;
    }
    
    .banner-desc {
        font-size: 14px;
    }
    
    .mobile-only {
        display: block;
    }
    
    .btn-banner-go {
        width: 100%;
        max-width: 290px;
        font-size: 15px;
        padding: 13px 24px;
		justify-content: space-between;
    }
}

@media (max-width: 816px) {
	.hero-title {
		font-size: 60px;
	}
}

@media (max-width: 480px) {
	.hero {
		border-bottom: 1px solid #333;
		padding: 125px 20px 60px;
	}
    .hero-title {
        font-size: 30px;
    }
	.hero-slogan {
		font-size: 20px !important; 
	}
	.hero-desc {
		font-size: 16px !important; 
	}
	.period-label,.period-date {
		font-size: 16px !important; 
	}
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    .prize-amount {
        font-size: 24px;
    }
	.mobile-only {
        display: none;
    }
	.banner-title {
		font-size: 24px;
	}
}

/* ===== 애니메이션 ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
