/* ─────────────────────────────────────────────────────────────────────────
   Fikirin Platform — Feature Styles
   Streak Bar · AI Aha Moment · Infinite Scroll · Oy Animasyonu
   ───────────────────────────────────────────────────────────────────────── */

/* ─── STREAK + XP BAR ──────────────────────────────────────────────────── */
.home-streak-bar {
    display: none; /* JS açar */
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    margin: 0.75rem 0;
    animation: streak-fade-in 0.4s ease;
}

@keyframes streak-fade-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.streak-bar-left {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.streak-bar-fire {
    font-size: 1.1rem;
    line-height: 1;
    animation: fire-pulse 1.5s ease infinite;
}

@keyframes fire-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.15); }
}

.streak-bar-label {
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.streak-bar-center {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.streak-xp-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
}

.streak-xp-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
    border-radius: 99px;
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.streak-xp-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    flex-shrink: 0;
}

.streak-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.streak-limit-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.6rem;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.streak-countdown {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    font-variant-numeric: tabular-nums;
}

/* ─── AI AHA MOMENT ─────────────────────────────────────────────────────── */
.fikir-ai-original-shell {
    background: rgba(244, 63, 94, 0.06);
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
}

.fikir-ai-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 99px;
    padding: 0.15rem 0.6rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
}

.fikir-ai-label.is-bad {
    background: rgba(244, 63, 94, 0.12);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.fikir-ai-label.is-good {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.fikir-ai-original-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: line-through;
    text-decoration-color: rgba(244, 63, 94, 0.4);
    margin: 0;
    line-height: 1.5;
}

.fikir-ai-arrow {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.4;
    margin: 0.25rem 0;
    animation: arrow-bounce 1s ease infinite;
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(3px); }
}

.fikir-ai-improved-shell {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.25);
    animation: glow-appear 0.5s ease;
}

@keyframes glow-appear {
    from { opacity: 0; transform: translateY(8px); box-shadow: none; }
    to   { opacity: 1; transform: translateY(0); box-shadow: 0 0 20px rgba(139,92,246,0.15); }
}

.ai-suggested-title {
    display: block;
    font-size: 0.9rem;
    color: #a78bfa;
    margin-bottom: 0.4rem;
}

/* ─── INFINITE SCROLL ───────────────────────────────────────────────────── */
.home-feed-sentinel {
    height: 1px;
    width: 100%;
    pointer-events: none;
}

.home-feed-loader {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
}

.home-feed-loader-dots {
    display: flex;
    gap: 6px;
}

.home-feed-loader-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.5);
    animation: dot-blink 1.2s ease infinite;
}

.home-feed-loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.home-feed-loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-blink {
    0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
    40%            { opacity: 1;   transform: scale(1.2); }
}

.home-feed-end-note {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.15);
    padding: 1.5rem 0;
    letter-spacing: 0.08em;
}

/* API'den yüklenen kart — mevcut card stiline uyum */
.home-reference-feed-card.is-api-loaded {
    animation: card-slide-up 0.35s ease forwards;
    opacity: 0;
}

@keyframes card-slide-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.home-reference-feed-card-foot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.home-reference-feed-card-score {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
}

.tag-chip-ai {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.25);
    font-size: 0.68rem;
    padding: 0.1rem 0.5rem;
    border-radius: 99px;
}

.viral-watermark {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.12);
    margin-left: auto;
    letter-spacing: 0.04em;
}

/* ─── OY ANİMASYONU ─────────────────────────────────────────────────────── */
.vote-pop {
    animation: vote-pop-anim 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes vote-pop-anim {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* ─── CTA PULSE (Kayıt mıknatısı animasyonu) ───────────────────────────── */
.cta-pulse {
    animation: cta-pulse-anim 1.6s ease-in-out infinite;
}

@keyframes cta-pulse-anim {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.0);
        border-color: rgba(249, 115, 22, 0.3);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.15);
        border-color: rgba(249, 115, 22, 0.7);
    }
}

