/* =============================================================
   PredictPro - Cosmic Theme Stylesheet
   ============================================================= */

/* Star Background Animation */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 184, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 184, 0, 0.6), 0 0 40px rgba(107, 92, 231, 0.3); }
}

@keyframes shooting-star {
    0% { transform: translateX(-100px) translateY(0); opacity: 1; }
    100% { transform: translateX(400px) translateY(200px); opacity: 0; }
}

/* Hero Section with Celestial Background */
.hero-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 12, 41, 0.3) 0%, rgba(15, 12, 41, 0.7) 60%, rgba(15, 12, 41, 0.95) 100%);
    pointer-events: none;
}

.hero-section > .max-w-7xl {
    position: relative;
    z-index: 10;
}

/* Hero crystal ball image */
.hero-crystal-ball {
    width: 160px;
    height: auto;
    max-width: 160px;
    display: inline-block;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 30px rgba(255, 184, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

/* Shooting star decoration */
.shooting-star {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #ffc94d, transparent);
    top: 20%;
    left: -100px;
    animation: shooting-star 8s linear infinite;
    animation-delay: 3s;
    opacity: 0;
}

/* Section with nebula background */
.nebula-section {
    position: relative;
    background-image: url('../images/nebula-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.nebula-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 12, 41, 0.85);
    pointer-events: none;
}

.nebula-section > * {
    position: relative;
    z-index: 10;
}

/* Section divider */
.section-divider {
    display: block;
    width: 100%;
    height: 60px;
    background-image: url('../images/divider-moon.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    opacity: 0.7;
}

/* Tarot card styling for feature/pricing cards */
.tarot-card {
    background: rgba(36, 32, 64, 0.8);
    border: 1px solid rgba(61, 54, 101, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.tarot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/crystal-ball.svg');
    background-size: 120px;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.03;
    pointer-events: none;
}

.tarot-card:hover {
    border-color: rgba(255, 184, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 184, 0, 0.05);
}

/* Crystal ball watermark for reading pages */
.reading-watermark {
    position: relative;
}

.reading-watermark::before {
    content: '';
    position: fixed;
    bottom: 5%;
    right: 5%;
    width: 300px;
    height: 360px;
    background-image: url('../images/crystal-ball.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

/* Logo crystal ball in nav */
.nav-crystal {
    width: 42px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(255, 184, 0, 0.4));
    transition: filter 0.3s;
}

.nav-crystal:hover {
    filter: drop-shadow(0 0 15px rgba(255, 184, 0, 0.6));
}

/* Gold text shadow for headings */
.glow-heading {
    text-shadow: 0 0 20px rgba(255, 184, 0, 0.3), 0 0 40px rgba(255, 184, 0, 0.1);
}

/* Decorative corner ornaments for cards */
.corner-ornament {
    position: relative;
}

.corner-ornament::before,
.corner-ornament::after {
    content: '✦';
    position: absolute;
    color: rgba(255, 184, 0, 0.3);
    font-size: 1.2rem;
}

.corner-ornament::before {
    top: 0.5rem;
    left: 0.5rem;
}

.corner-ornament::after {
    bottom: 0.5rem;
    right: 0.5rem;
    transform: rotate(180deg);
}

/* Feature icon with crystal styling */
.crystal-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 12, 41, 0.6);
    border: 1px solid rgba(255, 184, 0, 0.2);
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(255, 184, 0, 0.1);
}

/* Pulsing glow animation for buttons */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 184, 0, 0.2); }
    50% { box-shadow: 0 0 20px rgba(255, 184, 0, 0.4), 0 0 40px rgba(107, 92, 231, 0.2); }
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Stars background overlay for dark sections */
.stars-overlay {
    position: relative;
}

.stars-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/stars-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    mix-blend-mode: screen;
    pointer-events: none;
}

.stars-overlay > * {
    position: relative;
    z-index: 10;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    transition: all 0.2s;
    text-decoration: none;
}

.nav-link:hover {
    color: #ffc94d;
    background-color: rgba(61, 54, 101, 0.5);
}

.nav-link.active {
    color: #ffc94d;
    background-color: rgba(61, 54, 101, 0.8);
}

.nav-link-primary {
    background: linear-gradient(135deg, #ffb800 0%, #e6a600 100%);
    color: #0f0c29 !important;
    font-weight: 600;
}

.nav-link-primary:hover {
    background: linear-gradient(135deg, #ffc94d 0%, #ffb800 100%);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    transition: all 0.2s;
    text-decoration: none;
}

.mobile-nav-link:hover {
    color: #ffc94d;
    background-color: rgba(61, 54, 101, 0.5);
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    display: block;
}

.footer-link:hover {
    color: #ffc94d;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffc94d 0%, #ffdb80 50%, #ffb800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* All-methods highlight band (hero) */
.methods-band {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.25rem 1.75rem;
    text-align: center;
    border-radius: 1rem;
    border: 1px solid rgba(255, 184, 0, 0.35);
    background:
        radial-gradient(circle at 50% 0%, rgba(157, 123, 255, 0.12), transparent 70%),
        rgba(36, 32, 64, 0.7);
    box-shadow: 0 0 30px rgba(255, 184, 0, 0.08), inset 0 0 25px rgba(255, 184, 0, 0.03);
    backdrop-filter: blur(6px);
}

.methods-band > p:first-child {
    text-shadow: 0 0 18px rgba(255, 184, 0, 0.35);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ffb800 0%, #e6a600 100%);
    color: #0f0c29;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.4);
}

/* Feature Cards */
.feature-card {
    background: rgba(36, 32, 64, 0.6);
    border: 1px solid rgba(61, 54, 101, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    border-color: rgba(255, 184, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.2), rgba(107, 92, 231, 0.2));
    border-radius: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
    background: rgba(36, 32, 64, 0.8);
    border: 1px solid rgba(61, 54, 101, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.3), transparent);
}

.pricing-card::after {
    content: '✦';
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: rgba(255, 184, 0, 0.15);
    font-size: 1.25rem;
}

.pricing-card:hover {
    border-color: rgba(255, 184, 0, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.6), transparent);
}

.pricing-card.featured {
    border-color: rgba(255, 184, 0, 0.5);
    box-shadow: 0 0 40px rgba(255, 184, 0, 0.15), inset 0 0 60px rgba(255, 184, 0, 0.03);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 16px 50px rgba(255, 184, 0, 0.2), inset 0 0 60px rgba(255, 184, 0, 0.05);
}

.pricing-card .featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffb800, #e6a600);
    color: #0f0c29;
    padding: 0.35rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(255, 184, 0, 0.3);
}

.pricing-price {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffc94d;
    text-shadow: 0 0 20px rgba(255, 184, 0, 0.2);
}

.pricing-period {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Forms */
.cosmic-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(36, 32, 64, 0.8);
    border: 1px solid rgba(61, 54, 101, 0.5);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    transition: all 0.2s;
}

.cosmic-input:focus {
    outline: none;
    border-color: #ffc94d;
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

.cosmic-input::placeholder {
    color: #6b7280;
}

.cosmic-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
}

.cosmic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ffb800 0%, #e6a600 100%);
    color: #0f0c29;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.cosmic-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.cosmic-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.cosmic-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 184, 0, 0.5);
    color: #ffc94d;
}

