@charset "UTF-8";

/* ==========================================================================
   Web Fonts (Gmarket Sans & Pretendard)
   ========================================================================== */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

@font-face {
  font-family: 'Gmarket Sans TTF';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gmarket Sans TTF';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gmarket Sans TTF';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Figma 840px Base Scaling System
   1rem = 10px in Figma (840px = 84rem)
   ========================================================================== */
html {
  font-size: calc(100vw / 84);
}

@media (min-width: 840px) {
  html {
    font-size: 10px;
  }
}

:root {
  --font-gmarket: 'Gmarket Sans TTF', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-pretendard: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --color-bg-dark: #101010;
  --color-blue: #0084FF;
  --color-blue-light: #3DA1FF;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gray-line: rgba(255, 255, 255, 0.5);
  --color-gray-dim: rgba(255, 255, 255, 0.4);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  width: 100%;
  min-height: 100%;
  background-color: #050505;
  color: var(--color-white);
  font-family: var(--font-gmarket);
  word-break: keep-all;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

input {
  font-family: inherit;
}

/* 840px Container */
.event-container {
  width: 84rem;
  max-width: 100%;
  margin: 0 auto;
  background-color: var(--color-bg-dark);
  position: relative;
  box-shadow: 0 0 5rem rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

/* ==========================================================================
   Notice Accordion Section (Figma 1:431 & 1:275)
   ========================================================================== */
.notice-section {
  width: 84rem;
  max-width: 100%;
  margin: 0 auto;
  background-color: var(--color-bg-dark);
  padding: 0 4rem 5rem;
}

.notice-list {
  display: flex;
  flex-direction: column;
  border-top: 0.1rem solid var(--color-gray-line);
}

.notice-item {
  border-bottom: 0.1rem solid var(--color-gray-line);
}

.notice-header {
  width: 100%;
  padding: 3.5rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  color: var(--color-white);
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 3.0rem;
  line-height: 4.0rem;
  letter-spacing: -0.02em;
  text-align: left;
}

.notice-header .arrow-icon {
  width: 1.3rem;
  height: 1.3rem;
  border-right: 0.2rem solid var(--color-gray-line);
  border-bottom: 0.2rem solid var(--color-gray-line);
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.notice-item.active .notice-header .arrow-icon {
  transform: rotate(-135deg);
}

.notice-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  font-size: 2.8rem;
  line-height: 3.6rem;
  color: var(--color-white);
  font-family: var(--font-pretendard);
  padding: 0 1rem;
}

.notice-item.active .notice-body {
  padding: 1rem 1rem 5rem;
  max-height: 200rem;
}

.notice-body ul {
  list-style: none;
  padding-left: 0;
}

.notice-body li {
  position: relative;
  padding-left: 0;
  margin-bottom: 1.6rem;
  word-break: keep-all;
  letter-spacing: -0.01em;
}

/* 자동 도트 제거 — 도트는 관리자가 텍스트에 직접 입력(고객 요청) */
.notice-body li::before {
  content: none;
}

.notice-body .notice-sub-title {
  font-weight: 700;
  margin: 3rem 0 1.5rem;
  color: var(--color-white);
  font-size: 2.8rem;
}

/* ==========================================================================
   Footer (Figma 1:457 / 1:485)
   ========================================================================== */
.event-footer {
  width: 84rem;
  max-width: 100%;
  margin: 0 auto;
  background-color: var(--color-white);
  color: #000000;
  padding: 6.3rem 3.3rem;
  text-align: center;
  font-family: var(--font-pretendard);
}

.event-footer .company-name {
  font-weight: 500;
  font-size: 2.3rem;
  line-height: 3.3rem;
  color: #000000;
  margin-bottom: 0.6rem;
}

.event-footer .copyright,
.event-footer .biz-info {
  font-weight: 100;
  font-size: 2.3rem;
  line-height: 3.3rem;
  color: #000000;
}

/* ==========================================================================
   Modal Overlay
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

/* ── 진행 중인 다른 이벤트(이벤트 간 교차 노출 카드) — 상세/랜딩 공용 ── */
.other-events-section {
  width: 84rem;
  max-width: 100%;
  box-sizing: border-box;
  padding: 5rem 4rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.8rem;
}

.other-events-title {
  font-family: var(--font-gmarket);
  font-weight: 700;
  font-size: 4.4rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-align: center;
}

.other-event-card {
  display: block;
  width: 76rem;
  max-width: 100%;
  line-height: 0;
}

.other-event-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2.5rem;
}
