/* Diyanet Gazze Bağış — global styles */
:root {
    --green: #16a34a;
    --green-dark: #15803d;
    --green-light: #22c55e;
    --emerald: #059669;
    --gold: #d4a574;
    --gold-light: #e8d5b7;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    --radius: 16px;
    --radius-sm: 12px;
    --font: "Plus Jakarta Sans", system-ui, sans-serif;
    --header-h: 72px;
    --map-bg: #ecfdf5;
}

[data-theme="dark"] {
    --white: #0f172a;
    --gray-50: #1e293b;
    --gray-100: #334155;
    --gray-200: #475569;
    --gray-600: #cbd5e1;
    --gray-800: #f1f5f9;
    --gray-900: #f8fafc;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
    --map-bg: #14532d;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 40%, var(--gray-100) 100%);
    min-height: 100vh;
    padding-top: var(--header-h);
    padding-bottom: 5rem;
}

[data-theme="dark"] body {
    background: linear-gradient(180deg, var(--white) 0%, #1e293b 50%, #0f172a 100%);
}

@media (min-width: 768px) {
    body {
        padding-bottom: 2rem;
    }
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--green);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: 0.75rem 1rem;
    background: var(--green);
    color: #fff;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--gold));
    width: 0%;
    z-index: 10001;
    contain: strict;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 640px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}

[data-theme="dark"] .site-header {
    background: rgba(15, 23, 42, 0.85);
    border-bottom-color: var(--gray-100);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: var(--header-h);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
}

.logo-link:hover {
    text-decoration: none;
    color: var(--green);
}

.logo-svg {
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.25rem;
    align-items: center;
}

.nav-menu a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--green);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switch {
    display: flex;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    overflow: hidden;
}

.lang-btn {
    padding: 0.35rem 0.65rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
}

.lang-btn.active {
    background: var(--green);
    color: #fff;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

[data-theme="dark"] .theme-toggle .theme-icon-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .theme-icon-moon {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
    text-decoration: none;
    color: inherit;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--green) 0%, var(--emerald) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    text-decoration: none;
    color: #fff;
}

.btn-outline {
    border-color: var(--green);
    color: var(--green);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(22, 163, 74, 0.08);
    text-decoration: none;
}

.btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

.btn-pulse {
    animation: pulse-soft 2.5s ease-in-out infinite;
}

@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35); }
    50% { box-shadow: 0 6px 22px rgba(22, 163, 74, 0.5); }
}

.btn.loading {
    pointer-events: none;
    opacity: 0.85;
}

