/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #C41E3A;
    --primary-purple: #800080;
    --primary-black: #000000;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --urgent-red: #dc3545;
    --positive-green: #28a745;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

/* 헤더 */
.header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    color: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
    cursor: pointer;
}

.logo span {
    color: #FFD700;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.hero-content {
    animation: fadeInDown 0.6s ease;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-date {
    font-size: 24px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 300;
}

/* 메인 컨텐츠 */
.main-content {
    padding: 40px 0 60px;
}

/* 섹션 공통 스타일 */
.section-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title i {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 헤드라인 섹션 */
.headline-section {
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.headline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.headline-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-purple);
    position: relative;
}

.headline-card.urgent {
    border-left-color: var(--urgent-red);
}

.headline-card.positive {
    border-left-color: var(--positive-green);
}

.headline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    color: var(--white);
}

.headline-card.urgent .badge {
    background: var(--urgent-red);
}

.headline-card.positive .badge {
    background: var(--positive-green);
}

.headline-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.headline-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
}

.meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
}

.meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 뉴스 섹션 */
.news-section {
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.news-category {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.news-category:hover {
    box-shadow: var(--shadow-hover);
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 3px solid #f0f0f0;
}

.category-title i {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    padding: 20px;
    border-radius: 10px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.news-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.news-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

/* 공지사항 섹션 */
.notice-section {
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.notice-list {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.notice-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    background: var(--bg-light);
    border-radius: 10px;
}

.notice-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    color: var(--white);
}

.notice-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.notice-date {
    font-size: 14px;
    color: var(--text-light);
    white-space: nowrap;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* 심층 분석 섹션 */
.analysis-section {
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.8s both;
}

.analysis-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    border-top: 5px solid;
    border-image: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-purple) 100%) 1;
}

.analysis-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.analysis-card p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: justify;
}

.analysis-card p:last-child {
    margin-bottom: 0;
}

/* 정보 섹션 */
.info-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 1s both;
}

.info-box {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.info-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h3 i {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    color: var(--text-light);
}

.info-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: 700;
}

/* 푸터 */
.footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-logo h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 10px;
}

.footer-logo span {
    color: #FFD700;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 애니메이션 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 반응형 디자인 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .nav {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-date {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .headline-grid {
        grid-template-columns: 1fr;
    }

    .headline-card {
        padding: 25px;
    }

    .headline-card h3 {
        font-size: 20px;
    }

    .news-category {
        padding: 25px 20px;
    }

    .category-title {
        font-size: 20px;
    }

    .news-item h4 {
        font-size: 16px;
    }

    .notice-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .notice-date {
        justify-self: start;
    }

    .analysis-card {
        padding: 25px 20px;
    }

    .analysis-card h3 {
        font-size: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        width: 100%;
    }

    .footer-links a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-date {
        font-size: 16px;
    }

    .headline-card {
        padding: 20px;
    }

    .headline-card h3 {
        font-size: 18px;
    }

    .meta {
        flex-direction: column;
        gap: 8px;
    }

    .analysis-card p {
        text-align: left;
    }
}
