/* 
 * ASK SIAN STYLESHEET
 * 
 * CRITICAL RULE: ALL TEXT MUST BE DARK WITH LIGHT BACKGROUNDS
 * - No light colored text (white, light gray, etc.) is allowed
 * - All text must use dark color (#2c2c2c) for maximum readability
 * - All backgrounds must be light (white/transparent) for contrast
 * - This ensures excellent accessibility and readability on all devices
 * - iPhone users with large text settings will have perfect visibility
 */

/* ========================================
   WHEEL OF FORTUNE CUSTOMIZATION
   ======================================== */
/* Adjust these values to customize the spinning wheel:
   --wheel-center-x: Horizontal center point (0% = left, 50% = center, 100% = right)
   --wheel-center-y: Vertical center point (0% = top, 50% = center, 100% = bottom)
   --wheel-scale: Scale factor (1.0 = original size, 1.2 = 20% larger, 1.5 = 50% larger)
   
   Example: To center on the top-left area and make it 25% larger:
   --wheel-center-x: 25%;
   --wheel-center-y: 25%;
   --wheel-scale: 1.25;
*/

:root {
    --wheel-center-x: 50%;
    --wheel-center-y: 50%;
    --wheel-scale: 1.2;
    
    /* Enhanced modern color palette */
    --primary-bg: #ffffff;
    --secondary-bg: #fafbfc;
    --accent-bg: #f4f6f8;
    --surface-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;
    
    /* Enhanced gold accent colors with better contrast */
    --accent-gold: #d4af37;
    --accent-gold-light: #e6c547;
    --accent-gold-dark: #b8941f;
    --accent-gold-subtle: rgba(212, 175, 55, 0.08);
    --accent-gold-glow: rgba(212, 175, 55, 0.2);
    
    /* Mystical accent colors */
    --mystical-purple: #6b46c1;
    --mystical-purple-light: #8b5cf6;
    --mystical-purple-subtle: rgba(107, 70, 193, 0.1);
    
    /* Enhanced borders and shadows */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e0;
    --border-strong: #a0aec0;
    
    /* Enhanced shadows with depth */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);
    
    /* Spacing scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    
    /* Line heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
}

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

/* Accessibility - Skip Links */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #d4af37;
    color: #1a1a2e;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Accessibility - Visually Hidden Content */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Accessibility - Focus Management */
*:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Accessibility - High Contrast Mode Support */
@media (prefers-contrast: high) {
    .card {
        border-width: 4px;
    }
    
    .spread-btn {
        border-width: 3px;
    }
    
    .interpretation {
        border-width: 2px;
    }
}

/* Accessibility - Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .wheel-of-fortune-img {
        animation: none;
    }
}

/* Modern typography and color system */
/* Clean, readable text with proper contrast ratios */

/* Base text colors - readable and accessible */
body {
    color: var(--text-primary);
    background-color: var(--primary-bg);
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Text color hierarchy */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
/* Clean typography hierarchy */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

p {
    margin-bottom: var(--space-md);
    line-height: var(--line-height-relaxed);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-gold-dark);
    text-decoration: underline;
}

/* Modern layout and component styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.main-content {
    background: var(--primary-bg);
    min-height: 100vh;
}

.question-section, .content-section, .cta-section {
    background: var(--secondary-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-lg) 0;
    box-shadow: var(--shadow-sm);
}

.seo-content {
    background: var(--primary-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin: var(--space-lg) 0;
}

/* Modern form elements */
input, textarea, select, .form-control {
    background: var(--primary-bg);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-subtle);
}

/* Modern button styles */
button, .btn {
    background: var(--accent-gold);
    color: var(--primary-bg);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

button:hover, .btn:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

button:active, .btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.spread-btn, .draw-btn {
    background: var(--primary-bg);
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.spread-btn:hover, .draw-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-bg);
}

/* Modern utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }

/* Responsive typography */
.title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-lg);
}

.subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* Modern responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .card, .interpretation, .question-section {
        padding: var(--space-lg);
        margin: var(--space-md) 0;
    }
    
    .title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    
    button, .btn {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .card, .interpretation, .question-section {
        padding: var(--space-md);
        margin: var(--space-sm) 0;
    }
    
    .title {
        font-size: clamp(1.25rem, 10vw, 1.8rem);
    }
}

/* Modern loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-light);
    border-top: 2px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth transitions for interactive elements */
.interactive {
    transition: all 0.2s ease;
}

.interactive:hover {
    transform: translateY(-1px);
}

/* Focus states for accessibility */
.focus-visible:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Modern card hover effects */
.card-interactive {
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-interactive:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Status indicators */
.status-success {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
}

.status-error {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
}

.status-warning {
    color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
}

.question-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
}

.content-section h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.content-section h2 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
}

.content-section h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
}

