/* ============================================
   HERO / HOME-TOP — YENİ TASARIM
   ============================================ */
.home-top {
  position: relative;
  padding: 48px 24px 40px;
  min-height: 320px;
  overflow: hidden;
  background: #080d1c;
  text-align: center;
}

.home-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/static/images/bg.jpg") center center / cover no-repeat;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

.home-top::after { display: none; }
.home-top-overlay { display: none; }
.home-top-meta { display: none; }

.home-top-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* PATCH BADGE */
.home-patch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,124,255,0.06);
  border: 1px solid rgba(79,124,255,0.15);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #5a7aee;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.home-patch-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4f7cff;
  flex-shrink: 0;
}

/* TITLE ROW */
.home-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.home-lol-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.home-main-title {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 38px;
  font-weight: 900;
  color: #eef3ff;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: none;
}

/* ACCENT LINE */
.home-main-accent {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  color: #3a5aaa;
  letter-spacing: 7px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* DIVIDER */
.home-title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.home-divider-line {
  display: block;
  height: 1px;
  width: 70px;
  background: rgba(79,124,255,0.18);
}

.home-divider-diamond {
  display: block;
  width: 5px;
  height: 5px;
  background: #3a5aaa;
  transform: rotate(45deg);
}

/* SUBTITLE */
.home-main-subtitle {
  font-size: 13px;
  color: #2c3a5a;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* SEARCH */
.home-main-search {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: rgba(8,12,24,0.95);
  border: 1px solid rgba(79,124,255,0.18);
  border-radius: 10px;
  padding: 0 16px;
  height: 50px;
  gap: 12px;
  position: relative;
}

.home-main-search:focus-within {
  border-color: rgba(79,124,255,0.4);
  box-shadow: 0 0 0 3px rgba(79,124,255,0.08);
}

.home-search-icon {
  width: 16px;
  height: 16px;
  color: #2c3a5a;
  flex-shrink: 0;
}

.home-main-search-input {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: #eef3ff;
  font-family: inherit;
  padding: 0;
  width: auto;
  min-width: 0;
  box-shadow: none;
}

.home-main-search-input::placeholder { color: #2c3a5a; }

.home-search-kbd {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.home-kbd {
  background: rgba(79,124,255,0.07);
  border: 1px solid rgba(79,124,255,0.14);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 10px;
  color: #3a5a8a;
  font-weight: 600;
}

/* ============================================
   SECTION HEAD
   ============================================ */
.section-head {
  max-width: 1280px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.section-head h2 {
  margin: 0;
  color: #c0ccee;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-head-center { justify-content: center; text-align: center; }

.section-bar {
  display: inline-block;
  width: 3px;
  height: 14px;
  background: #4f7cff;
  border-radius: 2px;
  flex-shrink: 0;
}

.section-bar--green { background: #22c55e; }
.section-bar--gold  { background: #f59e0b; }

.section-link {
  font-size: 11px;
  color: #4f7cff;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  min-height: auto;
  border-radius: 0;
  transition: color 0.15s;
}

.section-link:hover {
  color: #7aaeff;
  transform: none;
  background: none;
}

/* ============================================
   HOME SECTION
   ============================================ */
.home-section {
  position: relative;
  z-index: 1;
  padding-top: 18px;
  padding-bottom: 10px;
}

/* ============================================
   PATCH
   ============================================ */
.patch-home-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.patch-home-card {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16,24,40,0.96) 0%, rgba(11,17,29,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.patch-home-card:hover {
  transform: translateY(-3px);
  border-color: rgba(88,135,255,0.28);
  box-shadow: 0 20px 38px rgba(0,0,0,0.28);
}

.patch-home-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #0f1727;
}

.patch-home-card-img--placeholder {
  background: linear-gradient(135deg, rgba(42,62,99,0.9) 0%, rgba(18,28,48,0.95) 100%);
}

.patch-home-card-body { padding: 16px 16px 18px; }
.patch-home-card-body h3 { margin: 0 0 10px; color: #f5f7ff; font-size: 20px; font-weight: 900; }
.patch-home-card-body p { margin: 0; color: rgba(228,235,255,0.76); font-size: 14px; line-height: 1.6; }

/* ============================================
   TIER LIST — ORTALANMIŞ
   ============================================ */
.home-tierlist-center {
  display: flex;
  justify-content: center;
}

.home-tierlist-card {
  width: 100%;
  max-width: 640px;
  background: rgba(10,14,26,0.8);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
}

.home-tierlist-card-inner { display: none; }

.home-tierlist-preview {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.home-tierlist-preview-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.home-tier-badge-wrap { flex-shrink: 0; }

.home-tier-badge {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #eef3ff;
}

.home-tier-badge--s { background: rgba(255,215,0,0.08); color: #ffd700; border-color: rgba(255,215,0,0.15); }
.home-tier-badge--a { background: rgba(255,128,64,0.08); color: #ff8040; border-color: rgba(255,128,64,0.15); }
.home-tier-badge--b { background: rgba(91,143,255,0.08); color: #5b8fff; border-color: rgba(91,143,255,0.15); }
.home-tier-badge--c { background: rgba(100,180,100,0.08); color: #64b464; border-color: rgba(100,180,100,0.15); }
.home-tier-badge--d { background: rgba(130,130,130,0.08); color: #888; border-color: rgba(130,130,130,0.15); }

.home-tier-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}

.home-tier-icons a {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  overflow: hidden;
  transition: transform 0.15s;
}

.home-tier-icons a:hover { transform: translateY(-2px); }

.home-tier-icons img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 7px;
}

.home-tierlist-link-wrap {
  text-align: center;
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.home-tierlist-link {
  font-size: 12px;
  font-weight: 600;
  color: #4f7cff;
  text-decoration: none;
  background: none;
  border: none;
  box-shadow: none;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  display: inline;
}

.home-tierlist-link:hover {
  color: #7aaeff;
  transform: none;
  background: none;
}

/* ============================================
   NEW CHAMPIONS
   ============================================ */
.new-champions-showcase {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 380px));
  justify-content: center;
  gap: 18px;
}

.new-champion-showcase-card {
  position: relative;
  display: block;
  width: 100%;
  height: 380px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 34px rgba(0,0,0,0.24);
  transition: transform .18s ease, border-color .18s ease;
}

.new-champion-showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(88,135,255,0.24);
}

.new-champion-showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.new-champion-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,20,0.16) 0%, rgba(8,12,20,0.82) 100%);
}

.new-champion-showcase-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
}

.new-champion-showcase-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.new-champion-showcase-top h3 { margin: 0; color: #fff; font-size: 22px; font-weight: 900; }

.new-champion-badge {
  background: #22c55e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.new-champion-showcase-content p {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.new-champion-showcase-link { color: #fff; font-size: 13px; font-weight: 700; }

/* ============================================
   TRENDING NOW — GUIDE GRID
   ============================================ */
.home-section-card {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(17,25,42,0.92) 0%, rgba(12,18,31,0.96) 100%);
  border: 1px solid rgba(255,255,255,0.06);
}

.trending-guide-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 400px;
  gap: 12px;
  align-items: start;
}

/* Sol: büyük kart */
.trending-guide-main {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}

.trending-guide-main:hover {
  transform: translateY(-3px);
  border-color: rgba(79,124,255,0.25);
}

.trending-guide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.trending-guide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,20,0.05) 0%, rgba(8,12,20,0.85) 100%);
}

.trending-guide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
}

.trending-guide-content h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.trending-guide-content p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 600;
}

/* Sağ: 2x4 grid — yüksekliği ana kartla senkronize */
.trending-guide-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
  height: 400px;
}

.trending-guide-sub-card {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
  min-height: 0;
}

.trending-guide-sub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79,124,255,0.25);
}

