/* ===================================================
   뚀즈 - 남해 독일마을 기념품 공모전 2회
   포스터 키비주얼 기반 디자인 시스템
   =================================================== */

/* Pretendard 폰트 백업 (CDN 링크 보완) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* CSS Variables - 포스터 오렌지/화이트 테마 */
:root {
  --orange:       #F5860A;      /* 포스터 메인 오렌지 */
  --orange-dark:  #D4700A;
  --orange-light: #FFAD4D;
  --orange-pale:  #FFF3E0;
  --orange-bg:    #FEF6EC;
  
  --navy:         #1A2E4A;      /* 포스터 다크 텍스트 */
  --navy-light:   #2E4A6E;
  
  --black:        #1C1C1C;
  --charcoal:     #333333;
  --gray-dark:    #555555;
  --gray:         #888888;
  --gray-light:   #CCCCCC;
  --gray-pale:    #F5F5F5;
  
  --white:        #FFFFFF;
  --cream:        #FFFDF8;
  --warm-bg:      #FFF8F0;
  
  --accent-green: #4CAF50;
  --accent-red:   #E53935;
  --accent-blue:  #1565C0;
  
  --border:       #E8E0D6;
  --border-orange:#F5860A40;
  --shadow:       0 4px 20px rgba(245,134,10,0.12);
  --shadow-lg:    0 8px 40px rgba(245,134,10,0.2);
  --shadow-dark:  0 4px 20px rgba(0,0,0,0.12);
  --radius:       10px;
  --radius-lg:    20px;
  --transition:   all 0.3s ease;
  --font-main:    'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --font-title:   'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --font-display: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--black);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; border: none; font-family: var(--font-main); }
input, textarea, select { font-family: var(--font-main); outline: none; }

/* 헤딩 전반 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* ===================================================
   레이아웃
   =================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* ===================================================
   네비게이션
   =================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(245,134,10,0.15);
  border-bottom: 3px solid var(--orange);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.99);
  box-shadow: 0 4px 30px rgba(245,134,10,0.2);
}

.nav-container {
  max-width: 1300px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo { display: flex; align-items: center; gap: 12px; }

.nav-logo-badge {
  background: var(--orange);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 8px;
  letter-spacing: 1px;
  box-shadow: 0 3px 12px rgba(245,134,10,0.35);
}

.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-title { font-size: 0.75rem; color: var(--charcoal); font-weight: 600; }
.nav-logo-sub { font-size: 0.62rem; color: var(--gray); }

.nav-menu { display: flex; align-items: center; gap: 2px; }

.nav-link {
  display: block; padding: 7px 12px;
  color: var(--charcoal); font-size: 0.85rem; font-weight: 500;
  border-radius: var(--radius); transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--orange); background: var(--orange-pale);
}

.nav-btn {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 7px 18px !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(245,134,10,0.3);
}

.nav-btn:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(245,134,10,0.4) !important;
}

.nav-admin-btn {
  background: var(--gray-pale) !important;
  color: var(--gray) !important;
  font-size: 0.75rem !important;
  padding: 5px 11px !important;
  border-radius: 14px !important;
  border: 1px solid var(--gray-light) !important;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer; background: none; border: none;
}

.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--charcoal); transition: var(--transition); border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   히어로 섹션 - 포스터 키비주얼 테마
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  overflow: hidden;
  padding-top: 68px;
}

/* 왼쪽 오렌지 콜라주 영역 */
.hero-left {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 44%;
  background: linear-gradient(145deg, var(--orange) 0%, #E8740A 40%, #D4620A 70%, #B85508 100%);
  overflow: hidden; /* 스티커가 밖으로 나가지 않도록 */
  clip-path: none;
}

.hero-left-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.1) 0%, transparent 50%);
}

.hero-left-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 60px 40px 40px;
  text-align: center;
}

