/* ---------------------------------------------------------
   GLOBAL RESET + BASE
--------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Cormorant Garamond", serif;
  background: radial-gradient(circle at top, #3b1f5f 0%, #0b0615 55%, #05030a 100%);
  color: #f7f2ff;
  min-height: 100vh;
}

.page-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */
.site-header {
  text-align: center;
  margin-bottom: 40px;
}

.site-title {
  font-family: "Cinzel Decorative", serif;
  font-size: 3rem;
  margin-bottom: 10px;
}

.site-midtitle,
.site-subtitle {
  font-size: 1.3rem;
  color: #e8dcff;
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */
.primary-button,
.secondary-button {
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: 0.2s ease;
}

.primary-button {
  background: linear-gradient(135deg, #7b3fe4, #c28bff);
  border: 1px solid #f5e6ff;
  color: white;
  box-shadow: 0 0 12px rgba(255, 215, 160, 0.6);
}

.secondary-button {
  background: transparent;
  border: 1px solid #d9c4ff;
  color: #f7f2ff;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(255, 230, 190, 0.9);
}

.controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

/* ---------------------------------------------------------
   CARD LAYOUT
--------------------------------------------------------- */
.cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.card-column {
  text-align: center;
  max-width: 260px;
}

.card-heading {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.card-subline {
  font-size: 1rem;
  color: #d9c8ff;
  margin-bottom: 12px;
}

/* ---------------------------------------------------------
   TAROT CARD SIZE + FLIP
--------------------------------------------------------- */
.card-outer {
  width: 220px;
  height: 380px;
  perspective: 1000px;
  margin: 0 auto;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.card-inner.flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 160, 0.9);
  box-shadow: 0 0 22px rgba(255, 215, 160, 0.6);
}

.card-front img,
.card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-back {
  transform: rotateY(180deg);
}

/* ---------------------------------------------------------
   SHIMMER EFFECT
--------------------------------------------------------- */
.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.shimmer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ---------------------------------------------------------
   INTERPRETATION SECTION
--------------------------------------------------------- */
.interpretation-section {
  margin: 50px auto 0;
  max-width: 800px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 160, 0.4);
  border-radius: 18px;
  text-align: center;
}

.interpretation-heading {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.interpretation-text {
  font-size: 1.2rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.interpretation-ritual {
  font-size: 1.1rem;
  color: #e8dcff;
}

/* ---------------------------------------------------------
   FOOTER CTA
--------------------------------------------------------- */
.footer-cta-section {
  margin-top: 50px;
  text-align: center;
}

.footer-cta-text {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.footer-button {
  display: inline-block;
  margin: 8px;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
.site-footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(230, 210, 255, 0.3);
  text-align: center;
  font-size: 1rem;
  color: #e8dcff;
}

/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */
@media (max-width: 768px) {
  .cards-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .card-outer {
    width: 260px;
    height: 450px;
  }

  .interpretation-section {
    max-width: 90%;
  }
}
