/* =========================================================
   ORV Türkçe — Destek/Contribution page
   ========================================================= */

html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100vw;
}
.content-container {
    height: auto !important;
    min-height: 100dvh;
    overflow: visible !important;
    width: 100%;
}
.top-group {
    overflow: visible !important;
    align-items: stretch !important;
    max-width: 1100px !important;
    width: 100%;
}

.destek-shell {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
    color: rgba(255, 255, 255, 0.92);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9em;
    margin: 1em 0 0.5em;
    transition: color 0.25s;
}
.back-link:hover { color: #00d4ff; }
.back-link svg { fill: currentColor; }

/* ---------- Hero ---------- */
.destek-hero {
    text-align: center;
    margin: 1.5rem 0 1.2rem;
}
.destek-hero h1 {
    color: white;
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    margin-bottom: 0.4rem;
}
.destek-hero .lede {
    color: rgba(255, 255, 255, 0.65);
    max-width: 640px;
    margin: 0 auto;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    line-height: 1.55;
}

/* ---------- Card wrapper ---------- */
.destek-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1.4em 1.5em;
    margin: 1rem 0;
    backdrop-filter: blur(8px);
}
.destek-card h2 {
    color: #00d4ff;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.25);
    padding-bottom: 0.4em;
    margin: 0 0 0.9em;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

/* ---------- RRM CTA wrapper ---------- */
.cta-wrapper {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(167, 139, 250, 0.06));
    border: 1px solid rgba(0, 212, 255, 0.3);
    text-align: center;
}
.cta-wrapper > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0 0 1em;
}
.cta-wrapper [rrm-inline-cta] {
    margin: 0.5em 0;
    min-height: 80px;  /* reserve space while widget loads */
}

/* ---------- Steps ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin-top: 0.5em;
}
.step-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1em;
    position: relative;
}
.step-num {
    position: absolute;
    top: -12px;
    left: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #00d4ff;
    color: #001a26;
    font-weight: 700;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-card h3 {
    color: white;
    font-size: 0.95em;
    margin: 0.3em 0 0.4em;
}
.step-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85em;
    line-height: 1.5;
    margin: 0;
}
.form-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 1em;
    padding: 0.7em 1.4em;
    background: #00d4ff;
    color: #001a26;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.25);
}

/* ---------- Stats strip ---------- */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
    margin: 1rem 0 1.2rem;
}
.stat-tile {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1em;
    text-align: center;
    backdrop-filter: blur(6px);
}
.stat-tile .value {
    display: block;
    color: #00d4ff;
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.1;
}
.stat-tile .label {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75em;
    margin-top: 0.3em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ---------- Monthly goal bar ---------- */
.goal-bar {
    margin-top: 0.5em;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}
.goal-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #a78bfa);
    border-radius: 999px;
    transition: width 1s ease;
}
.goal-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5em;
}

/* ---------- Leaderboard ---------- */
.month-tabs {
    display: flex;
    gap: 0.4em;
    flex-wrap: wrap;
    margin-bottom: 0.8em;
}
.month-tab {
    padding: 0.35em 0.85em;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.2s;
}
.month-tab:hover {
    border-color: rgba(0, 212, 255, 0.4);
    color: white;
}
.month-tab.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    color: #00d4ff;
}

.leader-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.leader-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 0.8em;
    padding: 0.75em 0.4em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.leader-row:last-child { border-bottom: none; }
.leader-row.rank-1 { background: linear-gradient(90deg, rgba(255, 215, 0, 0.07), transparent); }
.leader-row.rank-2 { background: linear-gradient(90deg, rgba(192, 192, 192, 0.06), transparent); }
.leader-row.rank-3 { background: linear-gradient(90deg, rgba(205, 127, 50, 0.06), transparent); }

.rank-num {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    font-size: 1em;
}
.rank-num.top {
    color: #00d4ff;
    font-size: 1.15em;
}

.leader-name {
    color: white;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 0.5em;
    flex-wrap: wrap;
}
.leader-name .tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
    padding: 0.15em 0.55em;
    border-radius: 999px;
    font-size: 0.7em;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.leader-meta {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75em;
    margin-top: 2px;
    display: block;
}
.leader-amount {
    color: #00d4ff;
    font-weight: 700;
    font-size: 0.95em;
    text-align: right;
    white-space: nowrap;
}

/* ---------- Supporter wall (grid) ---------- */
.wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.6rem;
}
.wall-tile {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.8em;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}
.wall-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.3);
}
.wall-tile .wall-name {
    color: white;
    font-size: 0.85em;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3em;
    word-break: break-word;
}
.wall-tile .wall-tier {
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- Message wall ---------- */
.msg-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.7rem;
}
.msg-card {
    background: rgba(0, 0, 0, 0.22);
    border-left: 3px solid #00d4ff;
    border-radius: 0 10px 10px 0;
    padding: 0.8em 1em;
}
.msg-card .msg-quote {
    color: rgba(255, 255, 255, 0.88);
    font-style: italic;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0 0 0.4em;
}
.msg-card .msg-from {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75em;
}

.empty-state {
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    padding: 1.2em;
    font-size: 0.9em;
    font-style: italic;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .destek-card { padding: 1.1em 1em; }
    .leader-row { grid-template-columns: 30px 1fr auto; gap: 0.5em; }
}

/* =========================================================
   Eklemeler: ilk destekçi, streak, ithaf
   ========================================================= */

/* ---------- İlk destekçi vurgu ---------- */
.first-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.10), rgba(255, 165, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.35);
    text-align: center;
    padding: 1.2em 1.4em;
}
.first-card .first-label {
    color: #ffd700;
    font-size: 0.78em;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 0.3em;
    display: block;
    font-weight: 600;
}
.first-card .first-name {
    color: white;
    font-size: 1.4em;
    font-weight: 700;
    margin: 0.2em 0;
}
.first-card .first-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85em;
    margin-top: 0.4em;
}
.first-card #first-tier { display: inline-block; margin-top: 0.5em; }

/* ---------- Streak rozeti ---------- */
.streak-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15em 0.55em;
    border-radius: 999px;
    font-size: 0.7em;
    font-weight: 600;
    background: rgba(255, 87, 34, 0.12);
    color: #ff7043;
    border: 1px solid rgba(255, 112, 67, 0.35);
}

.wall-tile .wall-streak {
    display: block;
    margin-top: 0.3em;
    font-size: 0.7em;
    color: #ff7043;
}

/* ---------- Bölüm ithafları ---------- */
.dedications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.7rem;
}

.dedication-card {
    display: block;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(167, 139, 250, 0.25);
    border-left: 3px solid #a78bfa;
    border-radius: 0 10px 10px 0;
    padding: 0.9em 1em;
    text-decoration: none;
    color: white;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.dedication-card:hover {
    transform: translateX(2px);
    border-color: #a78bfa;
    box-shadow: 0 4px 16px rgba(167, 139, 250, 0.12);
}
.dedication-card .ded-chapter {
    color: #c882ff;
    font-weight: 700;
    font-size: 1em;
    margin-bottom: 0.15em;
}
.dedication-card .ded-chapter small {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    font-size: 0.8em;
}
.dedication-card .ded-name {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85em;
    font-style: italic;
}
.dedication-card .ded-note {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78em;
    margin-top: 0.3em;
    line-height: 1.4;
}
.dedication-card .ded-cta {
    margin-top: 0.5em;
    color: #a78bfa;
    font-size: 0.78em;
    font-weight: 600;
}

/* leader-amount artık "puan" — biraz daha küçük göster */
.leader-amount {
    font-size: 0.88em;
}