.content-section p,
.content-section li {
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.radio-text,
#userName,
.starsign-select,
#userQuestion {
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.spread-btn {
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.cta-section h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.cta-section p {
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.draw-btn {
    font-size: clamp(1rem, 2vw, 1.2rem);
}

/* Additional iPhone text scaling support */
@media screen and (max-width: 768px) {
    /* Ensure text scales properly on iPhone when user increases text size */
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Prevent horizontal scrolling with large text */
    .container {
        overflow-x: hidden;
    }
    
    /* Ensure input fields scale properly */
    input, select, textarea {
        font-size: max(16px, 1rem); /* Prevent zoom on iOS */
    }
    
    /* Scale button text appropriately */
    .spread-btn,
    .draw-btn {
        min-height: 44px; /* iOS touch target minimum */
        padding: 12px 20px;
    }
    
    /* Fix text contrast issues on iPhone with large text */
    /* Ensure white text has proper contrast against backgrounds */
    .content-section p,
    .content-section li,
    .content-section ul,
    .cta-section p,
    .seo-content p,
    .seo-content ul,
    .seo-content li {
        color: #2c2c2c !important;
        text-shadow: none;
        background: transparent;
    }
    
    /* Ensure headings maintain contrast */
    .content-section h1,
    .content-section h2,
    .content-section h3,
    .cta-section h3 {
        color: #d4af37 !important;
        text-shadow: none;
    }
    
    /* Fix input field text visibility */
    #userName,
    .starsign-select,
    #userQuestion,
    .radio-text {
        color: #2c2c2c !important;
        text-shadow: none;
    }
    
    /* Ensure form labels are visible */
    .personal-info-inputs label,
    .reading-type-selection label {
        color: #2c2c2c !important;
        text-shadow: none;
    }
    
    /* Fix any potential white-on-white text issues */
    * {
        color: inherit;
    }
    
    /* Ensure dark backgrounds for better contrast */
    .question-section,
    .spread-selection,
    .content-section,
    .cta-section {
        background: rgba(255, 255, 255, 0.8) !important;
        border: 1px solid rgba(212, 175, 55, 0.3);
    }
}

/* Specific fixes for iPhone users with large text settings */
@media screen and (max-width: 768px) and (min-resolution: 2dppx) {
    /* iPhone retina displays with large text */
    .content-section,
    .cta-section,
    .seo-content {
        background: rgba(255, 255, 255, 0.9) !important;
        border: 2px solid rgba(212, 175, 55, 0.4);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    /* Enhanced text shadows for better visibility */
    .content-section p,
    .content-section li,
    .cta-section p,
    .seo-content p {
        text-shadow: none !important;
        color: #2c2c2c !important;
    }
    
    /* Ensure headings are highly visible */
    .content-section h1,
    .content-section h2,
    .content-section h3 {
        text-shadow: none !important;
        color: #d4af37 !important;
    }
}

body {
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #fafbfc 0%, #f4f6f8 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Subtle mystical background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 70, 193, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    margin-bottom: 15px;
    padding: 10px 0;
    background: var(--secondary-bg);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 10px var(--shadow-light);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.wheel-of-fortune-container {
    flex-shrink: 0;
}

.header-text {
    flex: 1;
    text-align: left;
}

.wheel-of-fortune-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: var(--wheel-center-x, 50%) var(--wheel-center-y, 50%);
    border-radius: 50%;
    border: 4px solid var(--accent-gold);
    box-shadow: 0 8px 25px var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: rotate 15s linear infinite;
}

.wheel-of-fortune-img:hover {
    transform: scale(calc(var(--wheel-scale, 1.2) * 1.04));
    box-shadow: 0 12px 35px var(--shadow-heavy);
    animation-play-state: paused;
}

@keyframes rotate {
    from {
        transform: scale(var(--wheel-scale, 1.2)) rotate(0deg);
    }
    to {
        transform: scale(var(--wheel-scale, 1.2)) rotate(360deg);
    }
}

.title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--accent-gold);
    text-shadow: 1px 1px 2px var(--shadow-light);
    margin-bottom: 8px;
}

.subtitle {
    color: #cccccc;
    font-style: italic;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.decorative-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.decorative-card {
    position: absolute;
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.decorative-card:hover {
    opacity: 0.2;
    transform: scale(1.05);
}

.card-1 {
    top: 10%;
    left: 5%;
    transform: rotate(-15deg);
}

.card-2 {
    top: 20%;
    right: 8%;
    transform: rotate(20deg);
}

.card-3 {
    top: 60%;
    left: 3%;
    transform: rotate(-10deg);
}

.api-config {
    background: var(--secondary-bg);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    display: none;
}

.api-config h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.api-config p {
    margin-bottom: 15px;
    color: #cccccc;
}

#apiKey {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    background: var(--primary-bg);
    color: #2c2c2c;
    font-size: 1rem;
    margin-bottom: 15px;
}

#apiKey::placeholder {
    color: var(--text-muted);
}

.api-key-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.api-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.save-btn, .clear-btn {
    padding: 10px 20px;
    background: var(--accent-bg);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.save-btn:hover, .clear-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.clear-btn {
    background: var(--accent-bg);
    border-color: #dc3545;
    color: #dc3545;
}

.clear-btn:hover {
    background: #dc3545;
    color: var(--primary-bg);
}

.api-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.api-note a {
    color: var(--accent-gold);
    text-decoration: none;
}

.api-note a:hover {
    text-decoration: underline;
}

.question-section {
    width: 100%;
    max-width: 700px;
    margin: 30px auto 30px auto;
    text-align: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.8));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.question-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.05) 50%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.question-section::after {
    content: '🔮';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
    z-index: -1;
}


/* Content Pages Styling */
.content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.8;
}

.content-section h1 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.content-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 10px;
}

.content-section h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
}

.content-section p {
    color: #2c2c2c;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.content-section ul {
    color: #2c2c2c;
    margin-bottom: 20px;
    padding-left: 30px;
}

.content-section li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.content-section a {
    color: var(--accent-gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.content-section a:hover {
    border-bottom: 1px solid #d4af37;
}

.cta-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(5px);
}

.cta-section h3 {
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    color: #2c2c2c;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.draw-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.draw-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #f4d03f, #d4af37);
}

/* Speech controls and ChatGPT TTS functionality removed */

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.back-link {
    text-align: center;
    margin-top: 50px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    background: linear-gradient(135deg, #f4d03f, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.contact-section h2 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-info {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.faq-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
}

.faq-section h3 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feedback-tips {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.feedback-tips h3 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

#birthDate {
    padding: 12px;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    background: var(--primary-bg);
    color: #2c2c2c;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
}

#birthDate::-webkit-calendar-picker-indicator {
    filter: invert(1);
}


.hidden {
    display: none !important;
}

.question-section h2 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--accent-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.personal-info-inputs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.name-input {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

#userName {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: #2c2c2c;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#userName:focus {
    outline: none;
    border-color: #e6c547;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    background: rgba(26, 26, 46, 0.3);
}

#userName::placeholder {
    color: #cccccc;
}

.starsign-input {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.starsign-select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: #2c2c2c;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    cursor: text;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.starsign-select:focus {
    outline: none;
    border-color: #f4d03f;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.15);
}


.reading-type-selection {
    margin-bottom: 20px;
}

.reading-type-label {
    margin-bottom: 10px;
}

.type-label-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reading-type-selection h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
    text-align: center;
}

.reading-type-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.reading-type-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.reading-type-option:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.reading-type-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d4af37;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.reading-type-option input[type="radio"]:checked + .radio-custom {
    background: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.reading-type-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #1a1a2e;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.reading-type-option input[type="radio"]:checked ~ .radio-text {
    color: var(--accent-gold);
    font-weight: 600;
}

.radio-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    transition: all 0.3s ease;
}

.question-input-section {
    margin-bottom: 15px;
}

.question-input-section textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #d4af37;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: #2c2c2c;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    resize: vertical;
    min-height: 80px;
}

.question-input-section textarea:focus {
    outline: none;
    border-color: #e6c547;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.question-input-section textarea.warning {
    border-color: #ffa500;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

.question-input-section textarea.danger {
    border-color: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.char-counter {
    text-align: right;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #cccccc;
}

.char-counter.warning {
    color: #ffa500;
}

.char-counter.danger {
    color: #ff6b6b;
}

.general-reading-info {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
}

.general-reading-info p {
    color: var(--accent-gold);
    font-style: italic;
    margin: 0;
    font-size: 1rem;
}

#userQuestion {
    width: 100%;
    padding: 15px;
    border: 2px solid #d4af37;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    color: #2c2c2c;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    resize: vertical;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#userQuestion:focus {
    outline: none;
    border-color: #e6c547;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    background: rgba(26, 26, 46, 0.3);
}

#userQuestion::placeholder {
    color: #cccccc;
}

.spread-selection {
    margin: 30px auto 30px auto;
    text-align: center;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
}

.spread-selection h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.spread-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.spread-btn {
    padding: 12px 24px;
    border: 2px solid var(--accent-gold);
    background: var(--accent-bg);
    color: var(--accent-gold);
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.spread-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-medium);
}

.spread-btn.active {
    background: var(--accent-gold);
    color: var(--primary-bg);
    box-shadow: 0 4px 8px var(--shadow-medium);
}