/* ─── HONEYPOT — Bot tuzak alanını her zaman gizle ─────────────────────── */
.honeypot-field,
input[name="website"].honeypot,
[data-honeypot] {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
    tab-index: -1 !important;
}

/* ─── AI PANEL (Fikir Detay) ────────────────────────────────────────────── */
#idea-ai-analysis {
    border-left: 2px solid rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.04);
}

#idea-ai-analysis .widget-heading h2 {
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── GUEST REGISTER CTA ────────────────────────────────────────────────── */
.guest-register-cta {
    border: 1px solid rgba(249, 115, 22, 0.3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ─── FEED SCROLL END ───────────────────────────────────────────────────── */
.home-feed-end-note {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.15);
    padding: 1.5rem 0;
    letter-spacing: 0.08em;
}

/* ─── AI KISA ÖZET (Feed & Detay) ──────────────────────────────────────── */
.idea-ai-one-liner {
    font-size: .9rem;
    font-style: italic;
    color: rgba(167, 139, 250, 0.9);
    border-left: 2px solid rgba(139, 92, 246, 0.4);
    padding-left: .65rem;
    margin: .4rem 0 .6rem;
    line-height: 1.5;
}

/* ─── VENTURE SCORE ROZET (Feed kart köşesi) ────────────────────────────── */
.venture-score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 800;
    border-radius: 8px;
    padding: .2rem .5rem;
    min-width: 32px;
    letter-spacing: -.01em;
    border: 1px solid currentColor;
    cursor: default;
}

.venture-score-badge.is-strong {
    color: #10b981;
    background: rgba(16, 185, 129, .1);
    border-color: rgba(16, 185, 129, .3);
}

.venture-score-badge.is-good {
    color: #f59e0b;
    background: rgba(245, 158, 11, .1);
    border-color: rgba(245, 158, 11, .3);
}

.venture-score-badge.is-weak {
    color: rgba(255,255,255,.35);
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.1);
}

/* ─── VENTURE SCORE HERO (Detay sayfası) ────────────────────────────────── */
.venture-score-hero {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin: .75rem 0 1rem;
}

.venture-score-dial {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    border-radius: 12px;
    padding: .6rem .8rem;
    flex-shrink: 0;
}

.venture-score-dial.is-exceptional {
    background: linear-gradient(135deg, rgba(251,191,36,.15), rgba(245,158,11,.08));
    border: 1px solid rgba(251,191,36,.35);
}

.venture-score-dial.is-strong {
    background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(99,102,241,.08));
    border: 1px solid rgba(139,92,246,.35);
}

.venture-score-dial.is-good {
    background: rgba(59,130,246,.08);
    border: 1px solid rgba(59,130,246,.2);
}

.venture-score-dial.is-weak {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
}

.venture-score-num {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}

.venture-score-dial.is-exceptional .venture-score-num { color: #fbbf24; }
.venture-score-dial.is-strong .venture-score-num      { color: #a78bfa; }
.venture-score-dial.is-good .venture-score-num        { color: #60a5fa; }
.venture-score-dial.is-weak .venture-score-num        { color: rgba(255,255,255,.4); }

.venture-score-max {
    font-size: .65rem;
    opacity: .4;
    font-weight: 600;
    margin-top: 2px;
}

.venture-score-meta {
    flex: 1;
}

.venture-score-meta strong {
    font-size: .9rem;
    display: block;
    margin-bottom: .3rem;
}

.venture-score-meta p {
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    margin: 0 0 .5rem;
}

.venture-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .8rem;
    margin-top: .4rem;
}

.venture-breakdown span {
    font-size: .72rem;
    color: rgba(255,255,255,.4);
}

.venture-breakdown strong {
    color: rgba(255,255,255,.75);
    font-size: .72rem;
    display: inline;
}
