
/* ==========================================================================
   HEYET GAMING - ULTRA CYBERSHOCK ESPORTS REDESIGN (FORCE OVERRIDE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

html, body, #root, .page, .skinspage, .after-team-selection {
    background-color: #06080d !important;
    background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.12) 0%, #06080d 70%) !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    color: #f1f5f9 !important;
    min-height: 100vh !important;
}

/* Background watermark wolf */
.page::before, .skinspage::before {
    content: "" !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 650px !important;
    height: 650px !important;
    background: url('/assets/heyet_wolf_metallic.jpg') center center / contain no-repeat !important;
    opacity: 0.04 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Header Navbar */
header, .site-header, nav {
    background: rgba(9, 13, 22, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 2px solid rgba(249, 115, 22, 0.25) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(249, 115, 22, 0.15) !important;
}

/* Weapons Section Container */
.weapons-section {
    max-width: 1350px !important;
    margin: 0 auto !important;
    padding: 2rem 1.5rem !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Toolbar Title & Headers */
.weapons-toolbar__eyebrow {
    color: #f97316 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 4px !important;
}

.weapons-toolbar__title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 36px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    letter-spacing: 1px !important;
    text-shadow: 0 2px 15px rgba(249, 115, 22, 0.3) !important;
}

.weapons-grid-label {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin-top: 28px !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.weapons-grid-label::after {
    content: "" !important;
    flex: 1 !important;
    height: 1px !important;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.4), transparent) !important;
}

/* Equipped Loadout Card (Hero) */
.category-button--loadout, .loadout-category-slot {
    background: linear-gradient(135deg, rgba(20, 27, 44, 0.9) 0%, rgba(10, 14, 24, 0.95) 100%) !important;
    border: 1px solid rgba(249, 115, 22, 0.35) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(249, 115, 22, 0.08) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}
.category-button--loadout:hover {
    border-color: #f97316 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(249, 115, 22, 0.25) !important;
}
.loadout-category-slot__hint {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Category Button Grid / Row */
.weapon-categories {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
    gap: 12px !important;
    background: rgba(12, 17, 29, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 10px !important;
    margin: 20px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.category-button {
    background: rgba(18, 25, 41, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    padding: 14px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.category-button:hover {
    background: rgba(30, 42, 68, 0.95) !important;
    border-color: rgba(249, 115, 22, 0.5) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(249, 115, 22, 0.2) !important;
}

.category-button.is-active, .category-button[aria-selected="true"] {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.28) 0%, rgba(234, 88, 12, 0.15) 100%) !important;
    border: 2px solid #f97316 !important;
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.4), inset 0 0 15px rgba(249, 115, 22, 0.15) !important;
    transform: translateY(-2px) !important;
}

.category-button__text {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #e2e8f0 !important;
    letter-spacing: 0.5px !important;
}

.category-button.is-active .category-button__text {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.8) !important;
}

/* Weapons Grid */
.weapons-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 10px !important;
}

/* Cyber Weapon Cards */
.weapon-card, .weapon-card-shell {
    background: linear-gradient(145deg, rgba(16, 22, 36, 0.88) 0%, rgba(10, 14, 24, 0.95) 100%) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 22px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 220px !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55) !important;
}

.weapon-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(circle at 50% 40%, rgba(249, 115, 22, 0.15) 0%, transparent 65%) !important;
    opacity: 0 !important;
    transition: opacity 0.35s ease !important;
    pointer-events: none !important;
}

.weapon-card:hover {
    background: linear-gradient(145deg, rgba(24, 34, 56, 0.95) 0%, rgba(14, 20, 34, 0.98) 100%) !important;
    border-color: #f97316 !important;
    transform: translateY(-8px) scale(1.025) !important;
    box-shadow: 0 22px 50px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(249, 115, 22, 0.3) !important;
}

.weapon-card:hover::before {
    opacity: 1 !important;
}

.weapon-card .weapon-img, .weapon-card img {
    height: 110px !important;
    object-fit: contain !important;
    margin: 10px auto !important;
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.7)) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease !important;
}

.weapon-card:hover .weapon-img, .weapon-card:hover img {
    transform: scale(1.1) translateY(-4px) !important;
    filter: drop-shadow(0 16px 25px rgba(249, 115, 22, 0.4)) !important;
}

.weapon-card .weapon-name {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
    margin-top: 8px !important;
}

