* { margin: 0; padding: 0; box-sizing: border-box; }
/* Tema renkleri */
body.theme-gece {
    --bg: #0f1419;
    --card: #1a2332;
    --card-hover: #212d3f;
    --text: #e6edf3;
    --muted: #7d8590;
    --header: #00d4aa;
    --accent: #58a6ff;
    --border: #30363d;
}
body.theme-siyah {
    --bg: #0a0a0a;
    --card: #151515;
    --card-hover: #1e1e1e;
    --text: #f0f0f0;
    --muted: #888;
    --header: #ffffff;
    --accent: #4db8ff;
    --border: #2a2a2a;
}
body.theme-mavi {
    --bg: #0a1628;
    --card: #152238;
    --card-hover: #1e2c44;
    --text: #e6f0ff;
    --muted: #7a90b5;
    --header: #4da6ff;
    --accent: #82b1ff;
    --border: #24354f;
}
body.theme-mor {
    --bg: #1a0e2e;
    --card: #261540;
    --card-hover: #321b52;
    --text: #f0e6ff;
    --muted: #9a7ab8;
    --header: #b366ff;
    --accent: #d580ff;
    --border: #3a2160;
}
body.theme-yesil {
    --bg: #0d1f15;
    --card: #132a1e;
    --card-hover: #1a3628;
    --text: #e6fff0;
    --muted: #7ab88f;
    --header: #3fe68a;
    --accent: #5affb5;
    --border: #1f4832;
}
body.theme-acik {
    --bg: #f5f7fa;
    --card: #ffffff;
    --card-hover: #f0f4f8;
    --text: #1a2332;
    --muted: #6b7280;
    --header: #00876a;
    --accent: #2563eb;
    --border: #e2e8f0;
}
body.theme-turuncu {
    --bg: #1f1206;
    --card: #2d1a0a;
    --card-hover: #3a2210;
    --text: #fff4e6;
    --muted: #b8885a;
    --header: #ff9d3d;
    --accent: #ffb84d;
    --border: #4a2c14;
}
body.theme-kirmizi {
    --bg: #1a0808;
    --card: #2b1010;
    --card-hover: #381616;
    --text: #ffe6e6;
    --muted: #b36666;
    --header: #ff4d4d;
    --accent: #ff7a7a;
    --border: #4a1c1c;
}
/* ACIK TEMA - KAPSAMLI DUZELTME */
body.theme-acik .fixtures-body,
body.theme-acik .input-url,
body.theme-acik .odd-input,
body.theme-acik .fixture-search,
body.theme-acik select,
body.theme-acik .date-picker,
body.theme-acik .input-url:focus,
body.theme-acik .odd-input:focus {
    background: #f8fafc;
    color: #1a2332;
    border-color: #cbd5e1;
}

body.theme-acik .league-title {
    background: #eef2f7;
    color: #00876a;
    border-left-color: #00876a;
}