.action-section {
    margin-bottom: 100px; /* Increased to avoid floating footer overlap */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 10; /* Ensure it's above other elements */
}


.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.draw-btn, .clear-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.draw-btn {
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-bg);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.draw-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-heavy);
}

.clear-btn {
    background: var(--secondary-bg);
    color: #2c2c2c;
    border: 2px solid var(--border-medium);
}

.clear-btn:hover {
    background: var(--accent-bg);
    transform: translateY(-2px);
}

.reading-area {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.reading-area.hidden {
    display: none;
}

.reading-area h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.cards-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 15px;
    margin: 20px 0 30px 0; /* Reduced space for more compact layout */
    position: sticky;
    top: 20px;
    z-index: 100;
    flex-wrap: wrap;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.cards-container.sticky-active {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: translateY(0);
}

.card {
    width: 120px;
    height: 200px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: visible;
    backdrop-filter: blur(10px);
    margin: 30px 0; /* Space for card names above and position labels below */
    flex: 0 0 auto; /* Allow cards to grow/shrink based on container */
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire card area while maintaining aspect ratio */
    object-position: center; /* Center the image within the card */
    border-radius: 16px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    /* Ensure authentic images display properly */
    background: #000;
}

/* Card overlay removed - showing full images */

/* Card image loading state */
.card-image {
    transition: opacity 0.3s ease;
}

.card-image:not([src]) {
    opacity: 0;
}

/* Text-based cards styling */
.card.text-based {
    background: linear-gradient(145deg, #2c3e50, #34495e);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.card.text-based .card-position {
    position: static;
    background: #d4af37;
    color: #1a1a2e;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 10px;
}

.card.text-based .card-name {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 10px;
}

.card.text-based .card-suit {
    font-size: 2rem;
    color: #2c2c2c;
    margin: 10px 0;
}

.card.text-based .card-number {
    font-size: 0.8rem;
    color: #cccccc;
    font-weight: 500;
}

/* Ensure text is visible on images */
/* Card overlay text styles removed */

.card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    border-color: var(--accent-gold-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.card:hover .card-name-display {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.card:hover .card-position {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.card.reversed .card-image {
    transform: rotate(180deg); /* Rotate the image 180 degrees (upside down) */
}

.card.reversed:hover {
    transform: translateY(-8px) scale(1.08);
}

.card.reversed:hover .card-image {
    transform: rotate(180deg) scale(1.05); /* Maintain rotation on hover */
}

.card-name {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 3px;
}

.card-suit {
    font-size: 1rem;
    color: var(--accent-gold);
    margin: 3px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.card-number {
    font-size: 0.6rem;
    color: #cccccc;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.card-name-display {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4af37;
    color: #1a1a2e;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    max-width: 150px;
    text-align: center;
    line-height: 1.2;
}

.card-position {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4af37;
    color: #1a1a2e;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.interpretation {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 32px;
    margin: 32px 0;
    text-align: left;
    line-height: 1.8;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.interpretation:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold-subtle);
}

.interpretation h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    margin-top: 25px;
}

.interpretation h4:first-child {
    margin-top: 0;
}

.interpretation p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.8;
}

.loading-indicator {
    text-align: center;
    padding: 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 20px 0;
}

.loading-indicator.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 175, 55, 0.3);
    border-top: 4px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite, pulse 2s ease-in-out infinite;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.1);
    }
}

.loading-indicator p {
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-style: italic;
}

/* Enhanced Loading Animations */
.enhanced-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.spinner-ring {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top: 3px solid #d4af37;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    position: absolute;
}

.spinner-glow {
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
    position: absolute;
    filter: blur(1px);
}

.spinner-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
    z-index: 10;
}

.loading-progress {
    margin: 20px auto;
    max-width: 300px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #f4d03f, #d4af37);
    border-radius: 10px;
    transition: width 0.8s ease-in-out;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    text-align: center;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 5px;
}

.loading-message {
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-style: italic;
    text-align: center;
    margin: 20px 0;
    min-height: 1.5em;
    transition: opacity 0.5s ease-in-out;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Google AdSense Styles */
.google-ad-header {
    margin: 20px 0;
    text-align: center;
    padding: 15px;
    background: transparent;
    border: none;
    border-radius: 0;
    min-height: 90px;
    min-width: 300px;
    opacity: 0; /* Initially hidden until content loads */
    transition: opacity 0.5s ease;
}

.google-ad-header.hidden,
.google-ad-banner.hidden,
.google-ad-post-reading.hidden,
.google-ad-sidebar.hidden {
    display: none !important;
}

.google-ad-banner {
    margin: 30px 0;
    text-align: center;
    padding: 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    min-height: 90px;
    min-width: 300px;
    opacity: 0; /* Initially hidden until content loads */
    transition: opacity 0.5s ease;
}

.google-ad-post-reading {
    margin: 40px 0;
    text-align: center;
    padding: 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    min-height: 90px;
    min-width: 300px;
    opacity: 0; /* Initially hidden until content loads */
    transition: opacity 0.5s ease;
}

.google-ad-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    z-index: 100;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 15px;
    display: none; /* Initially hidden until content loads */
    transition: opacity 0.5s ease;
}

/* Responsive Design for Google Ads */
@media (max-width: 768px) {
    /* Hide most ads on mobile for better user experience */
    .google-ad-sidebar,
    .google-ad-header,
    .google-ad-banner,
    .google-ad-post-reading,
    .sticky-sidebar-ad {
        display: none !important;
    }
    
    /* Keep only essential in-content ads but make them smaller */
    .in-content-ad {
        margin: 10px 0;
        max-width: 100%;
    }
    
    .in-content-ad .ad-container {
        min-width: 280px;
        max-width: 100%;
        min-height: 200px; /* Reduced from 250px */
    }
}

@media (max-width: 480px) {
    /* Hide all non-essential ads on phones for better mobile experience */
    .google-ad-header,
    .google-ad-banner,
    .google-ad-post-reading,
    .google-ad-sidebar,
    .sticky-sidebar-ad {
        display: none !important;
    }
    
    /* Keep only minimal in-content ads on phones */
    .in-content-ad {
        margin: 5px 0;
    }
    
    .in-content-ad .ad-container {
        min-width: 250px;
        min-height: 150px; /* Smaller on phones */
    }
    
    /* Enhanced mobile typography */
    .hero-title {
        font-size: clamp(1.75rem, 10vw, 2rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 5vw, 1.1rem);
        line-height: 1.5;
    }
    
    .magical-input-card {
        padding: 20px;
        margin: 20px 0;
        border-radius: 12px;
    }
    
    .interpretation {
        padding: 20px;
        margin: 20px 0;
        border-radius: 12px;
        font-size: 0.95rem;
    }
    
    .magical-cta-btn {
        padding: 16px 28px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    /* Extra small mobile devices - maximize readability */
    .interpretation {
        padding: 16px;
        font-size: 0.9rem;
        line-height: 1.6;
        margin: 16px 0;
        max-width: 100%;
        border-radius: 8px;
    }
    
    .interpretation h4 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .interpretation p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .reading-area {
        padding: 0 2px;
    }
}

/* Ad Container and Fallback Styles */
.ad-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 500;
    background: var(--accent-bg);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.ad-container {
    position: relative;
    min-height: 90px;
    min-width: 300px;
    width: 100%;
    max-width: 728px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin: 10px auto;
}

.ad-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-bg);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 20px;
    color: #cccccc;
    font-size: 0.9rem;
    text-align: center;
    z-index: 1;
    display: none;
}

