/* ========================================
   Yes Or No Tarot Free - Main Stylesheet
   Modern, Mystical, Responsive Design
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --accent: #ec4899;

    --bg-dark: #0f0a1a;
    --bg-card: #1a1425;
    --bg-card-hover: #251d35;
    --bg-section: #130e1f;

    --text-primary: #f8f5ff;
    --text-secondary: #b8a4d6;
    --text-muted: #7c6a9a;

    --yes-color: #22c55e;
    --no-color: #ef4444;
    --maybe-color: #f59e0b;

    --border-color: rgba(139, 92, 246, 0.2);
    --glow-primary: rgba(139, 92, 246, 0.4);
    --glow-secondary: rgba(245, 158, 11, 0.3);

    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Crimson Text', Georgia, serif;

    /* Spacing */
    --section-padding: 6rem 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(15, 10, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(15, 10, 26, 0.98);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--primary-light);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-medium);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-medium);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 1.5rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 230px 80px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 370px 50px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 450px 180px, rgba(255,255,255,0.7), transparent);
    background-size: 500px 200px;
    animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.mystical-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(139, 92, 246, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 30% 70%, rgba(236, 72, 153, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 70% 30%, rgba(245, 158, 11, 0.08), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.title-main {
    display: block;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 20px var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-primary);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(10px); }
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-card {
    position: absolute;
    font-size: 4rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

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

.card-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Sections */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-alt {
    background: var(--bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--primary-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.content-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Info Cards */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition-medium);
}

.info-card:hover {
    background: var(--bg-card-hover);
    transform: translateX(10px);
    border-color: var(--primary);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.info-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Steps */
.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.5;
    line-height: 1;
    min-width: 80px;
}

.step-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-content p {
    margin-bottom: 0;
}

/* Card Categories */
.card-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.card-category {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.yes-cards .category-icon {
    background: rgba(34, 197, 94, 0.2);
    color: var(--yes-color);
}

.no-cards .category-icon {
    background: rgba(239, 68, 68, 0.2);
    color: var(--no-color);
}

.maybe-cards .category-icon {
    background: rgba(245, 158, 11, 0.2);
    color: var(--maybe-color);
}

.category-header h3 {
    margin-bottom: 0.5rem;
}

.category-header p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Tarot Cards Grid */
.tarot-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.tarot-card {
    perspective: 1000px;
    cursor: pointer;
}

.tarot-card-inner {
    position: relative;
    width: 100%;
    height: 220px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.tarot-card:hover .tarot-card-inner {
    transform: rotateY(180deg);
}

.tarot-card-front,
.tarot-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.tarot-card-front {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-card-hover) 100%);
    border: 2px solid var(--border-color);
}

.yes-cards .tarot-card-front {
    border-color: rgba(34, 197, 94, 0.3);
}

.no-cards .tarot-card-front {
    border-color: rgba(239, 68, 68, 0.3);
}

.maybe-cards .tarot-card-front {
    border-color: rgba(245, 158, 11, 0.3);
}

.card-numeral {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.card-symbol {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.card-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.tarot-card-back {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    transform: rotateY(180deg);
}

.tarot-card-back p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--text-secondary);
}

/* Questions Grid */
.questions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.question-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.question-card-header {
    margin-bottom: 1.5rem;
}

.card-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.card-badge.good {
    background: rgba(34, 197, 94, 0.2);
    color: var(--yes-color);
}

.card-badge.bad {
    background: rgba(239, 68, 68, 0.2);
    color: var(--no-color);
}

.question-list {
    list-style: none;
}

.question-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.question-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.check-icon,
.x-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
}

.check-icon {
    background: rgba(34, 197, 94, 0.2);
    color: var(--yes-color);
}

.x-icon {
    background: rgba(239, 68, 68, 0.2);
    color: var(--no-color);
}

.question-list strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.question-list p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--text-muted);
}

/* Tips Section */
.tips-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.tips-title {
    text-align: center;
    margin-bottom: 2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tip {
    text-align: center;
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tip h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tip p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-muted);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-7px);
    box-shadow: 0 0 20px var(--glow-primary);
}

