/* CS2 Official Valve Dark Theme Styles for Guides & Subpages */

@font-face {
  font-family: "Stratum2";
  src: url("https://cdn.fastly.steamstatic.com/apps/csgo/fonts/Stratum2WebBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Stratum2";
  src: url("https://cdn.fastly.steamstatic.com/apps/csgo/fonts/Stratum2WebMedium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Stratum2";
  src: url("https://cdn.fastly.steamstatic.com/apps/csgo/fonts/Stratum2WebRegular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg-primary: #15171b;
  --bg-secondary: #1a1d23;
  --bg-card: #20242c;
  --bg-card-hover: #272c36;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(222, 155, 53, 0.4);
  
  --color-orange: #de9b35;
  --color-orange-glow: rgba(222, 155, 53, 0.35);
  --color-accent: #00d2ff;
  --color-yellow: #ffb800;
  --color-green: #00e676;
  --color-red: #ff3366;
  
  --text-primary: #f0f3f8;
  --text-secondary: #9aa4b5;
  --text-muted: #5e6878;
  
  --font-main: "Stratum2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Stratum2", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Stratum2 Mono", Consolas, Menlo, monospace;
  
  --container-max: 1300px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
}

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

html, body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(222, 155, 53, 0.12) 0%, rgba(21, 23, 27, 0) 70%),
    radial-gradient(ellipse 70% 50% at 85% 80%, rgba(0, 210, 255, 0.05) 0%, rgba(21, 23, 27, 0) 60%),
    url("../img/linemap-20.png");
  background-repeat: repeat;
  background-attachment: fixed;
  background-position: center top;
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ==============================================================================
   IZI HUB - PREMIUM UNIFIED HEADER (2026)
   High Visibility, Centered Navigation, Responsive & Overflow-Safe
   ============================================================================== */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 999999 !important;
  background: #0b0e14 !important;
  background: linear-gradient(180deg, #11151e 0%, #090c11 100%) !important;
  border-bottom: 2px solid #ff9b01 !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 155, 1, 0.15) !important;
  width: 100% !important;
}

/* Hide duplicate Valve CS2 React header */
.U7wdCoQycRPyErCfTw2sv,
.RsnZktJ6AqSXT0LNzVzby,
._3vieaG5rLZslvZ_VHHW52V,
._27Q74UuZ44HRqM7xwtBYRG {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.site-header .container {
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  width: 100% !important;
}

.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 64px !important;
  gap: 12px !important;
  width: 100% !important;
}

.site-header .logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-weight: 900 !important;
  font-size: 1.25rem !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  flex-shrink: 0 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.site-header .logo-badge {
  background: linear-gradient(135deg, #ff9b01, #ff5e00) !important;
  color: #000000 !important;
  font-size: 0.72rem !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  font-weight: 900 !important;
  letter-spacing: 0.8px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.site-header nav,
.site-header .header-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 1 auto !important;
  margin: 0 10px !important;
  min-width: max-content !important;
}

.site-header .nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  list-style: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.site-header .nav-link {
  color: #d1d5db !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  padding: 7px 11px !important;
  border-radius: 5px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.site-header .nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 155, 1, 0.15) !important;
  text-shadow: 0 0 10px rgba(255, 155, 1, 0.5) !important;
}

.site-header .nav-link.active {
  color: #ff9b01 !important;
  background: rgba(255, 155, 1, 0.18) !important;
  border-bottom: 2px solid #ff9b01 !important;
}

.site-header .header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.btn-header-partner {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 6px 12px !important;
  border-radius: 5px !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  color: #00d4ff !important;
  background: rgba(0, 212, 255, 0.1) !important;
  border: 1px solid rgba(0, 212, 255, 0.45) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}
.btn-header-partner:hover {
  background: rgba(0, 212, 255, 0.25) !important;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.4) !important;
}

.btn-header-tg {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  border-radius: 5px !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  color: #ffffff !important;
  background: #229ed9 !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(34, 158, 217, 0.3) !important;
}
.btn-header-tg:hover {
  background: #2cb3f2 !important;
  box-shadow: 0 0 15px rgba(34, 158, 217, 0.6) !important;
}

.btn-header-services {
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 14px !important;
  border-radius: 5px !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  color: #000000 !important;
  background: linear-gradient(135deg, #ff9b01, #ff7324) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(255, 155, 1, 0.3) !important;
}
.btn-header-services:hover {
  background: linear-gradient(135deg, #ffaa2b, #ff853f) !important;
  box-shadow: 0 0 15px rgba(255, 155, 1, 0.6) !important;
}

@media (max-width: 1250px) {
  .site-header .nav-link {
    font-size: 0.75rem !important;
    padding: 6px 7px !important;
    letter-spacing: 0.4px !important;
  }
  .cs2-search-container {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .site-header .nav-links {
    gap: 3px !important;
  }
  .site-header .nav-link {
    font-size: 0.72rem !important;
    padding: 5px 6px !important;
  }
  .btn-header-services {
    display: none !important;
  }
}

/* Responsive Mobile Header (< 992px) */
@media (max-width: 991px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .site-header {
    height: auto !important;
    padding: 6px 0 !important;
  }

  .site-header .container {
    padding: 0 12px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .header-inner {
    flex-wrap: wrap !important;
    height: auto !important;
    gap: 8px 12px !important;
  }

  .site-header .logo {
    font-size: 1.1rem !important;
  }

  .site-header nav,
  .site-header .header-nav {
    order: 3 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 4px 0 2px 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
  }

  .site-header nav::-webkit-scrollbar,
  .site-header .header-nav::-webkit-scrollbar {
    display: none !important;
  }

  .site-header .nav-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: max-content !important;
    padding: 2px 0 4px 0 !important;
  }

  .site-header .nav-link {
    font-size: 0.78rem !important;
    padding: 6px 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 4px !important;
  }

  .site-header .header-actions {
    order: 2 !important;
    gap: 6px !important;
  }

  .btn-header-services,
  .cs2-search-container {
    display: none !important;
  }

  .btn-header-partner {
    font-size: 0.74rem !important;
    padding: 5px 8px !important;
  }

  .btn-header-tg {
    font-size: 0.74rem !important;
    padding: 5px 10px !important;
  }
}

@media (max-width: 480px) {
  .site-header .logo {
    font-size: 0.95rem !important;
    letter-spacing: 0.8px !important;
  }
  .site-header .logo-badge {
    font-size: 0.65rem !important;
    padding: 2px 5px !important;
  }
  .btn-header-partner {
    font-size: 0.7rem !important;
    padding: 4px 6px !important;
  }
  .btn-header-tg {
    font-size: 0.7rem !important;
    padding: 4px 7px !important;
  }
}



/* Header Search Bar */
.cs2-search-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
}

.cs2-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cs2-search-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  padding: 7px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  width: 160px;
  transition: all 0.25s ease;
  outline: none;
}

.cs2-search-input:focus {
  width: 230px;
  background: rgba(18, 22, 28, 0.98);
  border-color: #00d2ff;
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.35);
}

.cs2-search-icon {
  display: none !important;
}

.cs2-search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-height: 440px;
  overflow-y: auto;
  background: #12151b;
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  z-index: 999999;
  display: none;
}