.ad-container:not(.ad-loaded) .ad-fallback {
    display: block;
}

.ad-container.ad-loaded .ad-fallback {
    display: none;
}

/* Sticky sidebar ad */
.sticky-sidebar-ad {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 160px;
    min-width: 160px;
    z-index: 1000;
    background: var(--secondary-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sticky-sidebar-ad .ad-container {
    margin: 0;
    padding: 5px;
    min-height: 80px;
}

.sticky-sidebar-ad .ad-label {
    font-size: 0.7rem;
    margin-bottom: 5px;
}

/* In-content ad */
.in-content-ad {
    margin: 20px 0;
    text-align: center;
}

.in-content-ad .ad-container {
    margin: 10px auto;
    min-width: 300px;
    width: 100%;
    max-width: 600px;
    min-height: 250px;
}

/* Mobile hidden class for JavaScript-controlled ad hiding */
.mobile-hidden {
    display: none !important;
}

/* Ad exclusion zones - prevent auto ads from placing ads in these areas */
.ad-exclusion-zone {
    position: relative;
}

.ad-exclusion-zone::before,
.ad-exclusion-zone::after {
    content: '';
    position: absolute;
    left: -20px;
    right: -20px;
    height: 1px;
    background: transparent;
    z-index: 1;
}

.ad-exclusion-zone::before {
    top: -10px;
}

.ad-exclusion-zone::after {
    bottom: -10px;
}

/* Ensure no ads appear within exclusion zones */
.ad-exclusion-zone [data-adsbygoogle-status] {
    display: none !important;
}

.ad-exclusion-zone .adsbygoogle {
    display: none !important;
}

/* Modern micro-interactions */
@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

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

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

/* Enhanced input focus states */
.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-subtle);
    transform: translateY(-1px);
}

/* Smooth page transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Enhanced button interactions */
button:active {
    transform: scale(0.98);
}

/* Loading state improvements */
.loading-indicator {
    animation: gentlePulse 2s ease-in-out infinite;
}

/* Card drawing animation enhancement */
.card-drawing {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Error Pages */
.error-page {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.error-page h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 30px;
}

.error-page p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.error-page .draw-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.error-page .draw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #e6c547, #d4af37);
}

/* Spread-specific layouts */
.spread-single .cards-container {
    justify-content: center;
}

.spread-three .cards-container {
    justify-content: space-evenly;
}