.btn-loader {
    display: none;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn.loading .btn-text {
    opacity: 0.7;
}

.btn.loading .btn-loader {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Glass */
.glass-panel {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .glass-panel {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    padding: 3rem 0 4rem;
    overflow: hidden;
}

/* Hafif katman — canvas yerine (performans) */
.hero-particles-css {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 70% at 18% 28%, rgba(22, 163, 74, 0.14) 0%, transparent 52%),
        radial-gradient(ellipse 70% 55% at 82% 72%, rgba(212, 165, 116, 0.11) 0%, transparent 48%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(22, 163, 74, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(212, 165, 116, 0.15) 0%, transparent 45%),
        linear-gradient(180deg, var(--gray-50) 0%, transparent 100%);
    pointer-events: none;
}

[data-theme="dark"] .hero-gradient {
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(22, 163, 74, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(212, 165, 116, 0.12) 0%, transparent 45%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: 1.35fr 0.85fr;
        align-items: center;
        gap: 2.5rem;
    }
}

.hero-content {
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(22, 163, 74, 0.12);
    color: var(--green-dark);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    margin: 0 0 1rem;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.hero-desc {
    margin: 0 0 1.5rem;
    color: var(--gray-600);
    font-size: 1.08rem;
    max-width: 48ch;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.trust-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.trust-badges li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.trust-icon {
    font-size: 1rem;
}

.hero-countdown {
    padding: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.countdown-label {
    text-align: center;
    margin: 0 0 1rem;
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    text-align: center;
}

.cd-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green);
    font-variant-numeric: tabular-nums;
}

.cd-unit {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin: 0 0 0.5rem;
    color: var(--gray-900);
}

.section-lead {
    margin: 0 auto;
    max-width: 680px;
    color: var(--gray-600);
}

/* Quick donate */
.quick-donate-panel {
    padding: 2rem;
    max-width: 640px;
    margin: 0 auto;
}

.amount-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.amount-chip {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-800);
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.amount-chip:hover {
    border-color: var(--green);
}

.amount-chip.is-selected {
    border-color: var(--green);
    background: rgba(22, 163, 74, 0.1);
    color: var(--green-dark);
}

.field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.quick-input-row {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
    color: var(--gray-900);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.input-lg {
    padding: 0.9rem 3rem 0.9rem 1rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.input-suffix {
    position: absolute;
    right: 1rem;
    font-weight: 700;
    color: var(--gray-600);
    pointer-events: none;
}

.field-hint {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0 0 1rem;
}

.checkbox-anon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-anon input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--green);
}

/* Stats */
.stats-strip {
    padding-top: 0;
}

.stats-flex {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .stats-flex {
        grid-template-columns: 1fr 1fr;
    }
}

.stat-big {
    padding: 2rem;
    text-align: center;
}

.stat-label {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 600;
}

.stat-value {
    margin: 0.25rem 0 0;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--green);
    font-variant-numeric: tabular-nums;
}

.currency {
    font-size: 0.6em;
    font-weight: 600;
}

.goal-block {
    padding: 1.5rem 2rem;
}

.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--gray-800);
}

.goal-percent {
    color: var(--green);
    font-variant-numeric: tabular-nums;
}

.progress-track {
    height: 14px;
    background: var(--gray-200);
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--green), var(--gold));
    border-radius: 999px;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.goal-meta {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    font-variant-numeric: tabular-nums;
}

/* Live list */
.live-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 640px;
    margin: 0 auto;
}

.live-left {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.live-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    margin-bottom: 0.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    animation: liveIn 0.32s ease forwards;
    opacity: 0;
}

@keyframes liveIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.live-name {
    font-weight: 600;
    color: var(--gray-900);
}

.live-meta {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.live-amount {
    font-weight: 700;
    color: var(--green);
    font-variant-numeric: tabular-nums;
}

/* Map */
.map-wrap {
    position: relative;
    padding: 1rem;
    overflow: hidden;
}

.world-map {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

.map-wrap--globe .world-map {
    max-height: 420px;
}

.map-pin {
    cursor: pointer;
    opacity: 0.9;
    animation: mapPinPulse 3s ease-in-out infinite;
}

@keyframes mapPinPulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .map-pin {
        animation: none;
        opacity: 0.95;
    }
}

.map-tooltip {
    position: absolute;
    padding: 0.5rem 0.75rem;
    background: var(--gray-900);
    color: #fff;
    font-size: 0.8rem;
    border-radius: 8px;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
}

.map-tooltip[hidden] {
    display: none;
}

/* Impact */
.impact-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.impact-card {
    padding: 1.75rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s;
}

.impact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.impact-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.impact-card h3 {
    margin: 0 0 0.5rem;
    color: var(--green);
    font-size: 1.35rem;
}

.impact-card p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* About */
.about-grid {
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 800px) {
    .about-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.about-text {
    padding: 2rem;
}

.about-text h2 {
    margin-top: 0;
    color: var(--gray-900);
}

.about-text p {
    color: var(--gray-600);
}

.about-pillars {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.about-pillars h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: var(--green);
}

.about-pillars p {
    margin: 0;
    font-size: 0.95rem;
}

.about-visual {
    min-height: 240px;
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}

.about-pattern {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 12px,
            rgba(22, 163, 74, 0.06) 12px,
            rgba(22, 163, 74, 0.06) 24px
        );
}

.about-stat {
    position: relative;
    margin: 0;
    font-size: 1.1rem;
    color: var(--gray-800);
}

.about-stat strong {
    font-size: 2rem;
    color: var(--green);
}

/* Timeline */
.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto;
}

