/* ===== Landing: Main ===== */
.landing-main {
  min-height: calc(100vh - 140px); /* 헤더와 푸터 높이만큼 빼서 중앙 정렬 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.landing-container {
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 0;
}

/* ===== Landing: Header ===== */
.landing-header {
  position: relative;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease;
}

.hero-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-deco-1 {
  width: 200px;
  height: 200px;
  background: var(--color-orange-200);
  filter: blur(60px);
  top: -60px;
  left: -80px;
}

.hero-deco-2 {
  width: 160px;
  height: 160px;
  background: var(--color-amber-200);
  filter: blur(50px);
  bottom: -40px;
  right: -60px;
}

.hero-emoji {
  font-size: 56px;
  margin-bottom: 16px;
  animation: bounce 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--color-primary-60);
  font-weight: 500;
  line-height: 1.5;
}

/* ===== Landing: Card Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  animation: fadeInUp 0.6s ease 0.2s both;
  box-sizing: border-box;
  width: 100%;
}

/* 모바일에서 카드 크기 최적화 */
@media (max-width: 480px) {
  .card-grid {
    gap: 12px;
  }
}

/* 매우 작은 화면에서 카드가 너무 작아지지 않도록 */
@media (max-width: 360px) {
  .card-grid {
    gap: 10px;
  }
}

.pet-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  transition: all var(--transition-smooth);
  cursor: pointer;
  display: block;
  
  /* 💡 해결 1: 링크의 기본 파란색 밑줄 제거 */
  text-decoration: none !important; 
  /* 💡 해결 2: 클릭 시 나타나는 파란색 테두리(outline) 제거 */
  outline: none;
  -webkit-tap-highlight-color: transparent; /* 모바일 터치 시 파란색 잔상 제거 */
  user-select: none;
}

/* 카드 내부 텍스트나 아이콘에 밑줄이 생기지 않도록 강제 적용 */
.pet-card * {
  text-decoration: none !important;
}

.pet-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: var(--radius-xl);
  padding: 24px 16px;
  background: #FFFFFF; /* 기본 배경 흰색으로 깔끔하게 */
  transition: border-color 0.3s ease;
}

/* 🐕 Dog card: 따뜻한 느낌 강조 */
.dog-card .card-inner {
  border: 3px solid #FFF2E5;
}

.dog-card:hover .card-inner {
  border-color: #FF6B35;
}

/* 🐈 Cat card: 신비로운 보라색 느낌 강조 */
.cat-card .card-inner {
  border: 3px solid #F3EFFF;
}

.cat-card:hover .card-inner {
  border-color: #A18CD1;
}

.cat-card.disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.cat-card.disabled:hover {
  transform: none;
}

/* 💡 이모지 및 텍스트 스타일 */
.card-emoji {
  font-size: 72px; /* 크기 확대 */
  user-select: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.card-label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: #2D3436;
}

/* 💡 화살표 버튼: 칙칙한 블랙 대신 포인트 컬러 사용 */
.card-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* 칙칙함 해결: 검은색 대신 포인트 컬러(주황) 적용 */
  background: var(--color-accent); 
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.pet-card:hover .card-arrow {
  transform: scale(1.15) rotate(-10deg); /* 살짝 회전하며 커지는 효과 */
  background: var(--color-primary); /* 호버 시에만 조금 더 진한 색으로 */
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* 아이콘 자체의 파란 라인 방지 */
.material-symbols-outlined {
  display: block;
  user-select: none;
}

.coming-soon-badge {
  position: absolute;
  top: 16px;
  right: -8px;
  background: var(--color-primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .landing-main {
    padding: 20px 16px;
  }
  .hero-title {
    font-size: 30px;
  }
  .card-emoji {
    font-size: 56px;
  }
}

@media (max-width: 380px) {
  .landing-main {
    padding: 16px 12px;
  }
  .hero-title {
    font-size: 28px;
  }
  .card-emoji {
    font-size: 48px;
  }
  .card-label {
    font-size: 18px;
  }
}

/* ===== Footer ===== */
.site-footer {
  padding: 24px 16px 32px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-text {
  font-size: 12px;
  color: rgba(45, 52, 54, 0.4);
}

.footer-dot {
  font-size: 12px;
  color: rgba(45, 52, 54, 0.2);
}

.footer-link {
  font-size: 12px;
  color: rgba(45, 52, 54, 0.4);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #FF6B35;
}
