:root {
  --notice-max-width: 1400px;
  --notice-radius: 24px;
  --notice-text: var(--text-main);
  --notice-muted: var(--text-muted);
  --notice-line: var(--border-main);
  --notice-shadow: var(--shadow-main);
}

.notice-page {
  background: var(--bg-main);
  color: var(--text-main);
}

.notice-wrap {
  max-width: var(--notice-max-width);
  margin: 0 auto;
  padding: 0 40px;
  margin-top: 60px;
  margin-bottom: 100px;
}

/* HERO */
.notice-hero {
  position: relative;
  min-height: 280px;
  padding: calc(var(--fixed-header-height, 130px) + 30px) 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url('../images/hero_abstract_bg.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.notice-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 500px at var(--hero-mouse-x, 50%) var(--hero-mouse-y, 50%),
      rgba(255, 255, 255, 0.08) 0%,
      transparent 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.notice-hero:hover::after {
  opacity: 1;
}

.notice-hero__inner {
  max-width: 1400px;
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.notice-hero__icon {
  position: absolute;
  left: 160px;
  top: -20px;
  transform: translateY(-50%);
  width: 160px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.notice-hero__icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

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

.notice-hero__eyebrow {
  margin: 0 0 16px 0;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #81d4fa;
  font-size: 1.1rem;
}

.notice-hero__title {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: noticeNeonPulse 3s ease-in-out infinite alternate;
}

@keyframes noticeNeonPulse {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(56, 189, 248, 0.2);
  }

  100% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 30px rgba(56, 189, 248, 0.5), 0 0 40px rgba(56, 189, 248, 0.3);
  }
}

.notice-section {
  padding: 34px 0 76px;
}

/* LIST */
.notice-list-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.notice-card {
  background: var(--bg-card);
  border-radius: var(--notice-radius);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--notice-line);
  box-shadow: var(--notice-shadow);
}

.notice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.2);
}

.notice-card__content {
  flex: 1;
}

.notice-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-card:hover .notice-card__title {
  color: #38bdf8;
}

.notice-card__meta {
  font-size: 0.9rem;
  color: var(--notice-muted);
  display: flex;
  gap: 20px;
  align-items: center;
}

.notice-card__date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.notice-card__arrow {
  color: rgba(255, 255, 255, 0.15);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  margin-left: 20px;
}

.notice-card:hover .notice-card__arrow {
  color: #38bdf8;
  transform: translateX(5px);
}

.notice-empty {
  padding: 18px 18px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  color: rgba(17, 17, 17, 0.72);
  font-weight: 800;
  text-align: center;
  background: rgba(0, 0, 0, 0.02);
}

/* DETAIL */
.info-card {
  background: var(--bg-card);
  border-radius: var(--notice-radius);
  box-shadow: var(--notice-shadow);
  padding: 60px;
  margin-bottom: 40px;
  border: 1px solid var(--notice-line);
}

.notice-view-header {
  border-bottom: 1px solid var(--notice-line);
  padding-bottom: 35px;
  margin-bottom: 45px;
  text-align: center;
}

.notice-view-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.notice-view-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  color: var(--notice-muted);
  font-size: 1rem;
  font-weight: 600;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item i {
  color: #38bdf8;
  font-size: 0.9rem;
}

.notice-content-body {
  min-height: 400px;
  font-size: 1.15rem;
  line-height: 2.0;
  color: #e5e7eb;
  margin-bottom: 60px;
}

.notice-content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 35px auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-action-area {
  display: flex;
  justify-content: center;
  padding-top: 40px;
  border-top: 1px solid var(--notice-line);
}

.btn-back {
  padding: 16px 45px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  background-color: var(--accent-blue);
  color: #fff;
  box-shadow: 0 4px 14px 0 var(--accent-blue-glow);
  border: none;
}

.btn-back:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px 0 var(--accent-blue-glow);
  color: #fff;
}

.notice-empty-state {
  text-align: center;
  padding: 100px 0;
  background: var(--bg-card);
  border-radius: var(--notice-radius);
  color: var(--notice-muted);
  font-size: 1.1rem;
  border: 1px dashed var(--notice-line);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .notice-hero {
    min-height: 330px !important;
    padding: calc(130px + 40px) 0 40px !important;
  }

  .notice-hero__inner {
    justify-items: center;
    gap: 14px;
    padding: 0;
  }

  .notice-hero__title {
    font-size: 2.22rem;
  }

  .notice-hero__eyebrow {
    font-size: 0.98rem;
    line-height: 1.4;
    padding: 0 8px;
  }

  .notice-hero__text {
    padding: 0 6px;
  }

  .notice-hero__icon {
    display: none;
  }

  .notice-list {
    grid-template-columns: 1fr;
  }

  .notice-wrap {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  .notice-card {
    padding: 24px 20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .info-card {
    padding: 30px 20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .notice-view-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
  }

  .notice-view-title {
    font-size: 1.8rem;
  }

  .notice-content-body {
    font-size: 1.05rem;
    min-height: 200px;
    padding: 0 10px;
  }
}

@media (max-width: 680px) {
  .notice-hero {
    min-height: 330px !important;
    padding: 170px 0 40px !important;
  }
}