@media (min-width: 700px) {
    .timeline {
        grid-template-columns: repeat(3, 1fr);
    }
}

.timeline-item {
    padding: 1.5rem;
    position: relative;
}

.timeline-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.timeline-item h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--gray-900);
}

.timeline-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Carousel */
.carousel {
    position: relative;
    padding: 2rem 2rem 3.5rem;
    max-width: 640px;
    margin: 0 auto;
}

.carousel-track {
    position: relative;
    min-height: 140px;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin: 0;
    padding: 0;
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray-800);
    margin: 0 0 1rem;
}

.carousel-slide cite {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    transition: border-color 0.2s, background 0.2s;
}

.carousel-btn:hover {
    border-color: var(--green);
    color: var(--green);
}

.carousel-dots {
    display: flex;
    gap: 0.4rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
    border: none;
    padding: 0;
    cursor: pointer;
}

.carousel-dot.is-active {
    background: var(--green);
    transform: scale(1.2);
}

/* Accordion */
.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    overflow: hidden;
    background: var(--white);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border: none;
    background: var(--gray-50);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: var(--gray-900);
}

.accordion-trigger:hover {
    background: rgba(22, 163, 74, 0.08);
}

.accordion-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: rotate(225deg);
}

.accordion-panel {
    padding: 0 1.25rem 1rem;
}

.accordion-panel p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Contact */
.contact-form {
    padding: 2rem;
}

.form-row {
    margin-bottom: 1rem;
}

.form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--gray-800);
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.site-footer {
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--gray-200);
    margin-top: 2rem;
    background: var(--gray-50);
}

[data-theme="dark"] .site-footer {
    background: #0f172a;
    border-top-color: var(--gray-100);
}

.footer-grid {
    display: grid;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr auto auto;
        text-align: left;
        align-items: start;
    }
}

.footer-tagline {
    margin: 0.5rem 0 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: var(--gray-600);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .footer-social {
        justify-content: flex-end;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
    font-weight: 700;
    text-decoration: none;
}

.social-link:hover {
    border-color: var(--green);
    color: var(--green);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.copyright {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Back to top & sticky donate */
.back-to-top {
    position: fixed;
    bottom: 5.5rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--green);
    font-size: 1.25rem;
    display: grid;
    place-items: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.2s;
    z-index: 900;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.sticky-donate {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: 400px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--green) 0%, var(--emerald) 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
    z-index: 899;
    text-decoration: none;
    transition: transform 0.2s;
}

.sticky-donate:hover {
    text-decoration: none;
    color: #fff;
    transform: scale(1.02);
}

@media (min-width: 768px) {
    .sticky-donate {
        left: auto;
        right: 1.5rem;
        margin: 0;
    }
}

/* Toast */
.toast-container {
    position: fixed;
    top: calc(var(--header-h) + 1rem);
    right: 1rem;
    z-index: 10002;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: min(360px, 90vw);
    pointer-events: none;
}

.toast {
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-sm);
    background: var(--gray-900);
    color: #fff;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.35s ease;
    pointer-events: auto;
}

.toast.success {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.toast.error {
    background: #b91c1c;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Confetti */
.confetti-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10003;
}

/* Payment page */
.payment-page {
    padding: 2rem 0 4rem;
}

body.payment-success-active {
    overflow: hidden;
}

body.payment-success-active .sticky-donate,
body.payment-success-active .back-to-top {
    visibility: hidden;
}

.payment-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 10080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.payment-success-overlay[hidden] {
    display: none !important;
}

.payment-success-card {
    max-width: 420px;
    width: 100%;
    padding: 2.5rem 2rem;
    text-align: center;
}

.payment-success-icon {
    margin: 0 auto 1.25rem;
}

.payment-success-icon svg {
    display: block;
    margin: 0 auto;
}

.payment-success-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--gray-900);
}

.payment-success-order {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0 0 0.35rem;
    font-weight: 500;
}

.payment-success-number {
    font-size: 1.75rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--green);
    margin: 0 0 1.25rem;
    letter-spacing: 0.04em;
}