.spread-celtic .cards-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Celtic Cross Layout - Central Cross */
.celtic-cross {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.celtic-cross-horizontal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.celtic-cross-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Celtic Cross Staff - Right Side */
.celtic-staff {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

/* Card positioning for Celtic Cross */
.spread-celtic .card:nth-child(1) { 
    /* Situation - Center of cross */
    order: 1;
}

.spread-celtic .card:nth-child(2) { 
    /* Challenge - Crosses over situation */
    order: 2;
    transform: rotate(90deg);
    margin: -20px 0;
}

.spread-celtic .card:nth-child(3) { 
    /* Past - Left of cross */
    order: 3;
}

.spread-celtic .card:nth-child(4) { 
    /* Future - Right of cross */
    order: 4;
}

.spread-celtic .card:nth-child(5) { 
    /* Above - Top of cross */
    order: 5;
}

.spread-celtic .card:nth-child(6) { 
    /* Below - Bottom of cross */
    order: 6;
}

/* Staff cards (7-10) */
.spread-celtic .card:nth-child(7) { 
    /* Advice - Top of staff */
    order: 7;
}

.spread-celtic .card:nth-child(8) { 
    /* External - Second on staff */
    order: 8;
}

.spread-celtic .card:nth-child(9) { 
    /* Hopes/Fears - Third on staff */
    order: 9;
}

.spread-celtic .card:nth-child(10) { 
    /* Outcome - Bottom of staff */
    order: 10;
}

/* 12 Month specific styling */
.spread-twelve .twelve-month-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.spread-twelve .month-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.spread-twelve .month-card {
    width: 120px;
    height: 200px;
    margin: 5px;
}

.spread-twelve .month-card .card-position {
    font-size: 0.7rem;
    padding: 4px 8px;
    bottom: -15px;
    max-width: 90px;
    text-align: center;
    line-height: 1.1;
}

/* Premium Button Styling */
.premium-btn {
    position: relative;
    background: linear-gradient(135deg, #6c5ce7, #5f3dc4);
    color: #2c2c2c;
    border: 2px solid #6c5ce7;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.premium-btn:hover {
    background: linear-gradient(135deg, #7c6ce7, #6c5ce7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.premium-icon {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Coming Soon Section */
.coming-soon-section {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(95, 61, 196, 0.1));
    border-radius: 15px;
    margin-top: 20px;
}


.coming-soon-section h4 {
    color: #6c5ce7;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
}

.coming-soon-section p {
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.notify-section {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(108, 92, 231, 0.3);
}

.notify-section p {
    margin-bottom: 15px;
    color: #2c2c2c;
}

.notify-section input {
    width: 100%;
    max-width: 300px;
    padding: 12px 15px;
    border: 2px solid #6c5ce7;
    border-radius: 8px;
    background: rgba(26, 26, 46, 0.3);
    color: #2c2c2c;
    font-size: 1rem;
    margin-bottom: 15px;
}

.notify-section input:focus {
    outline: none;
    border-color: #7c6ce7;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.3);
}

.notify-btn {
    background: linear-gradient(135deg, #6c5ce7, #5f3dc4);
    color: #2c2c2c;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notify-btn:hover {
    background: linear-gradient(135deg, #7c6ce7, #6c5ce7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.premium-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Paywall Modal Styling */
#paywallModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#paywallModal .modal-content {
    max-width: 600px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #d4af37;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
}

#paywallModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

#paywallModal .modal-header h2 {
    color: var(--accent-gold);
    margin: 0;
    font-size: 1.8rem;
}

#paywallModal .modal-close-btn {
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#paywallModal .modal-close-btn:hover {
    color: #e6c547;
}

#paywallModal .modal-body {
    padding: 25px;
}

.premium-features {
    margin-bottom: 30px;
}

.premium-features h3 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.premium-features ul {
    list-style: none;
    padding: 0;
}

.premium-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    color: #2c2c2c;
}

.premium-features li:last-child {
    border-bottom: none;
}

.pricing-options {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.pricing-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.pricing-card.featured {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-card h4 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c2c2c;
    margin-bottom: 5px;
}

.price span {
    font-size: 1rem;
    color: #cccccc;
    font-weight: normal;
}

.savings {
    color: #4ecdc4;
    font-weight: bold;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.pricing-card li {
    padding: 5px 0;
    color: #2c2c2c;
    position: relative;
    padding-left: 20px;
}

.pricing-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

.subscribe-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #1a1a2e;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #e6c547, #c9a52a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.payment-note {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.payment-note small {
    color: #cccccc;
    font-size: 0.9rem;
}

/* 5 Card specific styling */
.spread-five .cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.spread-five .card {
    width: 120px;
    height: 200px;
    margin: 10px;
}

/* Celtic Cross specific styling (kept for reference) */
.spread-celtic .celtic-cross {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    justify-content: center;
    margin: 20px 0;
}

.spread-celtic .celtic-cross-layout {
    position: relative;
    min-height: 400px;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spread-celtic .celtic-cross-horizontal {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.spread-celtic .celtic-cross-vertical {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    z-index: 1;
}

.spread-celtic .celtic-staff {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-left: 0;
    min-height: 400px;
    justify-content: center;
    padding: 20px;
}

.spread-celtic .celtic-staff .card {
    position: relative;
}

/* Position labels for Celtic Cross */
.spread-celtic .card-position {
    font-size: 0.7rem;
    padding: 3px 8px;
    white-space: nowrap;
    max-width: 80px;
    bottom: -12px;
    text-align: center;
    line-height: 1.2;
}

/* Special styling for the crossed card */
/* Specific card positioning for Celtic Cross */
.spread-celtic .celtic-challenge {
    z-index: 3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.spread-celtic .celtic-situation {
    z-index: 2;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.spread-celtic .celtic-past,
.spread-celtic .celtic-future,
.spread-celtic .celtic-above,
.spread-celtic .celtic-below {
    z-index: 1;
}

.spread-celtic .celtic-staff-card {
    position: relative;
    margin: 10px 0;
}

/* Add subtle background pattern for Celtic Cross */
.spread-celtic .celtic-cross-layout::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.2;
}

.spread-celtic .celtic-cross-layout::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 300px;
    background: linear-gradient(180deg, transparent, #d4af37, transparent);
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.2;
}

/* Add visual connection lines for Celtic Cross */
.spread-celtic .cards-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.3;
}

.spread-celtic .cards-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 200px;
    background: linear-gradient(180deg, transparent, #d4af37, transparent);
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.3;
}

/* Animations */
@keyframes cardFlip {
    0% { 
        transform: rotateY(0deg) scale(0.8);
        opacity: 0;
    }
    50% { 
        transform: rotateY(90deg) scale(1.1);
        opacity: 0.7;
    }
    100% { 
        transform: rotateY(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes cardDraw {
    0% {
        transform: translateY(-50px) rotate(-10deg) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px) rotate(5deg) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
}

.card.flipping {
    animation: cardFlip 0.8s ease-in-out;
}

.card-drawing {
    animation: cardDraw 0.6s ease-out forwards;
}

.card-drawn {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Error page styles */
.error-page {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.error-page h2 {
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}

.error-page h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    font-family: 'Cinzel', serif;
}

.error-page ul {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 20px auto;
    padding-left: 20px;
}

.error-page li {
    margin-bottom: 8px;
    color: #2c2c2c;
}

.popular-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.popular-links .draw-btn {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.popular-links .draw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Mobile responsive for error pages */
@media (max-width: 768px) {
    .error-page h2 {
        font-size: 2rem;
    }
    
    .error-page h3 {
        font-size: 1.3rem;
    }
    
    .popular-links {
        gap: 10px;
    }
    
    .popular-links .draw-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    /* Hide sticky sidebar ad on mobile */
    .sticky-sidebar-ad {
        display: none;
    }
    
    /* Mobile ad container sizing */
    .ad-container {
        min-width: 280px;
        max-width: 100%;
    }
    
    .google-ad-header .ad-container,
    .google-ad-banner .ad-container,
    .google-ad-post-reading .ad-container {
        min-width: 280px;
        max-width: 100%;
    }
}

/* Shuffling animation styles */
.shuffling-card {
    width: 140px !important;
    height: 210px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: absolute;
    border-radius: 12px;
    border: 2px solid rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    backdrop-filter: blur(2px);
}

.cards-container.shuffling {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    min-height: 500px !important;
    width: 100% !important;
    margin: 40px 0 !important;
    padding: 50px 30px !important;
    overflow: visible !important;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 20px;
}

/* Ensure single card shuffling is perfectly centered */
.cards-container.shuffling.single-card {
    justify-content: center !important;
    align-items: center !important;
}

@keyframes shuffleCard {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.6;
        z-index: 10;
    }
    12% { 
        transform: translateY(-15px) translateX(8px) rotate(4deg) scale(1.08);
        opacity: 0.8;
        z-index: 15;
    }
    25% { 
        transform: translateY(-30px) translateX(-12px) rotate(-6deg) scale(1.15);
        opacity: 1;
        z-index: 20;
    }
    38% { 
        transform: translateY(-45px) translateX(15px) rotate(8deg) scale(0.9);
        opacity: 0.9;
        z-index: 18;
    }
    50% { 
        transform: translateY(-35px) translateX(-8px) rotate(-3deg) scale(1.12);
        opacity: 1;
        z-index: 22;
    }
    62% { 
        transform: translateY(-20px) translateX(10px) rotate(5deg) scale(1.05);
        opacity: 0.95;
        z-index: 16;
    }
    75% { 
        transform: translateY(-40px) translateX(-5px) rotate(-2deg) scale(1.08);
        opacity: 1;
        z-index: 19;
    }
    87% { 
        transform: translateY(-25px) translateX(6px) rotate(3deg) scale(1.02);
        opacity: 0.85;
        z-index: 14;
    }
    100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.6;
        z-index: 10;
    }
}

@keyframes shuffleCard2 {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.5;
        z-index: 8;
    }
    15% { 
        transform: translateY(-25px) translateX(-10px) rotate(-5deg) scale(1.1);
        opacity: 0.8;
        z-index: 18;
    }
    30% { 
        transform: translateY(-40px) translateX(12px) rotate(7deg) scale(1.2);
        opacity: 1;
        z-index: 25;
    }
    45% { 
        transform: translateY(-20px) translateX(-15px) rotate(-8deg) scale(0.85);
        opacity: 0.9;
        z-index: 12;
    }
    60% { 
        transform: translateY(-50px) translateX(8px) rotate(4deg) scale(1.15);
        opacity: 1;
        z-index: 28;
    }
    75% { 
        transform: translateY(-30px) translateX(-6px) rotate(-3deg) scale(1.05);
        opacity: 0.95;
        z-index: 20;
    }
    90% { 
        transform: translateY(-35px) translateX(4px) rotate(2deg) scale(1.08);
        opacity: 0.8;
        z-index: 15;
    }
    100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.5;
        z-index: 8;
    }
}

@keyframes shuffleCard3 {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.7;
        z-index: 12;
    }
    20% { 
        transform: translateY(-35px) translateX(15px) rotate(6deg) scale(1.12);
        opacity: 0.9;
        z-index: 22;
    }
    40% { 
        transform: translateY(-20px) translateX(-20px) rotate(-9deg) scale(0.9);
        opacity: 0.8;
        z-index: 15;
    }
    60% { 
        transform: translateY(-45px) translateX(5px) rotate(3deg) scale(1.18);
        opacity: 1;
        z-index: 26;
    }
    80% { 
        transform: translateY(-15px) translateX(-8px) rotate(-4deg) scale(1.02);
        opacity: 0.85;
        z-index: 18;
    }
    100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.7;
        z-index: 12;
    }
}

.reading-area.show {
    animation: fadeIn 0.8s ease-out;
}

/* ========================================
   TRANQUIL & SPIRITUAL UI ENHANCEMENTS
   ======================================== */

/* Natural Color Palette */
:root {
    /* Airbnb-inspired Autumn Color Palette */
    --autumn-orange: #FF6B35;
    --autumn-rust: #D2691E;
    --autumn-burgundy: #8B0000;
    --autumn-brown: #8B4513;
    --autumn-copper: #B87333;
    --autumn-cream: #FFF8DC;
    --autumn-tan: #D2B48C;
    --autumn-maroon: #800000;
    --autumn-gold: #CD853F;
    --autumn-red: #DC143C;
    
    /* Neutral Colors */
    --airbnb-white: #FFFFFF;
    --airbnb-light-gray: #F7F7F7;
    --airbnb-gray: #717171;
    --airbnb-dark-gray: #222222;
    --airbnb-black: #000000;
    
    /* Transparent Colors */
    --glass-white: rgba(255, 255, 255, 0.9);
    --glass-light: rgba(255, 255, 255, 0.1);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.25);
}

/* Hero Section Enhancements */
.hero-section {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
    background: radial-gradient(ellipse at center, var(--spiritual-glow) 0%, transparent 70%);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.floating-illustration {
    position: relative;
    margin-bottom: 40px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gentle floating particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--sage-green);
    border-radius: 50%;
    opacity: 0.6;
    animation: gentleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 1s; }
.particle:nth-child(6) { left: 60%; animation-delay: 3s; }
.particle:nth-child(7) { left: 70%; animation-delay: 5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; }

.spinning-wheel {
    position: relative;
    z-index: 2;
}

.glowing-cards {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.card-glow {
    position: absolute;
    width: 20px;
    height: 30px;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.6), rgba(255, 215, 0, 0.8));
    border-radius: 3px;
    animation: cardFloat 3s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.card-glow.card-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.card-glow.card-2 {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.card-glow.card-3 {
    bottom: 20%;
    left: 50%;
    animation-delay: 2s;
}

.hero-title {
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin: 0 0 32px 0;
    color: var(--text-primary);
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.02em;
    position: relative;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--mystical-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    margin: 0 0 48px 0;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    letter-spacing: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* Tranquil Glassmorphism Input Card */
.magical-input-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    margin: 32px 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.magical-input-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.magical-input-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--spiritual-glow) 0%, var(--misty-blue) 50%, transparent 100%);
    pointer-events: none;
    opacity: 0.3;
}

.magical-input-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--sage-green) 0%, transparent 70%);
    opacity: 0.05;
    animation: gentleRotate 20s linear infinite;
    pointer-events: none;
}

