:root {
    --primary-color: #006837;
    /* 상지대 그린 */
    --secondary-color: #FFD400;
    /* 이벤트 옐로우 */
    --accent-color: #E94E1B;
    /* 포인트 오렌지 */
    --text-dark: #222222;
    --text-gray: #666666;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
    --border-radius: 16px;
    --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

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

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

.wrapper {
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 720px;
    /* 모바일~태블릿 최적화 너비 */
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 900;
    word-break: keep-all;
}

.highlight {
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 104, 55, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-youtube {
    background-color: #FF0000;
    color: var(--white);
}

.btn-insta {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: var(--white);
}

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

.btn-insta-gradient {
    background: linear-gradient(to right, #833AB4, #FD1D1D, #FCAF45);
    color: var(--white);
}

.btn-block {
    width: 100%;
    margin-top: 15px;
}

/* Top Navigation */
.top-nav {
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

.nav-logo {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 900;
}

.nav-logo img {
    height: 50px;
}

:root {
    --primary-color: #006837;
    /* 상지대 그린 */
    --secondary-color: #FFD400;
    /* 이벤트 옐로우 */
    --accent-color: #E94E1B;
    /* 포인트 오렌지 */
    --text-dark: #222222;
    --text-gray: #666666;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
    --border-radius: 16px;
    --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

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

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

.wrapper {
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 720px;
    /* 모바일~태블릿 최적화 너비 */
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 900;
    word-break: keep-all;
}

.highlight {
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 104, 55, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-youtube {
    background-color: #FF0000;
    color: var(--white);
}

.btn-insta {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: var(--white);
}

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

.btn-insta-gradient {
    background: linear-gradient(to right, #833AB4, #FD1D1D, #FCAF45);
    color: var(--white);
}

.btn-block {
    width: 100%;
    margin-top: 15px;
}

/* Top Navigation */
.top-nav {
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

.nav-logo {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 900;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.7rem;
    transition: color 0.2s;
}

@media (max-width: 480px) {
    .nav-logo img {
        height: 35px;
    }
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 1. Hero Section */
.hero-section {
    padding: 0 0 0px;
    background-color: #fff3b7;
    background-image: url('images/Sangji_Hero_Back_Img05.png');
    background-position: top center;
    background-position-y: 30px;
    background-repeat: repeat-x;
    background-size: 50% auto;
    text-align: center;
    border-bottom: 1px solid #eee;
}



.hero-content {
    padding-top: 40px;
    background-image: url('images/Sangji_Hero_Back_Img03.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    padding-bottom: 200px;
    border-bottom: 1px solid #eee;
}

@media (min-width: 1920px) {
    .hero-section {
        background-size: 50% auto;
    }
}

.hero-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hero-title {
    font-family: 'Do Hyeon', sans-serif;
    font-size: 3.0rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.event-period-badge {
    display: inline-block;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 8px 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 104, 55, 0.1);
}

.badge-label {
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 10px;
}

.badge-date {
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 2. Gift Section */
.gift-section {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 2.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-family: 'Do Hyeon', sans-serif;
}

.section-sub {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.gift-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.gift-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}

.gift-card:hover {
    transform: translateY(-5px);
}

.gift-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.rank-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 5px;
}

.gift-name {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.gift-count {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.gift-note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 20px;
}

/* 3 & 4. Event Sections */
.event-section {
    padding: 60px 0;
}

.youtube-section {
    background-color: #f0f7f4;
    /* 연한 그린 배경 */
}

.insta-section {
    background-color: #fff;
}

.insta-section .event-title,
.insta-section .event-sub {
    text-align: center;
}

.insta-section .event-label {
    display: table;
    margin: 0 auto 15px;
}

.event-label {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    font-weight: 900;
    padding: 5px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.event-title {
    font-family: 'Do Hyeon', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.event-sub {
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Event 01 Specific Styles */
.youtube-section .event-label {
    display: table;
    margin: 0 auto 15px;
}

.youtube-section .event-title,
.youtube-section .event-sub {
    text-align: center;
}

.event-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.phone-mockup {
    width: 240px;
    height: 480px;
    background-color: #333;
    border-radius: 35px;
    margin: 0 auto;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 4px solid #d4d4d4;
    flex-shrink: 0;
}

.phone-mockup.no-frame {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.screen {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #888;
}

.phone-mockup.no-frame .screen {
    border-radius: 0;
    background-color: transparent;
}

/* Instagram Screen Styles */
.insta-screen-content {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.insta-header {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.insta-stats {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.insta-btn-area {
    background-color: #fff;
    color: #000;
    padding: 5px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.event-steps ol {
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.event-steps li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.email-info,
.bonus-info {
    background-color: rgba(0, 104, 55, 0.05);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* 5. Schedule Section */
.schedule-section {
    padding: 60px 0;
    background-color: var(--white);
}

.schedule-box {
    margin-bottom: 30px;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row .label {
    font-weight: 700;
    color: var(--primary-color);
    width: 30%;
    text-align: left;
}

.schedule-row .value {
    width: 70%;
    text-align: right;
    font-weight: 500;
    word-break: keep-all;
}

.schedule-row .value .small {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: block;
    margin-top: 5px;
}

.notice-text {
    text-align: left;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.notice-text p {
    margin-bottom: 5px;
    position: relative;
    padding-left: 10px;
}

.notice-text p::before {
    content: '·';
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 6. CF Section */
.cf-section {
    padding: 40px 0 60px;
    background-color: #000;
    color: #fff;
    text-align: center;
}

.cf-section .section-title {
    color: #fff;
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #222;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 7. Footer */
.footer {
    background-color: #f5f5f5;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-contact {
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-sns {
    margin-bottom: 20px;
}

.sns-icon {
    display: inline-block;
    margin: 0 5px;
    padding: 0px 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.8rem;
}

.sns-icon img {
    width: 40px;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive Media Queries */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    .hero-buttons {
        flex-direction: row;
        max-width: 500px;
        justify-content: center;
        /* 버튼 내부 아이템 중앙 정렬 */
        margin: 0 auto;
    }

    .gift-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .event-body {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .event-body.reverse {
        flex-direction: row-reverse;
    }

    .phone-mockup {
        margin: 0;
        flex-shrink: 0;
    }

    .event-steps {
        flex-grow: 1;
    }

    .btn-block {
        width: auto;
        padding: 15px 40px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}