:root{
  --bg: #f0f2f5;
  --card: #ffffffee;
  --text: #111827;
  --muted: #6b7280;
  --primary: #60a5fa;
  --primary-strong: #3b82f6;
  --radius: 16px;
  --shadow: 0 20px 40px rgba(2,6,23,.25);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(99,102,241,.25), transparent 60%),
    radial-gradient(900px 500px at -10% 100%, rgba(56,189,248,.20), transparent 60%),
    var(--bg);
}

/* 메인 배너 */
.main-banner {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 20px;
}

.main-banner h1 { font-size: 48px; margin-bottom: 20px; }
.main-banner p { font-size: 18px; margin-bottom: 30px; }

/* 로그인 버튼 가시성 강화 */
.login-btn {
  display: inline-block;
  padding: 14px 30px;
  background: white;
  color: var(--primary-strong);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.login-btn:hover {
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: white;
  transform: translateY(-2px);
}

/* 게시판 영역 */
.container {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  gap: 20px;
}

.boards {
  display: flex;
  flex: 3;
  gap: 20px;
}

.board-section {
  background: var(--card);
  flex: 1;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 350px;
  overflow-y: auto;
}

.board-section h2 {
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.board-section ul { list-style: none; margin: 0; padding: 0; }
.board-section li { margin: 8px 0; }
.board-section a {
  text-decoration: none;
  color: var(--primary-strong);
}
.board-section a:hover { text-decoration: underline; }

/* 반응형 */
@media (max-width: 900px){
  .container { flex-direction: column; align-items: center; }
  .boards { flex-direction: column; width: 100%; }
  .board-section { width: 100%; }
}

/* 승인 완료 박스 */
.welcome-box {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: inline-block;
  color: #065f46;
}
.welcome-text {
  font-size: 18px;
  margin: 0 0 15px 0;
}
.nickname {
  font-weight: 700;
  color: #059669;
}
.guild {
  font-style: italic;
  color: #10b981;
}

/* 승인 대기 박스 */
.pending-box {
  background: #fff8e1;
  border: 1px solid #fcd34d;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: inline-block;
  color: #92400e;
}
.pending-text {
  font-size: 18px;
  margin: 0 0 15px 0;
}

/* 로그아웃 버튼 */
.logout-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #ef4444;
  color: white;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.logout-btn:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}
