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


/* ÇØ´ç ¼½¼Ç ¾È¿¡¼­¸¸ ½ºÅ¸ÀÏ Àû¿ë */

.icon-text-wrapper {
background : #eeeeee;
}

.custom-icons {
  display: flex;
  justify-content: center;
  gap: 10px;  /* ¾ÆÀÌÄÜ °£ÀÇ °£°Ý */
  flex-wrap: wrap; /* È­¸é Å©±â¿¡ ¸ÂÃç ¾ÆÀÌÅÛÀ» ÁÙ ¹Ù²Þ */
  padding: 10px 0 20px 0;
}

.custom-icons .icon-text-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px; /* °¢ ¾ÆÀÌÅÛÀÇ Å©±â Á¦ÇÑ */
  margin-top: 20px;  /* ¾ÆÀÌÄÜ ÀüÃ¼¿¡ ¿©¹é Ãß°¡ */
}

.custom-icons .icon-wrapper {
  width: 70px;  /* ¾ÆÀÌÄÜ Å©±â */
  height: 70px; /* ¾ÆÀÌÄÜ Å©±â */
  background-color: #f5f5f5; /* ¹è°æ»ö */
  border-radius: 35%; /* ¿øÇü ¸ð¾ç */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px; /* ¾ÆÀÌÄÜ°ú ÅØ½ºÆ® »çÀÌ °£°Ý */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* È¿°ú°¡ ºÎµå·´°Ô Àû¿ëµÇµµ·Ï transition Ãß°¡ */
}

.custom-icons .icon {
  width: 48px;  /* ÀÌ¹ÌÁö Å©±â */
  height: 48px; /* ÀÌ¹ÌÁö Å©±â */
}

/* ¸¶¿ì½º ¿Ã·ÈÀ» ¶§ È®´ë + ±×¸²ÀÚ È¿°ú */
.custom-icons .icon-wrapper:hover {
  transform: scale(1.05); /* ¾ÆÀÌÄÜÀ» 5%¸¸ È®´ë */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* ÀÛÀº ±×¸²ÀÚ È¿°ú */
  transition: all 0.3s ease; /* ºÎµå·¯¿î ¾Ö´Ï¸ÞÀÌ¼Ç */
}

.custom-icons .text {
  font-size: 14px;
  color: #5e5e5e;
  font-weight: bold;
  line-height: 1.4;
}


* {
  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 */