.weapon-card .weapon-sub {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

/* Hide all open source attributions, popups, related projects, github links */
.site-related,
.site-related__panel,
.site-related__panel--portal,
.site-related__trigger,
.site-related__list,
.site-related__item,
.site-related__intro,
.site-related__name,
.site-related__author,
.site-related__license,
.site-related__note,
.site-related__link,
.site-related__caret,
.site-related-in,
[class*="site-related"],
[class*="related"],
.site-footer__github,
.site-footer__github-icon,
.login-github,
.login-github__icon,
[class*="github"],
a[href*="github.com"],
.cookie-banner,
.cookie-consent,
[class*="cookie"],
[class*="Cookie"],
.login-footer,
.login-attribution,
[class*="attribution"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -99999px !important;
}

/* Sleek Centered Footer */
.site-footer {
    padding: 30px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 50px !important;
}

.site-footer__inner {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.site-footer__inner::after {
    content: "HEYET GAMING © 2026 - Tüm Hakları Saklıdır." !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}
/* FIX: Ensure Header & Dropdown Popups are ALWAYS on top of page content */
header, .site-header, nav, .site-header__inner {
    position: relative !important;
    z-index: 999999 !important;
    overflow: visible !important;
}

.weapons-toolbar, .weapons-section, .weapons-grid, .page, .skinspage, .after-team-selection {
    position: relative !important;
    z-index: 1 !important;
}

/* Dropdowns, Modals, Menus, Tooltips */
.wp-team-panel, 
.wp-menu-panel, 
.wp-user-panel, 
.wp-loadouts-menu,
.wp-loadouts-modal,
.wp-loadouts-modal__panel,
.wp-sheet__panel,
.wp-dialog__panel,
[class*="menu-panel"], 
[class*="dropdown-panel"],
[role="menu"],
[role="dialog"] {
    z-index: 9999999 !important;
    position: absolute !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(249, 115, 22, 0.25) !important;
}
/* Ensure NO clipping happens on dropdown menus anywhere */
.after-team-selection, .weapons-section, .weapons-toolbar, .skinspage, .page, #root {
    overflow: visible !important;
}

.site-header {
    position: relative !important;
    z-index: 999999 !important;
}

.wp-team-panel, .wp-menu-panel, .wp-loadouts-modal, .wp-loadouts-menu, .wp-user-panel {
    z-index: 9999999 !important;
}
/* PERFECT DROPDOWN MENUS POSITIONING & LAYER FIX */
header, .site-header, nav, .site-header__inner {
    position: relative !important;
    z-index: 999999 !important;
    overflow: visible !important;
}

.wp-menu {
    position: relative !important;
}

.wp-menu-panel, .wp-team-panel, .wp-loadouts-panel, .wp-user-panel, [class*="menu-panel"] {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    z-index: 9999999 !important;
    background: rgba(14, 19, 32, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(249, 115, 22, 0.45) !important;
    border-radius: 16px !important;
    padding: 8px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(249, 115, 22, 0.25) !important;
}

.wp-menu-item {
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    color: #e2e8f0 !important;
}

.wp-menu-item:hover {
    background: rgba(249, 115, 22, 0.2) !important;
    color: #ffffff !important;
}

.weapons-toolbar, .weapons-section, .weapons-grid, .page, .skinspage, .after-team-selection {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
}
/* ==========================================================================
   PERFECT STACKING CONTEXT & Z-INDEX FOR APP-TOPBAR DROPDOWNS
   ========================================================================== */

.app-topbar, .app-shell .app-topbar, .app-shell--pick .app-topbar {
    position: relative !important;
    z-index: 9999999 !important;
    overflow: visible !important;
    background: rgba(9, 13, 22, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 2px solid rgba(249, 115, 22, 0.3) !important;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.85) !important;
}

.app-topbar__inner, .app-topbar__left, .app-topbar__right {
    overflow: visible !important;
    position: relative !important;
}

.app-main, .app-weapons, .weapons-section, .weapons-toolbar, .weapons-grid, .after-team-selection {
    position: relative !important;
    z-index: 1 !important;
}

/* All Dropdown Panels (Team, Loadouts, User, Language) */
.wp-menu {
    position: relative !important;
    overflow: visible !important;
}

.wp-menu-panel, 
.wp-team-panel, 
.wp-loadouts-panel, 
.wp-user-panel,
.wp-sheet__panel,
.wp-dialog__panel,
[class*="wp-menu-panel"],
[class*="team-panel"],
[class*="loadouts-panel"],
[class*="user-panel"] {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    z-index: 99999999 !important;
    background: rgba(13, 18, 30, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(249, 115, 22, 0.5) !important;
    border-radius: 16px !important;
    padding: 8px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(249, 115, 22, 0.3) !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wp-menu-item, .wp-team-back, .wp-user-logout {
    cursor: pointer !important;
    pointer-events: auto !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.wp-menu-item:hover, .wp-team-back:hover, .wp-user-logout:hover {
    background: rgba(249, 115, 22, 0.25) !important;
    color: #ffffff !important;
    transform: translateX(3px) !important;
}
/* ===== HEYET STEAM GRUP MODAL ===== */
#heyet-group-modal {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
.hgm-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}
.hgm-box {
  position: relative; z-index: 1;
  background: linear-gradient(145deg, rgba(18, 16, 28, 0.98) 0%, rgba(26, 18, 36, 0.98) 100%);
  border: 1px solid rgba(249, 115, 22, 0.45);
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 500px;
  width: 92%;
  text-align: center;
  box-shadow: 0 0 60px rgba(249, 115, 22, 0.25), 0 24px 64px rgba(0,0,0,0.8);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hgm-close {
  position: absolute;
  top: 14px; right: 18px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.hgm-close:hover { color: #f97316; }
.hgm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fb923c;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 9999px;
  text-transform: uppercase;
}
.hgm-title {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}
.hgm-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}
.hgm-desc strong { color: #f97316; }
.hgm-alert {
  background: rgba(30, 24, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}
.hgm-alert-warning {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.4);
}
.hgm-alert-icon { font-size: 1.4rem; line-height: 1.2; flex-shrink: 0; }
.hgm-alert-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  line-height: 1.45;
}
.hgm-alert-text strong { color: #fb923c; }
.hgm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}
.hgm-btn-join {
  display: inline-block;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.hgm-btn-join:hover {
  background: linear-gradient(135deg, #fb923c, #f97316);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.55);
}
.hgm-btn-privacy {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.hgm-btn-privacy:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: #60a5fa;
  color: #93c5fd;
}
.hgm-btn-retry {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  padding: 9px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.hgm-btn-retry:hover {
  border-color: #f97316;
  color: #f97316;
}