/* ===== 공통 초기화 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    font-family: sans-serif;
}

/* ===== 상단 마키 ===== */
.marquee-container {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #fff;
    padding: 10px 0;
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    font-family: instrument-serif, sans-serif;
    font-size: 12px;
    animation: marquee 60s linear infinite;
}

@keyframes marquee {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* ===== 메인 컨텐츠 ===== */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px; /* 마키 높이 */
    position: relative;
    /* overflow: hidden 제거 → 스크롤 가능하게 */
}

/* ===== 메인 타이틀 ===== */
.main-title {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: clamp(4rem, 13vw, 160px);
    text-align: center;
    line-height: 1.05;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    padding: 0 20px;
    margin-bottom: 0;
}

/* ===== GIF 컨테이너 ===== */
.gif-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-top: -70px;   /* 타이틀 하단에 걸침 */
    z-index: 60;
    display: flex;
    justify-content: center;
}

.main-gif {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ===== 하단 버튼 ===== */
.enter-button {
    position: relative;
    z-index: 20;             /* 버튼은 gif 앞으로 — 클릭 가능하게 */
    margin-top: 20px;        /* gif와 버튼 사이 간격 */
    padding: 15px 40px;
    border: 1px solid #fff;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-family: 'Michroma', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.enter-button:hover {
    background-color: #fff;
    color: #000;
}

/* ===== 서문 텍스트 ===== */
.serve-text {
    width: 100%;
    max-width: 800px;
    margin-top: 120px;       /* 버튼과 텍스트 사이 넉넉한 간격 */
    margin-bottom: 120px;
    padding: 0 40px;
    text-align: center;      /* 중앙 정렬 */
    position: relative;
    z-index: 20;
}

/* "What's Fake Nostalgia?" — Michroma 폰트 */
.serve-heading {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    margin-bottom: 48px;     /* 제목과 본문 사이 간격 */
}

/* 본문 */
.serve-body {
    font-size: 14px;
    line-height: 2.4;        /* 넓은 행간 */
    color: #ccc;
}
