/* ==========================================================================
   AI Tarot Calendar "Hashibiro-san" - Premium Modern Styling
   ========================================================================== */

/* Design Tokens & Variables */
:root {
  --font-main: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-accent: 'Plus Jakarta Sans', sans-serif;
  
  --bg-main: #FAF7F5;
  --bg-card: #FFFFFF;
  --text-main: #362D2C;
  --text-muted: #7A6F6D;
  --text-light: #9E9391;
  
  --primary-pink: #D47A8A;
  --primary-purple: #7E6CCA;
  --primary-gold: #E5A84B;
  
  --gradient-hero: linear-gradient(135deg, #FFF7F8 0%, #F5EEF8 50%, #FAF0EE 100%);
  --gradient-pink: linear-gradient(135deg, #E08595 0%, #C86B7C 100%);
  --gradient-accent: linear-gradient(135deg, #7E6CCA 0%, #B275C6 100%);
  --gradient-badge: linear-gradient(135deg, rgba(212, 122, 138, 0.12) 0%, rgba(126, 108, 202, 0.12) 100%);
  --gradient-card-glow: radial-gradient(circle at 50% 0%, rgba(224, 133, 149, 0.15), transparent 70%);

  --shadow-soft: 0 12px 32px -8px rgba(74, 52, 56, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(181, 131, 141, 0.22);
  --shadow-device: 0 24px 50px -12px rgba(60, 40, 45, 0.18);
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.desktop-only {
  display: inline;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.gradient-text {
  background: var(--gradient-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 122, 138, 0.12);
  transition: var(--transition-smooth);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--text-main);
}

.header-logo-icon, .footer-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 122, 138, 0.1);
  border: 1px solid rgba(212, 122, 138, 0.25);
  box-shadow: 0 2px 8px rgba(212, 122, 138, 0.15);
}

.header-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.header-nav a:not(.nav-btn) {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.header-nav a:not(.nav-btn):hover {
  color: var(--primary-pink);
}

.nav-btn {
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--gradient-pink);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(212, 122, 138, 0.35);
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 122, 138, 0.5);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 133, 149, 0.18) 0%, rgba(126, 108, 202, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(212, 122, 138, 0.25);
  color: var(--primary-pink);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 15px rgba(212, 122, 138, 0.08);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.store-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badges.center {
  justify-content: center;
}

.store-badge-link {
  display: inline-block;
  transition: var(--transition-smooth);
}

.store-badge-link:hover {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 8px 16px rgba(212, 122, 138, 0.3));
}

.store-badge-img {
  height: 48px;
  width: auto;
  display: block;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-media-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-device);
  transition: var(--transition-smooth);
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.hero-media-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px -15px rgba(60, 40, 45, 0.25);
}

.hero-screen-img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* Features Section (Showcase Rows) */
.features-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.section-subtitle {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary-pink);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.features-grid-container {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  background: var(--bg-card);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 122, 138, 0.1);
  transition: var(--transition-smooth);
}

.feature-row:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 122, 138, 0.25);
}

.feature-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.feature-row.reverse .feature-text {
  order: 2;
}

.feature-row.reverse .feature-visual {
  order: 1;
}

.feature-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: var(--gradient-badge);
  color: var(--primary-pink);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.feature-text h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.feature-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-bullets i {
  color: var(--primary-pink);
  background: rgba(212, 122, 138, 0.12);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.feature-visual img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-device);
  transition: var(--transition-smooth);
}

.feature-visual img:hover {
  transform: scale(1.03);
}

/* More Features Cards */
.more-features-section {
  padding: 5rem 2rem 7rem;
  background: linear-gradient(180deg, var(--bg-main) 0%, #F5EEF8 100%);
}

.more-features-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.feature-card-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 122, 138, 0.1);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-card-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-img-wrap {
  padding: 1.5rem 1.5rem 0;
  background: rgba(250, 247, 245, 0.5);
  display: flex;
  justify-content: center;
}

.card-img-wrap img {
  max-width: 240px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px -5px rgba(60, 40, 45, 0.12);
}

.card-content {
  padding: 1.75rem;
  text-align: center;
  flex: 1;
}

.card-content h4 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.card-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-card {
  background: linear-gradient(135deg, #362D2C 0%, #4A3A3B 100%);
  color: #ffffff;
  padding: 4.5rem 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(54, 45, 44, 0.35);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 133, 149, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cta-badge {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: #F5C6CE;
  margin-bottom: 1rem;
}

.cta-card h2 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.hero-store-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 0.5rem;
}

.hero-app-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-pink);
  margin-bottom: 0.65rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.cta-character-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.cta-character-img {
  width: 130px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
  animation: gentleBounce 3.5s ease-in-out infinite alternate;
}

@keyframes gentleBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.cta-app-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #F5C6CE;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}

.cta-card p {
  font-size: 1.1rem;
  color: #E2D7D5;
  margin-bottom: 2rem;
}

