body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    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, #2c2c2c);
    background: linear-gradient(0deg, #ffffff -26.94%, #e7dbc6 100%) no-repeat;
    background-attachment: fixed; 
    background-size: cover;
	cursor: default;
	position: relative;
	overflow-x: hidden;
}

section::before,
section::after {
    font-family: "Noto Serif KR", serif;
    color: #3a3226;
    opacity: 0.04;
    line-height: 1;
    pointer-events: none; 
    z-index: -99;
	letter-spacing: -3px;
	position: fixed;
}

section::before {
    content: "1946";
    top: 23%;
    left: 5%;
    font-size: 11vw; 
}

section::after {
    content: "2026";
    top: 65%;
    right: 5%;
    font-size: 11vw;
}

.container { max-width:1200px; }

.contest-detail {
    position: relative;
    z-index: 1; 
    padding: 180px 0 120px;
    background-color: transparent;
    max-width: 1200px;
    margin: 0 auto;
}

.contest-section-desc {
	font-size: 18px;
	color: #777; 
}

.contest-about-content {
    max-width: 1200px; 
    margin: 0 auto 120px;
    text-align: left; 
    background: rgba(255, 255, 255, 0.4);
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.contest-about-text-box .contest-main-para {
    font-family: "Noto Serif KR", serif;
    font-size: 22px; 
    font-weight: 600;
    line-height: 1.6;
    color: #3a3226;
    margin-bottom: 50px;
    word-break: keep-all;
    letter-spacing: -0.02em;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid #c5a880; 
}

.contest-main-para span {
	/* 파란색 color: #4b74d8;	*/ 
	color: #836a48; /* 갈색 */
	font-family: "Noto Serif KR", serif; 
}

.contest-about-text-box .contest-sub-para {
    font-size: 17.6px; 
    line-height: 1.6;
    color: #555555;
    opacity: 1; 
    word-break: keep-all;
    letter-spacing: -0.03em;
	/* text-align: center; */
	word-spacing: -0.9px;
}

.contest-section-title {
	font-weight: 700;
	font-size: 44px;
	font-family: "Noto Serif KR", serif;
	margin-bottom: 15px;
    letter-spacing: -0.03em;
}

.contest-period-box {
    max-width: 1200px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--sepia-dark, #c5a880);
    border-radius: 12px;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.contest-period-icon {
    font-size: 32px;
	display: inline-flex;
    align-items: center;
    position: relative;
    top: 1px; 
    line-height: 1;
}

.contest-period-text {
	display: flex;
	align-items: center;
}

.contest-period-text h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 19px;
    color: #3a3226;
    margin: -2px 0 0 0;
    font-weight: 700;
	line-height: 1;
}

.contest-period-text p {
    font-size: 18px;
    font-weight: 600;
    color: #2c2c2c;
	align-content: center;
	margin: 0 0 0 15px;
	line-height: 1;
	color: var(--brand-blue, #3a3226);
}

/* 안내 카드 그리드 */
.contest-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 120px;
}

.contest-info-card {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid var(--sepia-dark, #c5a880);
    padding: 45px 24px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
    box-shadow: 0 4px 15px var(--shadow, rgba(0,0,0,0.05));
}

.contest-info-card:hover {
    transform: translateY(-8px);
    background: var(--white, #ffffff);
    border-color: #c5a880;
    box-shadow: 0 14px 30px rgba(58, 50, 38, 0.12);
}

.contest-info-icon {
    font-size: 36px;
    margin-bottom: 15px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contest-info-card:hover .contest-info-icon {
    transform: scale(1.15);
}

.contest-info-card h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 19px;
    color: var(--brand-blue, #3a3226);
    margin-bottom: 12px;
    font-weight: 700;
}

.contest-info-card p {
    line-height: 1.5;
    color: var(--sepia-text, #555555);
    word-break: keep-all;
}

/* 시상 내역 섹션 스타일 */
.contest-prize-section {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(10, 37, 64, 0.1);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.04);
}

.contest-prize-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #C5A880;
    border: 1px solid rgba(197, 168, 128, 0.4);
    padding: 3px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.contest-prize-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 28px;
    color: #3a3226;
    margin-bottom: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contest-prize-main-box {
    max-width: 800px;
    margin: 0 auto 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf9 100%);
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 16px;
    padding: 40px 20px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.01);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.contest-prize-main-box:hover {
    border-color: #c5a880;
    box-shadow: 0 10px 30px rgba(197, 168, 128, 0.15);
}

/* 신규 시상 내역 서브 그리드 및 박스 스타일 */
.contest-prize-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 32px;
}

.contest-prize-sub-box {
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf9 100%);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: 12px;
    padding: 25px 15px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.01);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.contest-prize-sub-box:hover {
    border-color: #c5a880;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.1);
}

.contest-prize-sub-name {
    font-size: 18px;
    color: #3a3226;
    margin: 0 0 8px 0;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.contest-prize-sub-amount {
    font-size: 25px;
    font-weight: 600;
    color: #c5a880;
    line-height: 1;
    margin: 0;
}

.contest-prize-sub-amount span {
    font-size: 15px;
    font-weight: 600;
    color: #3a3226;
    margin-left: 2px;
}

.contest-prize-rank {
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #888888;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contest-prize-name {
    font-size: 26px;
    color: #3a3226;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.contest-prize-amount {
    font-size: 42px;
    font-weight: 600;
    color: #c5a880;
    line-height: 1;
}

.contest-prize-amount span {
    font-size: 20px;
    font-weight: 600;
    color: #3a3226;
    margin-left: 2px;
}

.contest-prize-desc {
    color: #777777;
    margin-bottom: 40px;
}

.contest-prize-callout {
    font-family: 'Noto Serif KR', serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.8;
    color: #3a3226;
    word-break: keep-all;
    max-width: 800px;
    margin: 0 auto;
}

.contest-prize-callout span {
	font-size: 35px;
}

.contest-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contest-section-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #C5A880;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contest-divider {
    width: 60px;
    height: 2px;
    background-color: #3a3226;
    margin: 20px auto;
}

@keyframes fadeInUpSlow {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 순서 1 --- */
.contest-section-label,
.contest-section-title {
    opacity: 0;
    animation: fadeInUpSlow 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}
.contest-divider {
    opacity: 0;
    animation: fadeInUpSlow 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

/* --- 순서 2 --- */
.contest-section-desc {
    opacity: 0;
    animation: fadeInUpSlow 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.7s;
}

/* --- 순서 3 --- */
.contest-about-content,
.contest-period-box,
.contest-info-grid,
.contest-info-grid .sequential-item,
.contest-prize-section {
    opacity: 0;
    animation: fadeInUpSlow 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.3s; 
}

/* 반응형 */
@media (max-width: 1024px) {

	body::before,body::after {
        display: none;
    }
	
	.contest-detail { padding:180px 20px 120px; }
	
    .contest-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contest-detail {
        padding: 150px 20px 70px;
    }
    .contest-section-title {
        font-size: 28px;
    }
    .contest-section-desc {
        font-size: 16px;
    }
    .contest-about-content {
        padding: 30px 20px;
    }
    .contest-about-text-box .contest-main-para {
        font-size: 18px;
    }
    .contest-about-text-box .contest-sub-para {
        font-size: 14.5px;
    }
    .contest-period-box {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 24px 20px;
    }
    .contest-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .contest-info-card {
        padding: 35px 20px;
    }
    .contest-prize-section {
        padding: 40px 20px;
    }
    .contest-prize-title {
        font-size: 24px;
        margin-bottom: 28px;
    }
    .contest-prize-amount {
        font-size: 36px;
    }
    .contest-prize-callout {
        font-size: 16px;
    }
	.contest-prize-sub-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }
    .contest-prize-sub-box {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .contest-section-desc {
		font-size: 14px;
	}
	.contest-about-text-box .contest-sub-para {
		font-size: 16px;
	}
	.contest-period-text {
		display: block;
	}
	.contest-period-text p {
		margin: 15px 0 0 0;
	}
	.contest-prize-name {
		font-size: 20px;
	}
	.contest-prize-amount {
		font-size: 30px;
	}
	.contest-prize-desc {
		width: 80%; 
		margin: 0 auto; 
		margin-bottom: 40px;
		letter-spacing: 0.2px; 
	}
	.contest-prize-callout span {
		font-size: 20px;
	}
}