.input-section {
    position: relative;
    z-index: 1;
}

.personal-info-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    z-index: 2;
    font-size: 1.2rem;
    color: #d4af37;
    pointer-events: none;
}

.input-group input,
.question-input-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--airbnb-white);
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    color: var(--airbnb-dark-gray);
    font-size: 16px;
    transition: all 0.2s ease;
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.input-group input:focus,
.question-input-group textarea:focus {
    outline: none;
    border-color: var(--autumn-orange);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.input-group input::placeholder,
.question-input-group textarea::placeholder {
    color: var(--airbnb-gray);
    opacity: 1;
}

.floating-label {
    position: absolute;
    left: 50px;
    top: 18px;
    color: var(--forest-deep);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
    font-weight: 500;
}

.input-group input:focus + .floating-label,
.input-group input:not(:placeholder-shown) + .floating-label,
.question-input-group textarea:focus + .floating-label,
.question-input-group textarea:not(:placeholder-shown) + .floating-label {
    transform: translateY(-25px) scale(0.85);
    color: var(--sage-green);
    font-weight: 600;
}

.question-input-group {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.question-input-group .input-icon {
    top: 15px;
}

.question-input-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Pill Toggle Buttons */
.pill-toggle-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pill-toggle-option {
    position: relative;
    cursor: pointer;
}

.pill-toggle-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pill-content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--airbnb-white);
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    color: var(--airbnb-dark-gray);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    cursor: pointer;
}

.pill-toggle-option:hover .pill-content {
    background: var(--airbnb-light-gray);
    border-color: var(--autumn-orange);
    color: var(--autumn-orange);
}

.pill-toggle-option.active .pill-content {
    background: var(--autumn-orange);
    border-color: var(--autumn-orange);
    color: var(--airbnb-white);
}

.pill-icon {
    font-size: 1.1rem;
}

/* Spread Card Selector */
.spread-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.spread-card {
    position: relative;
    background: var(--airbnb-white);
    border: 1px solid #DDDDDD;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    box-shadow: 0 1px 3px var(--shadow-light);
}

.spread-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--spiritual-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.spread-card:hover {
    border-color: var(--autumn-orange);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.spread-card:hover::before {
    opacity: 0.3;
}

.spread-card.active {
    background: var(--autumn-orange);
    border-color: var(--autumn-orange);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.spread-card.active::before {
    opacity: 0.5;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.card-label {
    color: var(--airbnb-dark-gray);
    font-weight: 500;
    font-size: 14px;
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.premium-card {
    opacity: 0.6;
    position: relative;
}

.premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.lock-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.premium-text {
    color: var(--forest-deep);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Traditional CTA Button */
.magical-cta-btn {
    position: relative;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    border: none;
    border-radius: 12px;
    padding: 18px 36px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    z-index: 20;
    pointer-events: auto;
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: -0.01em;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.magical-cta-btn:hover {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow), var(--shadow-xl);
    border-color: var(--accent-gold-dark);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.magical-cta-btn:hover .btn-glow {
    left: 100%;
}

.btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    font-size: 1.3rem;
}

/* Floating Footer */
.floating-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px 0;
    z-index: 1000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer-message {
    color: var(--forest-deep);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-link {
    color: var(--forest-deep);
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--sage-green);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--crystal-clear);
    border: 1px solid var(--sage-green);
    color: var(--forest-deep);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1001;
}

.dark-mode-toggle:hover {
    background: var(--spiritual-glow);
    transform: scale(1.1);
    color: var(--forest-deep);
}

/* Natural Animations */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
        opacity: 1;
    }
}

@keyframes gentlePulse {
    0%, 100% {
        box-shadow: 0 20px 45px var(--spiritual-glow);
        transform: translateY(-5px) scale(1);
    }
    50% {
        box-shadow: 0 25px 55px var(--spiritual-glow);
        transform: translateY(-7px) scale(1.02);
    }
}

@keyframes gentleRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 24px;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        margin-bottom: 32px;
    }
    
    .magical-input-card {
        padding: 24px;
        margin: 24px 0;
        border-radius: 16px;
    }
    
    .interpretation {
        padding: 24px;
        margin: 24px 0;
        border-radius: 16px;
        font-size: 1rem;
    }
    
    .personal-info-inputs {
        grid-template-columns: 1fr;
    }
    
    .pill-toggle-container {
        flex-direction: column;
        align-items: center;
    }
    
    .spread-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-links {
        gap: 20px;
    }
}