body.theme-acik .match-row:hover { background: #f0f4f8; }

body.theme-acik .match-odd {
    background: #e8eef5;
    color: #1a2332;
}

body.theme-acik .match-odd.muted-odd {
    background: #eef2f7;
    color: #4a5568;
}

body.theme-acik .bar { background: #e2e8f0; }

/* Topbar acik temada */
body.theme-acik .topbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}
body.theme-acik .logo-text { color: #00876a; }
body.theme-acik .logo-version { color: #6b7280; }
body.theme-acik .db-status { color: #2563eb; }
body.theme-acik .dot { background: #3fb950; box-shadow: 0 0 8px #3fb950; }

/* Tema secici acik temada */
body.theme-acik .theme-picker {
    background: #f0f4f8;
    border-color: #cbd5e1;
}

/* Son aramalar cubugu */
body.theme-acik .history-bar {
    background: #ffffff;
    border-color: #e2e8f0;
}
body.theme-acik .history-label { color: #6b7280; }
body.theme-acik .history-item {
    background: #f8fafc;
    color: #1a2332;
    border-color: #cbd5e1;
}
body.theme-acik .history-item:hover {
    background: #eef2f7;
    border-color: #00876a;
    color: #00876a;
}
body.theme-acik .history-clear { color: #6b7280; }
body.theme-acik .history-clear:hover { color: #f85149; }

/* Fikstur panel */
body.theme-acik .fixtures-panel {
    background: #ffffff;
    border-color: #e2e8f0;
}
body.theme-acik .fixtures-header:hover { background: #f0f4f8; }
body.theme-acik .fixtures-title { color: #00876a; }
body.theme-acik .fixtures-count {
    background: #eef2f7;
    color: #4a5568;
}
body.theme-acik .fixtures-arrow { color: #00876a; }
body.theme-acik .fixtures-body {
    background: #f8fafc;
    border-top-color: #e2e8f0;
}
body.theme-acik .fixtures-filters {
    background: #eef2f7;
    border-bottom-color: #e2e8f0;
}
body.theme-acik .fixture-total { color: #4a5568; }
body.theme-acik .league-group { border-bottom-color: #e2e8f0; }
body.theme-acik .match-row { border-bottom-color: #eef2f7; }
body.theme-acik .match-time { color: #2563eb; }
body.theme-acik .match-teams { color: #1a2332; }
body.theme-acik .match-teams .team-sep { color: #94a3b8; }
body.theme-acik .fixtures-loading,
body.theme-acik .fixtures-empty { color: #6b7280; }

/* Tarih butonlari */
body.theme-acik .date-btn {
    background: #f8fafc;
    color: #1a2332;
    border-color: #cbd5e1;
}
body.theme-acik .date-btn:hover {
    background: #eef2f7;
    border-color: #00876a;
    color: #00876a;
}
body.theme-acik .date-display { color: #2563eb; }

/* Girdi karti */
body.theme-acik .card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
body.theme-acik .card h3,
body.theme-acik .card-title { color: #00876a; }
body.theme-acik .input-group label { color: #6b7280; }

/* Sonuc baslığı */
body.theme-acik .result-header {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border-color: #e2e8f0;
}
body.theme-acik .result-count { color: #00876a; }
body.theme-acik .result-label,
body.theme-acik .result-meta { color: #6b7280; }

/* Stat kartlari */
body.theme-acik .stat-label { color: #1a2332; }
body.theme-acik .stat-value { color: #00876a; }

/* IY/MS kutucuklari */
body.theme-acik .iyft-cell {
    background: #f8fafc;
    border-color: #e2e8f0;
}
body.theme-acik .iyft-key { color: #6b7280; }
body.theme-acik .iyft-val { color: #00876a; }

/* Oneri karti */
body.theme-acik .oneri-card {
    border-left-color: #3fb950;
}
body.theme-acik .oneri-list li {
    border-bottom-color: #e2e8f0;
    color: #1a2332;
}
body.theme-acik .oneri-list b { color: #3fb950; }
body.theme-acik .muted { color: #6b7280; }

/* Yukleniyor / hata kutulari */
body.theme-acik .loading,
body.theme-acik .error-box {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #6b7280;
}
body.theme-acik .error-box { color: #f85149; }

/* Butonlar */
body.theme-acik .btn-primary {
    background: #00876a;
    color: #ffffff;
}
body.theme-acik .btn-primary:hover { background: #00a882; }
body.theme-acik .btn-success {
    background: #2563eb;
    color: #ffffff;
}
body.theme-acik .btn-success:hover { background: #3b82f6; }

/* Mesaj kutulari */
body.theme-acik .msg.info { color: #2563eb; }
body.theme-acik .msg.success { color: #00876a; }
body.theme-acik .msg.error { color: #f85149; }

/* Arama inputlari placeholder */
body.theme-acik input::placeholder,
body.theme-acik .input-url::placeholder,
body.theme-acik .fixture-search::placeholder {
    color: #94a3b8;
}

/* Grafik kutulari */
body.theme-acik .chart-box {
    background: transparent;
}

/* eski tema artık body.theme-* üzerinden geliyor */

:root {
    --bg: #0f1419;
    --card: #1a2332;
    --card-hover: #212d3f;
    --text: #e6edf3;
    --muted: #7d8590;
    --header: #00d4aa;
    --accent: #58a6ff;
    --good: #3fb950;
    --mid: #d29922;
    --bad: #f85149;
    --border: #30363d;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* Topbar */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    background: #0b0f14;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 26px; }
.logo-text { font-size: 22px; font-weight: 700; color: var(--header); letter-spacing: -0.5px; }
.logo-version { font-size: 11px; color: var(--muted); }
.db-status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); }

/* Container */
.container { max-width: 1400px; margin: 0 auto; padding: 24px 28px 60px; }

/* Cards */
.card {
    background: var(--card);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    border: 1px solid var(--border);
}
.card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--header);
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}
.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--header);
    margin-bottom: 12px;
}
.mt-20 { margin-top: 20px; }

/* URL input */
.url-row { display: flex; gap: 10px; }
.input-url {
    flex: 1;
    padding: 12px 16px;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
    font-family: "Consolas", monospace;
    outline: none;
    transition: border 0.15s;
}
.input-url:focus { border-color: var(--accent); }

/* Odd inputs */
/* Her grup kendi kutusunda */
.input-cluster {
    display: flex;
    gap: 4px;
    padding: 6px 8px;
    background: transparent;
    border-right: 1px solid var(--border);
    border-radius: 0;
    border-top: none;
    border-bottom: none;
    border-left: none;
    align-items: flex-end;
}

.input-cluster:last-child {
    border-right: none;
}

body.theme-acik .input-cluster {
    background: transparent;
    border-right-color: #e2e8f0;
}

body.theme-acik .inputs-grid {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

body.theme-acik .input-cluster {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.inputs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-top: 8px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 0 0 auto;
    width: 72px;
}
.input-group label {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.input-group .odd-input {
    padding: 8px 6px;
    font-size: 14px;
}
.odd-input {
    padding: 12px 10px;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    outline: none;
    font-family: "Consolas", monospace;
    transition: border 0.15s;
}
.odd-input:focus { border-color: var(--accent); background: #0a0e13; }

/* Controls */
.controls {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    margin-top: 20px;
    flex-wrap: wrap;
}
.control { display: flex; flex-direction: column; gap: 5px; }
.control label {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
}
select {
    padding: 10px 14px;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.btn-primary { background: var(--header); color: #0f1419; }
.btn-primary:hover { background: #00e8bc; transform: translateY(-1px); }
.btn-success { background: var(--accent); color: white; padding: 12px 40px; }
.btn-success:hover { background: #6cb2ff; transform: translateY(-1px); }

/* Messages */
.msg { margin-top: 10px; font-size: 13px; }
.msg.info { color: var(--accent); }
.msg.success { color: var(--good); }
.msg.error { color: var(--bad); }

/* Results */
.results-section { margin-top: 24px; }
.hidden { display: none; }

.result-header {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}
.result-count {
    font-size: 48px;
    font-weight: 800;
    color: var(--header);
    line-height: 1;
    letter-spacing: -2px;
}
.result-label { font-size: 14px; color: var(--muted); margin-top: 4px; }
.result-meta { font-size: 11px; color: var(--muted); margin-top: 8px; }

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.stat-card { margin-bottom: 0; }

/* Stat rows */
.stat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 13px;
}
.stat-label {
    min-width: 100px;
    color: var(--text);
    font-weight: 500;
}
.stat-value {
    min-width: 60px;
    text-align: right;
    font-weight: 700;
    font-family: "Consolas", monospace;
    font-size: 14px;
}

/* Bars */
.bar {
    flex: 1;
    height: 8px;
    background: #0d1117;
    border-radius: 4px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}
.bar-good { background: linear-gradient(90deg, #2ea043, #3fb950); }
.bar-mid { background: linear-gradient(90deg, #bb8009, #d29922); }
.bar-bad { background: linear-gradient(90deg, #d13232, #f85149); }

/* İY/MS */
.iyft-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
}
.iyft-cell {
    text-align: center;
    padding: 12px 4px;
    background: #0d1117;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.iyft-key { font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.iyft-val { font-size: 16px; font-weight: 700; color: var(--header); margin-bottom: 8px; font-family: "Consolas", monospace; }
.iyft-cell .bar { height: 4px; }

/* Big value */
.big-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--header);
    text-align: center;
    font-family: "Consolas", monospace;
    line-height: 1;
}
.big-label { text-align: center; font-size: 11px; color: var(--muted); margin-bottom: 14px; }

/* Oneri */
.oneri-card { border-left: 4px solid var(--good); }
.oneri-list { list-style: none; }
.oneri-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.oneri-list li:last-child { border-bottom: none; }
.oneri-list b { color: var(--good); margin-right: 8px; }
.muted { color: var(--muted); }
.small { font-size: 11px; margin-top: 10px; }

/* Loading / Error */
.loading, .error-box {
    text-align: center;
    padding: 40px;
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}
.error-box { color: var(--bad); }

/* Mobile */
@media (max-width: 700px) {
    .container { padding: 16px; }
    .topbar { padding: 12px 16px; }
    .logo-text { font-size: 18px; }
    .iyft-grid { grid-template-columns: repeat(3, 1fr); }
    .result-count { font-size: 36px; }
    .controls { flex-direction: column; align-items: stretch; }
    .btn-success { padding: 12px 24px; }
}

/* Fikstur paneli */
.fixtures-panel {
    background: var(--card);
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.fixtures-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}
.fixtures-header:hover { background: var(--card-hover); }
.fixtures-header-left { display: flex; align-items: center; gap: 12px; }
.fixtures-icon { font-size: 20px; }
.fixtures-title {
    font-size: 14px; font-weight: 700; color: var(--header);
    letter-spacing: 1px;
}
.fixtures-count {
    font-size: 12px; color: var(--muted); background: #0d1117;
    padding: 3px 10px; border-radius: 12px; font-weight: 600;
}
.fixtures-arrow {
    font-size: 14px; color: var(--header);
    transition: transform 0.25s; font-weight: 700;
}
.fixtures-arrow.open { transform: rotate(180deg); }
.fixtures-body {
    max-height: 600px; overflow-y: auto;
    border-top: 1px solid var(--border);
    background: #0d1117;
}
.fixtures-content { padding: 0; }
.league-group { border-bottom: 1px solid var(--border); }
.league-group:last-child { border-bottom: none; }
.league-title {
    padding: 10px 20px; background: #131b26;
    color: var(--header); font-size: 12px; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase;
    position: sticky; top: 0; z-index: 2;
    border-left: 3px solid var(--header);
}
.match-row {
    display: flex; align-items: center;
    padding: 10px 20px; gap: 15px;
    cursor: pointer; transition: background 0.12s;
    border-bottom: 1px solid rgba(48, 54, 61, 0.4);
}
.match-row:hover { background: var(--card-hover); }
.match-row:last-child { border-bottom: none; }
.match-time {
    min-width: 55px; font-family: "Consolas", monospace;
    font-size: 13px; font-weight: 700; color: var(--accent);
}
.match-teams {
    flex: 1; font-size: 14px; color: var(--text); font-weight: 500;
}
.match-teams .team-sep {
    color: var(--muted); margin: 0 6px; font-weight: 400;
}
.match-odds {
    display: flex; gap: 5px;
    font-family: "Consolas", monospace; font-size: 11px;
}
.match-odd {
    min-width: 40px; text-align: center;
    padding: 3px 5px; background: #1a2332;
    border-radius: 4px; color: var(--text);
}
.match-odd.muted-odd { color: var(--muted); background: #131b26; }
.fixtures-loading, .fixtures-empty {
    padding: 30px; text-align: center;
    color: var(--muted); font-size: 13px;
}

/* Tarih yonetimi */
.fixtures-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.date-btn {
    padding: 5px 10px;
    background: #0d1117;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.15s;
}
.date-btn:hover {
    background: var(--card-hover);
    border-color: var(--header);
    color: var(--header);
}
.date-display {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    min-width: 65px;
    text-align: center;
}
.date-picker {
    padding: 5px 8px;
    background: #0d1117;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 6px;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
}
.date-picker::-webkit-calendar-picker-indicator {
    filter: invert(0.7);
    cursor: pointer;
}

/* Fikstur filtre */
.fixtures-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: #0a0e13;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 3;
}
.fixture-search {
    flex: 1;
    padding: 8px 12px;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
    outline: none;
}
.fixture-search:focus { border-color: var(--accent); }
.fixture-total {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
}

/* Arama gecmisi */
.history-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.history-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
}
.history-items {
    display: flex;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
}
.history-item {
    padding: 5px 12px;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-size: 12px;
    font-family: "Consolas", monospace;
    cursor: pointer;
    transition: all 0.15s;
}
.history-item:hover {
    background: var(--card-hover);
    border-color: var(--header);
    color: var(--header);
}
.history-clear {
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
}
.history-clear:hover { color: var(--bad); }

/* Grafik kutusu */
.chart-box {
    position: relative;
    height: 220px;
    margin-top: 8px;
}

/* 2 sutunlu grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.grid-2 .card { margin-bottom: 0; }

/* Mobil */
@media (max-width: 700px) {
    .fixtures-header { flex-direction: column; align-items: stretch; gap: 10px; }
    .fixtures-header-right { justify-content: space-between; flex-wrap: wrap; }
    .date-btn, .date-display, .date-picker { font-size: 11px; padding: 4px 8px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .chart-box { height: 180px; }
    .history-bar { padding: 8px 12px; }
    .fixtures-filters { flex-direction: column; align-items: stretch; }
}

/* Topbar sag bolum */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Tema secici */
.theme-picker {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    border: 1px solid var(--border);
}
.theme-label {
    font-size: 14px;
    margin-right: 4px;
}
.theme-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, border-color 0.15s;
}
.theme-btn:hover { transform: scale(1.15); }
.theme-btn.active { border-color: #fff; transform: scale(1.1); }

.theme-btn[data-theme="gece"]  { background: linear-gradient(135deg, #00d4aa, #0f1419); }
.theme-btn[data-theme="siyah"] { background: linear-gradient(135deg, #ffffff, #0a0a0a); }
.theme-btn[data-theme="mavi"]  { background: linear-gradient(135deg, #4da6ff, #0a1628); }
.theme-btn[data-theme="mor"]   { background: linear-gradient(135deg, #b366ff, #1a0e2e); }
.theme-btn[data-theme="yesil"] { background: linear-gradient(135deg, #3fe68a, #0d1f15); }
.theme-btn[data-theme="acik"]  { background: linear-gradient(135deg, #ffffff, #e2e8f0); border: 2px solid #999; }
.theme-btn[data-theme="turuncu"] { background: linear-gradient(135deg, #ff9d3d, #1f1206); }
.theme-btn[data-theme="kirmizi"] { background: linear-gradient(135deg, #ff4d4d, #1a0808); }

/* Arsiv panel */
.archive-panel {
    background: var(--card);
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    cursor: pointer;
    user-select: none;
}
.archive-header:hover { background: var(--card-hover); }
.archive-header-left { display: flex; align-items: center; gap: 12px; }
.archive-icon { font-size: 20px; }
.archive-title {
    font-size: 14px; font-weight: 700; color: var(--accent);
    letter-spacing: 1px;
}
.archive-count {
    font-size: 12px; color: var(--muted); background: #0d1117;
    padding: 3px 10px; border-radius: 12px; font-weight: 600;
}
.archive-arrow {
    font-size: 14px; color: var(--accent); font-weight: 700;
    transition: transform 0.25s;
}
.archive-arrow.open { transform: rotate(180deg); }
.archive-body {
    border-top: 1px solid var(--border);
    background: #0d1117;
    padding: 16px 20px;
}
.archive-form { display: flex; flex-direction: column; gap: 12px; }
.archive-row {
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.archive-row label {
    color: var(--text); font-size: 13px; font-weight: 600;
}
.archive-hint {
    font-size: 12px; color: var(--muted);
    padding: 8px 12px; background: #131b26; border-radius: 6px;
}
.archive-progress { margin-top: 10px; }
.progress-bar {
    height: 8px; background: #1a2332; border-radius: 4px;
    overflow: hidden; margin-bottom: 8px;
}
.progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, #00d4aa, #58a6ff);
    border-radius: 4px;
    transition: width 0.3s ease;
}
.progress-text {
    font-size: 12px; color: var(--muted); font-family: "Consolas", monospace;
}
.archive-log {
    max-height: 200px; overflow-y: auto;
    font-family: "Consolas", monospace; font-size: 12px;
    color: var(--text); margin-top: 10px;
    padding: 10px; background: #0a0e13; border-radius: 6px;
    display: none;
}
.archive-log:not(:empty) { display: block; }
.archive-log .ok { color: var(--good); }
.archive-log .err { color: var(--bad); }
.archive-log .info { color: var(--accent); }

/* Acik tema override */
body.theme-acik .archive-panel { background: #ffffff; border-color: #e2e8f0; }
body.theme-acik .archive-header:hover { background: #f0f4f8; }
body.theme-acik .archive-title { color: #2563eb; }
body.theme-acik .archive-count { background: #eef2f7; color: #4a5568; }
body.theme-acik .archive-arrow { color: #2563eb; }
body.theme-acik .archive-body { background: #f8fafc; border-top-color: #e2e8f0; }
body.theme-acik .archive-hint { background: #eef2f7; color: #6b7280; }
body.theme-acik .progress-bar { background: #e2e8f0; }
body.theme-acik .progress-text { color: #4a5568; }
body.theme-acik .archive-log { background: #eef2f7; color: #1a2332; }

.fixture-sort {
    padding: 8px 10px;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 12px;
    cursor: pointer;
    outline: none;
    font-family: inherit;
    min-width: 160px;
}
.fixture-sort:focus { border-color: var(--accent); }
.sort-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
}

/* Açık tema */
body.theme-acik .fixture-sort {
    background: #f8fafc;
    color: #1a2332;
    border-color: #cbd5e1;
}
body.theme-acik .sort-label { color: #6b7280; }

.match-league-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    background: #0d1117;
    color: var(--muted);
    font-size: 10px;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.3px;
    vertical-align: middle;
}
body.theme-acik .match-league-badge {
    background: #eef2f7;
    color: #4a5568;
}

.team-stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 13px;
}
.team-stats-table th {
    padding: 10px;
    text-align: left;
    color: var(--header);
    font-weight: 700;
    border-bottom: 2px solid var(--border);
    font-size: 13px;
}
.team-stats-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
}
.team-stats-table .ts-label {
    color: var(--muted);
    font-weight: 600;
}
.team-stats-table .ts-val {
    font-family: "Consolas", monospace;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
}
.team-stats-table tr:last-child td { border-bottom: none; }

body.theme-acik .team-stats-table td { border-bottom-color: #e2e8f0; }
body.theme-acik .team-stats-table .ts-val { color: #1a2332; }
body.theme-acik .team-stats-table .ts-label { color: #6b7280; }

.oneri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
}
.oneri-box {
    background: linear-gradient(135deg, rgba(63, 185, 80, 0.15), rgba(0, 212, 170, 0.08));
    border: 1px solid rgba(63, 185, 80, 0.35);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    cursor: default;
}
.oneri-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(63, 185, 80, 0.25);
    border-color: rgba(63, 185, 80, 0.7);
}
.oneri-icon { font-size: 30px; margin-bottom: 8px; line-height: 1; }
.oneri-name {
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}
.oneri-pct {
    font-size: 22px;
    color: var(--good);
    font-weight: 800;
    font-family: "Consolas", monospace;
    line-height: 1;
}
body.theme-acik .oneri-box {
    background: linear-gradient(135deg, rgba(0, 168, 130, 0.12), rgba(0, 135, 106, 0.05));
    border-color: rgba(0, 135, 106, 0.35);
}
body.theme-acik .oneri-name { color: #1a2332; }
body.theme-acik .oneri-pct { color: #00876a; }

.team-mini {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    font-family: "Consolas", monospace;
    margin-top: 4px;
}
body.theme-acik .team-mini { color: #6b7280; }

.oneri-avg {
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.15), rgba(0, 212, 170, 0.08)) !important;
    border-color: rgba(88, 166, 255, 0.5) !important;
}
.oneri-avg .oneri-pct {
    color: var(--accent) !important;
    font-size: 18px !important;
}

/* Kutucuk yanındaki X butonu */
.input-group {
    position: relative;
}
.input-group .clear-x {
    position: absolute;
    top: 22px;
    right: 6px;
    font-size: 11px;
    color: var(--muted);
    cursor: pointer;
    background: transparent;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.15s;
    user-select: none;
    font-weight: bold;
}
.input-group .clear-x:hover {
    background: var(--bad);
    color: white;
}
.input-group input {
    padding-right: 24px !important;
}

/* Açık tema */
body.theme-acik .input-group .clear-x {
    color: #94a3b8;
}
body.theme-acik .input-group .clear-x:hover {
    background: #f85149;
    color: white;
}

/* ============================================
   TAKIM İSTATİSTİKLERİ — ÇİFT DEĞER (Son 15 + Son 5)
   ============================================ */
.ts-dual {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}
.ts-v15 {
    font-family: "Consolas", monospace;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    min-width: 42px;
    text-align: right;
}
.ts-v5 {
    font-family: "Consolas", monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    min-width: 36px;
    text-align: left;
    opacity: 0.75;
}
body.theme-acik .ts-v15 { color: #1a2332; }
body.theme-acik .ts-v5  { color: #6b7280; }

/* ============================================
   İY/MS — YATAY BAR CHART
   ============================================ */
.iyft-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.iyft-bar-row {
    display: grid;
    grid-template-columns: 55px 1fr 70px;
    align-items: center;
    gap: 12px;
}
.iyft-bar-key {
    font-family: "Consolas", monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
    letter-spacing: 0.5px;
}
.iyft-bar-track {
    height: 22px;
    background: #0d1117;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.iyft-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4aa, #58a6ff);
    border-radius: 6px;
    transition: width 0.5s ease;
    min-width: 2px;
}
.iyft-bar-val {
    font-family: "Consolas", monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--header);
    text-align: right;
    min-width: 85px;
}
body.theme-acik .iyft-bar-track { background: #e2e8f0; border-color: #cbd5e1; }
body.theme-acik .iyft-bar-val   { color: #00876a; }
body.theme-acik .iyft-bar-key   { color: #6b7280; }

/* Mobil */
@media (max-width: 700px) {
    .iyft-bar-row { grid-template-columns: 45px 1fr 60px; gap: 8px; }
    .iyft-bar-key, .iyft-bar-val { font-size: 12px; }
    .ts-v15 { font-size: 13px; }
    .ts-v5  { font-size: 11px; }
}

.n-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #0d1117;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    font-family: "Consolas", monospace;
    letter-spacing: 0.3px;
    margin-left: 6px;
    vertical-align: middle;
}

/* Küçük örneklem uyarısı */
.n-badge.n-low {
    background: rgba(248, 81, 73, 0.15);
    color: var(--bad);
    border: 1px solid rgba(248, 81, 73, 0.35);
}
.n-badge.n-mid {
    background: rgba(210, 153, 34, 0.15);
    color: var(--mid);
    border: 1px solid rgba(210, 153, 34, 0.35);
}

body.theme-acik .n-badge {
    background: #eef2f7;
    color: #4a5568;
}
body.theme-acik .n-badge.n-low {
    background: rgba(248, 81, 73, 0.1);
    color: #c92a2a;
}
body.theme-acik .n-badge.n-mid {
    background: rgba(210, 153, 34, 0.1);
    color: #b8860b;
}

/* Soluk öneri (placeholder olarak gelen maç oranı) */
.odd-input.has-suggestion::placeholder {
    color: var(--muted);
    opacity: 0.45;
    font-style: italic;
    font-weight: 500;
}
body.theme-acik .odd-input.has-suggestion::placeholder {
    color: #94a3b8;
    opacity: 0.7;
}

.analiz-card {
    border-left: 4px solid var(--accent);
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.06), transparent);
}
.analiz-icerik p {
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 14px;
    padding-left: 4px;
}
.analiz-icerik p:last-child {
    margin-bottom: 0;
}
.analiz-icerik b {
    color: var(--header);
    font-weight: 700;
}
body.theme-acik .analiz-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), transparent);
}
body.theme-acik .analiz-icerik b {
    color: #00876a;
}

.top-scores-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 8px;
}
.top-scores-table th {
    padding: 10px;
    text-align: left;
    color: var(--muted);
    font-weight: 700;
    border-bottom: 2px solid var(--border);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.top-scores-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border);
}
.top-scores-table tr:last-child td {
    border-bottom: none;
}
.top-scores-table .ts-skor {
    font-family: "Consolas", monospace;
    font-size: 17px;
    font-weight: 700;
    color: var(--header);
    width: 70px;
}
.top-scores-table .ts-sayi {
    font-weight: 600;
    color: var(--text);
}
.top-scores-table .ts-yuzde {
    color: var(--muted);
    font-weight: 600;
    text-align: right;
}
body.theme-acik .top-scores-table .ts-skor { color: #00876a; }
body.theme-acik .top-scores-table .ts-sayi { color: #1a2332; }
body.theme-acik .top-scores-table .ts-yuzde { color: #6b7280; }

/* Benzer maclar tablosu */
.match-list-card {
    overflow: hidden;
}
.ml-wrap {
    overflow-x: auto;
    margin-top: 8px;
}
.match-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    white-space: nowrap;
}
.match-list-table th {
    padding: 10px 12px;
    text-align: left;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 2px solid var(--border);
    letter-spacing: 0.5px;
}
.match-list-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-family: "Consolas", monospace;
    font-size: 14px;
    color: var(--text);
}
.match-list-table .ml-tarih {
    color: var(--accent);
    font-weight: 600;
}
.match-list-table .ml-takim {
    font-family: inherit;
    color: var(--text);
    font-weight: 500;
}
.match-list-table .ml-skor {
    color: var(--header);
    font-weight: 700;
}
.match-list-table tr:last-child td {
    border-bottom: none;
}
body.theme-acik .match-list-table .ml-skor { color: #00876a; }
body.theme-acik .match-list-table .ml-tarih { color: #2563eb; }

/* Oran gruplari */
.match-odds {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.odds-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.odds-group-label {
    font-size: 9px;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Consolas", monospace;
}
.odds-group-values {
    display: flex;
    gap: 3px;
}
.odds-group .match-odd {
    min-width: 34px;
    padding: 3px 4px;
    font-size: 10px;
}

/* Oranları Gir - Kapanabilir Panel */
.input-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 4px 0;
}
.input-card-header:hover { opacity: 0.85; }
.inputs-arrow {
    font-size: 14px;
    color: var(--header);
    font-weight: 700;
    transition: transform 0.25s;
}
.inputs-arrow.open { transform: rotate(180deg); }
.inputs-body.hidden { display: none; }

/* Kaynak butonlari */
.btn-bet365 {
    background: #1a7f4a;
    color: white;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-bet365:hover {
    background: #22a05e;
    transform: translateY(-1px);
}
.btn-mackolik {
    background: #c8102e;
    color: white;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-mackolik:hover {
    background: #e01535;
    transform: translateY(-1px);
}

/* Acik tema */
body.theme-acik .btn-bet365 { background: #16a34a; }
body.theme-acik .btn-bet365:hover { background: #22c55e; }
body.theme-acik .btn-mackolik { background: #dc2626; }
body.theme-acik .btn-mackolik:hover { background: #ef4444; }

/* Mobil */
@media (max-width: 700px) {
    .btn-bet365, .btn-mackolik {
        width: 100%;
        padding: 14px;
        font-size: 14px;
    }
}

/* Kaynak Tab'lari */
.source-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    padding: 4px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    border: 1px solid var(--border);
}
.source-tab {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.source-tab:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text);
}
.source-tab.active {
    background: var(--header);
    color: #0f1419;
}
body.theme-acik .source-tabs { background: #f1f5f9; }
body.theme-acik .source-tab:hover { background: #e2e8f0; }
body.theme-acik .source-tab.active { background: #00876a; color: white; }

@media (max-width: 700px) {
    .source-tab { padding: 10px 8px; font-size: 13px; }
}

/* ============ AUTH SAYFALARI ============ */
body.auth-page {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* YENİ: Dikey hizalama */
}

.auth-container { 
    flex: 1; /* YENİ: Kalan tüm alanı kaplar ve formu ortalar */
    width: 100%; 
    max-width: 460px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 20px;
}

.auth-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.auth-header { text-align: center; margin-bottom: 28px; }

.auth-logo {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    color: var(--header);
    text-decoration: none;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.auth-header h1 { font-size: 22px; color: var(--text); margin-bottom: 6px; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    padding: 12px 14px;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border 0.15s;
}

.form-group input:focus { border-color: var(--accent); }

.form-hint { font-size: 11px; color: var(--muted); margin-top: 2px; }

.btn-full { width: 100%; padding: 14px; font-size: 15px; margin-top: 8px; }

.auth-errors { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.auth-error {
    padding: 10px 14px;
    background: rgba(248, 81, 73, 0.12);
    border: 1px solid rgba(248, 81, 73, 0.4);
    border-radius: 8px;
    color: var(--bad);
    font-size: 13px;
}

.auth-info {
    padding: 10px 14px;
    background: rgba(88, 166, 255, 0.12);
    border: 1px solid rgba(88, 166, 255, 0.4);
    border-radius: 8px;
    color: var(--accent);
    font-size: 13px;
    margin-bottom: 16px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.auth-footer p { font-size: 13px; color: var(--muted); margin-bottom: 6px; }

.auth-footer a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

body.theme-acik.auth-page { background: linear-gradient(135deg, #f5f7fa 0%, #e2e8f0 100%); }
body.theme-acik .auth-card { background: #ffffff; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
body.theme-acik .form-group input { background: #f8fafc; border-color: #cbd5e1; color: #1a2332; }

/* ============ VIP / UPGRADE ============ */
.vip-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}
.vip-info-icon { font-size: 32px; }
.vip-info strong { color: var(--text); font-size: 15px; }
.vip-info p { margin-top: 4px; }

.role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.role-free { background: rgba(139, 148, 158, 0.2); color: var(--muted); }
.role-vip { background: rgba(255, 200, 0, 0.15); color: #ffc800; }
.role-admin { background: rgba(248, 81, 73, 0.15); color: var(--bad); }

.vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 700px) { .vip-grid { grid-template-columns: 1fr; } }

.vip-card {
    position: relative;
    padding: 24px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}
.vip-card-featured {
    border: 2px solid var(--header);
    background: linear-gradient(135deg, rgba(0,212,170,0.08), rgba(88,166,255,0.05));
}
.vip-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--header);
    color: #0f1419;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}
.vip-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.vip-price { font-size: 36px; font-weight: 800; color: var(--header); font-family: "Consolas", monospace; line-height: 1; }
.vip-price span { font-size: 20px; }
.vip-price small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.vip-save { font-size: 12px; color: var(--good); font-weight: 600; margin-top: 6px; }
.vip-features { list-style: none; margin: 20px 0; text-align: left; }
.vip-features li { padding: 6px 0; font-size: 13px; color: var(--text); }
.vip-features li:before { content: ""; }

/* ============ ÖDEME ============ */
.payment-info {
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    border: 1px solid var(--border);
}
.payment-info h3 { color: var(--header); font-size: 15px; margin-bottom: 8px; }
.payment-box {
    margin-top: 16px;
    padding: 16px;
    background: #0d1117;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.payment-row:last-child { border-bottom: none; }
.payment-row span { color: var(--muted); }
.payment-row strong { color: var(--text); font-family: "Consolas", monospace; }

body.theme-acik .vip-info, body.theme-acik .vip-card, body.theme-acik .payment-info {
    background: #f8fafc;
    border-color: #e2e8f0;
}
body.theme-acik .payment-box { background: #f1f5f9; border-color: #cbd5e1; }
body.theme-acik .payment-row { border-bottom-color: #e2e8f0; }

/* ============ NAVBAR (PANEL) ============ */
.user-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #0b0f14;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--header);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
}
.navbar-btn {
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.15s;
}
.navbar-btn:hover {
    background: var(--card-hover);
    border-color: var(--header);
    color: var(--header);
}
.navbar-btn-danger:hover {
    border-color: var(--bad);
    color: var(--bad);
}

body.theme-acik .user-navbar { background: #ffffff; }
body.theme-acik .navbar-btn {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1a2332;
}

/* Topbar gizle panel'de (navbar zaten var) */
body.has-navbar .topbar { display: none; }

/* ============ ADMIN PANEL ============ */
.admin-title {
    color: var(--header);
    font-size: 26px;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.admin-stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.admin-stat-icon { font-size: 28px; margin-bottom: 8px; }
.admin-stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--header);
    font-family: "Consolas", monospace;
    line-height: 1;
    margin-bottom: 4px;
}
.admin-stat-label {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.admin-table-wrap {
    overflow-x: auto;
    margin-top: 12px;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    white-space: nowrap;
}
.admin-table th {
    padding: 10px 12px;
    text-align: left;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
    font-weight: 700;
}
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-email { font-family: "Consolas", monospace; font-size: 12px; }
.admin-date { font-family: "Consolas", monospace; font-size: 12px; color: var(--muted); }
.admin-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    margin-right: 4px;
}
.admin-btn-vip {
    background: linear-gradient(135deg, #ffc800, #ffa500);
    color: #1a2332;
}
.admin-btn-vip:hover { transform: translateY(-1px); }
.admin-btn-free {
    background: rgba(139, 148, 158, 0.3);
    color: var(--text);
}
.admin-btn-free:hover { background: rgba(139, 148, 158, 0.5); }
.admin-btn-del {
    background: rgba(248, 81, 73, 0.15);
    color: var(--bad);
    border: 1px solid rgba(248, 81, 73, 0.3);
}
.admin-btn-del:hover { background: var(--bad); color: white; }

body.theme-acik .admin-stat { background: #ffffff; }
body.theme-acik .admin-table td { color: #1a2332; }

/* ============ LANDING ============ */
body.landing-page {
    background: linear-gradient(135deg, #0a0f14 0%, #0f1419 50%, #1a2332 100%);
    min-height: 100vh;
    padding: 0;
}

.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}
.landing-nav-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--header);
    letter-spacing: -0.5px;
}
.landing-nav-links { display: flex; gap: 16px; align-items: center; }
.landing-nav-login {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.landing-nav-login:hover { color: var(--header); }
.landing-nav-cta {
    padding: 10px 20px;
    background: var(--header);
    color: #0f1419;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.15s;
}
.landing-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,212,170,0.3); }

.hero {
    max-width: 1000px;
    margin: 60px auto 100px;
    padding: 0 20px;
    text-align: center;
}
.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.hero-accent { color: var(--header); }
.hero-subtitle {
    font-size: 18px;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-subtitle strong { color: var(--header); }
.hero-buttons { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; flex-wrap: wrap; }
.hero-btn { padding: 16px 32px; font-size: 16px; }
.hero-btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
}
.hero-btn-outline:hover { border-color: var(--header); color: var(--header); }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}
.hero-stats > div {
    text-align: center;
    padding: 16px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.hero-stats strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--header);
    font-family: "Consolas", monospace;
    letter-spacing: -1px;
}
.hero-stats span {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.features, .how {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 40px;
}
.features-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -1px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.feature {
    padding: 28px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform 0.2s, border-color 0.2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--header); }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature h3 { font-size: 17px; color: var(--header); margin-bottom: 10px; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.step {
    text-align: center;
    padding: 32px 24px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: 16px;
}
.step-num {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    background: var(--header);
    color: #0f1419;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}
.step h3 { font-size: 17px; color: var(--text); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

.landing-cta {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(0,212,170,0.08), rgba(88,166,255,0.05));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.landing-cta h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.landing-cta p { font-size: 16px; color: var(--muted); margin-bottom: 32px; }

.landing-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--header); }
.footer-bottom { text-align: center; }

@media (max-width: 700px) {
    .hero-title { font-size: 32px; letter-spacing: -1px; }
    .hero-subtitle { font-size: 15px; }
    .features, .how { padding: 0 20px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .landing-nav { padding: 16px 20px; }
    .landing-nav-logo { font-size: 18px; }
}

/* Admin VIP süre dropdown */
.admin-sure-select {
    padding: 5px 8px;
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    margin-right: 4px;
}
.admin-sure-select:focus { border-color: var(--accent); outline: none; }

.admin-action-form { display: inline-block; margin-right: 6px; }

/* Navbar tema seçici */
.navbar-theme {
    padding: 3px 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    gap: 4px;
}
.navbar-theme .theme-btn {
    width: 16px;
    height: 16px;
}
.navbar-theme .theme-label { font-size: 12px; margin-right: 2px; }

body.theme-acik .admin-sure-select { background: #f8fafc; color: #1a2332; border-color: #cbd5e1; }
body.theme-acik .navbar-theme { background: #f0f4f8; }

/* ============================================
   MOBIL (max 900px): Navbar + Fixtures + Input Grid
   ============================================ */
@media (max-width: 900px) {
    /* Navbar */
    .user-navbar { flex-wrap: wrap; gap: 8px; }
    .navbar-right { flex-wrap: wrap; }
    .navbar-theme .theme-btn { width: 14px; height: 14px; }

    /* Fixtures: oranlar gizlensin */
    .match-odds,
    .match-odds *,
    .odds-group,
    .odds-group * { display: none !important; }

    /* Mac satiri duzeni */
    .match-row { gap: 12px; padding: 14px 16px; align-items: center; }
    .match-time { min-width: 52px; font-size: 15px; font-weight: 700; }
    .match-teams { flex: 1; font-size: 15px; font-weight: 600; line-height: 1.3; }
    .match-teams .team-sep { margin: 0 8px; }
    .fixtures-body { max-height: 500px; }

    /* Input grid: 3'lu siralar */
    .inputs-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 10px !important;
    }
    .input-cluster {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)) !important;
        gap: 6px !important;
        padding: 8px 10px !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border) !important;
        width: 100% !important;
    }
    .input-group { width: 100% !important; min-width: 0 !important; }
    .input-group label { font-size: 8px !important; letter-spacing: 0.2px !important; }
    .input-group .odd-input {
    padding: 6px 2px !important;
    font-size: 12px !important;
    min-height: 32px !important;
}

    /* Kontroller */
    .controls { flex-direction: column !important; gap: 8px !important; }
    .control, .control select { width: 100% !important; }
}

/* Admin: Cache yenile butonu */
.admin-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.admin-btn-refresh {
    padding: 12px 24px;
    background: linear-gradient(135deg, #00d4aa, #00a882);
    color: #0f1419;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}
.admin-btn-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.3);
}
.admin-btn-refresh:active { transform: translateY(0); }

.admin-notification {
    padding: 14px 20px;
    background: rgba(63, 185, 80, 0.15);
    border: 1px solid rgba(63, 185, 80, 0.4);
    border-radius: 8px;
    color: var(--good);
    font-weight: 600;
    margin-bottom: 20px;
}

@media (max-width: 700px) {
    .admin-actions { flex-direction: column; }
    .admin-btn-refresh { width: 100%; }
}

/* ============================================
   18+ UYARI POPUP
   ============================================ */
.age-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.age-modal-content {
    background: #1a2332;
    border: 2px solid #00d4aa;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    animation: ageModalIn 0.3s ease-out;
}

@keyframes ageModalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.age-modal-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.age-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #00d4aa;
    margin-bottom: 16px;
}

.age-modal-text {
    font-size: 15px;
    color: #e6edf3;
    line-height: 1.6;
    margin-bottom: 20px;
}

.age-modal-warning {
    background: rgba(248, 81, 73, 0.12);
    border: 1px solid rgba(248, 81, 73, 0.4);
    border-radius: 10px;
    padding: 14px 18px;
    color: #ff7a7a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 20px;
}

.age-modal-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    text-align: left;
    font-size: 13px;
    color: #e6edf3;
}

.age-modal-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #00d4aa;
    flex-shrink: 0;
}

.age-modal-buttons {
    display: flex;
    gap: 12px;
}

.age-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    transition: all 0.15s;
    border: none;
}

.age-btn-accept {
    background: #00d4aa;
    color: #0f1419;
}
.age-btn-accept:hover:not(:disabled) {
    background: #00e8bc;
    transform: translateY(-1px);
}
.age-btn-accept:disabled {
    background: #30363d;
    color: #7d8590;
    cursor: not-allowed;
    opacity: 0.6;
}

.age-btn-exit {
    background: transparent;
    color: #7d8590;
    border: 2px solid #30363d;
}
.age-btn-exit:hover {
    border-color: #f85149;
    color: #f85149;
}

/* Açık tema */
body.theme-acik .age-modal-content {
    background: #ffffff;
    border-color: #00876a;
}
body.theme-acik .age-modal-title { color: #00876a; }
body.theme-acik .age-modal-text { color: #1a2332; }
body.theme-acik .age-modal-check {
    background: #f8fafc;
    color: #1a2332;
}

/* Mobil */
@media (max-width: 700px) {
    .age-modal-content { padding: 32px 24px; }
    .age-modal-icon { font-size: 44px; }
    .age-modal-title { font-size: 20px; }
    .age-modal-text { font-size: 14px; }
    .age-modal-buttons { flex-direction: column; }
}

/* ============================================
   CEREZ POPUP
   ============================================ */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a2332;
    border-top: 2px solid #00d4aa;
    padding: 16px 24px;
    z-index: 99998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-bar.cookie-show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    color: #e6edf3;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-link {
    color: #00d4aa;
    text-decoration: underline;
    margin-left: 4px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #00d4aa;
    color: #0f1419;
}
.cookie-btn-accept:hover {
    background: #00e8bc;
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    color: #7d8590;
    border: 2px solid #30363d;
}
.cookie-btn-reject:hover {
    border-color: #f85149;
    color: #f85149;
}

/* Açık tema */
body.theme-acik .cookie-bar {
    background: #ffffff;
    border-top-color: #00876a;
}
body.theme-acik .cookie-text { color: #1a2332; }
body.theme-acik .cookie-link { color: #00876a; }

/* Mobil */
@media (max-width: 700px) {
    .cookie-bar { padding: 14px 16px; }
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .cookie-icon { font-size: 22px; }
    .cookie-text { font-size: 12px; }
    .cookie-buttons {
        width: 100%;
        flex-direction: row-reverse;
    }
    .cookie-btn {
        flex: 1;
        padding: 12px 14px;
    }
}

/* ============================================
   YASAL SAYFALAR
   ============================================ */
body.legal-page {
    background: #0f1419;
    min-height: 100vh;
    padding: 0;
}

.legal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #0b0f14;
    border-bottom: 1px solid #30363d;
}
.legal-nav-logo {
    font-size: 22px;
    font-weight: 700;
    color: #00d4aa;
    text-decoration: none;
}
.legal-nav-back {
    color: #e6edf3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.legal-nav-back:hover { color: #00d4aa; }

.legal-container {
    max-width: 820px;
    margin: 40px auto;
    padding: 40px;
    background: #1a2332;
    border-radius: 16px;
    border: 1px solid #30363d;
}

.legal-title {
    font-size: 32px;
    font-weight: 800;
    color: #00d4aa;
    margin-bottom: 32px;
    letter-spacing: -1px;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #00d4aa;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #30363d;
}

.legal-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #e6edf3;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p {
    font-size: 15px;
    color: #e6edf3;
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 18px;
}
.legal-content li {
    font-size: 15px;
    color: #e6edf3;
    line-height: 1.8;
    margin-bottom: 8px;
}
.legal-content strong { color: #00d4aa; }
.legal-content a { color: #58a6ff; }

.legal-warning {
    background: rgba(248, 81, 73, 0.12);
    border: 1px solid rgba(248, 81, 73, 0.4);
    border-radius: 10px;
    padding: 16px 20px;
    color: #ff7a7a;
    font-size: 14px;
    line-height: 1.6;
    margin: 24px 0;
    font-weight: 600;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}
.legal-table th, .legal-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #30363d;
    color: #e6edf3;
}
.legal-table th {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
    font-weight: 700;
}

.contact-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 16px;
    border-left: 3px solid #00d4aa;
}
.contact-box h3 {
    color: #00d4aa;
    margin-top: 0;
    margin-bottom: 8px;
}
.contact-box a { color: #58a6ff; text-decoration: none; }
.contact-box a:hover { text-decoration: underline; }
.muted { color: #7d8590; font-size: 13px; }

.legal-date {
    text-align: center;
    color: #7d8590;
    font-size: 13px;
    margin-top: 40px;
}

.legal-footer {
    max-width: 820px;
    margin: 0 auto 60px;
    padding: 0 40px;
    text-align: center;
}
.legal-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.legal-footer-links a {
    color: #7d8590;
    text-decoration: none;
    font-size: 13px;
}
.legal-footer-links a:hover { color: #00d4aa; }
.legal-footer-copy {
    color: #7d8590;
    font-size: 12px;
}

/* Mobil */
@media (max-width: 700px) {
    .legal-nav { padding: 16px 20px; }
    .legal-nav-logo { font-size: 18px; }
    .legal-container { padding: 24px 20px; margin: 20px 16px; }
    .legal-title { font-size: 24px; }
    .legal-content h2 { font-size: 17px; }
    .legal-content p, .legal-content li { font-size: 14px; }
    .legal-footer { padding: 0 20px; }
    .legal-footer-links { gap: 12px; }
    .legal-table { font-size: 12px; }
    .legal-table th, .legal-table td { padding: 8px; }
}

/* ============================================
   SOSYAL MEDYA BUTONLARI
   ============================================ */
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    justify-content: flex-end;
}

@media (max-width: 700px) {
    .footer-social { justify-content: center; margin-top: 20px; }
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    filter: brightness(1.15);
}

/* Her platformun kendi rengi */
.social-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-x         { background: #000000; border: 1px solid #333; }
.social-telegram  { background: #0088cc; }
.social-youtube   { background: #ff0000; }
.social-discord   { background: #5865f2; }
.social-facebook  { background: #1877f2; }
.social-tiktok    { background: #000000; }
.social-whatsapp  { background: #25d366; }

.social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #dc2743; }
.social-x:hover { background: #000; border-color: #fff; }
.social-telegram:hover { background: #0088cc; border-color: #0088cc; }
.social-youtube:hover { background: #ff0000; border-color: #ff0000; }
.social-discord:hover { background: #5865f2; border-color: #5865f2; }
.social-facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-tiktok:hover { background: #000; border-color: #fe2c55; }
.social-whatsapp:hover { background: #25d366; border-color: #25d366; }

/* Admin sosyal medya formu */
.sosyal-form { width: 100%; }
.sosyal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.sosyal-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sosyal-item label {
    font-size: 13px;
    font-weight: 600;
    color: #e6edf3;
}
.sosyal-item input {
    padding: 10px 14px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    color: #e6edf3;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border 0.15s;
}
.sosyal-item input:focus { border-color: #00d4aa; }
.sosyal-item input::placeholder { color: #7d8590; opacity: 0.6; }

@media (max-width: 700px) {
    .sosyal-grid { grid-template-columns: 1fr; }
}

/* ============================================
   İLETİŞİM FORMU
   ============================================ */
.contact-intro {
    font-size: 15px;
    color: #e6edf3;
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: center;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-box {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid #30363d;
}

.contact-info-icon { font-size: 28px; margin-bottom: 8px; }
.contact-info-label {
    font-size: 11px;
    color: #7d8590;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}
.contact-info-value {
    font-size: 14px;
    color: #00d4aa;
    font-weight: 600;
    word-break: break-all;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 700px) {
    .contact-row { grid-template-columns: 1fr; }
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-field label {
    font-size: 13px;
    color: #e6edf3;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-char {
    font-size: 11px;
    color: #7d8590;
    font-weight: 400;
    font-family: "Consolas", monospace;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    padding: 12px 14px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    color: #e6edf3;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border 0.15s;
    width: 100%;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #00d4aa;
}

.contact-field textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #7d8590;
    opacity: 0.6;
}

/* Honeypot - bot koruma */
.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.contact-warning {
    padding: 14px 18px;
    background: rgba(248, 81, 73, 0.08);
    border: 1px solid rgba(248, 81, 73, 0.3);
    border-radius: 8px;
    color: #ff7a7a;
    font-size: 13px;
    line-height: 1.6;
}

.contact-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.contact-actions .btn {
    padding: 12px 24px;
}

/* Başarı ekranı */
.contact-success {
    text-align: center;
    padding: 40px 20px;
}

.contact-success-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounceIn 0.5s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.contact-success h2 {
    color: #00d4aa;
    font-size: 24px;
    margin-bottom: 12px;
}

.contact-success p {
    color: #e6edf3;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
}

/* Açık tema */
body.theme-acik .contact-info-box {
    background: #f8fafc;
    border-color: #e2e8f0;
}
body.theme-acik .contact-intro { color: #1a2332; }
body.theme-acik .contact-field label { color: #1a2332; }
body.theme-acik .contact-field input,
body.theme-acik .contact-field select,
body.theme-acik .contact-field textarea {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1a2332;
}
body.theme-acik .contact-success p { color: #1a2332; }

/* Mobil */
@media (max-width: 700px) {
    .contact-actions {
        flex-direction: column-reverse;
    }
    .contact-actions .btn {
        width: 100%;
        text-align: center;
    }
    .contact-info-icon { font-size: 24px; }
}

/* ============================================
   OTOMATIK GOREVLER (ADMIN)
   ============================================ */
.oto-gorev-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.oto-saat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #30363d;
    border-radius: 8px;
    font-size: 13px;
    color: #e6edf3;
}

.oto-saat-badge {
    background: #00d4aa;
    color: #0f1419;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    font-family: "Consolas", monospace;
    flex-shrink: 0;
}

.oto-tablo {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #30363d;
}

.oto-satir {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 0.8fr 0.5fr;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    font-size: 13px;
    color: #e6edf3;
    align-items: center;
}

.oto-satir:last-child {
    border-bottom: none;
}

.oto-baslik {
    background: rgba(0, 212, 170, 0.08);
    font-weight: 700;
    color: #00d4aa;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oto-durum {
    font-size: 16px;
    text-align: center;
}

.oto-ok { color: #3fb950; }
.oto-hata { color: #d29922; }

.mono {
    font-family: "Consolas", monospace;
    font-size: 12px;
    color: #7d8590;
}

@media (max-width: 700px) {
    .oto-satir {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px;
    }
    .oto-baslik { display: none; }
}

/* ============================================
   YEDEKLEME
   ============================================ */
.yedek-aksiyonlar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.yedek-tablo {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #30363d;
}

.yedek-satir {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.2fr 1.5fr;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    font-size: 13px;
    color: #e6edf3;
    align-items: center;
}

.yedek-satir:last-child { border-bottom: none; }

.yedek-baslik {
    background: rgba(0, 212, 170, 0.08);
    font-weight: 700;
    color: #00d4aa;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yedek-btn {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.15s;
    margin-right: 4px;
    border: none;
    line-height: 1.4;
}

.yedek-btn-indir {
    background: rgba(88, 166, 255, 0.15);
    color: #58a6ff;
    border: 1px solid rgba(88, 166, 255, 0.3);
}
.yedek-btn-indir:hover { background: #58a6ff; color: #0f1419; }

.yedek-btn-sil {
    background: rgba(248, 81, 73, 0.15);
    color: #f85149;
    border: 1px solid rgba(248, 81, 73, 0.3);
}
.yedek-btn-sil:hover { background: #f85149; color: white; }

@media (max-width: 700px) {
    .yedek-aksiyonlar { flex-direction: column; }
    .yedek-aksiyonlar button { width: 100%; }
    .yedek-satir { grid-template-columns: 1fr; gap: 4px; padding: 12px; }
    .yedek-baslik { display: none; }
}


/* ============================================
   KILAVUZ SAYFASI
   ============================================ */
.kilavuz-intro {
    font-size: 16px;
    color: #7d8590;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.kilavuz-icerik {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.kilavuz-card {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 32px 28px 28px;
}

.kilavuz-num {
    position: absolute;
    top: -18px;
    left: 24px;
    width: 40px;
    height: 40px;
    background: #00d4aa;
    color: #0f1419;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

.kilavuz-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #00d4aa;
    margin-top: 8px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #30363d;
}

.kilavuz-card h3 {
    font-size: 16px;
    color: #e6edf3;
    margin-top: 20px;
    margin-bottom: 10px;
}

.kilavuz-card p {
    font-size: 15px;
    color: #e6edf3;
    line-height: 1.8;
    margin-bottom: 14px;
}

.kilavuz-card ul, .kilavuz-card ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.kilavuz-card li {
    font-size: 15px;
    color: #e6edf3;
    line-height: 1.8;
    margin-bottom: 8px;
}

.kilavuz-card strong { color: #00d4aa; }

.kilavuz-tip {
    background: rgba(88, 166, 255, 0.08);
    border-left: 3px solid #58a6ff;
    border-radius: 6px;
    padding: 14px 18px;
    margin: 16px 0;
    color: #e6edf3;
    font-size: 14px;
    line-height: 1.7;
}

.kilavuz-tip strong { color: #58a6ff; }

.kilavuz-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.kilavuz-table th {
    background: rgba(0, 212, 170, 0.08);
    color: #00d4aa;
    padding: 10px 12px;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #30363d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kilavuz-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #30363d;
    color: #e6edf3;
}

.kilavuz-card-final {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(88, 166, 255, 0.05));
    border-color: rgba(0, 212, 170, 0.3);
}

.kilavuz-uyari {
    background: rgba(248, 81, 73, 0.1);
    border: 1px solid rgba(248, 81, 73, 0.35);
    border-radius: 12px;
    padding: 20px 24px;
    color: #ff7a7a;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 8px;
}

.kilavuz-uyari strong { color: #ff7a7a; font-weight: 800; }

/* Mobil */
@media (max-width: 700px) {
    .kilavuz-card { padding: 28px 20px 20px; }
    .kilavuz-num { left: 16px; }
    .kilavuz-card h2 { font-size: 17px; }
    .kilavuz-card p, .kilavuz-card li { font-size: 14px; }
    .kilavuz-table { font-size: 12px; }
    .kilavuz-table th, .kilavuz-table td { padding: 8px; }
}


/* ============================================
   KILAVUZ GORSELLERI
   ============================================ */
.kilavuz-gorsel {
    margin: 20px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #30363d;
}

.kilavuz-gorsel img {
    max-width: 100%;
    max-height: 650px;
    height: auto;
    border-radius: 8px;
    border: 1px solid #30363d;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.kilavuz-gorsel-caption {
    font-size: 12px;
    color: #7d8590;
    margin-top: 12px;
    font-style: italic;
}

/* Resim yüklenemezse placeholder gorunur */
.kilavuz-gorsel img:not([src]) {
    min-height: 200px;
    background: #1a2332;
}

@media (max-width: 700px) {
    .kilavuz-gorsel { padding: 10px; margin: 14px 0; }
    .kilavuz-gorsel-caption { font-size: 11px; }
}


/* ============================================
   TAKIM ALIAS
   ============================================ */
.alias-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.alias-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.alias-field label {
    font-size: 12px;
    color: #7d8590;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.alias-field input {
    padding: 10px 12px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    color: #e6edf3;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border 0.15s;
}

.alias-field input:focus { border-color: #00d4aa; }

.alias-sonuc-liste {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.alias-sonuc-btn {
    padding: 8px 14px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.4);
    border-radius: 6px;
    color: #00d4aa;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}

.alias-sonuc-btn:hover {
    background: #00d4aa;
    color: #0f1419;
}

.alias-tablo {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #30363d;
}

.alias-satir {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    font-size: 13px;
    align-items: center;
}

.alias-satir:last-child { border-bottom: none; }

@media (max-width: 700px) {
    .alias-form { grid-template-columns: 1fr; }
    .alias-satir { grid-template-columns: 1fr; gap: 6px; }
}


/* ============================================
   TABLO MODU
   ============================================ */
.tablo-wrap {
    overflow-x: auto;
    margin-top: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
}

.tablo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    white-space: nowrap;
}

.tablo-table th {
    padding: 10px 12px;
    text-align: left;
    background: rgba(0, 212, 170, 0.08);
    color: #00d4aa;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 2;
}

.tablo-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    font-family: "Consolas", monospace;
    font-size: 13px;
    color: var(--text);
}

.tablo-table .tt-mac {
    font-family: inherit;
    font-weight: 500;
    color: var(--text);
}

.tablo-table .tt-tarih { color: var(--accent); font-weight: 600; }
.tablo-table .tt-skor { color: var(--header); font-weight: 700; }
.tablo-table .tt-iy { color: var(--muted); font-weight: 600; }
.tablo-table .tt-odd { text-align: center; }

.tablo-table tr:hover { background: rgba(255, 255, 255, 0.03); }
.tablo-table tr:last-child td { border-bottom: none; }

body.theme-acik .tablo-wrap { background: #f8fafc; }
body.theme-acik .tablo-table th { background: rgba(0, 135, 106, 0.08); color: #00876a; }
body.theme-acik .tablo-table td { color: #1a2332; }
body.theme-acik .tablo-table .tt-mac { color: #1a2332; }
body.theme-acik .tablo-table tr:hover { background: #f0f4f8; }

@media (max-width: 700px) {
    .tablo-table { font-size: 11px; }
    .tablo-table th, .tablo-table td { padding: 6px 8px; }
}


/* ============================================
   ADMIN TAB MENU
   ============================================ */
.admin-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow-x: auto;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    white-space: nowrap;
}

.admin-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.admin-tab.active {
    background: #00d4aa;
    color: #0f1419;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

body.theme-acik .admin-tabs { background: #f1f5f9; }
body.theme-acik .admin-tab:hover { background: #e2e8f0; }
body.theme-acik .admin-tab.active { background: #00876a; color: white; }

@media (max-width: 700px) {
    .admin-tabs { gap: 4px; padding: 4px; }
    .admin-tab { padding: 8px 12px; font-size: 11px; }
}

/* ============================================
   AI YORUM KARTI
   ============================================ */
.ai-yorum-card {
    border-left: 4px solid #a855f7;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.06), transparent);
}

.ai-yorum-card h3 {
    color: #a855f7;
}

.ai-yorum-icerik p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 12px;
}

.ai-yorum-icerik p:last-child {
    margin-bottom: 0;
}

.ai-tahmin {
    margin-top: 16px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(0, 212, 170, 0.08));
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #c084fc;
    text-align: center;
}

body.theme-acik .ai-yorum-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.04), transparent);
}
body.theme-acik .ai-yorum-card h3 { color: #9333ea; }
body.theme-acik .ai-yorum-icerik p { color: #1a2332; }
body.theme-acik .ai-tahmin {
    color: #7c3aed;
    border-color: rgba(147, 51, 234, 0.3);
}


/* ============================================
   YORUMLAR SAYFASI
   ============================================ */
.yorum-listesi {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.yorum-item {
    display: grid;
    grid-template-columns: 140px 1fr 40px;
    gap: 16px;
    align-items: center;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.15s;
}
.yorum-item:hover {
    background: rgba(168, 85, 247, 0.08);
    border-color: #a855f7;
    transform: translateX(4px);
}
.yorum-item-lig {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}
.yorum-item-mac {
    font-size: 15px;
    font-weight: 600;
}
.yorum-item-mac .team-sep {
    color: var(--muted);
    margin: 0 6px;
}
.yorum-item-ok {
    text-align: right;
    font-size: 18px;
}
.yorum-item-kilitli {
    opacity: 0.75;
}
.yorum-item-kilitli:hover {
    opacity: 1;
}

/* Detay sayfasi */
.yorum-detay-header {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 20px;
}
.yorum-detay-lig {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.yorum-detay-mac {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
    margin-bottom: 8px;
}
.yorum-detay-tarih {
    color: var(--muted);
    font-size: 14px;
}
.oran-satir {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.oran-kutu {
    flex: 1;
    min-width: 80px;
    padding: 12px 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
}
.oran-kutu span {
    display: block;
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 4px;
}
.oran-kutu strong {
    display: block;
    font-size: 18px;
    color: var(--header);
    font-family: "Consolas", monospace;
}
.yorum-footer {
    text-align: right;
    margin-top: 12px;
}
.yorum-uyari {
    margin-top: 20px;
    padding: 14px 18px;
    background: rgba(248, 81, 73, 0.08);
    border: 1px solid rgba(248, 81, 73, 0.3);
    border-radius: 8px;
    color: #ff7a7a;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 700px) {
    .yorum-item {
        grid-template-columns: 1fr 30px;
        gap: 8px;
        padding: 12px 14px;
    }
    .yorum-item-lig { grid-column: 1 / -1; }
    .yorum-item-mac { font-size: 14px; }
    .yorum-detay-mac { font-size: 22px; }
    .yorum-detay-header { padding: 20px 12px; }
}

/* ============================================
   3'LÜ TAHMİN KUTULARI (Özgün Tasarım)
   ============================================ */
.ai-analiz-kutular {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}
.analiz-kutu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-left: 4px solid transparent;
}
.kutu-baslik {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}
.kutu-icerik {
    display: flex;
    align-items: center;
    gap: 20px;
}
.tahmin-metin {
    font-size: 20px;
    font-weight: 800;
    font-family: "Consolas", monospace;
}
.tahmin-yuzde {
    font-size: 16px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    font-family: "Consolas", monospace;
}

/* 1. En İyi (Yeşil) */
.kutu-en-iyi { border-left-color: #3fb950; }
.kutu-en-iyi .tahmin-metin { color: #3fb950; }
.kutu-en-iyi .tahmin-yuzde { background: rgba(63, 185, 80, 0.15); color: #3fb950; border: 1px solid rgba(63, 185, 80, 0.3); }

/* 2. İyi (Mavi) */
.kutu-iyi { border-left-color: #58a6ff; }
.kutu-iyi .tahmin-metin { color: #58a6ff; }
.kutu-iyi .tahmin-yuzde { background: rgba(88, 166, 255, 0.15); color: #58a6ff; border: 1px solid rgba(88, 166, 255, 0.3); }

/* 3. Riskli (Mor) */
.kutu-riskli { border-left-color: #a855f7; }
.kutu-riskli .tahmin-metin { color: #a855f7; }
.kutu-riskli .tahmin-yuzde { background: rgba(168, 85, 247, 0.15); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }

/* Mobilde 3'lü kutuların düzgün durması için (REVIZE) */
@media (max-width: 700px) {
.ai-analiz-kutular {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Boşluk 12'den 8'e düştü */
    margin-top: 15px;
}
.analiz-kutu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px; /* Yükseklik azaltıldı */
    border-radius: 8px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
}
.kutu-baslik {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}
.tahmin-metin {
    font-size: 18px; /* 20'den 18'e düştü */
    font-weight: 800;
}
.tahmin-yuzde {
    font-size: 14px; /* 16'dan 14'e düştü */
    padding: 3px 8px;
}

} 

/* MİNİK ORANLAR BARI  */
.mini-odds-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #7d8590;
    border: 1px solid var(--border);
}
.mini-odds-bar b {
    color: #00d4aa;
    font-family: "Consolas", monospace;
    font-size: 14px;
    margin-left: 3px;
}
.mini-odds-bar .sep {
    color: #30363d;
}

/* ============================================
   ARAMA YÜKLENİYOR ANİMASYONU
   ============================================ */
.loading-anim {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 20px;
}

.loading-ball {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-ball::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--header);
    border-right-color: var(--header);
    animation: spinRing 1.2s linear infinite;
}

.loading-ball::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.15), transparent 70%);
    animation: pulseRing 1.5s ease-out infinite;
}

.loading-ball-emoji {
    font-size: 40px;
    animation: bounceBall 0.9s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 12px rgba(0,212,170,0.5));
    z-index: 2;
}

.loading-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--header);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.loading-dots {
    display: inline-flex;
    gap: 2px;
}

.loading-dots span {
    display: inline-block;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

.loading-subtext {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    margin-top: -8px;
}

@keyframes spinRing {
    to { transform: rotate(360deg); }
}

@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes bounceBall {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

@keyframes dotBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* Açık tema override */
body.theme-acik .loading-ball::before {
    border-top-color: #00876a;
    border-right-color: #00876a;
}
body.theme-acik .loading-text { color: #00876a; }
body.theme-acik .loading-ball-emoji { filter: drop-shadow(0 0 12px rgba(0,135,106,0.5)); }