.btn-tg {
  background: rgba(34, 158, 217, 0.12) !important;
  border: 1px solid rgba(34, 158, 217, 0.45) !important;
  color: #229ed9 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 7px 14px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.btn-tg::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69a.2.2 0 00-.05-.18c-.06-.05-.14-.03-.21-.02-.09.02-1.49.95-4.22 2.79-.4.27-.76.41-1.08.4-.36-.01-1.04-.2-1.55-.37-.63-.2-1.12-.31-1.08-.66.02-.18.27-.36.74-.55 2.92-1.27 4.86-2.11 5.83-2.51 2.78-1.16 3.35-1.36 3.73-1.36.08 0 .27.02.39.12.1.08.13.19.14.27-.01.06.01.24 0 .37z'/%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69a.2.2 0 00-.05-.18c-.06-.05-.14-.03-.21-.02-.09.02-1.49.95-4.22 2.79-.4.27-.76.41-1.08.4-.36-.01-1.04-.2-1.55-.37-.63-.2-1.12-.31-1.08-.66.02-.18.27-.36.74-.55 2.92-1.27 4.86-2.11 5.83-2.51 2.78-1.16 3.35-1.36 3.73-1.36.08 0 .27.02.39.12.1.08.13.19.14.27-.01.06.01.24 0 .37z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  flex-shrink: 0;
}

