/* =====================================================
    ESTILOS EXCLUSIVOS: PÁGINA INDEPENDIENTE DE TAROT
===================================================== */
.tarot-page-wrapper {
    padding: 60px 20px;
    min-height: 80vh;
}

.tarot-container {
    max-width: 1100px;
    margin: 0 auto;
}

.tarot-header {
    text-align: center;
    margin-bottom: 60px;
}

.tarot-header h1 {
    font-size: 3rem;
    color: #d4af37;
    margin: 10px 0 20px;
    letter-spacing: 3px;
}

.tarot-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Grid y Estructura de Tarjetas */
.tarot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 70px;
}

.tarot-card {
    background: #12121e;
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.tarot-card:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.12);
}

/* --- CONTENEDORES PARA TUS IMÁGENES DE IA --- */
.card-image-container {
    position: relative;
    width: 100%;
    height: 220px; /* Proporción ideal para el arte visual */
    background: #0d0d14;
    overflow: hidden;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.tarot-ia-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: transform 0.5s ease;
}

.tarot-card:hover .tarot-ia-img {
    transform: scale(1.05);
}

/* Marcador de posición elegante mientras subes las imágenes */
.image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: rgba(212, 175, 55, 0.4);
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    z-index: 1;
    border: 1px dashed rgba(212, 175, 55, 0.1);
}

/* Contenido de Tarjeta */
.card-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.tarot-card h3 {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    font-size: 1.4rem;
    margin: 0 0 8px;
    letter-spacing: 1px;
}

.card-price {
    display: block;
    font-family: 'Cinzel', serif;
    color: #d4af37;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tarot-card p {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-seleccionar {
    background: transparent;
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #d4af37;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: 0.25s ease;
}

.tarot-card:hover .btn-seleccionar {
    background: linear-gradient(135deg, #d4af37, #f0d57a);
    color: #111;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* Formulario Estilizado */
.tarot-form-box {
    background: rgba(18, 18, 30, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h2 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    font-size: 1.8rem;
    margin: 0 0 10px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.form-mistico-tarot {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.form-group-tarot {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 280px;
}

.form-group-tarot.full-width {
    flex: 1 1 100%;
}

.form-group-tarot label {
    font-size: 0.9rem;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
}

.form-group-tarot input,
.form-group-tarot textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 15px;
    color: #fff;
    font-family: 'Lora', serif;
    font-size: 1rem;
    outline: none;
    transition: 0.25s ease;
}

.form-group-tarot input:focus,
.form-group-tarot textarea:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.nequi-info {
    background: rgba(212, 175, 55, 0.04);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 14px;
    padding: 18px 22px;
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.6;
}

.btn-enviar-tarot {
    width: 100%;
    background: linear-gradient(135deg, #d4af37, #f0d57a);
    color: #111;
    border: none;
    padding: 18px;
    border-radius: 14px;
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
}

.btn-enviar-tarot:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(212, 175, 55, 0.35);
}

/* Adaptabilidad Móvil */
@media (max-width: 768px) {
    .tarot-header h1 { font-size: 2.3rem; }
    .tarot-form-box { padding: 30px 20px; }
    .form-group-tarot { flex: 1 1 100%; }
    .card-image-container { height: 180px; }
}