.timeline-date {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    margin-bottom: 0.75rem;
}

.timeline-content p {
    margin: 0;
}

/* Demo Section */
.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.demo-deck {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.demo-card {
    width: 100px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-dark), var(--bg-card));
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.demo-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 40px var(--glow-primary);
}

.demo-card-back {
    font-size: 3rem;
}

.demo-result {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.demo-instruction {
    color: var(--text-muted);
    margin: 0;
}

.demo-result.revealed {
    border-color: var(--primary);
}

.demo-result h4 {
    margin-bottom: 0.5rem;
}

.demo-result .meaning {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.demo-result .meaning.yes {
    background: rgba(34, 197, 94, 0.2);
    color: var(--yes-color);
}

.demo-result .meaning.no {
    background: rgba(239, 68, 68, 0.2);
    color: var(--no-color);
}

.demo-result .meaning.maybe {
    background: rgba(245, 158, 11, 0.2);
    color: var(--maybe-color);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform var(--transition-medium);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

/* SEO Section */
.seo-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-section) 100%);
    border-top: 1px solid var(--border-color);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.seo-content p {
    text-align: justify;
    margin-bottom: 1.5rem;
}

.seo-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-tagline {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .questions-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1rem;
        transition: right var(--transition-medium);
        border-left: 1px solid var(--border-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        font-size: 2rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tips-section {
        padding: 2rem;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-marker {
        left: -2rem;
    }

    .demo-card {
        width: 80px;
        height: 120px;
    }

    .demo-card-back {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .tarot-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tarot-card-inner {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .floating-cards {
        display: none;
    }

    .tarot-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .card-category {
        padding: 1.5rem;
    }
}

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

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

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

/* ========================================
   NEW COMPONENTS FOR ADSENSE COMPLIANCE
   ======================================== */

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-section);
    padding: 1rem 0;
    margin-top: 70px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary-light);
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-secondary);
}

/* Contextual Intro */
.contextual-intro {
    background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-dark) 100%);
    border-bottom: 1px solid var(--border-color);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.intro-content p {
    text-align: justify;
    margin-bottom: 1.25rem;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* Tool Intro & User Guide */
.tool-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.tool-intro p {
    margin: 0;
    text-align: justify;
}

.user-guide {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.user-guide h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.user-guide p {
    text-align: justify;
    margin-bottom: 1rem;
}

.guide-faq {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.guide-faq h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.guide-faq-item {
    margin-bottom: 1.5rem;
}

.guide-faq-item:last-child {
    margin-bottom: 0;
}

.guide-faq-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.guide-faq-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-card-hover) 100%);
}

.article-emoji {
    font-size: 4rem;
}

.article-content {
    padding: 1.5rem;
}

.article-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}

.article-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-content h3 a {
    color: var(--text-primary);
}

.article-content h3 a:hover {
    color: var(--primary-light);
}

.article-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.read-more {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 600;
}

.read-more:hover {
    color: var(--secondary);
}

.articles-cta {
    text-align: center;
}

/* Blog Page Styles */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-dark) 100%);
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Blog Post Page */
.blog-post {
    padding: 2rem 0 4rem;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.blog-post-header h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content h2 {
    margin: 3rem 0 1.5rem;
    font-size: 1.75rem;
    color: var(--primary-light);
}

.blog-post-content h3 {
    margin: 2rem 0 1rem;
    font-size: 1.35rem;
}

.blog-post-content p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.blog-post-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.blog-post-content blockquote p {
    margin: 0;
    font-style: italic;
}

/* CTA Box */
.cta-box {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary);
    text-align: center;
}

.cta-box h3 {
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.legal-content h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.5rem;
    color: var(--primary-light);
}

.legal-content h3 {
    margin: 2rem 0 0.75rem;
    font-size: 1.25rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-method h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-method p {
    font-size: 0.9rem;
    margin: 0;
}

.contact-form h2 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

/* About Page */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.about-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

/* Responsive for new components */
@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        margin-top: 60px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .article-image {
        height: 120px;
    }

    .article-emoji {
        font-size: 3rem;
    }
}