.btn-tg:has(svg)::before {
  display: none !important;
}

.btn-tg:hover {
  background: #229ed9 !important;
  color: #ffffff !important;
  border-color: #229ed9 !important;
  box-shadow: 0 0 16px rgba(34, 158, 217, 0.5) !important;
  transform: translateY(-1px) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #de9b35, #ff7324);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(222, 155, 53, 0.25);
  transition: all 0.2s;
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(255, 115, 36, 0.45);
  transform: translateY(-1px);
}

/* Category Grid & Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.cat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(222, 155, 53, 0.12);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.cat-icon-wrap img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.cat-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #fff;
}

.cat-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.cat-arrow {
  color: var(--color-orange);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* CTA Banner */
.cta-banner {
  margin: 50px 0;
  padding: 36px;
  background: linear-gradient(135deg, rgba(222, 155, 53, 0.12) 0%, rgba(26, 29, 35, 0.95) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.cta-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cta-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 650px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Universal Reviews Component */
.reviews-section {
  padding: 50px 0;
  border-top: 1px solid var(--border-color);
}

.section-head {
  margin-bottom: 24px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-orange);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rating-big {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.rating-stars {
  color: var(--color-yellow);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.rating-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.review-form-wrap {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
}

.review-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.review-form-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: center;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: #111317;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--color-orange);
}

.form-textarea {
  resize: vertical;
  min-height: 85px;
}

.star-rating-select {
  display: flex;
  gap: 4px;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
}

.star-rating-select .star.active {
  color: var(--color-yellow);
}

.review-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.no-reg-badge {
  font-size: 0.85rem;
  color: var(--color-green);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #de9b35, #ff7324);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.reviewer-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-stars {
  color: var(--color-yellow);
  font-size: 0.9rem;
}

.review-comment {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #0d0e12;
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: var(--color-orange);
  font-weight: 700;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-buttons { width: 100%; justify-content: center; }
}

/* Mega Menu Dropdowns for CS2 & PUBG */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
  cursor: pointer;
  padding: 5px;
  margin-left: 2px;
  box-sizing: content-box;
}

.dropdown-arrow:hover {
  filter: brightness(1.3);
}

.nav-item-dropdown.active .dropdown-arrow,
.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(-135deg) translateY(-2px);
}

.site-header .nav-link.nav-tag-live {
  color: #00ff88 !important;
}

.site-header .nav-link.nav-tag-live:hover {
  background: rgba(0, 255, 136, 0.15) !important;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5) !important;
}

.site-header .nav-link.nav-tag-live.active {
  color: #00ff88 !important;
  background: rgba(0, 255, 136, 0.18) !important;
  border-bottom: 2px solid #00ff88 !important;
}

.mega-dropdown-panel {
  position: fixed !important;
  top: 70px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  width: 95vw !important;
  max-width: 1240px !important;
  max-height: 85vh !important;
  height: auto !important;
  overflow-y: auto !important;
  background: #111317 !important;
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(222, 155, 53, 0.08) 0%, transparent 70%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-top: 2px solid var(--color-orange) !important;
  border-radius: 10px !important;
  padding: 24px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s !important;
  z-index: 9999999 !important;
}

.mega-dropdown-panel.pubg-theme {
  border-top-color: #ffb800 !important;
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 184, 0, 0.08) 0%, transparent 70%) !important;
}

.mega-dropdown-panel.wardogs-theme {
  border-top-color: #ff9b01 !important;
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 155, 1, 0.12) 0%, transparent 70%) !important;
}

.mega-dropdown-panel.live-theme {
  border-top-color: #00ff88 !important;
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 255, 136, 0.1) 0%, transparent 70%) !important;
}

/* Invisible hover bridge */
.nav-item-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 25px;
  background: transparent;
  display: block;
  z-index: 999999;
}

