/* MansetSpor - Ana Stil Dosyası */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500;600;700&display=swap');

:root {
  --bg-dark: #08080f;
  --bg-card: #12121f;
  --bg-card2: #1a1a2e;
  --red: #e63946;
  --red-dark: #c1121f;
  --gold: #ffd60a;
  --blue: #4361ee;
  --text: #f0f0f0;
  --text-muted: #8888a0;
  --border: #2a2a3e;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Breaking Ticker ── */
.breaking-bar {
  background: var(--red);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
}
.breaking-bar .label {
  background: #fff;
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 4px;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  white-space: nowrap;
}
.ticker-wrap { overflow: hidden; padding-left: 110px; }
.ticker-track {
  display: flex;
  gap: 60px;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
}
.ticker-track a { color: #fff; font-size: 13px; font-weight: 500; }
.ticker-track a:hover { text-decoration: underline; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Header ── */
.site-header {
  background: linear-gradient(135deg, #0d0d1a 0%, #12122a 100%);
  border-bottom: 2px solid var(--red);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 20px; gap: 20px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 28px; font-weight: 700;
  color: #fff; line-height: 1;
}
.logo-text span { color: var(--red); }

.header-search { display: flex; flex: 1; max-width: 360px; }
.header-search input {
  flex: 1; background: var(--bg-card2); border: 1px solid var(--border);
  color: #fff; padding: 9px 16px; border-radius: 6px 0 0 6px;
  font-size: 14px; outline: none;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search button {
  background: var(--red); color: #fff; border: none;
  padding: 9px 14px; border-radius: 0 6px 6px 0; cursor: pointer;
}
.header-search button:hover { background: var(--red-dark); }

/* ── Navbar ── */
.navbar { background: var(--bg-card2); border-bottom: 1px solid var(--border); }
.nav-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; padding: 0 20px;
  overflow-x: auto; scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a {
  padding: 13px 18px; font-size: 13px; font-weight: 600;
  color: var(--text-muted); white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all .2s;
}
.nav-inner a:hover, .nav-inner a.active {
  color: #fff; border-bottom-color: var(--red);
}

/* ── Container ── */
.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 20px; overflow-x: hidden; box-sizing: border-box; }

/* ── Section Title ── */
.section-title {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 22px; font-weight: 700; color: #fff;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.section-title::before {
  content: '';
  width: 5px; height: 28px;
  background: var(--red);
  border-radius: 3px;
}

/* ── Hero / Sürmanşet ── */
.hero-section { padding: 30px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px;
}
.hero-main {
  grid-row: 1 / 3;
  position: relative; overflow: hidden;
  border-radius: var(--radius) 0 0 var(--radius);
  min-height: 480px;
}
.hero-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.hero-main:hover img { transform: scale(1.04); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
}
.hero-side-item {
  position: relative; overflow: hidden; min-height: 230px;
}
.hero-side-item:first-child { border-radius: 0 var(--radius) 0 0; }
.hero-side-item:last-child  { border-radius: 0 0 var(--radius) 0; }
.hero-side-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hero-side-item:hover img { transform: scale(1.06); }
.hero-side-item .hero-overlay { padding: 16px; }

.news-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 4px;
  text-transform: uppercase; margin-bottom: 8px;
}
.breaking-badge { background: #ff9f1c; }

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700; line-height: 1.25;
  color: #fff; margin-bottom: 8px;
}
.hero-side-item .hero-title { font-size: clamp(14px, 1.5vw, 18px); }
.hero-meta { font-size: 12px; color: rgba(255,255,255,.65); }

/* ── News Card ── */
.news-card {
  background: var(--bg-card); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: transform .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--red); }
.news-card .thumb {
  aspect-ratio: 16/9; overflow: hidden;
}
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .thumb img { transform: scale(1.07); }
.news-card .body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-card .title {
  font-family: 'Oswald', sans-serif;
  font-size: 16px; font-weight: 600; line-height: 1.3;
  color: #fff;
}
.news-card .title:hover { color: var(--red); }
.news-card .meta { font-size: 12px; color: var(--text-muted); margin-top: auto; }

/* ── News Grid ── */
.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── Live Score Widget ── */
.live-score-widget {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.widget-tabs { display: flex; border-bottom: 1px solid var(--border); }
.widget-tab {
  flex: 1; padding: 12px; text-align: center;
  font-size: 13px; font-weight: 600; cursor: pointer;
  color: var(--text-muted); border-bottom: 3px solid transparent;
  transition: all .2s; background: none; border-top: none; border-left: none; border-right: none;
}
.widget-tab.active { color: #fff; border-bottom-color: var(--red); }

.score-item {
  display: flex; align-items: center;
  padding: 12px 16px; gap: 10px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.score-item:hover { background: var(--bg-card2); }
.score-teams { flex: 1; }
.score-team { font-size: 13px; font-weight: 500; color: #fff; margin-bottom: 3px; }
.score-result {
  font-family: 'Oswald', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--gold);
  min-width: 50px; text-align: center;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #00e676; animation: pulse 1s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}
.match-status { font-size: 11px; color: var(--text-muted); }

/* ── Video Section ── */
.video-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9; background: #000;
  transition: transform .3s;
}
.video-card:hover { transform: translateY(-4px); }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; background: rgba(230,57,70,.9);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s;
}
.video-card:hover .video-play { transform: translate(-50%,-50%) scale(1.15); background: var(--red); }
.video-play::after {
  content: '';
  border: 10px solid transparent;
  border-left: 18px solid #fff;
  margin-left: 4px;
}
.video-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
}
.video-title { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.3; }

/* ── AI Prediction ── */
.prediction-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  transition: border-color .25s, transform .25s;
}
.prediction-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.prediction-card.featured { border-color: var(--gold); }

.match-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.league-badge {
  background: var(--bg-card2); color: var(--text-muted);
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
}
.match-time { font-size: 12px; color: var(--text-muted); }

.teams-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; gap: 8px;
}
.team-name {
  font-family: 'Oswald', sans-serif;
  font-size: 17px; font-weight: 600; color: #fff;
  flex: 1;
}
.team-name.away { text-align: right; }
.vs-badge {
  background: var(--bg-card2); color: var(--red);
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 4px;
}
.score-pred {
  font-family: 'Oswald', sans-serif; font-size: 26px;
  font-weight: 700; color: var(--gold); text-align: center;
}

.pred-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pred-badge {
  padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  background: rgba(230,57,70,.15); color: var(--red); border: 1px solid rgba(230,57,70,.3);
}
.pred-badge.over { background: rgba(6,214,160,.15); color: #06d6a0; border-color: rgba(6,214,160,.3); }
.pred-badge.kg   { background: rgba(67,97,238,.15); color: #4361ee; border-color: rgba(67,97,238,.3); }

.confidence-bar { margin-top: 12px; }
.confidence-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
.confidence-track { height: 6px; background: var(--border); border-radius: 3px; }
.confidence-fill  { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); }

/* ── Coupon ── */
.coupon-box {
  background: linear-gradient(135deg, #1a1a0a 0%, #1a1a2e 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius); padding: 24px;
}
.coupon-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px; color: var(--gold); margin-bottom: 16px;
}
.coupon-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  gap: 10px;
}
.coupon-match { flex: 1; font-size: 14px; font-weight: 500; }
.coupon-tip {
  background: var(--gold); color: #000;
  font-size: 12px; font-weight: 800;
  padding: 3px 10px; border-radius: 4px;
}
.coupon-odds { font-size: 13px; color: var(--text-muted); min-width: 40px; text-align: right; }
.total-odds {
  font-family: 'Oswald', sans-serif;
  font-size: 28px; color: var(--gold);
  text-align: center; margin-top: 16px;
}
.legal-notice {
  background: rgba(255,255,255,.05); border-radius: 6px;
  padding: 10px 14px; font-size: 11px; color: var(--text-muted);
  margin-top: 16px; line-height: 1.5;
}

/* ── Sidebar ── */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
}
.sidebar-widget {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 20px;
}
.widget-title {
  font-family: 'Oswald', sans-serif;
  font-size: 16px; font-weight: 700;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.widget-title::before {
  content: ''; width: 4px; height: 18px;
  background: var(--red); border-radius: 2px;
}

/* Popular news list */
.popular-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.popular-item:hover { background: var(--bg-card2); }
.popular-num {
  font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 700;
  color: var(--border); min-width: 32px; line-height: 1;
}
.popular-item:hover .popular-num { color: var(--red); }
.popular-title { font-size: 13px; font-weight: 500; color: #fff; line-height: 1.4; }

/* ── Form Tastes ── */
.form-shape { display: flex; gap: 4px; }
.form-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.form-w { background: #00e676; color: #000; }
.form-d { background: #ffd60a; color: #000; }
.form-l { background: var(--red); color: #fff; }

/* ── Footer ── */
.site-footer {
  background: #050510; border-top: 2px solid var(--red);
  padding: 50px 0 20px; margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .logo-text { font-size: 24px; margin-bottom: 12px; }
.footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; background: var(--bg-card2);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all .2s; font-size: 14px;
}
.social-link:hover { background: var(--red); color: #fff; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: #fff; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-muted);
}

/* ── Ad Banner ── */
.ad-wrapper {
  background: var(--bg-card2); border: 1px dashed var(--border);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; min-height: 90px;
  font-size: 12px; color: var(--text-muted);
  overflow: hidden; position: relative;
}

/* ── Utility ── */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.py-30 { padding: 30px 0; }
.py-40 { padding: 40px 0; }

.text-red    { color: var(--red); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.font-oswald { font-family: 'Oswald', sans-serif; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 6px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: none; transition: all .2s;
}
.btn-red    { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ── Swiper Slider Override ── */
.news-slider-section { padding: 24px 0; background: var(--bg-card2); border-bottom: 1px solid var(--border); }
.swiper-slide-news { position: relative; border-radius: var(--radius); overflow: hidden; }
.swiper-slide-news img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.swiper-slide-news .slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
}
.swiper-slide-news .slide-title {
  font-family: 'Oswald', sans-serif; font-size: clamp(14px, 2vw, 20px);
  font-weight: 700; color: #fff; line-height: 1.3;
}
.swiper-pagination-bullet { background: #fff !important; opacity: .5; }
.swiper-pagination-bullet-active { opacity: 1 !important; background: var(--red) !important; }

/* ── Hamburger Button ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 8px; z-index: 300; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: all .35s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Mobile Nav Overlay ── */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(8,8,15,.98); z-index: 250;
  flex-direction: column; overflow-y: auto;
  transform: translateX(-100%); transition: transform .35s ease;
}
.mobile-nav-overlay.open {
  display: flex; transform: translateX(0);
}
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.mobile-nav-close {
  background: none; border: none; color: #fff;
  font-size: 22px; cursor: pointer; padding: 8px;
}
.mobile-search {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.mobile-search form { display: flex; gap: 8px; }
.mobile-search input {
  flex: 1; background: var(--bg-card2); border: 1px solid var(--border);
  color: #fff; padding: 10px 14px; border-radius: 6px; font-size: 14px; outline: none;
}
.mobile-search button {
  background: var(--red); color: #fff; border: none;
  padding: 10px 16px; border-radius: 6px; cursor: pointer; font-size: 16px;
}
.mobile-nav-links { flex: 1; padding: 12px 0; }
.mobile-nav-links a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 24px; font-size: 16px; font-weight: 600;
  color: #ccc; border-bottom: 1px solid var(--border);
  transition: color .2s, background .2s;
}
.mobile-nav-links a:hover, .mobile-nav-links a.active {
  color: #fff; background: rgba(230,57,70,.1);
}
.mobile-nav-links a i { width: 20px; text-align: center; color: var(--red); }
.mobile-nav-links .tahmin-link { color: var(--gold) !important; }
.mobile-nav-links .tahmin-link i { color: var(--gold) !important; }
.mobile-nav-footer {
  padding: 16px 24px; border-top: 1px solid var(--border);
  display: flex; gap: 12px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .news-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  /* Header mobile */
  .hamburger { display: flex; }
  .navbar { display: none; }
  .header-search { display: none; }
  .header-inner { padding: 12px 16px; gap: 12px; flex-wrap: nowrap; }
  .logo-text { font-size: 22px; }
  .header-inner > div:last-child .btn span { display: none; }
  .header-inner > div:last-child .btn { padding: 8px; }

  /* Container */
  .container { padding: 0 14px; overflow-x: hidden; }

  /* Hero */
  .hero-section { padding: 16px 0 0; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 4px; }
  .hero-main { grid-row: auto; border-radius: var(--radius); min-height: 240px; }
  .hero-side-item { min-height: 160px; border-radius: var(--radius) !important; }
  .hero-overlay { padding: 14px; }
  .hero-title { font-size: 16px !important; }

  /* Grids */
  .news-grid-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .news-grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Layout with sidebar */
  .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  /* Predictions */
  .prediction-card { padding: 14px; }

  /* AI section grid */
  .ai-section-grid { grid-template-columns: 1fr !important; }
  .coupon-sticky { position: static !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .site-footer { padding: 30px 0 16px; margin-top: 30px; }

  /* Section title */
  .section-title { font-size: 18px; }

  /* Breaking bar */
  .breaking-bar .label { font-size: 10px; padding: 2px 7px; left: 10px; }
  .ticker-wrap { padding-left: 90px; }

  /* Py */
  .py-40 { padding: 24px 0; }
}

@media (max-width: 480px) {
  .news-grid-3,
  .news-grid-4 { grid-template-columns: 1fr; }
  .logo-text { font-size: 20px; }
  .hero-main { min-height: 200px; }
  .hero-side-item { min-height: 140px; }
  .pred-badges { gap: 6px; }
  .coupon-box { padding: 14px; }
  .coupon-title { font-size: 16px; }
}