.hero-village-emoji {
  font-size: 5rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.hero-collage-items {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  max-width: 260px;
}

.hero-collage-item {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 6px 12px;
  color: white; font-size: 0.78rem; font-weight: 600;
  backdrop-filter: blur(4px);
}

.hero-year-badge {
  background: rgba(255,255,255,0.95);
  color: var(--orange-dark);
  font-size: 2rem; font-weight: 900;
  padding: 8px 24px;
  border-radius: 12px;
  margin-bottom: 16px;
  letter-spacing: 2px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.hero-poster-title {
  color: white;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 800;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* 오른쪽 정보 영역 */
.hero-right {
  position: relative; z-index: 2;
  margin-left: 42%;
  padding: 60px 40px 60px 60px;
  flex: 1;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange-pale);
  border: 1.5px solid var(--orange);
  color: var(--orange-dark);
  padding: 5px 16px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.hero-main-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.2;
  color: var(--navy);
  margin-bottom: 8px; letter-spacing: -0.5px;
}

.hero-brand-name {
  display: block;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -3px;
  /* 포스터와 동일한 검정 덩어리감 표현 */
  -webkit-text-stroke: 0px transparent;
  text-shadow: 4px 4px 0px rgba(26,46,74,0.12), 6px 6px 0px rgba(26,46,74,0.06);
  margin-bottom: 4px;
}

.hero-brand-desc {
  font-size: 0.82rem; color: var(--gray);
  margin-bottom: 28px;
  padding: 8px 14px;
  background: var(--gray-pale);
  border-radius: 6px; display: inline-block;
  border-left: 3px solid var(--orange);
}

/* 접수 기간 박스 */
.hero-deadline-box {
  background: var(--orange);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-deadline-box::before {
  content: '';
  position: absolute; top: -20px; right: -20px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.hero-deadline-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.85);
  font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 6px;
}

.hero-deadline-period {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700; color: white;
  margin-bottom: 14px; line-height: 1.2;
}

.hero-countdown {
  display: flex; gap: 10px; align-items: center;
}

.countdown-item { text-align: center; }

.countdown-num {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800; color: white; line-height: 1;
  background: rgba(255,255,255,0.2);
  border-radius: 8px; padding: 8px 12px; min-width: 56px;
}

.countdown-label {
  display: block; font-size: 0.65rem;
  color: rgba(255,255,255,0.75); margin-top: 4px;
}

.countdown-sep { font-size: 1.5rem; font-weight: 900; color: rgba(255,255,255,0.5); line-height: 1; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 상태 뱃지 */
.hero-status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.4);
  color: #2e7d32; padding: 4px 12px; border-radius: 16px;
  font-size: 0.75rem; font-weight: 700; margin-bottom: 16px;
}
.pulse-dot {
  width: 7px; height: 7px; background: #4CAF50; border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

/* ===================================================
   버튼
   =================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px;
  font-size: 0.92rem; font-weight: 700;
  transition: var(--transition); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
}

.btn-primary {
  background: var(--orange); color: var(--white);
  box-shadow: 0 4px 15px rgba(245,134,10,0.35);
}
.btn-primary:hover {
  background: var(--orange-dark); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,134,10,0.45);
}

.btn-outline {
  background: transparent; color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover { background: var(--orange); color: var(--white); }

.btn-dark {
  background: var(--navy); color: var(--white);
  box-shadow: 0 4px 15px rgba(26,46,74,0.25);
}
.btn-dark:hover { background: var(--navy-light); color: var(--white); transform: translateY(-2px); }

.btn-white {
  background: var(--white); color: var(--orange);
  border-color: var(--white);
}
.btn-white:hover { background: var(--orange-pale); }

.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===================================================
   섹션 헤더
   =================================================== */
.section-header { text-align: center; margin-bottom: 56px; }

.section-tag {
  display: inline-block;
  background: var(--orange-pale); color: var(--orange-dark);
  padding: 4px 16px; border-radius: 16px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1px; margin-bottom: 12px;
  text-transform: uppercase; border: 1px solid var(--border-orange);
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--navy);
  line-height: 1.25; margin-bottom: 14px;
  letter-spacing: -0.4px;
}

.section-title .highlight { color: var(--orange); }

.section-desc {
  font-size: 0.95rem; color: var(--gray);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* 오렌지 구분선 */
.orange-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin: 16px auto 0; max-width: 160px;
}
.orange-divider::before, .orange-divider::after {
  content: ''; flex: 1; height: 2px;
  background: linear-gradient(to right, transparent, var(--orange));
}
.orange-divider::after { background: linear-gradient(to left, transparent, var(--orange)); }

/* ===================================================
   카드
   =================================================== */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark); transition: var(--transition); overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.card-body { padding: 28px; }
.card-header { padding: 20px 28px; border-bottom: 1px solid var(--border); }
.card-footer { padding: 16px 28px; border-top: 1px solid var(--border); background: var(--warm-bg); }

