* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

.mystical-title {
  font-family: 'Cinzel', serif;
  background: linear-gradient(135deg, #FFB5A7 0%, #5DCED9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.mystical-text {
  font-family: 'Cinzel', serif;
  color: #6B4E8F;
}

.cosmic-bg {
  background: linear-gradient(135deg, #FFE5DD 0%, #E8F4F8 50%, #F4E8D8 100%);
  min-height: 100vh;
  position: relative;
}

.cosmic-header {
  background: linear-gradient(135deg, #FFB5A7 0%, #5DCED9 100%);
  position: relative;
  overflow: hidden;
}

.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.stars::before,
.stars::after {
  content: '✨';
  position: absolute;
  font-size: 20px;
  animation: twinkle 3s infinite;
}

.stars::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.stars::after {
  top: 60%;
  right: 15%;
  animation-delay: 1.5s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.card-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tarot-card {
  background: white;
  aspect-ratio: 2.75 / 4.75;
  position: relative;
  transition: all 0.3s ease;
}

.tarot-card:hover {
  box-shadow: 0 20px 60px rgba(107, 78, 143, 0.3);
}

.action-button {
  background: linear-gradient(135deg, #FFB5A7 0%, #5DCED9 100%);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 78, 143, 0.3);
}

.action-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .mystical-title {
    font-size: 2.5rem;
  }
}

/* Decorative corners for cards */
.tarot-card::before,
.tarot-card::after {
  content: '❖';
  position: absolute;
  color: #FFB5C5;
  font-size: 12px;
  z-index: 10;
}

.tarot-card::before {
  top: 8px;
  left: 8px;
}

.tarot-card::after {
  bottom: 8px;
  right: 8px;
}