/* ==========================================================================
   ARCHI·FORUM 2026 - Architectural Design Forum Stylesheet
   ========================================================================== */

:root {
  /* 라이트 모드 (기본 테마) - 모던 아키텍처 스톤 & 테라코타 팔레트 */
  --bg-primary: #fcfcfb;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-subtle: #f5f5f3;
  --bg-accent-subtle: #fff7ed;
  
  --text-main: #18181b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --primary: #ea580c; /* 테라코타 / 코르텐강 건축 액센트 */
  --primary-hover: #c2410c;
  --primary-light: rgba(234, 88, 12, 0.12);
  --primary-glow: rgba(234, 88, 12, 0.25);
  
  --secondary: #2563eb; /* 블루프린트 코발트 블루 */
  --secondary-light: rgba(37, 99, 235, 0.1);
  
  --border: #e4e4e7;
  --border-focus: #ea580c;
  --border-light: #f4f4f5;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.09), 0 6px 12px -3px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 32px -6px rgba(0, 0, 0, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.06);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --grid-line-color: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] {
  /* 다크 모드 - 흑연 / 모놀리스 옵시디언 팔레트 */
  --bg-primary: #090b0e;
  --bg-surface: #12151c;
  --bg-card: rgba(18, 21, 28, 0.88);
  --bg-subtle: #191e28;
  --bg-accent-subtle: rgba(249, 115, 22, 0.12);
  
  --text-main: #f4f4f6;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  
  --primary: #f97316;
  --primary-hover: #ea580c;
  --primary-light: rgba(249, 115, 22, 0.18);
  --primary-glow: rgba(249, 115, 22, 0.35);
  
  --secondary: #3b82f6;
  --secondary-light: rgba(59, 130, 246, 0.15);
  
  --border: #222938;
  --border-focus: #f97316;
  --border-light: #1c2230;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 32px rgba(0, 0, 0, 0.7);
  --grid-line-color: rgba(255, 255, 255, 0.035);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  font-size: 16px;
  color: var(--text-main);
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  line-height: 1.65;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

input, textarea, select {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-surface);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

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

.logo-icon-box {
  width: 38px;
  height: 38px;
  background-color: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.15rem;
  transition: var(--transition);
}

.logo:hover .logo-icon-box {
  background-color: var(--primary);
  color: #fff;
  transform: rotate(15deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.1;
}

.logo-main .highlight {
  color: var(--primary);
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

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

.theme-toggle, .mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  transition: var(--transition);
  font-size: 1.05rem;
}

.theme-toggle:hover, .mobile-toggle:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-nav-cta {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.mobile-toggle {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, var(--primary-light) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, var(--secondary-light) 0%, transparent 40%);
}

.blueprint-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, var(--grid-line-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-color) 1px, transparent 1px);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(234, 88, 12, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Space Grotesk', 'Pretendard', sans-serif;
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #d97706 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.975rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background-color: var(--border);
}

/* Hero Visual & Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
}

.card-header {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.card-title {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-left: 8px;
}

.card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.glass-card:hover .hero-img {
  transform: scale(1.04);
}

.card-img-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
}

.preview-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.preview-item p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.icon-accent {
  font-size: 1.25rem;
  color: var(--primary);
  margin-top: 2px;
}

.preview-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
  padding: 95px 0;
  position: relative;
}

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

.section-header {
  margin-bottom: 52px;
}

.section-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Space Grotesk', 'Pretendard', sans-serif;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto;
}

/* ==========================================================================
   Agenda & Sessions Section
   ========================================================================== */
.agenda-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.agenda-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.agenda-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-lg);
}

.agenda-number {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.agenda-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.bg-terracotta { background: rgba(234, 88, 12, 0.12); color: #ea580c; }
.bg-blue { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.bg-purple { background: rgba(168, 85, 247, 0.12); color: #a855f7; }
.bg-emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; }

.agenda-meta-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.agenda-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.agenda-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.agenda-details {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-main);
  font-weight: 500;
}

.agenda-details li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agenda-details li i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* ==========================================================================
   Showcase Section (Gallery & Filters)
   ========================================================================== */
.showcase-section {
  background-color: var(--bg-primary);
}

.filter-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.showcase-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-lg);
}