/* Footer */
.global-footer {
  background: #2C2423;
  color: #A89D9B;
  padding: 4rem 2rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-logo-icon {
  color: var(--primary-pink);
}

.footer-tagline {
  font-size: 0.95rem;
  color: #8C807E;
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-nav a {
  color: #C2B6B4;
  transition: var(--transition-smooth);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #6E6362;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  width: 100%;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .features-grid-container {
    gap: 3rem;
  }

  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
    text-align: center;
  }

  .feature-row.reverse .feature-text {
    order: 1;
  }

  .feature-row.reverse .feature-visual {
    order: 2;
  }

  .feature-bullets {
    align-items: center;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  /* スマホでのテキスト折り返し制御（Heroタイトルは指定通り改行を保持） */
  .section-title br, .cta-card h2 br {
    display: none;
  }

  .hero-title br {
    display: block;
  }

  /* 画面全体のパディング・上下余白のコンパクト化 */
  .hero-section {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: 1.65rem;
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .section-title {
    font-size: 1.4rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }

  .section-desc {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .features-section {
    padding: 3rem 1.25rem;
  }

  .features-grid-container {
    gap: 1.75rem;
  }

  /* FEATURES 内のカードの中の余白を短縮 */
  .feature-row, .feature-row.reverse {
    padding: 1.5rem 1.25rem;
    gap: 1.5rem;
    border-radius: var(--radius-md);
  }

  .feature-tag {
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.85rem;
    font-size: 0.8rem;
  }

  .feature-text h3 {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 0.85rem;
  }

  .feature-text p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
  }

  .feature-bullets {
    gap: 0.5rem;
  }

  .feature-bullets li {
    font-size: 0.88rem;
  }

  .more-features-section {
    padding: 3rem 1.25rem 4rem;
  }

  .cards-grid {
    margin-top: 2rem;
    gap: 1.25rem;
  }

  .feature-card-item {
    border-radius: var(--radius-md);
  }

  .card-img-wrap {
    padding: 1rem 1rem 0;
  }

  .card-img-wrap img {
    max-width: 200px;
  }

  .card-content {
    padding: 1.25rem 1rem;
  }

  .card-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .card-content p {
    font-size: 0.9rem;
  }

  .tarot-gallery-section {
    padding: 3rem 1.25rem;
  }

  .tarot-slider-wrapper {
    margin-top: 1.75rem;
  }

  .tarot-slider-container {
    padding: 0.5rem 0.25rem 1.25rem;
  }

  /* DOWNLOADエリア（CTA）の余白を短縮 */
  .cta-section {
    padding: 3rem 1.25rem;
  }

  .cta-card {
    padding: 2.25rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .cta-badge {
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
  }

  .cta-card h2 {
    font-size: 1.4rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }

  .cta-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .cta-character-wrap {
    margin-bottom: 1rem;
  }

  .cta-character-img {
    width: 110px;
  }

  .cta-app-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .store-badge-img {
    height: 42px;
  }
}

/* ==========================================================================
   Legal Pages (Terms, Privacy Policy, Act on Specified Commercial Transactions)
   ========================================================================== */
.legal-page {
  padding-top: 7.5rem;
  padding-bottom: 6rem;
  min-height: 85vh;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.legal-header-block {
  text-align: center;
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(212, 122, 138, 0.15);
}

.legal-header-block h1 {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.legal-header-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-content {
  background: var(--bg-card);
  padding: 3.5rem 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 122, 138, 0.1);
}

.legal-content h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-main);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--primary-pink);
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.legal-content ol, .legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content ul ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Definition List for Specified Commercial Transactions (law.html) */
.legal-content dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem 2rem;
  align-items: baseline;
}

.legal-content dt {
  font-weight: 700;
  color: var(--text-main);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(212, 122, 138, 0.1);
  font-size: 0.95rem;
}

.legal-content dd {
  color: var(--text-muted);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(212, 122, 138, 0.1);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .legal-container {
    padding: 0 1.25rem;
  }

  .legal-content {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
  }

  .legal-header-block h1 {
    font-size: 1.8rem;
  }

  .legal-content h3 {
    font-size: 1.15rem;
  }

  .legal-content dl {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .legal-content dt {
    border-bottom: none;
    padding-bottom: 0.2rem;
    color: var(--primary-pink);
  }

  .legal-content dd {
    padding-top: 0;
    margin-bottom: 1rem;
  }
}

/* ==========================================================================
   Tarot Cards Gallery Slider Section
   ========================================================================== */
.tarot-gallery-section {
  padding: 5rem 2rem;
  background: var(--bg-main);
}

.tarot-gallery-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.tarot-slider-wrapper {
  position: relative;
  margin-top: 3rem;
}

.tarot-slider-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.5rem 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 122, 138, 0.3) transparent;
}

.tarot-slider-container::-webkit-scrollbar {
  height: 6px;
}

.tarot-slider-container::-webkit-scrollbar-track {
  background: rgba(212, 122, 138, 0.08);
  border-radius: 10px;
}

.tarot-slider-container::-webkit-scrollbar-thumb {
  background: var(--primary-pink);
  border-radius: 10px;
}

.tarot-card-item {
  flex: 0 0 270px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 122, 138, 0.12);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tarot-card-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 122, 138, 0.3);
}

.tarot-card-frame {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 8px 20px -4px rgba(60, 40, 45, 0.15);
  margin-bottom: 1rem;
  background: rgba(250, 247, 245, 0.5);
}

.tarot-card-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.tarot-card-item:hover .tarot-card-frame img {
  transform: scale(1.04);
}

.tarot-card-info {
  width: 100%;
}

.card-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-pink);
  background: var(--gradient-badge);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}

.card-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.card-name span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Slider Arrow Buttons */
.slider-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(212, 122, 138, 0.2);
  color: var(--primary-pink);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(74, 52, 56, 0.12);
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  background: var(--gradient-pink);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(212, 122, 138, 0.4);
}

.arrow-left {
  left: -20px;
}

.arrow-right {
  right: -20px;
}

@media (max-width: 768px) {
  .tarot-card-item {
    flex: 0 0 210px;
    padding: 0.9rem;
  }

  .slider-arrow {
    display: none;
  }
}