/* Smooth scroll enhancement */
html {
    scroll-behavior: smooth;
}

/* Dark Mode Styles */
body.dark-mode {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    color: #e0e0e0;
}

body.dark-mode .header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
}

body.dark-mode .magical-input-card {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.4);
}

body.dark-mode .input-group input,
body.dark-mode .question-input-group textarea {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.5);
    color: #e0e0e0;
}

body.dark-mode .floating-label {
    color: #e0e0e0;
}

body.dark-mode .input-group input:focus + .floating-label,
body.dark-mode .input-group input:not(:placeholder-shown) + .floating-label,
body.dark-mode .question-input-group textarea:focus + .floating-label,
body.dark-mode .question-input-group textarea:not(:placeholder-shown) + .floating-label {
    color: #d4af37;
}

body.dark-mode .pill-content {
    background: var(--airbnb-dark-gray);
    border-color: #444444;
    color: var(--airbnb-white);
}

body.dark-mode .pill-toggle-option:hover .pill-content {
    background: #444444;
    border-color: var(--autumn-orange);
    color: var(--autumn-orange);
}

body.dark-mode .pill-toggle-option.active .pill-content {
    background: var(--autumn-orange);
    border-color: var(--autumn-orange);
    color: var(--airbnb-white);
}

body.dark-mode .spread-card {
    background: var(--airbnb-dark-gray);
    border-color: #444444;
}

body.dark-mode .card-label {
    color: var(--airbnb-white);
}

body.dark-mode .spread-card:hover {
    background: #444444;
    border-color: var(--autumn-orange);
}

body.dark-mode .spread-card:hover .card-label {
    color: var(--autumn-orange);
}

body.dark-mode .spread-card.active {
    background: var(--autumn-orange);
    border-color: var(--autumn-orange);
}

body.dark-mode .spread-card.active .card-label {
    color: var(--airbnb-white);
}

body.dark-mode .premium-text {
    color: #e0e0e0;
}

body.dark-mode .floating-footer {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(212, 175, 55, 0.3);
}

body.dark-mode .footer-message {
    color: #e0e0e0;
}

body.dark-mode .footer-link {
    color: #d4af37;
}

body.dark-mode .footer-link:hover {
    color: #ffd700;
}

body.dark-mode .dark-mode-toggle {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
    color: #d4af37;
}

body.dark-mode .dark-mode-toggle:hover {
    color: #d4af37;
}

/* Reading area scroll animation */
.reading-area {
    transition: transform 0.3s ease;
}

