@font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; } @font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; } @font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; } @font-face { font-family: 'Pretendard'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #F3F3F3;
  --panel: #FFFFFF;
  --border: #E5E5E5;
  --fg: #1A1A1A;
  --muted: #666666;
  --accent: #0078D4;
  --accent-hover: #106EBE;
  --accent-light: #E5F1FB;
  --success: #107C10;
  --danger: #D13438;
  --warning: #FFB900;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

code, pre {
  font-family: 'Cascadia Code', 'Consolas', monospace;
}

.win-topbar {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.win-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
  color: var(--fg);
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0078D4 0%, #00BCF2 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 700; */
}

.nav-menu {
  display: flex;
  gap: 8px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.15s ease;
  font-size: 14px;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--fg);
  background: var(--accent-light);
}

.admin-link {
  color: var(--accent);
  border: 1px solid var(--accent);
}

.admin-link:hover {
  background: var(--accent);
  color: white;
}

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

.section-title {
  color: var(--fg);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 16px;
}

.section-start {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  min-width: 600px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  object-fit: cover;
  margin: 0 auto 24px;
}

.hero-name {
  font-size: 32px;
  font-weight: 700; */
  color: var(--fg);
  margin-bottom: 8px;
}

.hero-role {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  text-align: left;
}

.info-item {
  background: var(--bg);
  padding: 16px;
  border-radius: 8px;
}

.info-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-value {
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
}

.status-active {
  color: var(--success);
}

.hero-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.15s ease;
}

.hero-link:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.hero-link svg {
  width: 18px;
  height: 18px;
}

.btn-explore {
  margin-top: 32px;
}

.btn-explore button {
  background: var(--accent);
  border: none;
  color: white;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-explore button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.section-projects {
  margin-top: 60px;
}

.projects-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}

