.intro-tarot-app {
  font-family: 'Montserrat', sans-serif;
  position: relative;
  width: 100%;
  max-width: 1740px;
  aspect-ratio: 16 / 9;
  min-height: 750px;
  border: 2px solid #d8b247;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.6), inset 0 0 80px rgba(255, 255, 255, 0.02);
  background:
    radial-gradient(circle at top, rgba(42, 35, 68, 0.75) 0%, rgba(47, 34, 56, 0.65) 50%, rgba(7, 7, 9, 0.75) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.intro-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  animation: intro-fade-out 2s ease forwards;
  animation-delay: 9s;
}
.intro-logo {
  position: absolute;
  top: -200px;
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 5rem);
  font-weight: 600;
  letter-spacing: 6px;
  color: #f1e7c5;
  text-shadow:
    0 0 12px rgba(255, 215, 140, 0.35), 0 0 40px rgba(255, 215, 140, 0.15);
  animation: intro-logo-drop 1.8s ease forwards;
}
.intro-card-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 70px 0;
  filter: drop-shadow(0 0 28px rgba(255, 215, 120, 0.20));
  opacity: 0;
  animation: intro-card-appear 1.5s ease forwards;
  animation-delay: 1.5s;
}
.intro-tarot-card {
  width: clamp(150px, 14vw, 260px); aspect-ratio: 223 / 302;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transform-style: preserve-3d;
  animation:
    intro-floating 5s ease-in-out infinite, intro-slow-rotate 18s linear infinite;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.55), 0 0 22px rgba(255, 215, 120, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #120f1d;
  filter:
    brightness(1.12) contrast(1.05) saturate(1.08);
}
.intro-tarot-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.10) 35%, rgba(255, 230, 180, 0.25) 50%, rgba(255, 255, 255, 0.08) 65%, transparent 80%);
  transform: translateX(-140%) rotate(8deg);
  opacity: 0;
  animation: intro-card-shine 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
