/* ============================================================
   AXIS CS2 PLATFORM — MAIN STYLESHEET
   ============================================================ */

:root {
  --orange: #f47c20;
  --orange-dark: #d4610a;
  --orange-glow: rgba(244, 124, 32, 0.3);
  --bg-dark: #0d0d0d;
  --bg-card: #111111;
  --bg-card2: #161616;
  --bg-nav: #0a0a0a;
  --border: #222222;
  --border-orange: #f47c20;
  --text-white: #ffffff;
  --text-gray: #aaaaaa;
  --text-dim: #666666;
  --font-main: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-nav);
  border-bottom: 2px solid var(--orange);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 58px;
  gap: 20px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img { height: 40px; width: auto; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-main);
}

.logo-text span {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 3px;
}

.logo-text small {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--text-gray);
}

.nav-links {
  display: flex;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 20px 14px;
  color: var(--text-gray);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--orange);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-socials {
  display: flex;
  gap: 8px;
}

.social-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: color 0.2s;
}

.social-icon:hover { color: var(--orange); }
.social-icon svg { width: 16px; height: 16px; }

.btn-discord {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn-discord:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 22px;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 10px 0;
}

.mobile-menu a {
  padding: 12px 24px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-gray);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover { color: var(--orange); background: rgba(244,124,32,0.05); }
.mobile-menu.open { display: flex; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  height: 360px;
  overflow: hidden;
  margin: 0;
}

.slider-wrapper {
  display: flex;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a1a2e;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
}

.slide-overlay-light {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}

/* Slide Content Variants */
.slide-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.left-content {
  left: 80px;
  max-width: 420px;
}

.left-content .slide-logo {
  width: 80px;
  margin-bottom: 18px;
}

.left-content h2 {
  font-family: var(--font-main);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.left-content h2 .orange { color: var(--orange); }

.btn-slide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 10px 20px;
  transition: all 0.2s;
}

.btn-slide:hover {
  background: var(--orange);
  border-color: var(--orange);
}

/* Center Slide (Slide 2) */
.center-content {
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 650px;
}

.slide-title-big {
  font-family: var(--font-main);
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.9);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 10px;
}

.trophy-img {
  width: 70px;
  margin: 5px auto;
  filter: drop-shadow(0 0 12px var(--orange));
}

.slide-logo-sm {
  width: 55px;
  margin: 5px auto;
}

.prize-list { margin-top: 10px; }