.cosmic-btn-outline:hover {
    background: rgba(255, 184, 0, 0.1);
}

/* Reading Styles - The "Verbiage" Enhancement */
.predictpro-reading {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.reading-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(61, 54, 101, 0.5);
}

.reading-stars {
    font-size: 2rem;
    color: #ffc94d;
    margin-bottom: 1rem;
    letter-spacing: 0.5rem;
}

.reading-greeting {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffc94d;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.reading-sign {
    font-size: 1.125rem;
    color: #d1d5db;
}

.reading-meta {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.cosmic-context {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(36, 32, 64, 0.6);
    border-radius: 1rem;
    border: 1px solid rgba(61, 54, 101, 0.3);
}

.cosmic-context h3 {
    font-family: 'Cinzel', serif;
    color: #ffc94d;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.cosmic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cosmic-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(15, 12, 41, 0.5);
    border-radius: 0.75rem;
}

.cosmic-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.cosmic-value {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffc94d;
}

.cosmic-detail {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.planetary-alignment {
    padding: 1rem;
    background: rgba(107, 92, 231, 0.1);
    border-left: 3px solid #6b5ce7;
    border-radius: 0 0.5rem 0.5rem 0;
}

.planetary-alignment h4 {
    color: #9d7bff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.planetary-alignment p {
    color: #d1d5db;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.question-framing {
    margin-bottom: 2rem;
}

.question-framing h3 {
    font-family: 'Cinzel', serif;
    color: #ffc94d;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.question-quote {
    font-family: 'Cinzel', serif;
    font-size: 1.375rem;
    font-style: italic;
    color: #ffdb80;
    text-align: center;
    padding: 1.5rem;
    background: rgba(36, 32, 64, 0.6);
    border-radius: 1rem;
    border: 1px solid rgba(255, 184, 0, 0.2);
    margin-bottom: 1rem;
    position: relative;
}

.quote-mark {
    color: rgba(255, 184, 0, 0.3);
    font-size: 2rem;
    line-height: 1;
}

.question-intro {
    text-align: center;
    color: #9ca3af;
    font-size: 1rem;
}

/* Probability meter */
.probability-bar {
    background: linear-gradient(90deg, #312e81 0%, #6366f1 40%, #a78bfa 70%, #ffc94d 100%);
    box-shadow: 0 0 10px rgba(255, 184, 0, 0.4);
    animation: fillBar 1.5s ease-out forwards;
}

@keyframes fillBar {
    from { width: 0%; }
}

.main-reading {
    margin-bottom: 2rem;
}

.main-reading h3 {
    font-family: 'Cinzel', serif;
    color: #ffc94d;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.reading-paragraph {
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(36, 32, 64, 0.4);
    border-radius: 0.75rem;
    border-left: 3px solid rgba(255, 184, 0, 0.3);
    position: relative;
}

.reading-paragraph-first {
    border-left-color: #ffc94d;
    background: rgba(36, 32, 64, 0.6);
}

.reading-paragraph-last {
    border-left-color: #6b5ce7;
    background: rgba(36, 32, 64, 0.6);
}

.paragraph-icon {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    color: rgba(255, 184, 0, 0.3);
    font-size: 1.5rem;
}

.reading-paragraph p {
    color: #e5e7eb;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.deep-dive {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(36, 32, 64, 0.5);
    border-radius: 1rem;
    border: 1px solid rgba(107, 92, 231, 0.2);
}

.deep-dive h3 {
    font-family: 'Cinzel', serif;
    color: #9d7bff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.deep-dive-paragraph {
    margin-bottom: 1rem;
}

.deep-dive-paragraph p {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.7;
}

.astro-tip {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 184, 0, 0.05);
    border-radius: 0.75rem;
    border: 1px dashed rgba(255, 184, 0, 0.3);
}

.astro-tip h4 {
    color: #ffc94d;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.astro-tip p {
    color: #d1d5db;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.timing-analysis {
    margin-bottom: 2rem;
}

.timing-analysis h3 {
    font-family: 'Cinzel', serif;
    color: #ffc94d;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.timing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.timing-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
    background: rgba(15, 12, 41, 0.6);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 184, 0, 0.2);
}

.timing-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.timing-value {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffc94d;
}

.timing-desc {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.timing-details {
    padding: 1rem;
    background: rgba(255, 184, 0, 0.05);
    border-radius: 0.75rem;
}

.timing-details h4 {
    color: #ffc94d;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.timing-details p {
    color: #d1d5db;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.lucky-elements {
    margin-bottom: 2rem;
}

.lucky-elements h3 {
    font-family: 'Cinzel', serif;
    color: #ffc94d;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.lucky-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lucky-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(36, 32, 64, 0.8), rgba(15, 12, 41, 0.8));
    border-radius: 1rem;
    border: 1px solid rgba(255, 184, 0, 0.2);
    transition: all 0.3s;
}

.lucky-item:hover {
    border-color: rgba(255, 184, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.1);
}

.lucky-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.lucky-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.lucky-value {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffc94d;
}

.lucky-advice {
    padding: 1rem;
    background: rgba(78, 205, 196, 0.05);
    border-radius: 0.75rem;
    border-left: 3px solid #4ecdc4;
}

.lucky-advice p {
    color: #d1d5db;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.reading-blessing {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
}

.blessing-divider {
    color: rgba(255, 184, 0, 0.4);
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    margin: 1.5rem 0;
}

.reading-blessing h3 {
    font-family: 'Cinzel', serif;
    color: #ffdb80;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blessing-text p {
    color: #e5e7eb;
    font-size: 1.125rem;
    line-height: 1.8;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.daily-affirmation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 184, 0, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 184, 0, 0.2);
}

.daily-affirmation h4 {
    color: #ffc94d;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.daily-affirmation blockquote {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: #ffdb80;
    margin-bottom: 1rem;
}

.affirmation-instruction {
    font-size: 0.875rem;
    color: #9ca3af;
}

.reading-disclaimer {
    padding: 1.5rem;
    background: rgba(36, 32, 64, 0.4);
    border-radius: 0.75rem;
    border: 1px solid rgba(61, 54, 101, 0.3);
}

.reading-disclaimer p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Question Form */
.question-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.question-textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    background: rgba(36, 32, 64, 0.8);
    border: 1px solid rgba(61, 54, 101, 0.5);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    resize: vertical;
    transition: all 0.2s;
}

.question-textarea:focus {
    outline: none;
    border-color: #ffc94d;
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

.category-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
}

/* Dashboard */
.dashboard-card {
    background: rgba(36, 32, 64, 0.6);
    border: 1px solid rgba(61, 54, 101, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,184,0,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.dashboard-card:hover::before {
    opacity: 1;
}

.dashboard-card:hover {
    border-color: rgba(255, 184, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dashboard-stat {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffc94d;
    text-shadow: 0 0 15px rgba(255, 184, 0, 0.3);
}

.dashboard-stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Dashboard CTA Section */
.dashboard-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(36, 32, 64, 0.9) 0%, rgba(49, 46, 129, 0.6) 100%);
    border: 1px solid rgba(255, 184, 0, 0.2);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
}

.dashboard-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffc94d' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

/* History Cards */
.history-card {
    background: rgba(36, 32, 64, 0.6);
    border: 1px solid rgba(61, 54, 101, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.history-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 184, 0, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.history-card:hover::before {
    opacity: 1;
}

.history-card:hover {
    border-color: rgba(255, 184, 0, 0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.history-question {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    color: #ffc94d;
    margin-bottom: 0.5rem;
}

.history-meta {
    font-size: 0.875rem;
    color: #6b7280;
}

.history-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-answered {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-pending {
    background: rgba(255, 184, 0, 0.15);
    color: #ffc94d;
    border: 1px solid rgba(255, 184, 0, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

.history-probability {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(167, 139, 250, 0.2));
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

/* Admin Panel */
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table th {
    text-align: left;
    padding: 0.875rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffc94d;
    background: rgba(36, 32, 64, 0.9);
    border-bottom: 2px solid rgba(255, 184, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.admin-table th:first-child {
    border-radius: 0.5rem 0 0 0;
}

.admin-table th:last-child {
    border-radius: 0 0.5rem 0 0;
}

.admin-table td {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    color: #d1d5db;
    border-bottom: 1px solid rgba(61, 54, 101, 0.25);
    transition: background 0.2s;
}

.admin-table tr:hover td {
    background: rgba(49, 46, 129, 0.25);
}

.admin-table tr:last-child td:first-child {
    border-radius: 0 0 0 0.5rem;
}

.admin-table tr:last-child td:last-child {
    border-radius: 0 0 0.5rem 0;
}

.admin-card {
    background: rgba(36, 32, 64, 0.6);
    border: 1px solid rgba(61, 54, 101, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.2), transparent);
}

.admin-card h2 {
    position: relative;
    padding-left: 1rem;
}

.admin-card h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 1.25rem;
    background: linear-gradient(180deg, #ffc94d, #a78bfa);
    border-radius: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0c29;
}

::-webkit-scrollbar-thumb {
    background: #3d3665;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b5ce7;
}

/* Loading States */
.loading-spinner {
    width: 50px;
    height: 50px;
    position: relative;
    margin: 0 auto;
}

.loading-spinner::before,
.loading-spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

.loading-spinner::before {
    width: 100%;
    height: 100%;
    border-top-color: #ffc94d;
    border-right-color: rgba(255, 184, 0, 0.3);
    animation: spin 1.2s linear infinite;
}

.loading-spinner::after {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-bottom-color: #a78bfa;
    border-left-color: rgba(167, 139, 250, 0.3);
    animation: spin-reverse 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    to { transform: rotate(-360deg); }
}

.loading-text {
    font-family: 'Cinzel', serif;
    color: #ffc94d;
    font-size: 1.125rem;
    margin-top: 1.5rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Shimmer loading placeholder */
.shimmer {
    background: linear-gradient(
        90deg,
        rgba(36, 32, 64, 0.6) 25%,
        rgba(49, 46, 129, 0.4) 50%,
        rgba(36, 32, 64, 0.6) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0.5rem;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Staggered fade-in for lists */
.stagger-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.05s; }
.stagger-item:nth-child(2) { animation-delay: 0.1s; }
.stagger-item:nth-child(3) { animation-delay: 0.15s; }
.stagger-item:nth-child(4) { animation-delay: 0.2s; }
.stagger-item:nth-child(5) { animation-delay: 0.25s; }
.stagger-item:nth-child(6) { animation-delay: 0.3s; }
.stagger-item:nth-child(7) { animation-delay: 0.35s; }
.stagger-item:nth-child(8) { animation-delay: 0.4s; }
.stagger-item:nth-child(9) { animation-delay: 0.45s; }
.stagger-item:nth-child(10) { animation-delay: 0.5s; }

/* Button ripple effect */
.cosmic-btn,
.hero-cta {
    position: relative;
    overflow: hidden;
}

.cosmic-btn::after,
.hero-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.cosmic-btn:active::after,
.hero-cta:active::after {
    width: 200%;
    height: 200%;
}

/* Page transition */
main {
    animation: fadeInUp 0.4s ease-out;
}

/* Selection */
::selection {
    background: rgba(255, 184, 0, 0.3);
    color: white;
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid #ffc94d;
    outline-offset: 2px;
}

/* Error States */
.input-error {
    border-color: #ef4444 !important;
}

.input-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Success States */
.success-message {
    color: #22c55e;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* =============================================================
   TAROT READING
   ============================================================= */

/* Spread Selector */
.spread-btn {
    background: rgba(36, 32, 64, 0.6);
    border: 1px solid rgba(61, 54, 101, 0.5);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    min-width: 120px;
}

.spread-btn:hover {
    border-color: rgba(255, 184, 0, 0.3);
    color: #ffc94d;
    transform: translateY(-2px);
}

.spread-btn.active {
    border-color: rgba(255, 184, 0, 0.5);
    background: rgba(255, 184, 0, 0.08);
    color: #ffc94d;
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.1);
}

/* Deck */
.tarot-deck-container {
    perspective: 1000px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tarot-deck {
    position: relative;
    width: 160px;
    height: 250px;
}

.deck-card {
    position: absolute;
    width: 160px;
    height: 250px;
    border-radius: 12px;
    background:
        repeating-linear-gradient(45deg, rgba(255, 184, 0, 0.05) 0 10px, transparent 10px 20px),
        repeating-linear-gradient(-45deg, rgba(255, 184, 0, 0.05) 0 10px, transparent 10px 20px),
        linear-gradient(135deg, #1e1b4b, #312e81);
    border: 2px solid rgba(255, 184, 0, 0.35);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transform: translate(calc(var(--i) * 2px), calc(var(--i) * -1px));
    transition: all 0.3s;
    overflow: hidden;
}

.deck-card::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: rgba(255, 184, 0, 0.2);
}

.deck-card::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 184, 0, 0.15);
    border-radius: 8px;
}

/* Shuffle Animation */
.tarot-deck.shuffling .deck-card {
    animation: shuffleCard 0.3s ease-in-out infinite alternate;
}

.tarot-deck.shuffling .deck-card:nth-child(1) { animation-delay: 0s; }
.tarot-deck.shuffling .deck-card:nth-child(2) { animation-delay: 0.05s; }
.tarot-deck.shuffling .deck-card:nth-child(3) { animation-delay: 0.1s; }
.tarot-deck.shuffling .deck-card:nth-child(4) { animation-delay: 0.15s; }
.tarot-deck.shuffling .deck-card:nth-child(5) { animation-delay: 0.2s; }

@keyframes shuffleCard {
    0% { transform: translate(calc(var(--i) * 2px), calc(var(--i) * -1px)) rotate(0deg); }
    100% { transform: translate(calc(var(--i) * 2px + 5px), calc(var(--i) * -1px - 3px)) rotate(3deg); }
}

/* Card Flipper */
.tarot-card-wrapper {
    perspective: 1000px;
    width: 230px;
    height: 350px;
    margin: 0 auto;
}

.tarot-card-wrapper.large {
    width: 250px;
    height: 385px;
}

.tarot-card-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.tarot-card-flipper.flipped {
    transform: rotateY(180deg);
}

.tarot-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}

.tarot-card-wrapper:hover .tarot-card-face {
    box-shadow: 0 16px 45px rgba(0,0,0,0.55), 0 0 30px rgba(255, 184, 0, 0.18);
}

/* Card Back */
.tarot-card-back {
    background:
        radial-gradient(circle at 50% 50%, rgba(157, 123, 255, 0.15), transparent 65%),
        repeating-linear-gradient(45deg, rgba(255, 184, 0, 0.05) 0 12px, transparent 12px 24px),
        repeating-linear-gradient(-45deg, rgba(255, 184, 0, 0.05) 0 12px, transparent 12px 24px),
        linear-gradient(135deg, #1e1b4b, #312e81);
    border: 2px solid rgba(255, 184, 0, 0.35);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.tarot-card-back::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 184, 0, 0.3);
    border-radius: 10px;
}

.tarot-card-back::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: rgba(255, 184, 0, 0.35);
    text-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
}

/* Card Front */
.tarot-card-front {
    background:
        radial-gradient(circle at 50% 36%, rgba(157, 123, 255, 0.28), transparent 58%),
        radial-gradient(circle at 50% 36%, rgba(255, 184, 0, 0.1), transparent 42%),
        linear-gradient(180deg, #2b2450 0%, #1a1635 100%);
    border: 2px solid rgba(255, 184, 0, 0.5);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4), inset 0 0 50px rgba(255,184,0,0.04);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.tarot-card-front::before {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(255, 184, 0, 0.35);
    border-radius: 10px;
    pointer-events: none;
}

.tarot-card-front::after {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 184, 0, 0.15);
    border-radius: 8px;
    pointer-events: none;
}

.tarot-card-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.5rem;
}

.tarot-card-inner.reversed {
    transform: rotate(180deg);
}

.tarot-card-number {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: rgba(255, 184, 0, 0.75);
    letter-spacing: 0.12em;
}

.tarot-card-art {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0.25rem 0;
}

.tarot-card-art svg {
    width: 72%;
    height: auto;
    max-height: 100%;
    filter: drop-shadow(0 0 12px rgba(255, 184, 0, 0.3));
}

.tarot-card-emoji {
    font-size: 5rem;
    line-height: 1;
    filter: drop-shadow(0 0 18px rgba(255, 184, 0, 0.35));
    text-shadow: 0 0 30px rgba(255, 184, 0, 0.25);
}

.tarot-card-name {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffc94d;
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 0 12px rgba(255, 184, 0, 0.2);
}

.tarot-card-runes {
    font-size: 0.9rem;
    color: rgba(255, 184, 0, 0.4);
    letter-spacing: 0.35em;
}

/* Position Labels */
.tarot-position-label {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: #ffc94d;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Meaning Box */
.tarot-meaning {
    text-align: center;
    margin-top: 1rem;
    min-height: 100px;
}

/* Reading Text */
.tarot-reading-text {
    animation: fadeInUp 0.6s ease-out 1.5s both;
}

/* Tarot Slot */
.tarot-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    /* Hero */
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-crystal-ball {
        width: 120px;
        height: 135px;
    }

    /* Navigation */
    .cosmic-nav {
        padding: 0.75rem 1rem;
    }

    /* Cards */
    .tarot-card,
    .pricing-card,
    .dashboard-card,
    .history-card,
    .admin-card {
        padding: 1.25rem;
    }

    /* Pricing featured card */
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: scale(1) translateY(-6px);
    }

    /* Stats grid */
    .dashboard-stat {
        font-size: 1.5rem;
    }

    /* Answer page probability meter */
    .probability-bar {
        animation: none;
    }

    /* Admin tables */
    .admin-table th,
    .admin-table td {
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
    }

    /* History cards */
    .history-card:hover {
        transform: translateX(2px);
    }

    /* Footer */
    .cosmic-footer .grid {
        gap: 2rem;
    }

    /* Tarot */
    .tarot-card-wrapper {
        width: 175px;
        height: 270px;
    }
    .tarot-card-wrapper.large {
        width: 190px;
        height: 295px;
    }
    .tarot-card-emoji {
        font-size: 3.75rem;
    }
    .spread-btn {
        padding: 0.75rem 1rem;
        min-width: auto;
        font-size: 0.8125rem;
    }
    .tarot-deck-container {
        height: 205px;
    }
    .deck-card {
        width: 125px;
        height: 195px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-cta {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }
    .dashboard-stat {
        font-size: 1.25rem;
    }
    .dashboard-stat-label {
        font-size: 0.75rem;
    }
}