/* ===================================================
   페이지 헤더
   =================================================== */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 110px 0 56px;
  position: relative; overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 80% 50%, rgba(245,134,10,0.15) 0%, transparent 60%),
    radial-gradient(circle at 20% 50%, rgba(245,134,10,0.08) 0%, transparent 50%);
}

.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(to right, var(--orange) 0%, var(--orange-light) 50%, var(--orange) 100%);
}

.page-header-content { position: relative; z-index: 2; }
.page-header-tag {
  display: inline-block;
  background: rgba(245,134,10,0.2); color: var(--orange-light);
  border: 1px solid rgba(245,134,10,0.35);
  padding: 4px 14px; border-radius: 14px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
  margin-bottom: 12px;
}
.page-header-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 10px; letter-spacing: -0.4px; }
.page-header-desc { font-size: 0.95rem; color: rgba(255,255,255,0.65); max-width: 540px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px; font-size: 0.78rem; color: rgba(255,255,255,0.45);
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--orange-light); }

/* ===================================================
   시상 카드 (포스터 스타일)
   =================================================== */
.prize-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.prize-card:hover { transform: translateY(-6px); }
.prize-card::before {
  content: '';
  position: absolute; bottom: -20px; right: -20px;
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.1); border-radius: 50%;
}

.prize-대상 { background: linear-gradient(135deg, #B85508 0%, var(--orange) 100%); }
.prize-최우수상 { background: linear-gradient(135deg, #C47A00 0%, #E8A800 100%); }
.prize-우수상 { background: linear-gradient(135deg, #5A5A5A 0%, #888 100%); }
.prize-특별상 { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }

/* ===================================================
   공지사항 리스트
   =================================================== */
.notice-list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--border);
  transition: var(--transition); cursor: pointer;
}
.notice-list-item:last-child { border-bottom: none; }
.notice-list-item:hover { padding-left: 4px; }

.notice-badge {
  flex-shrink: 0; padding: 2px 10px;
  border-radius: 12px; font-size: 0.7rem; font-weight: 700;
}
.badge-pinned { background: rgba(245,134,10,0.12); color: var(--orange-dark); }
.badge-notice { background: rgba(26,46,74,0.08); color: var(--navy); }
.badge-award { background: rgba(245,134,10,0.15); color: #8a5a00; }

.notice-title { flex: 1; font-size: 0.9rem; color: var(--charcoal); font-weight: 500; }
.notice-title:hover { color: var(--orange); }
.notice-date { flex-shrink: 0; font-size: 0.75rem; color: var(--gray); }

/* ===================================================
   타임라인
   =================================================== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 14px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--navy));
  border-radius: 2px;
}

.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-dot {
  position: absolute; left: -32px; top: 4px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--gray-light); border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gray-light);
}
.timeline-dot.active {
  background: var(--orange); box-shadow: 0 0 0 2px var(--orange), 0 0 0 5px rgba(245,134,10,0.2);
}
.timeline-dot.done { background: var(--accent-green); box-shadow: 0 0 0 2px var(--accent-green); }

.timeline-content {
  background: var(--white); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-left: 3px solid var(--gray-light);
}
.timeline-content.active { border-left-color: var(--orange); background: rgba(245,134,10,0.02); }
.timeline-period { font-size: 0.75rem; color: var(--orange); font-weight: 700; margin-bottom: 3px; }
.timeline-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.timeline-desc { font-size: 0.82rem; color: var(--gray); }

/* ===================================================
   그리드
   =================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===================================================
   폼
   =================================================== */
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--charcoal); margin-bottom: 7px; }
.form-label .required { color: var(--orange); margin-left: 3px; }

.form-control {
  width: 100%; padding: 11px 15px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.9rem; color: var(--charcoal); background: var(--white);
  transition: var(--transition);
}
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,134,10,0.1); }
.form-control::placeholder { color: var(--gray-light); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}

.form-control.error { border-color: var(--accent-red); }
.form-error { font-size: 0.75rem; color: var(--accent-red); margin-top: 5px; display: none; }
.form-control.error + .form-error { display: block; }
.form-hint { font-size: 0.75rem; color: var(--gray); margin-top: 5px; }

/* 파일 업로드 */
.file-upload-area {
  border: 2px dashed var(--border); border-radius: var(--radius-lg);
  padding: 36px; text-align: center; cursor: pointer;
  transition: var(--transition); background: var(--warm-bg);
}
.file-upload-area:hover, .file-upload-area.dragover {
  border-color: var(--orange); background: var(--orange-pale);
}
.file-upload-icon { font-size: 2.2rem; margin-bottom: 10px; }
.file-upload-text { font-size: 0.88rem; color: var(--gray); margin-bottom: 6px; }
.file-upload-hint { font-size: 0.75rem; color: var(--gray-light); }

/* 체크박스 */
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.form-check-input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; }
.form-check-label { font-size: 0.86rem; color: var(--charcoal); line-height: 1.5; }