.prize-main {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.prize-secondary {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-top: 3px;
}

.btn-rgl {
  display: inline-block;
  margin-top: 14px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 12px 40px;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn-rgl:hover { background: var(--orange-dark); }

/* Right Slide (Slide 3) */
.right-content {
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.ranking-card {
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 18px 24px;
  width: 240px;
  position: relative;
}

.ranking-card h3 {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 12px;
}

.ranking-list { counter-reset: none; }

.ranking-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  font-family: var(--font-main);
  font-size: 14px;
  counter-increment: rank;
}

.ranking-list li::before {
  content: counter(rank) ".";
  color: var(--text-dim);
  width: 20px;
  font-size: 12px;
}

.ranking-list .team { flex: 1; color: #ddd; }
.ranking-list .pts { color: var(--orange); font-weight: 700; }

.rgl-shield {
  width: 70px;
  margin: 12px auto 0;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 28px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover { background: var(--orange); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active { background: var(--orange); }

/* ============================================================
   MAIN CONTENT LAYOUT
   ============================================================ */
.main-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px 20px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
}

/* ============================================================
   NEWS SECTION
   ============================================================ */
.section-title {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--orange);
}

.news-card {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.news-card:last-of-type { border-bottom: none; }

.news-thumbnail {
  flex-shrink: 0;
  width: 180px;
  height: 115px;
}

.news-thumb-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #1a1a2e;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
}

.news-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}

.news-thumb-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 1px;
}

.news-body { flex: 1; }

.news-date { color: var(--text-dim); font-size: 12px; }

.news-category { display: inline-block; font-family: var(--font-main); font-size: 11px; font-weight: 700; letter-spacing: 2px; padding: 2px 8px; border-radius: 2px; margin-bottom: 6px; text-transform: uppercase; }
.cat-turnee  { background: var(--orange); color: #fff; }
.cat-update  { background: #3a7bd5; color: #fff; }
.cat-general { background: #555; color: #fff; }

.news-title {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.news-title a { color: #fff; transition: color 0.2s; }
.news-title a:hover { color: var(--orange); }

.news-excerpt {
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-dim);
  font-size: 12px;
}

.btn-read {
  margin-left: auto;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 2px;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-read:hover { background: var(--orange-dark); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-gray);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  border-radius: 2px;
}

.page-btn:hover,
.page-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.page-btn.arrow { font-size: 18px; }
.page-btn.disabled { cursor: default; background: var(--bg-card); border-color: var(--border); color: var(--text-dim); pointer-events: none; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.sidebar-header h3 {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.see-all {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--orange);
  transition: opacity 0.2s;
}

.see-all:hover { opacity: 0.7; }

.leaderboard-subtitle {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--orange);
  text-align: center;
  padding: 6px 16px;
  background: rgba(244,124,32,0.07);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}

.lb-echipe-label { color: #4caf50; background: rgba(76,175,80,0.07); }
.rank-wins { color: #4caf50 !important; }
.rank-wins small { color: #2e7d32 !important; font-size: 10px; margin-left: 1px; }

/* Rank position colors */
.rank-pos.top1 { color: #ffd700; }
.rank-pos.top2 { color: #c0c0c0; }
.rank-pos.top3 { color: #cd7f32; }

/* Ranking Rows */
.rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.rank-row:last-child { border-bottom: none; }
.rank-row:hover { background: rgba(255,255,255,0.02); }

.rank-pos {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dim);
  width: 20px;
  text-align: center;
}

.rank-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 2px;
}

.rank-name {
  flex: 1;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: #ddd;
}

.rank-pts {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
}

.rank-pts small {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  margin-left: 2px;
}

/* Transfer Rows */
.transfer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.transfer-player {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.player-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--border);
}

.transfer-player strong {
  display: block;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.transfer-player small {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
}

.transfer-arrow {
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
}

.transfer-to {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 80px;
}

.transfer-to small {
  font-size: 10px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.2;
}

.btn-orange-full {
  display: block;
  width: calc(100% - 32px);
  margin: 12px 16px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px;
  text-align: center;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn-orange-full:hover { background: var(--orange-dark); }

/* ============================================================
   PARTNERS / FOOTER BAR
   ============================================================ */
.partners-bar {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.partners-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.partners-label {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}

.partner-link { opacity: 0.7; transition: opacity 0.2s; }
.partner-link:hover { opacity: 1; }
.partner-link img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.partner-text {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 2px;
}

.footer-right-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--text-dim);
  margin-left: auto;
}

.footer-right-links a {
  color: var(--text-dim);
  font-family: var(--font-main);
  letter-spacing: 1px;
  font-size: 12px;
  transition: color 0.2s;
}

.footer-right-links a:hover { color: var(--orange); }

/* ============================================================
   ADDITIONAL PAGES — Generic Layout
   ============================================================ */
.page-hero {
  background: linear-gradient(180deg, #111 0%, var(--bg-dark) 100%);
  padding: 40px 20px;
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}

.page-hero h1 span { color: var(--orange); }

.page-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px 20px;
}

.full-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-main);
}

.full-table th {
  background: var(--bg-card2);
  color: var(--text-gray);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.full-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: #ddd;
  font-size: 15px;
}

.full-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .main-container { grid-template-columns: 1fr 300px; }
}

@media (max-width: 900px) {
  .main-container { grid-template-columns: 1fr; }
  .sidebar { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .sidebar-box { margin-bottom: 0; }
}

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-slider { height: 280px; }
  .left-content { left: 50px; }
  .left-content h2 { font-size: 26px; }
  .slide-title-big { font-size: 28px; }
  .sidebar { grid-template-columns: 1fr; }
  .news-card { flex-direction: column; }
  .news-thumbnail { width: 100%; height: 140px; }
  .partners-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-right-links { margin-left: 0; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-slider { height: 240px; }
  .left-content { left: 20px; }
  .slider-btn { display: none; }
}