.nav-item-dropdown.open .mega-dropdown-panel,
.nav-item-dropdown:hover .mega-dropdown-panel {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* Card Grid inside Mega Menu */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .mega-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.mega-card {
  background: #17191e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.mega-card:hover {
  background: #1d2128;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.mega-card.pubg:hover {
  border-color: rgba(255, 184, 0, 0.5);
}

.mega-card.cs2:hover {
  border-color: rgba(0, 210, 255, 0.5);
}

.mega-card.wardogs:hover {
  border-color: rgba(255, 155, 1, 0.6) !important;
  box-shadow: 0 8px 24px rgba(255, 155, 1, 0.2) !important;
}

.mega-card.wardogs .mega-action {
  color: #ff9b01 !important;
}

.mega-card.live-card:hover {
  border-color: rgba(0, 255, 136, 0.6) !important;
  box-shadow: 0 8px 24px rgba(0, 255, 136, 0.18) !important;
}

.mega-card.live-card .mega-action {
  color: #00ff88 !important;
}

.mega-tag.live-tag {
  background: rgba(0, 255, 136, 0.12) !important;
  color: #00ff88 !important;
  border: 1px solid rgba(0, 255, 136, 0.28) !important;
}

.nav-live-dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  min-height: 7px;
  border-radius: 50%;
  background-color: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  display: inline-block;
  animation: navLivePulse 1.8s infinite ease-in-out;
}

@keyframes navLivePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 6px #00ff88;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.55;
    box-shadow: 0 0 12px #00ff88;
  }
}

.mega-card-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
}

.mega-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.mega-card-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.mega-card-desc {
  color: #8b929a;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0 0 14px 0;
  flex: 1;
}

.mega-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mega-tag {
  color: #656d78;
  font-size: 0.74rem;
  font-weight: 600;
}

.mega-action {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #de9b35;
}

.mega-card.pubg .mega-action {
  color: #ffb800;
}

.mega-card.cs2 .mega-action {
  color: #00d2ff;
}

/* ----------------------------------------------------
   NEW MACROSCS.COM PORTED COMPONENTS
---------------------------------------------------- */

/* 2. Video Preview Cards */
.video-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.video-showcase-card {
  background: #15171b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.video-showcase-card:hover {
  transform: translateY(-4px);
  border-color: #00d4ff;
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.2);
}

.video-thumbnail-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
  overflow: hidden;
}

.video-thumbnail-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-showcase-card:hover .video-thumbnail-box img {
  transform: scale(1.05);
}

.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0, 85, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 24px rgba(0, 85, 255, 0.6);
  transition: transform 0.2s, background 0.2s;
}

.video-showcase-card:hover .video-play-overlay {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ff0000;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
}

.video-card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 3. Telegram Floating Button (Mobile & Desktop) */
.tg-floating-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0088cc, #0055ff);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 136, 204, 0.5);
  transition: all 0.25s ease;
}

.tg-floating-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 32px rgba(0, 136, 204, 0.7);
  color: #fff;
}

@media (max-width: 768px) {
  .tg-floating-button {
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
    font-size: 0.82rem;
  }
}

/* 4. Mouse Setup Modal */
.mouse-guide-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mouse-guide-modal-overlay.active {
  display: flex;
}

.mouse-guide-modal {
  background: #14171d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.9);
  font-family: var(--font-main);
}

.mouse-guide-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.mouse-guide-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mouse-brand-grid-modal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.mouse-brand-tile {
  background: #1b1e25;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.mouse-brand-tile:hover {
  border-color: #00d4ff;
  background: #21252e;
  transform: translateY(-2px);
}



/* ==============================================================================
   CS2-GUIDE.RU — AEO, Performance & Micro-Interactions Standards (2026)
   ============================================================================== */
.quick-answer-box {
  background: rgba(222, 155, 53, 0.08);
  border-left: 4px solid #de9b35;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 24px 0 32px 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.quick-answer-title {
  font-weight: 800;
  color: #de9b35;
  margin-bottom: 8px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #de9b35, #ff9b01, #00d2ff);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active, .faq-item.open {
  border-color: rgba(222, 155, 53, 0.4);
}

.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #f0f4f8;
  user-select: none;
}

.faq-question:hover {
  color: #de9b35;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px 20px;
  color: #8e9cae;
  line-height: 1.6;
}

.faq-item.active .faq-answer, .faq-item.open .faq-answer {
  display: block;
}

.btn-copy-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(222, 155, 53, 0.15);
  border: 1px solid #de9b35;
  color: #de9b35;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.btn-copy-code:hover {
  background: #de9b35;
  color: #000;
}

.btn-copy-code.copied {
  background: #00d2ff !important;
  border-color: #00d2ff !important;
  color: #000 !important;
}


