/* BASIC css start */
:root {
  --color-primary: #E60120;
  --color-primary-light: #f5d1d6;
  --color-text: #000000;
  --color-gray: #dddddd;
}

* {
  margin: 0;
  padding: 0;
}



/* ÄÁÅ×ÀÌ³Ê */
.container {
  width: 1200px;
  background: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 0 auto;
}

/* Ä³¸¯ÅÍ ±×¸®µå */
.character-grid {
  align-self: stretch;
  justify-content: center;
  align-items: center;
  gap: 16px;
  display: inline-flex;
  flex-wrap: wrap;
  align-content: center;
  padding-bottom: 120px;
  
  opacity: 0;
  animation: gridAppear 0.3s ease forwards;
  
}

/* Ä³¸¯ÅÍ Ä«µå */
.character-card {
  width: 186px;
  height: 252px;
  padding: 19px 16px;
  background: white;
  box-shadow: 0px 1px 10px 1px rgba(0, 0, 0, 0.11);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  opacity: 0;
  animation: focusIn 0.6s ease forwards;
}

.character-card:hover {
  box-shadow: 0px 1px 10px 1px rgba(0, 0, 0, 0.13);
}



/* Ä«µå ³»ºÎ */
.card-inner {
  width: 154px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* ÀÌ¹ÌÁö ·¡ÆÛ */
.image-wrapper {
  width: 154px;
  height: 154px;
  overflow: hidden;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  transform: scale(1);
  filter: brightness(1);
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform, filter;
}

.character-card:hover .image-wrapper img {
  transform: scale(1.1) translateY(-4px);
  filter: brightness(1.05);
}



/* ÅØ½ºÆ® ÄÜÅÙÃ÷ */
.text-content {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  padding-top: 6px;
}


.character-name {
  align-self: stretch;
  text-align: center;
  color: #222222;
  font-size: 17px;
  font-weight: 700;
  word-wrap: break-word;
  transition: transform 0.4s ease;
}

.character-subtitle {
  align-self: stretch;
  text-align: center;
  color: #A2A2A2;
  font-size: 14px;
  font-weight: 400;
  word-wrap: break-word;
}

/* Çì´õ ¼½¼Ç */
.header-section {
  align-self: stretch;
  padding: 60px 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.header-content {
  background: rgba(255, 255, 255, 0);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ¹èÁö */

.badge-text {
    display: inline-block;
    padding: 10px;
    border: 1px solid var(--color-primary);
    border-radius: 30px;
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ¸ÞÀÎ Å¸ÀÌÆ² */
.main-title {
    color: var(--color-text);
    font-size: 58px;
    font-weight: 900;
    line-height: normal;
    margin-bottom: 20px;
}

/* ¼³¸í */
.description {
    font-size: 22px;
    line-height: 36px;
    color: var(--color-text);
    text-align: center;
}



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


@keyframes focusIn {
  0% { opacity: 0; transform: scale(0.9); filter: blur(6px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}
/* BASIC css end */