.projects-grid { max-height: none; overflow: visible;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.project-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.card-title {
  color: var(--fg);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.card-status {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
}

.card-summary {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-stack {
  font-size: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.stack-tag {
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.info-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  height: fit-content;
  position: sticky;
  top: 80px;
  box-shadow: var(--shadow);
  overflow: visible;
}

.panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
}

.panel-title {
  font-size: 14px;
  color: var(--fg);
  font-weight: 600;
}

.panel-action {
  background: transparent;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
}

.panel-content {
  padding: 20px;
  height: 300px;
  overflow-y: auto;
}

.panel-content pre {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.section-contact {
  margin-top: 60px;
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  color: var(--fg);
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  border-radius: 8px;
  outline: none;
  transition: all 0.15s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 12px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn:hover {
  border-color: var(--accent);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-icon {
  font-size: 14px;
}

.contact-feedback {
  background: var(--panel);
  border: 1px solid var(--success);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.contact-feedback pre {
  color: var(--success);
  font-size: 14px;
}

.section-about {
  margin-top: 60px;
}

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

.about-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.about-card h3 {
  color: var(--fg);
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-card h3 .card-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.profile-list {
  list-style: none;
}

.profile-list li {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 8px;
}

.profile-list strong {
  color: var(--fg);
  font-weight: 600;
  min-width: 60px;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
  transition: all 0.15s ease;
}

.tech-tag:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.empty-state p {
  margin-bottom: 8px;
}

.empty-hint {
  font-size: 13px;
  color: var(--accent);
}

.win-footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  margin-top: 60px;
  text-align: center;
}

.footer-content {
  color: var(--muted);
  font-size: 13px;
}

.footer-separator {
  margin: 0 12px;
  color: var(--border);
}

.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg);
}

.login-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.login-form {
  background: var(--panel);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-header .brand-icon {
  width: 64px;
  height: 64px;
  font-size: 24px;
  margin: 0 auto 16px;
}

.login-header h1 {
  font-size: 24px;
  color: var(--fg);
  margin-bottom: 8px;
}

.login-header p {
  color: var(--muted);
  font-size: 14px;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.login-error {
  background: #FDE7E9;
  border: 1px solid var(--danger);
  color: var(--danger);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
  text-align: center;
}

.login-success {
  background: #DFF6DD;
  border: 1px solid var(--success);
  color: var(--success);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
  text-align: center;
}

.login-btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
}

.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--accent);
}

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

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }
.fade-in-delay-4 { animation-delay: 0.4s; opacity: 0; }

@media (max-width: 768px) {
  .nav-menu {
    gap: 4px;
  }
  
  .nav-link {
    padding: 6px 10px;
    font-size: 13px;
  }
  
  .projects-layout {
    grid-template-columns: 1fr;
  }
  
  .info-panel {
    position: static;
    order: -1;
  }
  
  .projects-grid { max-height: none; overflow: visible;
    grid-template-columns: 1fr;
  }
  
  .hero-card {
    min-width: auto;
    padding: 32px 24px;
  }
  
  .hero-info {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
}

.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  max-width: 600px;
  margin: 60px auto;
  background: var(--panel);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.project-modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  border-radius: 12px 12px 0 0;
}

.modal-title-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 14px;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.modal-close:hover {
  background: var(--bg);
  color: var(--fg);
}

.modal-body {
  padding: 24px;
  max-height: none;
  overflow-y: auto;
}

.modal-section {
  margin-bottom: 20px;
}

.modal-section:last-child {
  margin-bottom: 0;
}

.modal-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.modal-text {
  color: var(--fg);
  line-height: 1.6;
  font-size: 14px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tag {
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.modal-link {
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  transition: all 0.15s ease;
  word-break: break-all;
}

.modal-link:hover {
  text-decoration: underline;
}

.link-icon {
  font-size: 12px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  background: var(--bg);
  border-radius: 0 0 12px 12px;
}

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

.btn-secondary:hover {
  background: var(--border);
}

@media (max-width: 768px) {
  .modal-content {
    margin: 20px;
    max-width: calc(100% - 40px);
  }
  
  .modal-body {
    max-height: none;
  }
}

@media (max-width: 480px) {
  .win-topbar {
    padding: 10px 16px;
  }
  
  .win-brand {
    font-size: 14px;
    gap: 8px;
  }
  
  .brand-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .nav-menu {
    display: flex; gap: 4px;
  }
  
  .container {
    padding: 70px 16px 16px;
  }
  
  .hero-card {
    padding: 24px 16px;
  }
  
  .hero-avatar {
    width: 80px;
    height: 80px;
  }
  
  .hero-name {
    font-size: 24px;
  }
  
  .hero-role {
    font-size: 14px;
  }
  
  .hero-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .hero-links {
    flex-direction: column;
    gap: 8px;
  }
  
  .hero-link {
    width: 100%;
    justify-content: center;
  }
  
  .section-title {
    font-size: 20px;
  }
  
  .projects-layout {
    grid-template-columns: 1fr;
  }
  
  .info-panel {
    display: none;
  }
  
  .contact-form {
    padding: 20px 16px;
  }
  
  .about-card {
    padding: 20px 16px;
  }
  
  .modal-content {
    margin: 10px;
    max-width: calc(100% - 20px);
  }
  
  .modal-header {
    padding: 16px;
  }
  
  .modal-body {
    padding: 16px;
  }
}

/* 모바일 네비게이션 개선 */
@media (max-width: 480px) {
  .nav-menu {
    display: flex;
    gap: 4px;
  }
  
  .nav-link {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .nav-link:not(.admin-link) {
    display: none;
  }
  
  .admin-link {
    display: flex;
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .hero-card {
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid var(--border);
  }
  
  .project-card {
    border-radius: 8px;
  }
  
  .contact-form {
    border-radius: 8px;
  }
  
  .about-card {
    border-radius: 8px;
  }
  
  .section-title {
    font-size: 18px;
    gap: 8px;
  }
  
  .title-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}
