*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}
/* ===== 전체 배경 ===== */
body{
  font-family:"Pretendard","Noto Sans KR",sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,80,0,0.08), transparent 35%),
    radial-gradient(circle at 85% 25%, rgba(255,0,0,0.06), transparent 40%),
    #0b0d12;
  color:#e5e7eb;
}

.wrap{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}


/* ===== 헤더 다크 패널 ===== */
.header{
  position: relative;
  padding:48px 40px 28px;
  text-align:center;
  background:linear-gradient(#151922, #10131a);
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.header h1{
  font-size:30px;
  font-weight:700;
  color:#ffffff;
}

.header p{
  margin-top:10px;
  color:#9ca3af;
  font-size:14px;
}
/* 로고 */
.logo{
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
}

/* ===== 전시 영역 ===== */
.showcase{
  flex:1;
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:22px;
  padding:28px 40px 40px;
}

/* ===== 패널 ===== */
.panel{
  position:relative;
  overflow:hidden;
  border-radius:12px;

  background:linear-gradient(145deg, #a1acbb, #3e4352);

  text-decoration:none;
  color:#111;
  min-height:520px;

  box-shadow:0 12px 28px rgba(0,0,0,0.35);
  transition:transform .25s ease, box-shadow .25s ease;

  display:flex;
  align-items:center;
  justify-content:center;
}

/* ===== 이미지 ===== */
.panel img{
  width:100%;
  height:auto;
  display:block;
  transition: transform .35s ease;
}


/* 카드에 마우스 올리면 이미지 확대 */
.panel:hover img{
  transform: scale(1.06);
}

/* ===== 하단 텍스트 그라데이션 ===== */
.panel::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(17,24,39,0.85) 0%,
    rgba(17,24,39,0.25) 28%,
    rgba(17,24,39,0.05) 45%,
    rgba(17,24,39,0.0) 75%
  );
}



/* ===== 텍스트 ===== */
.overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:26px 22px;
  z-index:2;
}

.overlay h2{
  font-size:20px;
  font-weight:700;
  margin-bottom:10px;
  color:#ffffff;
}

.overlay p{
  font-size:14px;
  color:#d1d5db;
  line-height:1.6;
}

/* ===== 호버 ===== */
.panel:hover{
  transform:translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.08);
}

/* ===== 푸터  ===== */
.footer{
  text-align:center;
  padding:40px 20px;
  font-size:12px;
  color:#9ca3af;
  background:linear-gradient(#12161d, #0f1319);
  border-top:1px solid rgba(255,255,255,0.06);
}

@media (max-width:1024px){
  .showcase{
    grid-template-columns: repeat(2, 1fr);
    gap:16px;
    padding:20px;
  }
}

/* ===== 모바일 ===== */
@media (max-width: 768px){

    /* 로고 */
  .logo{
    position: relative;
    left: 0;
  }
  .showcase{
    grid-template-columns: 1fr; 
  }

  .panel{
    min-height:320px;    
  }

  .overlay{
    padding:20px 18px;
  }

  .overlay h2{
    font-size:18px;
  }

  .overlay p{
    font-size:13px;
  }

}