.reading-area.scroll-highlight {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Responsive design */
@media (min-width: 1200px) {
    .card {
        width: 130px;
        height: 217px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .card {
        width: 125px;
        height: 208px;
    }
}

@media (max-width: 768px) {
    /* Mobile-specific lighter backgrounds for better readability */
    .question-section {
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.7)) !important;
    }
    
    .spread-selection {
        background: rgba(255, 255, 255, 0.5) !important;
    }
    
    .personal-info-inputs input,
    .personal-info-inputs select,
    #userQuestion {
        background: rgba(255, 255, 255, 0.6) !important;
        color: #2c2c2c !important;
        font-weight: 700 !important;
    }
    
    .question-section h2 {
        color: #d4af37 !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7) !important;
    }
    
    .radio-text {
        color: #2c2c2c !important;
        font-weight: 700 !important;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .header-text {
        text-align: center;
    }
    
    .wheel-of-fortune-img {
        width: 150px;
        height: 150px;
    }
    
    .header-text {
        text-align: center;
    }
    
    .fortune-teller-img {
        width: 150px;
        height: 200px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .cards-container {
        gap: 15px;
    }
    
    /* Mobile interpretation readability improvements */
    .interpretation {
        padding: 0;
        font-size: 18px;
        line-height: 1.7;
        margin: 0;
        max-width: 100%;
        border: none;
    }
    
    .interpretation h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .interpretation p {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    .reading-area {
        padding: 0 3px;
    }
    
    .card {
        width: 110px;
        height: 183px;
        padding: 0;
    }
    
    .card-overlay {
        padding: 8px 6px 6px;
    }
    
    .card-name {
        font-size: 0.6rem;
    }
    
    .card-suit {
        font-size: 0.8rem;
    }
    
    .card-number {
        font-size: 0.5rem;
    }
    
    .spread-options {
        flex-direction: column;
        align-items: center;
    }
    
    .action-section {
        flex-direction: column;
        align-items: center;
    }
    
    .spread-celtic .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    /* 12 Month responsive */
    .spread-twelve .month-row {
        gap: 10px;
    }
    
    .spread-twelve .month-card {
        width: 80px;
        height: 133px;
        margin: 3px;
    }
    
    .spread-twelve .month-card .card-position {
        font-size: 0.6rem;
        padding: 2px 6px;
        bottom: -12px;
        max-width: 70px;
    }
    
    /* 5 Card responsive */
    .spread-five .cards-container {
        gap: 15px;
    }
    
    .spread-five .card {
        width: 100px;
        height: 167px;
        margin: 5px;
    }
    
    .spread-celtic .celtic-cross {
        flex-direction: column;
        gap: 20px;
    }
    
    .spread-celtic .celtic-cross-layout {
        min-height: 300px;
        min-width: 300px;
    }
    
    .spread-celtic .celtic-staff {
        margin-left: 0;
        margin-top: 20px;
        min-height: 300px;
        gap: 20px;
    }
    
    .spread-celtic .celtic-cross-horizontal {
        gap: 15px;
    }
    
    .spread-celtic .celtic-cross-vertical {
        gap: 15px;
    }
    
    /* Paywall Modal Responsive */
    .pricing-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .pricing-card {
        padding: 20px;
    }
    
    .price {
        font-size: 2rem;
    }
    
    #paywallModal .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 20px;
    color: #cccccc;
    font-size: 0.9rem;
    margin-top: 40px;
}

.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e6c547;
    text-decoration: underline;
}

/* SEO Content Section */
.seo-content {
    background: var(--secondary-bg);
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 15px;
    border: 1px solid var(--border-light);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.seo-content h2 {
    color: var(--accent-gold);
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Cinzel', serif;
}

.seo-content h3 {
    color: #e6c547;
    font-size: 1.6rem;
    margin: 35px 0 20px 0;
    font-family: 'Cinzel', serif;
}

.seo-content p {
    color: #2c2c2c;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.seo-content ul {
    color: #2c2c2c;
    font-size: 1.05rem;
    margin: 20px 0;
    padding-left: 25px;
}

.seo-content li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.seo-content strong {
    color: var(--accent-gold);
    font-weight: 600;
}

@media (max-width: 768px) {
    .seo-content {
        padding: 20px 10px;
        margin: 15px 0;
    }
    
    .seo-content h2 {
        font-size: 1.8rem;
    }
    
    .seo-content h3 {
        font-size: 1.4rem;
    }
    
    .seo-content p,
    .seo-content ul {
        font-size: 1rem;
    }
    
    .personal-info-inputs {
        gap: 10px;
        margin-bottom: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .name-input,
    .starsign-input {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .action-section {
        margin-bottom: 15px;
        gap: 10px;
    }
    
    .action-buttons {
        gap: 10px;
    }
    
    /* Content pages mobile styling */
    .content-section {
        padding: 20px 15px;
        line-height: 1.7;
    }
    
    .content-section h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
        margin: 30px 0 15px 0;
    }
    
    .content-section h3 {
        font-size: 1.2rem;
        margin: 25px 0 12px 0;
    }
    
    .content-section p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .content-section ul {
        padding-left: 20px;
    }
    
    .content-section li {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .cta-section {
        text-align: center;
        margin: 30px 0;
        padding: 20px;
        background: rgba(26, 26, 46, 0.1);
        border-radius: 15px;
        border: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .cta-section h3 {
        color: #d4af37;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .cta-section p {
        color: #2c2c2c;
        margin-bottom: 15px;
    }
    
    .draw-btn {
        display: inline-block;
        padding: 12px 25px;
        background: linear-gradient(135deg, #d4af37, #f4d03f);
        color: #1a1a2e;
        text-decoration: none;
        border-radius: 25px;
        font-weight: 600;
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }
    
    .draw-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    }
}

/* ========================================
   EMAIL SHARING FEATURE STYLES - DISABLED
   ======================================== */

/* Hide all sharing functionality when disabled */
body:not(.sharing-enabled) .share-reading-section,
body:not(.sharing-enabled) #shareModal,
body:not(.sharing-enabled) #floatingActionButton,
body:not(.sharing-enabled) #toastContainer,
body:not(.sharing-enabled) #shareReadingSection,
body:not(.sharing-enabled) .share-actions,
body:not(.sharing-enabled) .share-btn {
    display: none !important;
}

/* Share Reading Section */
.share-reading-section {
    margin: 30px 0;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.8));
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

.share-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1a1a2e;
    border: none;
    border-radius: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.share-btn:hover::before {
    left: 100%;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #f4d03f, #d4af37);
}

.share-btn:active {
    transform: translateY(-1px);
}

.share-icon {
    font-size: 1.2em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.share-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* Share Modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--primary-bg);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
}

.share-modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-title {
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: none;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #f4d03f;
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

/* Reading Preview */
.reading-preview {
    background: var(--secondary-bg);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
}

.reading-preview h3 {
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    text-align: center;
}

.preview-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.preview-cards {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.preview-card {
    width: 40px;
    height: 60px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border: 2px solid #d4af37;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #d4af37;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.preview-details {
    flex: 1;
}

.preview-details p {
    margin: 8px 0;
    color: #2c2c2c;
    font-size: 0.95rem;
}

.preview-details strong {
    color: var(--accent-gold);
}

/* Email Form */
.share-email-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: var(--accent-gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.required {
    color: #ff6b6b;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--primary-bg);
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    color: #2c2c2c;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    background: var(--primary-bg);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(44, 44, 44, 0.6);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.char-counter {
    text-align: right;
    margin-top: 5px;
    font-size: 0.85rem;
    color: rgba(44, 44, 44, 0.7);
}

.char-counter.warning {
    color: #ff6b6b;
    font-weight: 600;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: '⚠️';
}

/* Loading State */
.share-loading {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 175, 55, 0.3);
    border-top: 4px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.share-loading p {
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-style: italic;
}

/* Success State */
.share-success {
    text-align: center;
    padding: 30px 20px;
    animation: fadeInUp 0.6s ease-out;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: bounce 0.6s ease-out;
}

.share-success h3 {
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

.share-success p {
    color: #2c2c2c;
    margin-bottom: 25px;
}

.shareable-link {
    background: var(--secondary-bg);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
}

.shareable-link label {
    display: block;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.link-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.link-input {
    flex: 1;
    padding: 10px 12px;
    background: var(--primary-bg);
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    color: #2c2c2c;
    font-size: 0.9rem;
    font-family: monospace;
}

.copy-link-btn {
    padding: 10px 15px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1a1a2e;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 50px;
}

.copy-link-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.copy-link-btn:active {
    transform: scale(0.95);
}

/* Error State */
.share-error {
    text-align: center;
    padding: 30px 20px;
    animation: fadeInUp 0.6s ease-out;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.share-error h3 {
    color: #dc3545;
    font-family: 'Cinzel', serif;
    font-size: var(--font-size-xl);
    margin: 0 0 var(--space-sm) 0;
}

.share-error p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.retry-btn {
    padding: var(--space-sm) var(--space-lg);
    background: #dc3545;
    color: var(--primary-bg);
    border: none;
    border-radius: var(--radius-lg);
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Modal Footer */
.modal-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 25px 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.btn-secondary {
    background: var(--secondary-bg);
    color: #2c2c2c;
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-bg);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

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

.btn-icon {
    font-size: 1.1em;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    background: var(--primary-bg);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 15px 20px;
    color: #2c2c2c;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-color: #4ecdc4;
}

.toast.error {
    border-color: #ff6b6b;
}

.toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gold);
}

.toast.success::before {
    background: #4ecdc4;
}

.toast.error::before {
    background: #ff6b6b;
}

.toast-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: #2c2c2c;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.toast-close:hover {
    opacity: 1;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes sparkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Enhanced Visual Effects */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px var(--spiritual-glow);
    }
    50% {
        box-shadow: 0 0 40px var(--spiritual-glow), 0 0 60px var(--sage-green);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Enhanced hover effects */
.magical-input-card:hover {
    animation: glow 2s ease-in-out infinite;
}

.spread-card:hover {
    animation: floatUp 0.3s ease-out;
}

.pill-toggle-option:hover .pill-content {
    animation: slideInFromLeft 0.3s ease-out;
}

/* Mobile Responsive for Email Sharing */
@media (max-width: 768px) {
    
    
    .modal-content {
        width: 95%;
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px 25px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 25px 20px;
    }
    
    .preview-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .preview-cards {
        justify-content: center;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 10px;
        padding: 20px 25px;
    }
    
    .btn {
        width: 100%;
        min-width: auto;
    }
    
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .share-reading-section {
        margin: 20px 0;
        padding: 15px;
    }
    
    .share-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    
    .modal-content {
        width: 98%;
        margin: 5px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .preview-card {
        width: 35px;
        height: 50px;
        font-size: 1rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
}
