/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Noto+Sans+KR:wght@400;700&display=swap');

:root {
    --color-dark-blue: #081529; /* 포스터 배경색 */
    --color-yellow: #F7B500;    /* 의자/네온 색 */
    --color-cream: #FFF8E1;     /* 팝콘/네온 텍스트 */
    --color-red: #D92027;       /* 팝콘 로고 */
    --color-light-blue: #1a2b4a90; /* 헤더/푸터 배경 */
    --font-script: 'Lobster', cursive; /* POPcorn Party 폰트 */
    --font-main: 'Noto Sans KR', sans-serif; /* 기본 폰트 */

    word-break: keep-all;
}

body {
    background-color: var(--color-dark-blue);
    color: var(--color-cream);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Footer --- */
header, footer {
    background-color: var(--color-light-blue);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
}

header .logo a {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--color-cream);
    text-decoration: none;
}

header .logo span {
    color: var(--color-yellow);
}

header nav a {
    color: var(--color-cream);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 700;
}

header nav a:hover {
    color: var(--color-yellow);
}

footer {
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

footer p {
    margin: 0
}
.secret-admin-link,
.secret-admin-link:hover { color: inherit; text-decoration: none; /*cursor: default;*/ /* 마우스를 올려도 손가락 모양으로 바뀌지 않음 */ }

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 2rem;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    background-color: #000;
}

@media (min-width: 640px) {
    .hero {
        min-height: 80vh; /* 뷰포트 높이(viewport height)의 80% */
        
        /* 세로 중앙 정렬을 위해 flex 속성 추가 */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.hero-background {
    /* 포스터 이미지를 배경으로 사용 */
    background-image: url('../images/eng_poster.png'); 
    background-size: cover;
    background-position: center 50%; /* 중앙에서 살짝 위 */
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4; /* 어둡게 처리 */
    filter: blur(3px); /* 살짝 블러 처리 */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero .title-script {
    font-family: var(--font-script);
    font-size: 4.5rem;
    color: var(--color-yellow);
    margin: 1.5rem;
    text-shadow: 0 0 10px var(--color-yellow), 0 0 20px var(--color-yellow);
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-cream);
    margin: 0.5rem 0
}

.event-info {
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 20px 30px;
    border-radius: 8px;
}

.event-info p {
    font-size: 1.2rem;
    margin: 5px 0;
}

/* --- Lineup Section --- */
.lineup {
    text-align: center;
    padding: 1.5rem;
    margin: 20px 0;
    background: var(--color-light-blue);
    border-radius: 8px;
}

.lineup h3 {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--color-yellow);
    margin: 0 0 1rem
}

.lineup .artists {
    font-size: 1.1rem;
    line-height: 2;
    color: #ccc;
}

.lineup .artists span {
    display: inline-block;
    margin: 0 10px;
    font-weight: 700;
    color: var(--color-cream);
}

/* --- Modal --- */
.modal {
    display: none; /* 기본적으로 숨김 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); /* 반투명 배경 */
    animation: fadeIn 0.3s;
}

.modal.modal-closing {
    animation: fadeOut 0.3s forwards; /* 'forwards' 추가 */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.modal-content {
    background-color: #fefefe;
    color: #333;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    animation: slideIn 0.3s;
}

.modal.modal-closing .modal-content {
    animation: slideOut 0.3s forwards; /* 'forwards' 추가 */
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(-50px); opacity: 0; }
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
}

.modal-content img {
    width: 100%;
    /*max-height: 400px;*/
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.download-btn {
    display: inline-block;
    background-color: var(--color-red);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.download-btn:hover {
    background-color: #a0181e;
}

.back-btn {
    display: inline-block;
    background-color: gray;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.back-btn:hover {
    background-color: #505050;
}

/* --- Hero Section Buttons --- */
.hero-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.btn {
    background-color: var(--color-yellow);
    color: var(--color-dark-blue);
    border: none;
    padding: 12px 25px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    background-color: var(--color-cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* modal-trigger 클래스는 JS에서 사용되므로 스타일이 필수는 아닙니다. */
.modal-trigger { }