/*
Theme Name: HD Tech (Foxiz Tech & Reviews Dark)
Theme URI: https://foxiz.io/tech/
Author: HD Tech Editorial
Description: Foxiz Tech & Reviews esintili varsayılan Dark Mode donanım, benchmark ve inceleme portalı teması.
Version: 2.1.0
Text Domain: hdtech
*/

:root {
  --fx-bg: #090b10;
  --fx-card-bg: #12151f;
  --fx-card-border: #1e2333;
  --fx-primary: #00f0ff;
  --fx-neon: #00f0ff;
  --fx-neon-glow: rgba(0, 240, 255, 0.25);
  --fx-purple: #9d4edd;
  --fx-gold: #ffb703;
  --fx-text: #f0f4f8;
  --fx-text-muted: #8b949e;
  --fx-border: #1a1f2c;
  --fx-radius: 12px;
  --fx-radius-lg: 16px;
  --fx-shadow: 0 4px 25px rgba(0, 0, 0, 0.45);
  --fx-shadow-hover: 0 12px 35px rgba(0, 240, 255, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, sans-serif; background: var(--fx-bg); color: var(--fx-text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--fx-neon); }
img { max-width: 100%; height: auto; display: block; }

.fx-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* TOPBAR */
.fx-topbar { background: #06070a; color: #8b949e; font-size: 13px; font-weight: 500; border-bottom: 1px solid var(--fx-border); }
.fx-topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.fx-topbar-left { display: flex; align-items: center; gap: 12px; overflow: hidden; }
.fx-badge-neon { background: var(--fx-neon); color: #090b10; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 0 12px var(--fx-neon-glow); }
.fx-badge-live { background: #e63946; color: #fff; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 4px; }
.fx-ticker { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #c9d1d9; }
.fx-topbar-right { display: flex; align-items: center; gap: 16px; }
.fx-socials a { color: #8b949e; opacity: 0.8; margin-left: 8px; font-size: 13px; }
.fx-socials a:hover { opacity: 1; color: var(--fx-neon); }

/* HEADER */
.fx-header { background: #0e111a; border-bottom: 1px solid var(--fx-border); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.fx-header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.fx-logo a { display: flex; align-items: center; gap: 12px; }
.fx-logo-box { width: 44px; height: 44px; background: rgba(0,240,255,0.1); border: 1px solid var(--fx-neon); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--fx-neon); box-shadow: 0 0 15px var(--fx-neon-glow); }
.fx-logo-text { font-size: 22px; font-weight: 900; color: #ffffff; letter-spacing: -0.5px; line-height: 1.1; }
.fx-logo-text span { color: var(--fx-neon); }
.fx-logo-sub { font-size: 11px; font-weight: 600; color: var(--fx-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.fx-nav .fx-menu { display: flex; list-style: none; gap: 24px; }
.fx-nav .fx-menu a { font-size: 14.5px; font-weight: 600; color: #c9d1d9; padding: 8px 0; position: relative; }
.fx-nav .fx-menu a.active, .fx-nav .fx-menu a:hover { color: var(--fx-neon); }
.fx-nav .fx-menu a.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--fx-neon); border-radius: 2px; box-shadow: 0 0 8px var(--fx-neon); }

.fx-btn-sub { background: linear-gradient(135deg, var(--fx-neon) 0%, var(--fx-purple) 100%); color: #090b10 !important; font-size: 13.5px; font-weight: 800; padding: 10px 20px; border-radius: 50px; transition: opacity 0.2s; box-shadow: 0 0 15px var(--fx-neon-glow); }
.fx-btn-sub:hover { opacity: 0.9; }

/* MAIN WRAPPER */
.fx-main { padding: 30px 0 60px; }
.fx-section { margin-top: 45px; }
.fx-sec-header { margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--fx-border); display: flex; justify-content: space-between; align-items: flex-end; }
.fx-sec-title { font-size: 22px; font-weight: 800; color: #ffffff; display: flex; align-items: center; gap: 8px; }
.fx-sec-sub { font-size: 13.5px; color: var(--fx-text-muted); }

/* HERO GRID */
.fx-hero-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; min-height: 480px; }
.fx-lead-card { position: relative; border-radius: var(--fx-radius-lg); overflow: hidden; box-shadow: var(--fx-shadow); border: 1px solid var(--fx-card-border); }
.fx-card-media { width: 100%; height: 100%; min-height: 480px; position: relative; overflow: hidden; background: #12151f; }
.fx-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.fx-lead-card:hover .fx-card-media img { transform: scale(1.04); }
.fx-cover-link { position: absolute; inset: 0; z-index: 2; }
.fx-lead-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px 30px; background: linear-gradient(to top, rgba(9, 11, 16, 0.98) 0%, rgba(9, 11, 16, 0.75) 65%, transparent 100%); color: #fff; z-index: 3; pointer-events: none; }
.fx-lead-overlay a { pointer-events: auto; }

.fx-score-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.fx-cat-pill { background: rgba(0, 240, 255, 0.15); color: var(--fx-neon); border: 1px solid var(--fx-neon); font-size: 11px; font-weight: 800; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; letter-spacing: 0.5px; }
.fx-score-badge { background: var(--fx-gold); color: #090b10; font-size: 11px; font-weight: 900; padding: 4px 10px; border-radius: 4px; box-shadow: 0 0 10px rgba(255, 183, 3, 0.3); }
.fx-award-badge { background: var(--fx-purple); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 4px; }
.fx-score-sm { display: inline-block; background: rgba(255, 183, 3, 0.15); color: var(--fx-gold); border: 1px solid var(--fx-gold); font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 4px; margin-bottom: 6px; }

.fx-lead-title { font-size: 28px; font-weight: 800; line-height: 1.25; margin-bottom: 12px; color: #ffffff; }
.fx-lead-title a:hover { color: var(--fx-neon); }
.fx-lead-excerpt { font-size: 14.5px; color: #8b949e; line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.fx-meta-row { display: flex; align-items: center; gap: 14px; font-size: 12px; color: #8b949e; font-weight: 500; }
.fx-meta-row-sm { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--fx-text-muted); font-weight: 500; }

.fx-side-stack { display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.fx-side-card { display: flex; gap: 16px; background: var(--fx-card-bg); padding: 14px; border-radius: var(--fx-radius); border: 1px solid var(--fx-card-border); box-shadow: var(--fx-shadow); transition: transform 0.2s, border-color 0.2s; align-items: center; }
.fx-side-card:hover { transform: translateY(-3px); border-color: var(--fx-neon); }
.fx-side-media { width: 120px; height: 95px; flex-shrink: 0; border-radius: 8px; overflow: hidden; position: relative; background: #1a1f2c; }
.fx-side-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; display: block; }
.fx-side-card:hover .fx-side-media img { transform: scale(1.05); }
.fx-side-content { flex: 1; }
.fx-side-title { font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; color: #ffffff; }
.fx-side-title a:hover { color: var(--fx-neon); }

/* PICKS 4-GRID */
.fx-picks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fx-pick-card { background: var(--fx-card-bg); border-radius: var(--fx-radius); overflow: hidden; border: 1px solid var(--fx-card-border); box-shadow: var(--fx-shadow); transition: transform 0.2s, border-color 0.2s; }
.fx-pick-card:hover { transform: translateY(-4px); border-color: var(--fx-neon); }
.fx-pick-media { height: 170px; border-radius: 8px 8px 0 0; overflow: hidden; position: relative; background: #1a1f2c; }
.fx-pick-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; display: block; }
.fx-pick-card:hover .fx-pick-media img { transform: scale(1.05); }
.fx-cat-badge { position: absolute; top: 10px; left: 10px; background: rgba(9, 11, 16, 0.9); color: var(--fx-gold); border: 1px solid var(--fx-gold); font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; z-index: 3; }
.fx-pick-body { padding: 14px 16px; }
.fx-pick-body h4 { font-size: 14.5px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; color: #fff; }

/* 2-COLUMN LAYOUT */
.fx-2col-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 36px; }
.fx-feed-list { display: flex; flex-direction: column; gap: 22px; }
.fx-feed-card { display: flex; gap: 24px; background: var(--fx-card-bg); padding: 18px; border-radius: var(--fx-radius-lg); border: 1px solid var(--fx-card-border); box-shadow: var(--fx-shadow); align-items: center; transition: transform 0.2s, border-color 0.2s; }
.fx-feed-card:hover { transform: translateY(-3px); border-color: var(--fx-neon); }
.fx-feed-media { width: 230px; height: 160px; flex-shrink: 0; border-radius: 10px; overflow: hidden; position: relative; background: #1a1f2c; }
.fx-feed-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; display: block; }
.fx-feed-card:hover .fx-feed-media img { transform: scale(1.05); }
.fx-feed-content { flex: 1; }
.fx-feed-content h3 { font-size: 19px; font-weight: 800; line-height: 1.35; margin-bottom: 8px; color: #ffffff; }
.fx-feed-excerpt { font-size: 13.5px; color: var(--fx-text-muted); line-height: 1.6; margin-bottom: 12px; }
.fx-cat-pill-sm { background: rgba(0,240,255,0.1); color: var(--fx-neon); font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 4px; }
.fx-score-tag { background: rgba(255,183,3,0.15); color: var(--fx-gold); font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 4px; }

/* SIDEBAR */
.fx-sidebar-col { display: flex; flex-direction: column; gap: 28px; }
.fx-widget { background: var(--fx-card-bg); padding: 24px; border-radius: var(--fx-radius-lg); border: 1px solid var(--fx-card-border); box-shadow: var(--fx-shadow); }
.fx-widget-title { font-size: 16px; font-weight: 800; color: #ffffff; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--fx-border); display: flex; align-items: center; gap: 6px; }

.fx-pop-list { display: flex; flex-direction: column; gap: 16px; }
.fx-pop-item { display: flex; gap: 14px; align-items: center; }
.fx-pop-rank { width: 32px; height: 32px; border-radius: 50%; background: #1a1f2c; color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fx-pop-rank.rank-1 { background: var(--fx-neon); color: #090b10; box-shadow: 0 0 10px var(--fx-neon-glow); }
.fx-pop-rank.rank-2 { background: var(--fx-purple); color: #fff; }
.fx-pop-text h4 { font-size: 13.5px; font-weight: 700; line-height: 1.35; margin-bottom: 4px; color: #fff; }

.fx-widget-newsletter { background: linear-gradient(135deg, #101422 0%, #1a1f35 100%); border: 1px solid rgba(0,240,255,0.3); color: #fff; text-align: center; }
.fx-nl-icon { font-size: 32px; margin-bottom: 10px; }
.fx-widget-newsletter h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.fx-widget-newsletter p { font-size: 13px; color: #8b949e; line-height: 1.5; margin-bottom: 16px; }
.fx-nl-form input { width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid var(--fx-border); background: #090b10; color: #fff; font-size: 13.5px; margin-bottom: 10px; }
.fx-nl-form button { width: 100%; padding: 12px; border-radius: 8px; border: none; background: var(--fx-neon); color: #090b10; font-weight: 800; font-size: 14px; cursor: pointer; }

.fx-cat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fx-cat-list li a { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; color: #c9d1d9; padding: 8px 12px; border-radius: 6px; background: #0c0e16; }
.fx-cat-list li a:hover { background: #161a29; color: var(--fx-neon); }
.fx-badge-cnt { font-size: 11px; background: #1a1f2c; padding: 2px 8px; border-radius: 10px; font-weight: 700; color: var(--fx-text-muted); }

/* SINGLE REVIEW LAYOUT */
.fx-article-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 40px; margin-bottom: 60px; }
.fx-article-body { background: var(--fx-card-bg); padding: 36px 40px; border-radius: var(--fx-radius-lg); border: 1px solid var(--fx-card-border); box-shadow: var(--fx-shadow); }
.fx-breadcrumb { font-size: 13px; color: var(--fx-text-muted); margin-bottom: 16px; }
.fx-breadcrumb a { color: var(--fx-text-muted); }
.fx-breadcrumb span { color: var(--fx-neon); font-weight: 600; }
.fx-single-title { font-size: 32px; font-weight: 800; line-height: 1.25; color: #ffffff; margin-bottom: 20px; }
.fx-article-meta-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--fx-border); margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.fx-author-box { display: flex; align-items: center; gap: 12px; }
.fx-author-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(0,240,255,0.1); border: 1px solid var(--fx-neon); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--fx-neon); }
.fx-author-name { font-size: 14px; font-weight: 700; color: #fff; }
.fx-author-title { font-size: 12px; color: var(--fx-text-muted); }
.fx-article-stats { display: flex; gap: 16px; font-size: 13px; color: var(--fx-text-muted); font-weight: 500; }
.fx-featured-image-box { margin-bottom: 28px; }
.fx-featured-image-box img { width: 100%; border-radius: var(--fx-radius); max-height: 480px; object-fit: cover; }
.fx-image-caption { font-size: 12px; color: var(--fx-text-muted); font-style: italic; margin-top: 8px; text-align: center; }

/* REVIEW SCORECARD BOX */
.fx-scorecard-box { background: #0c0f18; border: 1px solid var(--fx-card-border); border-radius: var(--fx-radius); padding: 26px; margin-bottom: 30px; }
.fx-scorecard-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--fx-border); margin-bottom: 20px; }
.fx-scorecard-header h3 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.fx-scorecard-header p { font-size: 13px; color: var(--fx-text-muted); }
.fx-big-score-box { text-align: center; background: rgba(0,240,255,0.08); border: 1px solid var(--fx-neon); padding: 10px 20px; border-radius: 12px; box-shadow: 0 0 15px var(--fx-neon-glow); }
.fx-big-score { font-size: 28px; font-weight: 900; color: var(--fx-neon); line-height: 1; }
.fx-score-lbl { font-size: 10px; font-weight: 800; color: #fff; letter-spacing: 0.5px; margin-top: 4px; }

.fx-pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fx-pros-col h4 { font-size: 14px; font-weight: 800; color: #4ade80; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.fx-pros-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fx-pros-col li { font-size: 13.5px; color: #c9d1d9; position: relative; padding-left: 18px; line-height: 1.5; }
.fx-pros-col li::before { content: '✓'; position: absolute; left: 0; color: #4ade80; font-weight: bold; }

.fx-cons-col h4 { font-size: 14px; font-weight: 800; color: #f87171; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.fx-cons-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fx-cons-col li { font-size: 13.5px; color: #c9d1d9; position: relative; padding-left: 18px; line-height: 1.5; }
.fx-cons-col li::before { content: '✕'; position: absolute; left: 0; color: #f87171; font-weight: bold; }

.fx-content-area { font-size: 16.5px; line-height: 1.85; color: #c9d1d9; }
.fx-content-area p { margin-bottom: 22px; }
.fx-content-area h3 { font-size: 22px; font-weight: 800; color: #ffffff; margin: 30px 0 16px; }
.fx-content-area blockquote { border-left: 4px solid var(--fx-neon); padding: 16px 24px; background: #0c0f18; border-radius: 0 8px 8px 0; font-style: italic; font-weight: 600; color: #fff; margin: 26px 0; }

.fx-callout-box { display: flex; gap: 16px; background: rgba(0,240,255,0.05); border: 1px solid rgba(0,240,255,0.2); padding: 20px 24px; border-radius: var(--fx-radius); margin: 30px 0; align-items: center; }
.fx-callout-icon { font-size: 32px; color: var(--fx-neon); }
.fx-callout-box h4 { font-size: 16px; font-weight: 800; color: var(--fx-neon); margin-bottom: 4px; }
.fx-callout-box p { font-size: 14px; color: #8b949e; line-height: 1.5; margin: 0; }

/* FOOTER */
.fx-footer { background: #06070a; color: #fff; padding: 60px 0 30px; margin-top: 60px; border-top: 1px solid var(--fx-border); }
.fx-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--fx-border); }
.fx-footer-col h4 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 20px; position: relative; padding-bottom: 8px; }
.fx-footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--fx-neon); box-shadow: 0 0 8px var(--fx-neon); }
.fx-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fx-footer-col ul a { font-size: 14px; color: #8b949e; }
.fx-footer-col ul a:hover { color: var(--fx-neon); padding-left: 4px; }
.fx-footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #8b949e; flex-wrap: wrap; gap: 12px; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .fx-hero-grid { grid-template-columns: 1fr; }
  .fx-picks-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-2col-layout { grid-template-columns: 1fr; }
  .fx-article-layout { grid-template-columns: 1fr; }
  .fx-footer-grid { grid-template-columns: 1fr 1fr; }
  .fx-nav { display: none; }
  .fx-pros-cons-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fx-picks-grid { grid-template-columns: 1fr; }
  .fx-feed-card { flex-direction: column; }
  .fx-feed-media { width: 100%; height: 200px; }
  .fx-footer-grid { grid-template-columns: 1fr; }
  .fx-lead-title { font-size: 22px; }
}