/* ===================================================
   테이블
   =================================================== */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-dark); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
thead th {
  background: var(--navy); color: var(--white);
  padding: 13px 15px; font-size: 0.82rem; font-weight: 700; text-align: left; white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--border); transition: var(--transition); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--orange-pale); }
tbody td { padding: 13px 15px; font-size: 0.86rem; color: var(--charcoal); }

/* ===================================================
   배지
   =================================================== */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 12px;
  font-size: 0.72rem; font-weight: 700;
}
.badge-primary { background: rgba(26,46,74,0.08); color: var(--navy); }
.badge-success { background: rgba(76,175,80,0.1); color: #2e7d32; }
.badge-warning { background: rgba(245,134,10,0.12); color: var(--orange-dark); }
.badge-danger { background: rgba(229,57,53,0.1); color: var(--accent-red); }
.badge-gray { background: rgba(136,136,136,0.1); color: var(--gray); }
.badge-gold { background: rgba(245,134,10,0.15); color: #7a5000; }

/* ===================================================
   토스트
   =================================================== */
#toast-container {
  position: fixed; top: 86px; right: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: var(--white); border-radius: var(--radius);
  padding: 13px 18px; box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border-left: 4px solid var(--orange);
  display: flex; align-items: center; gap: 10px;
  min-width: 270px; max-width: 380px;
  animation: slideIn 0.3s ease; font-size: 0.85rem;
}
.toast-success { border-left-color: var(--accent-green); }
.toast-error { border-left-color: var(--accent-red); }
.toast-warning { border-left-color: var(--orange); }
.toast-icon { font-size: 1rem; }
.toast-text { flex: 1; }
.toast.hide { animation: slideOut 0.3s ease forwards; }
@keyframes slideIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(110%); opacity: 0; } }

/* ===================================================
   페이지네이션
   =================================================== */
.pagination { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 36px; }
.page-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--charcoal); font-size: 0.82rem; cursor: pointer;
  transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
.page-btn:hover, .page-btn.active { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* ===================================================
   모달
   =================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(26,46,74,0.5);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: scale(0.93); transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  padding: 22px 26px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-title { font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.modal-close { background: none; border: none; font-size: 1.2rem; color: var(--gray); cursor: pointer; padding: 4px; }
.modal-close:hover { color: var(--accent-red); }
.modal-body { padding: 26px; }
.modal-footer { padding: 18px 26px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ===================================================
   로딩 / 빈 상태
   =================================================== */
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px; gap: 14px; color: var(--gray); }
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--orange); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state { text-align: center; padding: 70px 40px; color: var(--gray); }
.empty-state-icon { font-size: 3.5rem; margin-bottom: 14px; display: block; }
.empty-state-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--gray-dark); }
.empty-state-desc { font-size: 0.85rem; }

/* ===================================================
   FAQ
   =================================================== */
.faq-item {
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 10px; overflow: hidden;
  border: 1px solid var(--border);
}
.faq-question {
  padding: 18px 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-weight: 700; font-size: 0.92rem; color: var(--navy);
  transition: var(--transition); background: none; border: none; width: 100%; text-align: left;
}
.faq-question:hover { background: var(--warm-bg); }
.faq-item.open .faq-question { color: var(--orange); border-bottom: 1px solid var(--border); }
.faq-q-badge {
  flex-shrink: 0; width: 26px; height: 26px;
  background: var(--orange); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800;
}
.faq-arrow { font-size: 0.78rem; color: var(--gray); transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--orange); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 18px 22px; font-size: 0.88rem; color: var(--gray-dark); line-height: 1.75; background: var(--warm-bg); }

/* ===================================================
   수상작 카드
   =================================================== */