.trending-guide-sub-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.trending-guide-sub-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(8,12,20,0.88) 100%);
}

.trending-guide-sub-content span {
  color: #eef3ff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* fallback */
.trending-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto;
}

.trend-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .15s ease;
  position: relative;
}

.trend-card:hover { transform: translateY(-2px); }

.champ-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.no-data {
  max-width: 1280px;
  margin: 0 auto;
  color: rgba(255,255,255,0.70);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .patch-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .new-champions-showcase { grid-template-columns: repeat(3, minmax(240px, 1fr)); }
  .trending-guide-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .trending-guide-main { height: 300px; }
  .trending-guide-sub { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 140px); height: auto; }
}

@media (max-width: 992px) {
  .home-main-title { font-size: 28px; letter-spacing: 2px; }
  .home-lol-icon { width: 44px; height: 44px; }
  .new-champions-showcase { grid-template-columns: repeat(2, minmax(260px, 380px)); }
  .new-champion-showcase-card { height: 300px; }
  .trending-guide-sub { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 120px); height: auto; }
}

@media (max-width: 768px) {
  .page-section { padding-left: 12px !important; padding-right: 12px !important; }
  .home-top { padding: 28px 14px 24px; min-height: auto; }
  .home-main-title { font-size: 22px; letter-spacing: 1px; }
  .home-lol-icon { width: 36px; height: 36px; }
  .home-main-accent { font-size: 9px; letter-spacing: 4px; }
  .home-main-search { max-width: 100%; }
  .home-kbd { display: none; }
  .patch-home-grid { grid-template-columns: 1fr; gap: 14px; }
  .patch-home-card { border-radius: 16px; }
  .patch-home-card-body { padding: 14px 14px 16px; }
  .patch-home-card-body h3 { font-size: 18px; }
  .new-champions-showcase { grid-template-columns: 1fr; gap: 14px; }
  .new-champion-showcase-card { height: 280px; border-radius: 18px; }
  .trending-guide-grid { grid-template-columns: 1fr; }
  .trending-guide-main { height: 260px; }
  .trending-guide-sub { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 110px); height: auto; }
}

@media (max-width: 520px) {
  .home-main-title { font-size: 18px; }
  .home-main-accent { letter-spacing: 3px; }
  .trending-guide-sub { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 100px); }
  .trending-guide-sub-content span { font-size: 10px; }
}
/* home search border kaldır */
.home-main-search {
  border-color: transparent !important;
}
.home-main-search:focus-within {
  border-color: transparent !important;
  box-shadow: none !important;
}
