/* ============================================================
   TEMA 6 — GTA 6 Teması | components.css (v2.0 — Aydınlık)
   Hile tabloları, single yazı, sayfalar, yorumlar, footer,
   404 WASTED, yukarı çık butonu
   ============================================================ */

/* ---------- Hile Tablosu ---------- */
.cheat-table-wrap {
        background: #fff; border: 1px solid var(--line);
        border-radius: var(--radius-lg); padding: 20px 20px 6px;
        margin: 1.6em 0; box-shadow: 0 2px 10px rgba(22, 24, 29, 0.05);
}
.cheat-table-title {
        font-size: 18px; font-weight: 800; letter-spacing: -0.2px;
        margin: 0 0 14px; padding-left: 12px; position: relative;
}
.cheat-table-title::before {
        content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 4px;
        border-radius: 4px; background: var(--grad);
}

.cheat-tools {
        display: flex; align-items: center; justify-content: space-between;
        gap: 14px; margin-bottom: 14px; flex-wrap: wrap;
}
.cheat-search {
        display: flex; align-items: center; gap: 10px; flex: 1; min-width: 220px;
        background: var(--soft); border: 1px solid var(--line);
        border-radius: 10px; padding: 0 14px;
}
.cheat-search svg { width: 16px; height: 16px; color: var(--faint); flex-shrink: 0; }
.cheat-search svg circle, .cheat-search svg path { stroke: currentColor; fill: none; }
.cheat-filter {
        flex: 1; border: 0; background: transparent; color: var(--ink);
        padding: 11px 0; font-size: 14.5px; outline: none;
}
.cheat-count {
        font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
        color: var(--c-cheat); background: rgba(0, 166, 126, 0.1);
        padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}

.cheat-scroll { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }

.cheat-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.cheat-table thead th {
        text-align: left; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
        color: var(--faint); padding: 10px 12px; border-bottom: 2px solid var(--line);
}
.cheat-table tbody tr { border-bottom: 1px solid var(--line); transition: background 0.15s ease; }
.cheat-table tbody tr:last-child { border-bottom: 0; }
.cheat-table tbody tr:hover { background: var(--soft); }
.cheat-table tbody tr:nth-child(even) { background: #fbfbfd; }
.cheat-table tbody tr:hover { background: #fff0f4; }

.cheat-table .cheat-code { padding: 11px 12px; white-space: nowrap; }
.cheat-table .cheat-code code {
        font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace;
        font-size: 14px; font-weight: 700;
        color: var(--accent-dark); background: #fff0f4;
        padding: 4px 10px; border-radius: 8px; border: 1px solid #ffd3e2;
}
.cheat-table .cheat-effect { padding: 11px 12px; font-size: 14px; color: var(--ink); }
.cheat-table .cheat-note { padding: 11px 12px; font-size: 13px; color: var(--muted); }

.cheat-copy {
        margin-left: 8px; width: 28px; height: 28px;
        display: inline-flex; align-items: center; justify-content: center;
        background: #fff; border: 1px solid var(--line);
        border-radius: 8px; color: var(--muted); cursor: pointer;
        vertical-align: middle; transition: all 0.16s ease; position: relative;
}
.cheat-copy:hover { border-color: var(--accent); color: var(--accent); background: #fff0f4; }
.cheat-copy .ico-check { display: none; color: var(--c-cheat); }
.cheat-copy.copied { border-color: var(--c-cheat); background: rgba(0, 166, 126, 0.1); }
.cheat-copy.copied .ico-copy { display: none; }
.cheat-copy.copied .ico-check { display: inline-flex; }
.cheat-copy svg { width: 14px; height: 14px; }
.cheat-copy .ico-copy svg *, .cheat-copy .ico-check svg * { stroke: currentColor; fill: none; }

/* ---------- Single yazı ---------- */
.article-container { max-width: 820px; margin: 0 auto; padding: 10px 16px 0; }

.article-badge {
        display: inline-block; color: #fff; padding: 5px 14px; border-radius: 4px;
        font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
        margin-bottom: 18px; text-decoration: none; background: #5b6072;
}
.article-badge:hover { opacity: 0.88; color: #fff; text-decoration: none; }
.article-badge.badge-haberler { background: var(--c-news); }
.article-badge.badge-hile-kodlari { background: var(--c-cheat); }
.article-badge.badge-gta-6-hileleri { background: var(--grad); }
.article-badge.badge-gta-5-hileleri { background: var(--c-gta5); }
.article-badge.badge-gta-vice-city-hileleri { background: var(--c-vice); }
.article-badge.badge-gta-san-andreas-hileleri { background: var(--c-sa); }
.article-badge.badge-gta-4-hileleri { background: var(--c-gta4); }
.article-badge.badge-gta-3-hileleri { background: var(--c-gta3); }
.article-badge.badge-pc-hileleri { background: var(--c-pc); }
.article-badge.badge-xbox-hileleri { background: var(--c-xbox); }
.article-badge.badge-ps5-hileleri { background: var(--c-ps5); }

.article-title {
        font-size: 40px; font-weight: 800; line-height: 1.18; margin-bottom: 20px;
        color: var(--ink); letter-spacing: -0.6px;
}

.article-standfirst { font-size: 18px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }

.article-meta {
        display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
        font-size: 14px; color: var(--muted);
        margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
}

.article-author { display: flex; align-items: center; gap: 8px; }

.author-avatar {
        width: 34px; height: 34px; border-radius: 50%;
        background: var(--grad); display: flex; align-items: center; justify-content: center;
        color: #fff; font-weight: 700; font-size: 12px; letter-spacing: 0.5px; flex-shrink: 0;
        overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-name { font-weight: 700; color: var(--ink); }
.author-name a { color: var(--ink); }
.author-name a:hover { color: var(--accent); text-decoration: none; }

.article-date, .read-time { display: flex; align-items: center; gap: 6px; }
.article-date svg, .read-time svg { width: 15px; height: 15px; flex-shrink: 0; }
.article-date svg *, .read-time svg * { stroke: var(--faint); fill: none; }

/* 16:9 büyük kapak */
.article-hero { margin: 0 0 8px; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; display: block; }

.article-caption {
        padding: 12px 16px; font-size: 13px; color: var(--muted);
        background: var(--soft); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        margin-bottom: 20px;
}

/* Paylaş butonları (kapak altı) */
.share-below { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.share-below .share-label {
        font-size: 13px; font-weight: 700; color: var(--muted);
        text-transform: uppercase; letter-spacing: 0.6px; margin-right: 4px;
}

.share-below-btn {
        display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px;
        border-radius: var(--radius); font-size: 14px; font-weight: 600; color: #fff;
        border: 0; cursor: pointer; transition: all 0.2s ease;
}
.share-below-btn:hover { text-decoration: none; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
.share-below-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.share-below-btn svg path { fill: currentColor; }
.share-below-btn svg.strokes path, .share-below-btn svg.strokes rect { fill: none; stroke: currentColor; }

.share-wa { background: #25d366; }
.share-wa:hover { background: #1da851; }
.share-fb { background: #1877f2; }
.share-fb:hover { background: #1465d0; }
.share-x { background: #000; }
.share-x:hover { background: #222; }
.share-tg { background: #229ed9; }
.share-tg:hover { background: #1c88b8; }
.share-cp { background: var(--ink-2); }
.share-cp:hover { background: var(--ink); }
.share-cp.is-done { background: var(--c-cheat); }

/* Makale gövdesi */
.article-body { font-size: 18px; line-height: 1.72; color: #20232b; }

.article-body p { margin-bottom: 22px; }
.article-body p.lead { font-size: 20px; font-weight: 500; color: var(--ink); }

.article-body h2 { font-size: 26px; font-weight: 800; margin: 34px 0 16px; color: var(--ink); letter-spacing: -0.3px; }
.article-body h3 { font-size: 21px; font-weight: 700; margin: 26px 0 12px; color: var(--ink); }
.article-body h4 { font-size: 18px; font-weight: 700; margin: 22px 0 10px; }

.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--accent-dark); }

.article-body blockquote {
        margin: 30px 0; padding: 22px 26px; background: var(--soft);
        border-left: 4px solid var(--accent); font-style: italic; color: var(--ink-2);
        border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body blockquote p:last-child { margin-bottom: 0; }

.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 24px auto; }
.article-body figure { margin: 26px 0; }
.article-body figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }

.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 26px; }
.article-body li { margin-bottom: 8px; }
.article-body ul li::marker { color: var(--accent); }
.article-body ol li::marker { color: var(--accent); font-weight: 700; }

.article-body strong { color: var(--ink); }

.article-body table:not(.cheat-table) {
        width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px;
        border: 1px solid var(--line); overflow: hidden;
}
.article-body table:not(.cheat-table) th, .article-body table:not(.cheat-table) td {
        padding: 12px 16px; border: 1px solid var(--line); text-align: left;
}
.article-body table:not(.cheat-table) th { background: var(--soft); font-weight: 700; color: var(--ink); }
.article-body table:not(.cheat-table) tr:nth-child(even) { background: #fbfbfd; }

.article-body code {
        background: var(--soft); border: 1px solid var(--line); border-radius: 6px;
        padding: 2px 8px; font-size: 15px;
        font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        color: var(--accent-dark); font-weight: 600;
}

.article-body pre {
        background: #14161c; color: #e8eaf2; border-radius: var(--radius);
        padding: 20px; overflow-x: auto; margin: 26px 0; font-size: 14.5px; line-height: 1.6;
}
.article-body pre code { background: none; border: none; color: inherit; padding: 0; font-weight: 400; }

.page-links { margin-top: 1.4em; }

/* Yazı sonu feragat notu */
.article-note {
        margin: 34px 0 0; padding: 14px 18px; background: var(--soft);
        border: 1px solid var(--line); border-radius: var(--radius);
        font-size: 13px; color: var(--muted); line-height: 1.6;
}
.article-note strong { color: var(--ink-2); }

/* Etiketler */
.tags-row { margin-top: 26px; }
.tags-row a {
        display: inline-block; margin: 0 8px 8px 0; padding: 6px 14px;
        background: var(--soft); border: 1px solid var(--line); border-radius: 16px;
        font-size: 12.5px; font-weight: 600; color: var(--ink-2); transition: all 0.2s ease;
}
.tags-row a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* Önceki / Sonraki */
.post-navigation {
        display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
        margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line);
}

.post-nav-item {
        display: flex; flex-direction: column; gap: 8px; padding: 20px 22px;
        background: var(--soft); border: 1px solid var(--line); border-radius: 10px;
        color: var(--ink); transition: all 0.2s ease; min-height: 92px; justify-content: center;
}
.post-nav-item:hover {
        background: #fff; border-color: var(--accent); transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(224, 0, 77, 0.08); text-decoration: none;
}
.post-nav-next { text-align: right; align-items: flex-end; }
.post-nav-disabled { background: transparent; border: 1px dashed var(--line); pointer-events: none; }

.post-nav-direction {
        display: inline-flex; align-items: center; gap: 6px;
        font-size: 12px; font-weight: 700; color: var(--accent);
        text-transform: uppercase; letter-spacing: 0.6px;
}
.post-nav-direction svg { width: 14px; height: 14px; }
.post-nav-direction svg path { stroke: currentColor; fill: none; }

.post-nav-title {
        font-size: 15.5px; font-weight: 700; line-height: 1.4; color: var(--ink);
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-nav-item:hover .post-nav-title { color: var(--accent); }

/* İlgili yazılar */
.related-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.related-title { font-size: 19px; font-weight: 800; margin-bottom: 22px; color: var(--ink); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { display: flex; flex-direction: column; gap: 10px; }

.related-card .card-title {
        font-size: 14.5px; font-weight: 700; line-height: 1.42; color: var(--ink); margin: 0;
        display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.related-card .card-title a { color: inherit; text-decoration: none; }

/* ---------- Sayfalar ---------- */
.page-container { max-width: 820px; margin: 0 auto; padding: 26px 16px 0; }

.page-kicker {
        display: inline-block; color: var(--accent); font-size: 12px; font-weight: 700;
        text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 8px;
}

.page-title { font-size: 36px; font-weight: 800; color: var(--ink); margin-bottom: 22px; line-height: 1.2; letter-spacing: -0.5px; }

.entry-content { font-size: 17px; line-height: 1.75; color: #20232b; }
.entry-content p { margin-bottom: 18px; }
.entry-content h2 { font-size: 26px; font-weight: 800; margin: 30px 0 14px; color: var(--ink); }
.entry-content h3 { font-size: 21px; font-weight: 700; margin: 24px 0 12px; color: var(--ink); }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px; padding-left: 26px; }
.entry-content li { margin-bottom: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.entry-content table th, .entry-content table td { padding: 11px 14px; border: 1px solid var(--line); text-align: left; }
.entry-content table th { background: var(--soft); }
.entry-content img { border-radius: var(--radius); max-width: 100%; height: auto; }

/* Bildirim kutusu (Hakkında / Feragat) */
.disc-box {
        margin: 26px 0 6px; padding: 18px 22px; background: #fff4f7;
        border: 1px solid #ffd3e2; border-left: 4px solid var(--accent);
        border-radius: var(--radius); font-size: 15px; line-height: 1.65; color: var(--ink-2);
}
.disc-box strong { color: var(--ink); }

/* ---------- Yorumlar ---------- */
.comments-area { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.comments-title { font-size: 19px; font-weight: 800; margin-bottom: 18px; color: var(--ink); }

.comment-list { list-style: none; padding: 0; }
.comment-list .comment {
        border: 1px solid var(--line); border-radius: var(--radius);
        padding: 16px 18px; margin-bottom: 14px; background: #fff;
}
.comment-list .children { list-style: none; margin-top: 14px; padding-left: 20px; }
.comment-list .comment-body { margin: 0; }
.comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.comment-list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-list .comment-author img, .comment-list .avatar { width: 32px; height: 32px; border-radius: 50%; }
.comment-list .fn { font-weight: 700; color: var(--ink); font-style: normal; }
.comment-list .comment-metadata { font-size: 12.5px; color: var(--faint); }
.comment-list .comment-metadata a { color: var(--faint); }
.comment-list .comment-metadata a:hover { color: var(--accent); }
.comment-content { font-size: 15px; color: var(--ink-2); }
.comment-content p { margin-bottom: 8px; }
.comment-list .reply a { font-size: 13px; font-weight: 700; color: var(--accent); }
.comment-list .pingback, .comment-list .trackback { font-size: 14px; }

.comments-closed { color: var(--faint); font-size: 14px; }

.comment-respond { margin-top: 22px; }
.comment-reply-title { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.comment-notes { font-size: 13px; color: var(--muted); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 5px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
        width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--radius);
        font-size: 14px; font-family: inherit; background: var(--soft); outline: none; color: var(--ink);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); background: #fff; }
.comment-form .submit {
        background: var(--accent); color: #fff; border: none; border-radius: 22px;
        padding: 11px 26px; font-size: 14px; font-weight: 700; cursor: pointer;
        transition: background 0.2s ease;
}
.comment-form .submit:hover { background: var(--accent-dark); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.comment-form-cookies-consent input { width: auto; margin-top: 4px; }
.comment-form-cookies-consent label { margin: 0; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
        background: var(--soft); border-top: 1px solid var(--line);
        padding: 40px 20px 0; margin-top: 48px; text-align: center;
}

.footer-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; }
.footer-brand .brand-icon { width: 36px; height: 36px; font-size: 14px; }
.footer-brand .brand-text { font-size: 21px; }

.footer-about { max-width: 640px; margin: 0 auto 20px; font-size: 14px; color: var(--muted); line-height: 1.6; }

.footer-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }

.footer-social-btn {
        display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px;
        background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
        font-size: 13.5px; font-weight: 600; transition: all 0.2s ease;
}
.footer-social-btn:hover {
        border-color: var(--accent); color: var(--accent); transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(224, 0, 77, 0.12); text-decoration: none;
}
.footer-social-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-social-btn svg path { fill: currentColor; }
.footer-social-btn svg.strokes path, .footer-social-btn svg.strokes rect, .footer-social-btn svg.strokes circle {
        fill: none; stroke: currentColor;
}

.footer-links {
        display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px;
        font-size: 13.5px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
        max-width: 760px; margin: 0 auto;
}
.footer-links a { color: var(--muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent); text-decoration: none; }

.footer-disclaimer { max-width: 760px; margin: 18px auto 0; font-size: 12.5px; color: var(--faint); line-height: 1.65; }
.footer-disclaimer p { margin: 0; }
.footer-disclaimer strong { color: var(--muted); }

.footer-bottom { padding: 16px 0 22px; font-size: 13px; color: var(--faint); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Yukarı çık ---------- */
.to-top {
        position: fixed; right: 22px; bottom: 22px; z-index: 900;
        width: 46px; height: 46px; border-radius: 50%;
        background: var(--ink); color: #fff; border: none; cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        opacity: 0; visibility: hidden; transform: translateY(12px);
        transition: all 0.25s ease; box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); }

/* ---------- 404 WASTED ---------- */
.error-404-main { padding: 24px 0 40px; }
.wasted-screen {
        position: relative; text-align: center; overflow: hidden;
        background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
        padding: 70px 26px 56px;
        box-shadow: 0 4px 20px rgba(22, 24, 29, 0.05);
}
.wasted-vignette {
        position: absolute; inset: 0; pointer-events: none;
        background: radial-gradient(ellipse at center, transparent 55%, rgba(226, 59, 82, 0.06));
}
.wasted-title {
        font-family: var(--font-display); margin: 0 0 10px;
        font-size: clamp(64px, 12vw, 130px); line-height: 0.95;
        color: #c22030; letter-spacing: 0.06em;
        text-shadow: 0 4px 0 rgba(194, 32, 48, 0.15);
        transform: rotate(-2deg);
}
.wasted-heading { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.wasted-text { color: var(--muted); max-width: 460px; margin: 0 auto 26px; }
.wasted-search { max-width: 440px; margin: 0 auto 26px; }
.wasted-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
        .related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
        .article-container { padding: 6px 14px 0; }
        .article-title { font-size: 28px; }
        .article-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
        .article-body { font-size: 16.5px; }
        .related-grid { grid-template-columns: 1fr; }
        .post-navigation { grid-template-columns: 1fr; }
        .post-nav-next { text-align: left; align-items: flex-start; }
        .share-below-btn span { display: none; }
        .share-below-btn { padding: 9px 13px; }
        .page-container { padding: 20px 14px 0; }
        .page-title { font-size: 28px; }
        .cheat-table-wrap { padding: 16px 14px 4px; }
        .cheat-scroll { margin: 0 -14px; padding: 0 14px; }
        .wasted-screen { padding: 54px 18px 44px; }
}

@media (max-width: 480px) {
        .related-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        * { transition: none !important; animation-duration: 0.01ms !important; }
}