/* ==============================================================================
   IZI HUB — 9:16 FLOATING SIDEBAR ROTATING AD BANNERS (LEFT & RIGHT FLANKS)
   ============================================================================== */
.side-ad-column {
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  bottom: auto !important;
  width: 220px !important;
  height: auto !important;
  max-height: 84vh !important;
  z-index: 99998 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  pointer-events: auto !important;
}

.side-ad-left {
  left: 16px !important;
}

.side-ad-right {
  right: 16px !important;
}

.side-ad-card {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
  max-height: 84vh !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 210, 255, 0.25) !important;
  border: 1.5px solid rgba(0, 210, 255, 0.45) !important;
  background: #0d0f14 !important;
  text-decoration: none !important;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, border-color 0.25s !important;
}

.side-ad-card:hover {
  transform: scale(1.03) !important;
  border-color: #00d2ff !important;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 210, 255, 0.5) !important;
}

.side-ad-img-wrapper {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 9 / 16 !important;
  overflow: hidden !important;
  background: #0a0c10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  transform: scale(1) !important;
  transition: opacity 0.35s ease, transform 0.35s ease !important;
}

.side-ad-img-wrapper.ad-fading {
  opacity: 0 !important;
  transform: scale(0.96) !important;
}

.side-ad-img-wrapper picture,
.side-ad-img-wrapper img,
.side-ad-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}

.side-ad-badge {
  position: absolute !important;
  bottom: 8px !important;
  left: 8px !important;
  right: 8px !important;
  background: rgba(10, 14, 22, 0.9) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(0, 210, 255, 0.5) !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 5px 8px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7) !important;
  pointer-events: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s !important;
}

.side-ad-card:hover .side-ad-badge {
  background: #00d2ff !important;
  color: #000 !important;
  border-color: #00d2ff !important;
}

.side-ad-arrow {
  font-size: 0.9rem !important;
  font-weight: 900 !important;
}

/* 30-Second Rotation Progress Line */
.side-ad-timer-indicator {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  overflow: hidden !important;
  z-index: 10 !important;
}

