@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2'); font-weight: 100; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2'); font-weight: 200; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
    --bg-gradient: linear-gradient(135deg, #e6655c 0%, #c9443e 100%);
    --text-white: #ffffff;
    --container-width: 1440px;
}

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

body {
    font-family: 'Paperozi', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}
.mbr{display: none;}
.floating{
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #ff961f;
    color: #fff;
    font-size: 3cap;
    font-weight: 700;
    z-index: 99;
    text-decoration: none;
    text-align: center;
    align-items: center;
    padding: 20px 0;
    transition: all 0.3s ease;
}
.floating::after {
    content: ' →';
    opacity: 0;
    margin-left: -10px;
    transition: all 0.3s ease;
}

.floating:hover {
    background-color: #d64d38;
    padding-bottom: 25px;
}
.floating:hover::after {
    opacity: 1;
    margin-left: 10px;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1200px;
    pointer-events: none;
    z-index: 0; 
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.circle-bg {
    position: absolute;
    top: 0; left: 0;
    background-image: url('img/03.png'); 
    width: 100%; height: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.sparkle-bg {
    position: absolute;
    top: 0; left: 0;
    background-image: url('img/04.png');
    width: 100%; height: 100%;
    background-repeat: repeat;
    background-position: center top;
    opacity: 0.9;
    animation: twinkle 3s infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes twinkle {
    0% { opacity: 0.5; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

.container {
    position: relative;
    z-index: 10;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.header-left {
    text-align: left;
}

.header-right {
    text-align: right;
    padding-top: 10px;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: -1px;
    text-shadow: 4px 4px 0px rgba(206, 75, 57, 1);
}

.sub-title {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 15px;
}

.date-info {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    text-align: left;
}

.contact-info {
    font-weight: 300; 
    font-size: 0.95rem; 
    opacity: 0.8;
    line-height: 1.5;
    text-align: left;
}

.hero-section {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2; /* 흰색 박스보다 앞에 와야 함 */
    pointer-events: none; /* 이미지가 클릭을 막지 않도록 */
    margin-bottom: -500px; 
    margin-top: -200px; 
}

.hero-img {
    width: 100%;
    max-width: 900px; /* 이미지 크기 */
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.3));
}

.content-box {
    background: #fdfdfd;
    color: #333;
    width: 100%;
    max-width: 1000px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    z-index: 3; /* 이미지보다 뒤에 위치 */
}

.section-title-bar {
    margin: 0 auto;
    padding: 12px;
    font-weight: 700;
    font-size: 2.4rem;
    margin-bottom: 20px;
    border-radius: 50px;
}
.section-title-bar > .tt{
    display: flex;
    margin: 0 auto;
    justify-content: center; 
    align-items: center;
    gap: 10px;
}
.section-title-bar > .tt > p:first-child{
    color: #da4b38;
}
.section-title-bar > .tt > p:last-child{
    color: #ffffff;
    background-color: #da4b38;
}

.prize-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
    text-align: center;
}

.prize-table th {
    background: #eee;
    color: #333;
    padding: 15px;
    font-weight: 800;
    border-top: 2px solid #333;
    border-bottom: 1px solid #ccc;
}

.prize-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    color: #444;
}

.prize-table tr:last-child td {
    border-bottom: 1px solid #333;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 2px solid #333;
}

.info-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding: 25px 10px;
    align-items: baseline;
}

.info-item:last-child {
    border-bottom: 2px solid #333;
}

.info-label {
    font-weight: 800;
    font-size: 1.1rem;
    color: #000;
}

.info-desc {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.info-desc strong {
    font-weight: 700;
    text-decoration: underline;
    text-underline-position: under;
}

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

.info-desc ul li::before {
    content: "- ";
    margin-right: 5px;
}

.footer-section {
    margin-top: 50px;
    text-align: center;
    width: 100%;
    max-width: 1000px;
}

.notice-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    text-align: left;
    margin-bottom: 30px;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 20px;
}

.notice-text > .box{
    display: flex;
    justify-content: space-between;
}

strong{
    display: block;
    margin-bottom: 5px;
    font-size: 2rem;
    text-align: center;
}

.submit-btn {
    background: #fff;
    color: #d9534f;
    font-family: 'Paperozi', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    padding: 18px 80px;
    margin-top: 100px;
    margin-bottom: 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

footer{
    color: #ffdccb;
    font-size: 0.9rem;
    background-color: #350000;
    text-align: center;
    padding: 50px 0;
    padding-bottom: 130px;
    line-height: 1.5rem;
}

/* 반응형 미디어 쿼리 */

@media (max-width: 768px) {
    .mbr{display: block;}
    .bg-layer {
        height: 800px;
    }
    .circle-bg {
        background-size: contain;
        background-position: center top;
    }
    .sparkle-bg {
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: top center;
    }

    .container {
        padding: 40px 15px;
    }
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .header-left, 
    .header-right,
    .date-info, 
    .contact-info {
        text-align: center;
        width: 100%;
    }
    .date-info > br{display: none;}
    .header-right {
        margin-top: 10px;
    }
    .main-title {
        font-size: 3.5rem;
    }
    .hero-section {
        margin-top: -30px;    
        margin-bottom: -170px; 
        z-index: 2;
    }
    
    .hero-img {
        max-width: 90%;
    }

    .content-box {
        padding: 30px 20px;
        padding-top: 20px;
    }

    .section-title-bar {
        font-size: 1.5rem;
        flex-direction: column;
        border-radius: 20px;
        gap: 5px;
    }
    
    .section-title-bar > .tt {
        flex-direction: column;
        gap: 5px;
    }

    .prize-table {
        font-size: 0.9rem;
        word-break: keep-all;
    }
    .prize-table th, 
    .prize-table td {
        padding: 10px 5px;
    }

    .info-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px 0;
    }

    .info-label {
        color: #d9534f;
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .info-desc ul {
        padding-left: 0;
    }

    .submit-btn {
        width: 100%; /* 버튼을 화면 꽉 차게 */
        padding: 20px 0;
        font-size: 1.4rem;
        margin-top: 60px;
        text-align: center;
    }


    .notice-text{
        margin-top: -40px;
    }
    .notice-text > .box {
        flex-direction: column;
        gap: 15px;
    }
    .notice-text .sbox {
        width: 100%;
        font-size: 0.8rem;
    }
    strong {
        font-size: 1.5rem;
    }
    

    .floating{
        font-size: 2.5cap;
        transition: all 0.3s ease;
    }
    .floating::after {
        display: none;
        content: ' →';
        opacity: 0;
        margin-left: -10px;
        transition: all 0.3s ease;
    }

    .floating:hover {
        color: bisque;
        padding-bottom: 25px;
    }
    .floating:hover::after {
        display: none;
    }
    /* 9. 푸터 */
    footer {
        font-size: 0.8rem;
        padding: 30px 15px;
        padding-bottom: 110px;
    }
}