/* image carte */
.intro-tarot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}
.intro-services {
  position: absolute;
  top: 80%;
  left: -100%;
  font-size: clamp(1rem, 1.5vw, 2rem);
  letter-spacing: 2px;
  color: #f6ead0;
  text-align: center;
  white-space: nowrap;
  font-weight: 300;
  animation:
    intro-slide-services 1.6s ease forwards, intro-text-breath 5s ease-in-out infinite;
  animation-delay: 2.8s, 5s;
}
.intro-contact {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(.8rem, 1vw, 1.2rem);
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 2px;
  text-align: center;
  animation:
    intro-contact-rise 1.4s ease forwards, intro-text-breath 6s ease-in-out infinite;
  animation-delay: 4s, 6s;
}
.intro-switch-layer {
  position: relative;
  width: 100%;
  max-width: 1740px;
  margin: 40px auto;
  display: grid;
}
.intro-switch-layer .intro-tarot-app, .intro-switch-layer .tirage {
  grid-area: 1 / 1;
}
.intro-switch-layer .tirage {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  filter: blur(10px);
  pointer-events: none;
  transition:
    opacity 1s ease, transform 1s ease, filter 1s ease;
  font-family: 'Montserrat', sans-serif;
  border: 2px solid #d8b247;
  border-radius: 24px;
  box-shadow:
    0 0 40px rgba(0, 0, 0, 0.6), inset 0 0 80px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  background:
    radial-gradient(circle at top, rgba(42, 35, 68, 0.75) 0%, rgba(47, 34, 56, 0.65) 50%, rgba(7, 7, 9, 0.75) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body.tirage-active .intro-switch-layer .tirage {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}
body.tirage-active .intro-switch-layer .intro-tarot-app {
  opacity: 0;
  transform: scale(1.03);
  filter: blur(10px);
  pointer-events: none;
}
@keyframes intro-logo-drop {
  from {
    top: -200px;
    opacity: 0;
  }
  to {
    top: 10%;
    opacity: 1;
  }
}
@keyframes intro-card-appear {
  from {
    opacity: 0;
    transform: scale(.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes intro-slide-services {
  from {
    left: -100%;
    opacity: 0;
  }
  to {
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
  }
}
@keyframes intro-contact-rise {
  from {
    bottom: -120px;
    opacity: 0;
  }
  to {
    bottom: 10%;
    opacity: 1;
  }
}
@keyframes intro-floating {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
@keyframes intro-slow-rotate {
  from {
    rotate: y 0deg;
  }
  to {
    rotate: y 360deg;
  }
}
@keyframes intro-fade-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes intro-text-breath {
  0%, 100% {
    opacity: .88;
  }
  50% {
    opacity: 1;
  }
}
@keyframes intro-card-shine {
  0% {
    transform: translateX(-140%) rotate(8deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  50% {
    transform: translateX(140%) rotate(8deg);
    opacity: 1;
  }
  100% {
    transform: translateX(140%) rotate(8deg);
    opacity: 0;
  }
}
@keyframes card-glow-pulse {
  0%, 100% {
    box-shadow: 0 0 18px rgba(255, 215, 120, 0.18);
    filter: brightness(1.05);
  }
  50% {
    box-shadow: 0 0 35px rgba(255, 215, 120, 0.40);
    filter: brightness(1.12);
  }
}
.card {
  animation: card-glow-pulse 3.5s ease-in-out infinite;
}


@media (max-width:768px) {
	
  .intro-logo {
    top: -120px;
    font-size: 2rem;
    letter-spacing: 3px;
  }
  .intro-card-wrapper {
    position: relative;
    top: auto;
  }
  .intro-tarot-app {
    aspect-ratio: auto;
    min-height: 500px;
  }
  .intro-tarot-card {
    width: 130px;
  }
  .intro-services {
    top: 80%;
    left: -100%; 
    width: 90%;
    font-size: .95rem;
    line-height: 1.6;
    white-space: normal;
    padding: 0 12px;
    text-align: center;
  }
  .intro-contact {
    bottom: -120px; 
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    font-size: .72rem;
    line-height: 1.5;
    letter-spacing: 1px;
    text-align: center;
    padding: 0 10px;
  }
}
.ORTIR-bar .btntir, .ORTIR-bar .ORTIR-fullscreen, .ORTIR-bar .ORTIR-paypal-btntir {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1;
  box-sizing: border-box;
}

.ORTIR-paypal-btntir img {
    height:20px;
    width: auto;
    display: block;
  }

@media (max-width: 768px) {
  .ORTIR-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }
.ORTIR-bar .btntir, .ORTIR-bar .ORTIR-paypal-btntir {
    height: 48px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
.ORTIR-paypal-form {
    margin: 0;
    padding: 0;
    display: flex;
  }
.ORTIR-paypal-btntir {
    border: none;
    line-height: 1;
    gap: 8px;
  }

  .ORTIR-paypal-btntir {
    align-items: center;
  }
.ORTIR-fullscreen {
    display: none !important;
  }

    .ORTIR-bar .btntir,
    .ORTIR-bar .ORTIR-paypal-btntir {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
}


.btntir {
    background-color: #a166b2;
    position: relative;
    overflow: hidden;
    display: block;
    width: auto;
    margin: 5px;
    padding: 12px 18px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    border: 2px solid rgba(0,0,0,.4);
    cursor: pointer;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.35),
        inset 0 -2px 0 rgba(0,0,0,.25),
        0 3px 0 rgba(0,0,0,.35);
    text-shadow: 0 1px 1px rgba(0,0,0,.5);
    transition: .15s;
}

.btntir:hover {
 background-color: #814d8d;
    filter: brightness(1.02);
}

.btntir:active {
    transform: translateY(2px);
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,.25),
        0 1px 0 rgba(0,0,0,.35);
}

.btntir::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    right: 6px;
    height: 40%;
    border-radius: 12px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,.35),
        rgba(255,255,255,0)
    );
    pointer-events: none;
}
	