.side-ad-timer-bar {
  height: 100% !important;
  width: 0% !important;
  background: linear-gradient(90deg, #00d2ff, #de9b35) !important;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.8) !important;
}

/* Ultra-wide / 4K Monitors */
@media (min-width: 1750px) {
  .side-ad-column {
    width: 250px !important;
  }
  .side-ad-left {
    left: 24px !important;
  }
  .side-ad-right {
    right: 24px !important;
  }
  .container:not(.site-header .container):not(.site-footer .container) {
    max-width: calc(100% - 580px) !important;
  }
}

/* Standard Desktops (1440px - 1749px) */
@media (min-width: 1440px) and (max-width: 1749px) {
  .side-ad-column {
    width: 210px !important;
  }
  .side-ad-left {
    left: 14px !important;
  }
  .side-ad-right {
    right: 14px !important;
  }
  .container:not(.site-header .container):not(.site-footer .container) {
    max-width: calc(100% - 480px) !important;
  }
  .home-main-container {
    width: calc(100% - 486px) !important;
    max-width: none !important;
  }
}

/* Laptops & Standard Displays (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .side-ad-column {
    width: 170px !important;
  }
  .side-ad-left {
    left: 8px !important;
  }
  .side-ad-right {
    right: 8px !important;
  }
  .container:not(.site-header .container):not(.site-footer .container) {
    max-width: calc(100% - 370px) !important;
  }
  .home-main-container {
    width: calc(100% - 390px) !important;
    max-width: none !important;
  }
}

.site-header .container {
  max-width: 1720px !important;
  width: 100% !important;
  padding: 0 24px !important;
  margin: 0 auto !important;
}

/* Mobile, Tablets & Screens (< 1200px): NO side ads, 100% full container width */
@media (max-width: 1199px) {
  .side-ad-column {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .container,
  .site-header .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  .home-main-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
  }
}

/* MAIN HUB SECTIONS CONTAINER (EXPANDED TO REACH SIDE AD BANNERS WITH NEAT CLEARANCE) */
.home-sections-wrapper {
  width: 100% !important;
  position: relative !important;
  z-index: 100 !important;
  box-sizing: border-box !important;
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .home-main-container {
    width: calc(100% - 390px) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 1440px) and (max-width: 1749px) {
  .home-main-container {
    width: calc(100% - 486px) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 1750px) {
  .home-main-container {
    width: calc(100% - 590px) !important;
    max-width: none !important;
  }
}

/* ==========================================================================
   AUTHENTIC VALVE CS2 HERO TITLES (ПРЕДСТАВЛЯЕМ / MULTI-GAME PORTAL)
   ========================================================================== */
.hero-games-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  align-items: flex-start !important;
  margin-top: 6px !important;
  z-index: 10 !important;
}

.hero-game-item {
  font-family: 'Stratum2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 900 !important;
  color: #de9b35 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 25px rgba(222, 155, 53, 0.25) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease, text-shadow 0.2s ease !important;
  cursor: pointer !important;
  display: inline-block !important;
  text-decoration: none !important;
}

.hero-game-item:hover {
  color: #ffb833 !important;
  transform: translateX(10px) !important;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 184, 51, 0.6) !important;
}

@media (max-width: 768px) {
  .hero-games-list {
    align-items: center !important;
    text-align: center !important;
  }
  .hero-game-item {
    font-size: clamp(22px, 5.5vw, 36px) !important;
  }
  .hero-game-item:hover {
    transform: none !important;
  }
}

/* ==============================================================================
   HIDE VALVE CS2 "PLAY FOR FREE" / "ИГРАЙТЕ БЕСПЛАТНО" HEADER BUTTON
   ============================================================================== */
._3vieaG5rLZslvZ_VHHW52V,
.QtAu0wjtHtpOdRHtC8ulb,
a[href*="730/CounterStrike_2"],
a[href*="store.steampowered.com/app/730"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ==============================================================================
   COMPACT INSTANT SEARCH BAR IN SITE HEADER
   ============================================================================== */
.cs2-search-container {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 34px !important;
  margin-right: 10px !important;
  flex-shrink: 0 !important;
}

.cs2-search-input-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 34px !important;
}

svg.cs2-search-icon,
.cs2-search-icon {
  display: none !important;
}

.cs2-search-input {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 4px !important;
  height: 34px !important;
  box-sizing: border-box !important;
  padding: 0 12px !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  width: 140px !important;
  transition: width 0.25s ease, background 0.25s ease, border-color 0.25s ease !important;
  outline: none !important;
}

.cs2-search-input:focus {
  width: 200px !important;
  background: rgba(18, 22, 28, 0.98) !important;
  border-color: #00d2ff !important;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.35) !important;
}

.cs2-search-input:focus + .cs2-search-icon,
.cs2-search-input-wrap:focus-within .cs2-search-icon {
  color: #00d2ff !important;
}

.cs2-search-results {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  width: 360px !important;
  max-height: 420px !important;
  overflow-y: auto !important;
  background: #12151b !important;
  border: 1px solid rgba(0, 210, 255, 0.4) !important;
  border-radius: 6px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9) !important;
  display: none !important;
  z-index: 9999999 !important;
  padding: 8px 0 !important;
}

.cs2-search-results.active {
  display: block !important;
}

.cs2-search-item {
  display: flex !important;
  flex-direction: column !important;
  padding: 9px 14px !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: background 0.15s !important;
}

.cs2-search-item:last-child {
  border-bottom: none !important;
}

.cs2-search-item:hover {
  background: rgba(0, 210, 255, 0.12) !important;
}

.cs2-search-item-cat {
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  color: #00d2ff !important;
  text-transform: uppercase !important;
  margin-bottom: 2px !important;
}

.cs2-search-item.cat-pubg .cs2-search-item-cat {
  color: #ffb800 !important;
}

.cs2-search-item.cat-wardogs .cs2-search-item-cat {
  color: #ff9b01 !important;
}

