@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Paperlogy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
/* 깜빡임 방지 */
.nav-right .login-btn, .nav-right .user-menu { opacity: 0; transition: opacity 0.15s; }
html.is-logged-in .nav-right .login-btn { display: none !important; }
html.is-logged-in .nav-right .user-menu { display: flex !important; opacity: 1 !important; }
html.is-logged-out .nav-right .login-btn { opacity: 1; }
html.is-logged-out .nav-right .user-menu { display: none !important; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Paperlogy', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0f;
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
}

/* Header */
header {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-title {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-tagline {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu > a,
.nav-menu .dropdown-trigger {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu > a:hover,
.nav-menu .dropdown-trigger:hover {
  color: #a855f7;
}
.dropdown {
  position: relative;
}
.dropdown-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.dropdown:hover .dropdown-trigger svg {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 12px;
  min-width: 280px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  margin-top: 12px;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 8px;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s;
}
.dropdown-menu a:hover {
  background: rgba(139, 92, 246, 0.2);
  color: #a855f7;
}
.dropdown-menu .menu-icon {
  width: 36px;
  height: 36px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a855f7;
}
.dropdown-menu .menu-icon svg {
  width: 18px;
  height: 18px;
}
.dropdown-menu .menu-text {
  display: flex;
  flex-direction: column;
}
.dropdown-menu .menu-title {
  font-weight: 600;
  color: #fff;
}
.dropdown-menu .menu-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.login-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}
.user-menu {
  display: none;
  align-items: center;
  gap: 12px;
}
.user-menu.active {
  display: flex;
}
.user-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.user-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-btn {
  padding: 8px 16px;
  background: rgba(139, 92, 246, 0.2);
  color: #a855f7;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.dashboard-btn:hover {
  background: rgba(139, 92, 246, 0.3);
}
.logout-btn {
  padding: 8px 12px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.logout-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0a0a0f;
  z-index: 200;
  padding: 24px;
  flex-direction: column;
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #fff;
}
.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu-links a {
  padding: 16px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-links a:hover {
  background: rgba(139, 92, 246, 0.2);
}
.mobile-menu-cta {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu-cta .login-btn {
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 16px;
  display: block;
}

/* Page Header */
.page-header {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.15) 0%, transparent 100%);
  padding: 80px 24px;
  text-align: center;
}
.page-header h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
}

/* Content */
.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.notice-list {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.notice-item {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}
.notice-item:hover {
  background: rgba(139, 92, 246, 0.1);
}
.notice-item:last-child {
  border-bottom: none;
}
.notice-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.notice-badge {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.notice-badge.normal {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}
.notice-title {
  font-weight: 600;
  color: #fff;
}
.notice-date {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  white-space: nowrap;
}
.notice-empty {
  padding: 60px 24px;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* Notice Detail Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background: #14141f;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.1);
}
.modal-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.modal-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.modal-header .modal-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #fff;
}
.modal-close svg {
  width: 24px;
  height: 24px;
}
.modal-body {
  padding: 24px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  white-space: pre-wrap;
}

/* Footer */
footer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 24px 40px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand-icon svg { width: 22px; height: 22px; color: #fff; }
.footer-brand-name { font-size: 24px; font-weight: 800; color: #fff; }
.footer-info {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  line-height: 1.8;
}
.footer-column h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.footer-column ul {
  list-style: none;
}
.footer-column li {
  margin-bottom: 12px;
}
.footer-column a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-column a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copyright {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-menu-btn { display: block; }
  .login-btn { display: none; }
  .user-menu { display: none !important; }
  .page-header { padding: 60px 16px; }
  .page-header h1 { font-size: 32px; }
  .notice-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .notice-info { flex-wrap: wrap; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
