/* Fortune module */
.fortune-index-hero,
.fortune-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
}
.fortune-hero-bg {
    background: linear-gradient(135deg, #1a1033 0%, #4a148c 45%, #7b1fa2 100%);
}
.fortune-hero-inner { position: relative; z-index: 2; padding: 3rem 0 2.5rem; }
.fortune-hero-banner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.fortune-hero-visual { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.fortune-hero-main-icon {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; border-radius: 50%;
    background: rgba(255,255,255,0.12); font-size: 3rem;
    animation: fortunePulse 3s ease-in-out infinite;
}
.fortune-hero-float {
    position: absolute; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center;
    animation: fortuneFloat 4s ease-in-out infinite;
}
.fortune-hero-float-1 { top: -8px; right: -8px; animation-delay: 0.5s; }
.fortune-hero-float-2 { bottom: 0; left: -12px; animation-delay: 1s; }
.fortune-orb-3 { background: rgba(255,215,0,0.25); width: 180px; height: 180px; right: 5%; top: 10%; }
.fortune-hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.fortune-hero-chips span {
    background: rgba(255,255,255,0.12); border-radius: 999px;
    padding: 0.35rem 0.85rem; font-size: 0.85rem;
}
.fortune-index-body {
    margin-top: 2.75rem;
    padding-top: 0.5rem;
    position: relative;
    z-index: 3;
}
.fortune-body {
    margin-top: 2.25rem;
    position: relative;
    z-index: 2;
}
.fortune-seo-section--detail .fortune-seo-card + .fortune-seo-card {
    margin-top: 1.25rem;
}
.fortune-seo-section--detail h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: #1a1033;
}
.fortune-seo-section--detail p {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}
.fortune-seo-section--detail p:last-child {
    margin-bottom: 0;
}
.fortune-type-card {
    display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem;
    background: #fff; border-radius: 1rem; border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); text-decoration: none; color: inherit;
    height: 100%; transition: transform 0.2s, box-shadow 0.2s;
}
.fortune-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(74,20,140,0.12);
    color: inherit;
}
.fortune-type-body { flex: 1; min-width: 0; }
.fortune-type-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35rem; }
.fortune-type-desc { font-size: 0.88rem; color: #666; margin-bottom: 0.5rem; line-height: 1.45; }
.fortune-type-cost { font-size: 0.8rem; font-weight: 600; color: #7b1fa2; }
.fortune-type-cost--free { color: #2e7d32; }
.fortune-type-arrow { color: #ccc; align-self: center; }
.fortune-form-card {
    background: #fff; border-radius: 1.25rem; padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06); border: 1px solid #f0f0f0;
}
.fortune-credit-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
    padding: 0.85rem 1rem; background: #fff8e1; border-radius: 0.75rem; font-size: 0.9rem;
}
.fortune-submit-btn { margin-top: 0.5rem; }
.fortune-cup-upload-grid {
    display: grid;
    gap: 1rem;
}
.fortune-cup-upload-item {
    padding: 1rem 1.1rem;
    border: 1px dashed #d8c8e8;
    border-radius: 0.85rem;
    background: #faf8ff;
}
.fortune-cup-upload-item .form-label {
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
}
@media (min-width: 576px) {
    .fortune-cup-upload-grid { grid-template-columns: 1fr 1fr; }
}
.fortune-seo-card {
    background: #fff; border-radius: 1rem; padding: 1.5rem;
    border: 1px solid #eee;
}
.fortune-seo-faq-item { border-bottom: 1px solid #f0f0f0; padding: 0.75rem 0; }
.fortune-seo-faq-item summary { cursor: pointer; font-weight: 600; }
.fortune-result-wrap { max-width: 720px; margin: 0 auto; }
.fortune-result-card {
    background: linear-gradient(180deg, #faf8ff 0%, #fff 40%);
    border: 1px solid #e8e0f5 !important;
}
.fortune-result-type {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.85rem; font-weight: 600; color: #7b1fa2;
    background: rgba(123,31,162,0.08); padding: 0.35rem 0.85rem;
    border-radius: 999px; margin-bottom: 0.75rem;
}
.fortune-result-title { font-size: 1.5rem !important; }
.fortune-result-summary { font-style: italic; color: #555; }
.fortune-result-body {
    text-align: left; line-height: 1.75; color: #333;
    margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed #e0d4f0;
}
.fortune-tarot-cards {
    display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
    margin: 1rem 0;
}
.fortune-tarot-card {
    background: linear-gradient(145deg, #4a148c, #7b1fa2);
    color: #fff; border-radius: 0.75rem; padding: 0.85rem 1rem;
    min-width: 120px; text-align: center;
    animation: fortuneCardReveal 0.6s ease backwards;
}
.fortune-tarot-card:nth-child(2) { animation-delay: 0.15s; }
.fortune-tarot-card:nth-child(3) { animation-delay: 0.3s; }
.fortune-tarot-pos { display: block; font-size: 0.75rem; opacity: 0.85; margin-bottom: 0.25rem; }
.fortune-tarot-symbol { display: block; font-size: 1.25rem; line-height: 1; margin-bottom: 0.2rem; }
.fortune-tarot-num { display: block; font-size: 0.7rem; opacity: 0.75; margin-top: 0.15rem; }

/* Tarot kart seçici */
.fortune-tarot-picker { margin-bottom: 0.5rem; }
.fortune-tarot-mode {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.fortune-tarot-mode-btn {
    flex: 1 1 160px;
    border: 1px solid #e0d4f0;
    background: #faf8ff;
    color: #5e35b1;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.fortune-tarot-mode-btn.is-active {
    background: linear-gradient(145deg, #4a148c, #7b1fa2);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(74, 20, 140, 0.25);
}
.fortune-tarot-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}
.fortune-tarot-slot {
    border: 2px dashed #d8c8e8;
    background: #fff;
    border-radius: 0.85rem;
    padding: 0.75rem 0.5rem;
    min-height: 130px;
    text-align: center;
    color: #4a148c;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.fortune-tarot-slot.is-active {
    border-color: #7b1fa2;
    box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.15);
}
.fortune-tarot-slot.is-filled {
    border-style: solid;
    border-color: #7b1fa2;
    background: linear-gradient(160deg, #faf8ff, #f3ebff);
}
.fortune-tarot-slot-pos {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.8;
    margin-bottom: 0.35rem;
}
.fortune-tarot-slot-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0.35rem auto;
    border-radius: 50%;
    background: rgba(123, 31, 162, 0.08);
    font-size: 1.1rem;
}
.fortune-tarot-slot-placeholder {
    display: block;
    font-size: 0.78rem;
    color: #888;
}
.fortune-tarot-slot-symbol {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
    margin: 0.2rem 0;
}
.fortune-tarot-slot-name {
    display: block;
    font-size: 0.82rem;
    line-height: 1.25;
}
.fortune-tarot-slot-num {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0.15rem;
}
.fortune-tarot-deck {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 0.5rem;
}
.fortune-tarot-deck-card {
    position: relative;
    aspect-ratio: 2 / 3;
    border: none;
    border-radius: 0.55rem;
    padding: 0;
    cursor: pointer;
    background: transparent;
    perspective: 600px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.fortune-tarot-deck-card:hover:not(:disabled) {
    transform: translateY(-3px);
}
.fortune-tarot-deck-card.is-picked {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}
.fortune-tarot-deck-back,
.fortune-tarot-deck-face {
    position: absolute;
    inset: 0;
    border-radius: 0.55rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.35rem;
    backface-visibility: hidden;
}
.fortune-tarot-deck-back {
    background: linear-gradient(145deg, #311b92, #6a1b9a 55%, #4a148c);
    color: #ffd54f;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(49, 27, 146, 0.25);
}
.fortune-tarot-deck-pattern {
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.4rem;
}
.fortune-tarot-deck-star {
    font-size: 1.1rem;
    opacity: 0.9;
}
.fortune-tarot-deck-face {
    background: linear-gradient(160deg, #fff, #f3ebff);
    color: #4a148c;
    border: 1px solid #d8c8e8;
    transform: rotateY(180deg);
    font-size: 0.62rem;
    line-height: 1.2;
}
.fortune-tarot-deck-face strong {
    font-size: 0.62rem;
    margin-top: 0.15rem;
}
.fortune-tarot-deck-symbol {
    font-size: 0.95rem;
}
.fortune-tarot-deck-card:hover:not(:disabled) .fortune-tarot-deck-back {
    box-shadow: 0 8px 18px rgba(74, 20, 140, 0.35);
}
.fortune-tarot-auto-panel {
    text-align: center;
    padding: 1.25rem;
    border: 1px dashed #d8c8e8;
    border-radius: 0.85rem;
    background: #faf8ff;
}
@media (max-width: 575px) {
    .fortune-tarot-slots { grid-template-columns: 1fr; }
    .fortune-tarot-slot { min-height: 110px; }
}
.fortune-result-stars span {
    position: absolute; width: 4px; height: 4px; background: #ffd700; border-radius: 50%;
    animation: fortuneTwinkle 2s ease-in-out infinite;
}
.fortune-result-stars span:nth-child(1) { top: 8%; left: 10%; }
.fortune-result-stars span:nth-child(2) { top: 15%; right: 15%; animation-delay: 0.4s; }
.fortune-result-stars span:nth-child(3) { bottom: 25%; left: 8%; animation-delay: 0.8s; }
.fortune-result-stars span:nth-child(4) { bottom: 12%; right: 10%; animation-delay: 0.2s; }
.fortune-result-stars span:nth-child(5) { top: 40%; right: 5%; animation-delay: 0.6s; }
.fortune-hero--compact { padding-bottom: 0; }

/* Instagram hikaye paylaşım kartı (9:16 — 1080×1920 @ scale 2) */
.fortune-story-capture {
    position: fixed;
    left: -9999px;
    top: 0;
    width: 540px;
    pointer-events: none;
    opacity: 0;
    z-index: -1;
}
.fortune-story-card {
    position: relative;
    width: 540px;
    height: 960px;
    overflow: hidden;
    border-radius: 0;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: #fff;
}
.fortune-story-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, #1a0a2e 0%, #4a148c 38%, #7b1fa2 62%, #311b92 100%);
}
.fortune-story-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,215,0,0.12) 0%, transparent 55%);
}
.fortune-story-star {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}
.fortune-story-star-1 { top: 12%; left: 18%; width: 4px; height: 4px; }
.fortune-story-star-2 { top: 8%; right: 22%; width: 5px; height: 5px; }
.fortune-story-star-3 { top: 22%; right: 12%; width: 3px; height: 3px; }
.fortune-story-star-4 { bottom: 28%; left: 10%; width: 5px; height: 5px; }
.fortune-story-star-5 { bottom: 18%; right: 16%; width: 4px; height: 4px; }
.fortune-story-moon {
    position: absolute;
    top: 72px;
    right: 48px;
    font-size: 2.5rem;
    opacity: 0.35;
    color: #ffd54f;
}
.fortune-story-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: calc(960px - 52px);
    padding: 64px 36px 12px;
    box-sizing: border-box;
    overflow: hidden;
}
.fortune-story-brand {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.fortune-story-brand i { margin-right: 6px; color: #f48fb1; }
.fortune-story-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 14px;
    flex-shrink: 0;
}
.fortune-story-headline {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}
.fortune-story-lead {
    font-size: 15px;
    line-height: 1.45;
    font-style: italic;
    opacity: 0.92;
    margin: 0 0 12px;
    flex-shrink: 0;
}
.fortune-story-tarot {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-shrink: 0;
}
.fortune-story-tarot-item {
    flex: 1;
    min-width: 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 6px;
    font-size: 11px;
}
.fortune-story-tarot-item span {
    display: block;
    opacity: 0.85;
    margin-bottom: 4px;
    font-size: 11px;
}
.fortune-story-tarot-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}
.fortune-story-body-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.fortune-story-body {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
    margin: 0;
    overflow: hidden;
}
.fortune-story-cta {
    flex-shrink: 0;
    margin-top: 12px;
    padding-top: 14px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.fortune-story-cta-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}
.fortune-story-cta-url {
    display: block;
    font-size: 12px;
    opacity: 0.85;
    word-break: break-all;
}
.fortune-story-foot {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    opacity: 0.95;
    box-sizing: border-box;
}
.fortune-story-foot i { margin-right: 6px; }

/* Sonuç araç çubuğu — Instagram */
.test-result-btn--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff !important;
    border: none;
}
.test-result-btn--instagram:hover {
    filter: brightness(1.08);
    color: #fff !important;
    transform: translateY(-1px);
}
.fortune-share-hint {
    font-size: 0.82rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.75rem;
}

@keyframes fortunePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes fortuneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes fortuneCardReveal {
    from { opacity: 0; transform: translateY(20px) rotate(-3deg); }
    to { opacity: 1; transform: translateY(0) rotate(0); }
}
@keyframes fortuneTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}
@media (max-width: 767px) {
    .fortune-hero-banner { flex-direction: column; text-align: center; }
    .fortune-form-card { padding: 1.25rem; }
}