.payment-success-hint {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

[data-theme="dark"] .payment-success-overlay {
    background: rgba(0, 0, 0, 0.55);
}

/* Demo 3D sayfaları */
.secure-flow-wrap {
    padding: 2rem;
    max-width: 440px;
    margin: 0 auto;
}

.secure-flow-brand {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.secure-flow-chip {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: rgba(22, 163, 74, 0.12);
    color: var(--green-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.secure-flow-info {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 0.9rem;
}

.secure-flow-info div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.secure-flow-info span {
    color: var(--gray-600);
}

.secure-flow-info strong {
    color: var(--gray-900);
    font-variant-numeric: tabular-nums;
}

.admin-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.admin-wrap-wide {
    max-width: min(100%, 1680px);
}

.admin-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-title {
    margin: 0;
    font-size: 1.5rem;
    color: var(--gray-900);
}

.admin-lead {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    max-width: 42rem;
}

.admin-head-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-alert {
    padding: 1rem;
    color: #b91c1c;
    margin-bottom: 1rem;
}

.admin-sync-hint {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin: 0 0 0.75rem;
}

.admin-db-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 1100px) {
    .admin-db-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.admin-db-panel {
    padding: 0;
    overflow: hidden;
    min-width: 0;
}

.admin-db-heading {
    margin: 0;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-200);
    background: rgba(0, 0, 0, 0.02);
}

.admin-table-scroll {
    overflow: auto;
    max-height: min(70vh, 520px);
    -webkit-overflow-scrolling: touch;
}

.admin-table-dense {
    font-size: 0.78rem;
}

.admin-table-dense th,
.admin-table-dense td {
    padding: 0.45rem 0.4rem;
    vertical-align: top;
}

.admin-cell-msg {
    max-width: 12rem;
    word-break: break-word;
    white-space: normal;
}

.admin-cell-action {
    white-space: nowrap;
}

.admin-empty {
    padding: 1.25rem !important;
    text-align: center;
    color: var(--gray-600);
}

.admin-row-pending {
    background: rgba(234, 179, 8, 0.12);
}

.admin-durum-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.admin-durum-select {
    max-width: 11rem;
    padding: 0.3rem 0.45rem;
    font-size: 0.78rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
}

.admin-table th {
    font-weight: 600;
    color: var(--gray-800);
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.admin-actions .btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
}

.payment-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 900px) {
    .payment-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.card-scene {
    perspective: 1200px;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.card-3d {
    position: relative;
    width: 100%;
    padding-bottom: 62%;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-3d.is-flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
}

.card-front {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #0f172a 100%);
    color: #fff;
}

.card-back {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    color: #fff;
    transform: rotateY(180deg);
}

.card-brand {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.75rem;
    opacity: 0.85;
}

.card-number-display {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
    margin: 1rem 0;
    word-break: break-all;
}

.card-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.card-holder-label,
.card-exp-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.7;
}

.card-holder-name {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-exp {
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

.card-stripe {
    height: 36px;
    background: #0f172a;
    margin: 0 -1.5rem 1rem;
}

.card-cvv-box {
    background: #fff;
    color: #0f172a;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    align-self: flex-end;
    min-width: 60%;
    text-align: right;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.payment-form-panel {
    padding: 2rem;
}

.payment-form-panel h1 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--gray-900);
}

.form-grid-2 {
    display: grid;
    gap: 1rem;
}

@media (min-width: 480px) {
    .form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.field-error {
    font-size: 0.8rem;
    color: #b91c1c;
    margin-top: 0.25rem;
    display: none;
}

.field-error.is-visible {
    display: block;
}

.input.is-invalid {
    border-color: #b91c1c;
}

/* Privacy page */
.legal-page {
    padding: 2rem 0 4rem;
    max-width: 720px;
    margin: 0 auto;
}

.legal-page h1 {
    color: var(--gray-900);
}

.legal-page p {
    color: var(--gray-600);
}

/* Mobile nav */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 999;
    }

    [data-theme="dark"] .nav-menu {
        background: rgba(15, 23, 42, 0.98);
    }

    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 480px) {
    .lang-switch {
        display: none;
    }
}