.award-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-dark); transition: var(--transition); }
.award-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.award-card-image { height: 230px; display: flex; align-items: center; justify-content: center; font-size: 5rem; position: relative; }
.award-grade-badge { position: absolute; top: 14px; left: 14px; padding: 3px 12px; border-radius: 14px; font-size: 0.72rem; font-weight: 800; color: var(--white); }

/* ===================================================
   CTA 배너
   =================================================== */
.cta-banner {
  background: var(--orange);
  border-radius: var(--radius-lg); padding: 28px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '뚀즈'; position: absolute; right: 120px; top: -10px;
  font-size: 7rem; font-weight: 900; color: rgba(255,255,255,0.06);
  pointer-events: none;
}
.cta-banner-content h3 { font-size: 1.25rem; font-weight: 900; color: var(--white); margin-bottom: 5px; }
.cta-banner-content p { font-size: 0.85rem; color: rgba(255,255,255,0.82); }

/* ===================================================
   통계 카드
   =================================================== */
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 26px; text-align: center; box-shadow: var(--shadow-dark); border-top: 4px solid var(--orange); }
.stat-card:nth-child(2) { border-top-color: var(--navy); }
.stat-card:nth-child(3) { border-top-color: var(--orange-light); }
.stat-card:nth-child(4) { border-top-color: var(--accent-green); }
.stat-icon { font-size: 1.8rem; margin-bottom: 10px; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 5px; }
.stat-label { font-size: 0.82rem; color: var(--gray); }

/* ===================================================
   푸터
   =================================================== */
footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.8rem; font-weight: 900; color: var(--orange); letter-spacing: 2px; margin-bottom: 8px; }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 14px; }
.footer-org { font-size: 0.75rem; color: rgba(255,255,255,0.35); line-height: 1.7; }
.footer-heading { font-size: 0.82rem; font-weight: 800; color: var(--white); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-link { font-size: 0.8rem; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-link:hover { color: var(--orange-light); }
.footer-contact-item { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 7px; display: flex; gap: 8px; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0; display: flex; align-items: center; justify-content: space-between;
  font-size: 0.74rem; color: rgba(255,255,255,0.28);
}

/* 오렌지 강조선 (footer top) */
footer::before {
  content: '';
  display: block; height: 4px;
  background: linear-gradient(to right, var(--orange-dark), var(--orange), var(--orange-light));
}

/* ===================================================
   스크롤 탑
   =================================================== */
#scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--orange); color: var(--white);
  border-radius: 50%; border: none; cursor: pointer;
  font-size: 1rem; box-shadow: 0 4px 15px rgba(245,134,10,0.4);
  transition: var(--transition); opacity: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center; z-index: 999;
}
#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover { background: var(--orange-dark); transform: translateY(-3px); }

/* ===================================================
   반응형
   =================================================== */
@media (max-width: 1024px) {
  .hero-left { width: 38%; }
  .hero-right { margin-left: 36%; padding-left: 48px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: 68px; flex-direction: column; }
  .hero-left {
    position: relative; width: 100%; height: 240px;
    clip-path: none;
    overflow: hidden;
  }
  .hero-left-content { padding: 24px 20px 40px; }
  .hero-right { margin-left: 0; padding: 40px 20px; max-width: 100%; }
  
  .nav-menu {
    display: none; position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    padding: 12px; gap: 3px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    max-height: calc(100vh - 68px); overflow-y: auto;
    border-top: 2px solid var(--orange);
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 11px 14px; }
  .nav-toggle { display: flex; }
  
  .section { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  
  .cta-banner { flex-direction: column; text-align: center; }
  .steps-block { flex-direction: column; }
  .modal { max-width: 95%; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-countdown { gap: 6px; }
  .countdown-num { min-width: 44px; padding: 6px 8px; }
}

/* ===================================================
   유틸리티
   =================================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-orange { color: var(--orange); }
.text-navy { color: var(--navy); }
.text-gray { color: var(--gray); }
.text-success { color: var(--accent-green); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* 오렌지 하이라이트 박스 */
.highlight-box {
  background: var(--orange-pale);
  border: 1.5px solid var(--border-orange);
  border-radius: var(--radius); padding: 16px 20px;
  border-left: 4px solid var(--orange);
}

/* 다운로드 행 */
.download-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; background: var(--warm-bg); border-radius: var(--radius);
  border: 1px solid var(--border); transition: var(--transition);
}
.download-row:hover { border-color: var(--orange); background: var(--orange-pale); }