.cs2-search-item-title {
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.cs2-search-empty {
  padding: 14px !important;
  color: #8b929a !important;
  font-size: 0.82rem !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  .cs2-search-container {
    display: none !important;
  }
}

/* ==============================================================================
   HIDE DUPLICATE VALVE CS2 REACT HEADER (LEAVING ONLY OFFICIAL IZI HUB NAVBAR)
   ============================================================================== */
.U7wdCoQycRPyErCfTw2sv,
.RsnZktJ6AqSXT0LNzVzby,
._2H33BWocDYqqID_glE3bXC {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}


/* ==============================================================================
   PRO LANGUAGE SWITCHER (RU | EN) - ZERO CLS & ESPORTS STYLING
   ============================================================================== */
.lang-switcher {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 6px !important;
  padding: 3px 5px !important;
  gap: 4px !important;
  user-select: none !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}
.lang-switcher:hover {
  border-color: rgba(255, 155, 1, 0.45) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.lang-switcher .lang-link {
  display: inline-block !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  padding: 4px 7px !important;
  border-radius: 4px !important;
  color: #8e9cae !important;
  text-decoration: none !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.15s ease !important;
  cursor: pointer !important;
}
.lang-switcher .lang-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}
.lang-switcher .lang-link.active {
  background: #ff9b01 !important;
  color: #0b0e14 !important;
  font-weight: 900 !important;
  box-shadow: 0 0 10px rgba(255, 155, 1, 0.45) !important;
  cursor: default !important;
  pointer-events: none !important;
}
.lang-switcher .lang-divider {
  color: rgba(255, 255, 255, 0.2) !important;
  font-size: 0.72rem !important;
  margin: 0 -1px !important;
  pointer-events: none !important;
}
@media (max-width: 600px) {
  .lang-switcher {
    padding: 2px 3px !important;
    gap: 2px !important;
  }
  .lang-switcher .lang-link {
    font-size: 0.7rem !important;
    padding: 3px 5px !important;
  }
}


/* ==============================================================================
   ANTI-CLS (CUMULATIVE LAYOUT SHIFT) STABILIZATION & HIGH-PERFORMANCE RENDERING
   ============================================================================== */
section:not(#hero):not(nav) {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}
.cs2-custom-footer-reviews, footer, .footer {
  contain: layout style;
}
img {
  image-rendering: auto;
  decoding: async;
}

/* ==============================================================================
   LIVE STEAM NEWS & PATCH NOTES FEED (CS2 & PUBG)
   ============================================================================== */
.steam-news-section {
  margin-bottom: 50px;
  background: #121418;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 35px 25px;
  position: relative;
  overflow: hidden;
}
.steam-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.steam-news-header .title-area h3 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 6px 0 0 0;
  letter-spacing: 0.5px;
}
.steam-news-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #00e676;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.steam-news-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
  animation: steamNewsPulse 1.8s infinite;
}
@keyframes steamNewsPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}
.steam-news-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 3px;
  gap: 4px;
  box-sizing: border-box;
}
.steam-news-tab-btn {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: #8b929a;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  outline: none;
}
.steam-news-tab-btn:hover {
  color: #fff;
}
.steam-news-tab-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}
.steam-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.steam-news-card {
  background: #15181f;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
}
.steam-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}
.steam-news-card:focus-visible {
  border-color: #00d4ff;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3);
}
.steam-news-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.steam-news-game-tag {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.steam-news-game-tag.cs2 {
  background: rgba(0, 212, 255, 0.15);
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.35);
}
.steam-news-game-tag.pubg {
  background: rgba(255, 184, 0, 0.15);
  color: #ffb800;
  border: 1px solid rgba(255, 184, 0, 0.35);
}
.steam-news-game-tag.rust {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.35);
}
.steam-news-game-tag.valorant {
  background: rgba(255, 70, 85, 0.15);
  color: #ff4655;
  border: 1px solid rgba(255, 70, 85, 0.35);
}
.steam-news-date {
  color: #9ca3af;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.steam-news-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px 0;
  letter-spacing: -0.2px;
}
.steam-news-desc {
  color: #d1d5db;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 18px 0;
  flex-grow: 1;
}
.steam-news-link {
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: all 0.2s ease;
  cursor: pointer;
  -webkit-appearance: none;
  box-sizing: border-box;
}
.steam-news-link:hover,
.steam-news-card:hover .steam-news-link {
  color: #fff;
  background: rgba(0, 212, 255, 0.22);
  border-color: rgba(0, 212, 255, 0.55);
  gap: 8px;
}