.showcase-thumb {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.showcase-card:hover .showcase-thumb img {
  transform: scale(1.08);
}

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.like-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.like-btn:hover, .like-btn.liked {
  background-color: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

.like-btn.liked i {
  font-weight: 900;
}

.showcase-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-specs {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.project-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-specs i {
  color: var(--primary);
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.architect-name {
  font-weight: 700;
  color: var(--text-main);
}

.year-badge {
  background-color: var(--bg-subtle);
  color: var(--primary);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

/* ==========================================================================
   Forum Discussion & Community Board Section
   ========================================================================== */
.forum-discussion-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.forum-board-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.forum-board-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.forum-board-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 14px;
}

.header-title-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.header-title-box h3 i {
  color: var(--primary);
}

.header-title-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.forum-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* 토론 입력 폼 */
.discussion-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: var(--bg-subtle);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.input-row {
  display: flex;
  gap: 12px;
}

.topic-select {
  width: 170px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
}

.input-row input {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.input-row-full {
  display: flex;
  gap: 12px;
}

.input-row-full input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.925rem;
  outline: none;
  transition: var(--transition);
}

.input-row input:focus, .input-row-full input:focus, .topic-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.btn-submit-topic {
  white-space: nowrap;
  padding: 12px 20px;
  font-size: 0.925rem;
}

/* 토론 필터 탭 */
.discussion-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.d-filter-btn {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: var(--transition);
}

.d-filter-btn.active, .d-filter-btn:hover {
  background-color: var(--text-main);
  color: var(--bg-surface);
  border-color: var(--text-main);
}

/* 토론 목록 리스트 */
.discussion-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.discussion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.discussion-item:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-sm);
}

.discussion-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.discussion-top-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
}

.discussion-category-badge {
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
  background-color: var(--primary-light);
  color: var(--primary);
}

.discussion-author {
  font-weight: 700;
  color: var(--text-main);
}

.discussion-time {
  color: var(--text-light);
}

.discussion-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
}

.discussion-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vote-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.vote-btn:hover, .vote-btn.voted {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.vote-btn.voted i {
  color: var(--primary);
}

.delete-topic-btn {
  color: var(--text-light);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.delete-topic-btn:hover {
  color: #ef4444;
  background-color: rgba(239, 68, 68, 0.1);
}

/* ==========================================================================
   Forum Teaser Section (in index.html)
   ========================================================================== */
.forum-teaser-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 95px 0;
}

.forum-teaser-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle at 100% 0%, var(--primary-light) 0%, transparent 60%);
}

.teaser-title {
  font-family: 'Space Grotesk', 'Pretendard', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.6px;
}

.teaser-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.teaser-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.t-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.t-feature i {
  color: var(--primary);
  font-size: 1rem;
}

.teaser-actions {
  display: flex;
  gap: 16px;
}

.teaser-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.teaser-stat-box {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.t-stat-icon {
  width: 72px;
  height: 72px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.t-stat-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.t-stat-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Dedicated Forum Page (forum.html)
   ========================================================================== */
.forum-page-body {
  background-color: var(--bg-primary);
}

.forum-hero-banner {
  padding: 70px 0 50px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, var(--primary-light) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, var(--secondary-light) 0%, transparent 40%);
  border-bottom: 1px solid var(--border);
}

.forum-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.forum-breadcrumb a {
  color: var(--text-muted);
}

.forum-breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  font-size: 0.7rem;
  color: var(--text-light);
}

.forum-hero-title {
  font-family: 'Space Grotesk', 'Pretendard', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.forum-hero-desc {
  font-size: 1.075rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

.forum-main-section {
  padding: 60px 0 90px;
}

.form-submit-row {
  display: flex;
  justify-content: flex-end;
}

.empty-discussion-state {
  text-align: center;
  padding: 60px 24px;
  background-color: var(--bg-primary);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

.empty-icon {
  font-size: 2.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
  display: block;
}

.empty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.empty-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto;
}

.discussion-detail-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 6px;
  white-space: pre-line;
}


/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 70px 0 35px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-info-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-info-text i {
  color: var(--primary);
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--text-main);
  color: var(--bg-surface);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  z-index: 1000;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--primary);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Design (Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .btn-nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background-color: var(--bg-surface);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: var(--shadow-lg);
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .input-row {
    flex-direction: column;
  }

  .topic-select {
    width: 100%;
  }

  .input-row-full {
    flex-direction: column;
  }

  .forum-board-card {
    padding: 24px 18px;
  }

  .contact-card {
    padding: 24px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