@media (max-width: 768px) {
  .steam-news-section {
    padding: 20px 14px;
    margin-bottom: 35px;
    border-radius: 10px;
  }
  .steam-news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
  }
  .steam-news-header .title-area h3 {
    font-size: 1.35rem;
  }
  .steam-news-tabs {
    width: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .steam-news-tabs::-webkit-scrollbar {
    display: none;
  }
  .steam-news-tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: center;
    padding: 7px 12px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border-radius: 6px;
  }
  .steam-news-tab-btn.active {
    background: rgba(0, 212, 255, 0.18);
    border-color: rgba(0, 212, 255, 0.45);
    color: #00d4ff;
  }
  .steam-news-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .steam-news-card {
    padding: 16px 14px;
    border-radius: 10px;
  }
  .steam-news-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
  .steam-news-desc {
    font-size: 0.88rem;
    margin-bottom: 14px;
    line-height: 1.5;
  }
  .steam-news-link {
    width: 100%;
    justify-content: center;
    padding: 9px 12px;
    font-size: 0.85rem;
  }
}

/* ============================================================
   STEAM NEWS & PATCH NOTES MODAL DIALOG (DESKTOP & MOBILE)
   ============================================================ */
body.steam-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

.steam-news-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 12, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.steam-news-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.steam-news-modal {
  background: #0f131a;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 16px;
  width: 100%;
  max-width: 720px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 212, 255, 0.12);
  transform: scale(0.94) translateY(14px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.steam-news-modal-overlay.is-active .steam-news-modal {
  transform: scale(1) translateY(0);
}

.steam-modal-drag-handle {
  display: none;
}

.steam-modal-header {
  padding: 18px 24px;
  background: #141923;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.steam-modal-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.steam-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.steam-modal-close:hover,
.steam-modal-close:focus-visible {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
  color: #f87171;
  transform: scale(1.05);
}

.steam-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.3) rgba(255, 255, 255, 0.04);
}

.steam-modal-body::-webkit-scrollbar {
  width: 6px;
}
.steam-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.steam-modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.3);
  border-radius: 3px;
}
.steam-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.6);
}

.steam-modal-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 16px 0;
  letter-spacing: -0.3px;
}

.steam-modal-lead {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 18px 0;
  padding: 12px 16px;
  background: rgba(0, 212, 255, 0.06);
  border-left: 3px solid #00d4ff;
  border-radius: 0 8px 8px 0;
}

.steam-modal-section-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 212, 255, 0.12);
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.32);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 20px 0 10px 0;
}

.steam-modal-section-badge.pubg-badge {
  background: rgba(255, 184, 0, 0.12);
  color: #ffb800;
  border-color: rgba(255, 184, 0, 0.35);
}

.steam-modal-section-badge.rust-badge {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.35);
}

.steam-modal-section-badge.valorant-badge {
  background: rgba(255, 70, 85, 0.12);
  color: #ff4655;
  border-color: rgba(255, 70, 85, 0.35);
}

.steam-modal-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.steam-modal-list-item {
  position: relative;
  padding-left: 20px;
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.6;
}

.steam-modal-list-item::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: #00d4ff;
  font-size: 1.2rem;
  line-height: 1.5;
}

.steam-modal-text {
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 10px 0;
}

.steam-modal-footer {
  padding: 16px 24px;
  background: #141923;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.steam-modal-source-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00d4ff, #0088cc);
  color: #040914 !important;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.25);
}

.steam-modal-source-btn:hover {
  background: linear-gradient(135deg, #38bdf8, #00d4ff);
  box-shadow: 0 6px 22px rgba(0, 212, 255, 0.45);
  transform: translateY(-1px);
  color: #000 !important;
}

.steam-modal-secondary-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.steam-modal-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* MOBILE ADAPTATION (< 640px) */
@media (max-width: 640px) {
  .steam-news-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .steam-news-modal {
    max-width: 100%;
    width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    transform: translateY(100%);
  }

  .steam-news-modal-overlay.is-active .steam-news-modal {
    transform: translateY(0);
  }

  .steam-modal-drag-handle {
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 2px;
    margin: 10px auto 2px auto;
  }

  .steam-modal-header {
    padding: 12px 18px 14px 18px;
  }

  .steam-modal-body {
    padding: 18px;
  }

  .steam-modal-title {
    font-size: 1.15rem;
  }

  .steam-modal-footer {
    padding: 14px 18px 18px 18px;
    flex-direction: column;
    gap: 10px;
  }

  .steam-modal-source-btn {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 0.95rem;
  }

  .steam-modal-secondary-btn {
    width: 100%;
    justify-content: center;
    padding: 11px;
    order: 2;
  }
}


