/* ==========================================================================
   Gaming Family - Mockup Theme Stylesheet
   Designed for The Isle Evrima Gateway server portal
   Matches reference mockup media_1791965650540.jpg
   ========================================================================== */

:root {
  --gf-bg-main: #06090e;
  --gf-bg-deep: #030508;
  --gf-bg-card: rgba(13, 20, 31, 0.85);
  --gf-bg-card-hover: rgba(18, 28, 43, 0.92);
  --gf-bg-box: rgba(9, 14, 22, 0.75);
  
  --gf-border: rgba(0, 229, 255, 0.12);
  --gf-border-hi: rgba(0, 229, 255, 0.4);
  --gf-border-dim: rgba(255, 255, 255, 0.08);

  --gf-cyan: #00e5ff;
  --gf-cyan-hover: #33ecff;
  --gf-cyan-dim: #00b4d8;
  --gf-cyan-glow: 0 0 20px rgba(0, 229, 255, 0.4);
  --gf-cyan-soft-glow: 0 0 12px rgba(0, 229, 255, 0.25);
  
  --gf-gold: #ffb703;
  --gf-green: #00f076;
  --gf-red: #ff3b56;

  --gf-text-hi: #ffffff;
  --gf-text-main: #e2e8f0;
  --gf-text-dim: #94a3b8;
  --gf-text-mute: #64748b;
  
  --gf-side-w: 260px;
  --gf-radius: 14px;
}

/* Force body styling */
[data-agent-look] body,
body {
  background-color: var(--gf-bg-main) !important;
  color: var(--gf-text-main) !important;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  padding-left: var(--gf-side-w, 260px) !important;
}

/* --------------------------------------------------------------------------
   Sidebar Redesign
   -------------------------------------------------------------------------- */
[data-agent-look] .ag-side {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: var(--gf-side-w, 260px) !important;
  background: linear-gradient(180deg, #090e15 0%, #05080c 100%) !important;
  border-right: 1px solid var(--gf-border) !important;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.6) !important;
  transform: none !important;
  visibility: visible !important;
  display: block !important;
  z-index: 1000 !important;
}

[data-agent-look] .ag-top {
  display: none !important;
}

[data-agent-look] .ag-side-in {
  padding: 16px 14px 14px !important;
  gap: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* Top brand inside sidebar */
.gf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 12px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gf-brand-logo {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--gf-cyan);
  box-shadow: var(--gf-cyan-soft-glow);
}

.gf-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gf-brand-txt {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.gf-brand-title {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.15;
  color: #fff;
  letter-spacing: 0.02em;
}

.gf-brand-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gf-cyan);
  text-transform: uppercase;
}

.gf-collapse-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gf-text-dim);
  cursor: pointer;
  transition: all 0.15s ease;
}

.gf-collapse-btn:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--gf-cyan);
  color: var(--gf-cyan);
}

/* Navigation items in sidebar */
[data-agent-look] .ag-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  padding: 8px 4px 16px !important;
  margin: 0 !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 229, 255, 0.2) transparent;
}

[data-agent-look] .ag-grp,
.gf-nav-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  margin-top: 10px;
}

[hidden],
[data-admin-only][hidden],
.ag-grp[hidden],
.gf-nav-group[hidden] {
  display: none !important;
}

/* Staff / Admin navigation group */
.ag-grp.ag-staff {
  margin-top: 14px !important;
  padding-top: 10px;
  border-top: 1px solid rgba(245, 158, 11, 0.25);
}
.ag-grp.ag-staff .gf-group-title {
  color: #f59e0b !important;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ag-grp.ag-staff .gf-group-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}
.ag-grp.ag-staff a {
  border-color: rgba(245, 158, 11, 0.2) !important;
  background: rgba(245, 158, 11, 0.05) !important;
  color: #fde68a !important;
}
.ag-grp.ag-staff a svg {
  stroke: #f59e0b !important;
}
.ag-grp.ag-staff a:hover {
  background: rgba(245, 158, 11, 0.18) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  color: #ffffff !important;
}
.ag-grp.ag-staff a[aria-current="page"] {
  background: rgba(245, 158, 11, 0.25) !important;
  border-color: #f59e0b !important;
  color: #ffffff !important;
}

[data-agent-look] .ag-group,
.gf-group-title {
  margin: 8px 10px 4px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: #556980 !important;
  text-transform: uppercase !important;
}


.gf-nav-item,
[data-agent-look] .ag-nav a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  min-height: 36px !important;
  padding: 6px 12px !important;
  border-radius: 9px !important;
  border: 1px solid transparent !important;
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  cursor: pointer !important;
}

.gf-nav-item:hover,
[data-agent-look] .ag-nav a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Active tab: luminous cyan glow pill */
.gf-nav-item.is-active,
[data-agent-look] .ag-nav a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(0, 210, 255, 0.22) 0%, rgba(0, 160, 255, 0.08) 100%) !important;
  border: 1px solid rgba(0, 229, 255, 0.45) !important;
  color: #00e5ff !important;
  font-weight: 600 !important;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.15) !important;
}

.gf-nav-item.is-active::before,
[data-agent-look] .ag-nav a[aria-current="page"]::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 8px !important;
  bottom: 8px !important;
  width: 3px !important;
  border-radius: 0 3px 3px 0 !important;
  background: var(--gf-cyan) !important;
  box-shadow: var(--gf-cyan-soft-glow) !important;
}

.gf-nav-ico,
[data-agent-look] .ag-nav .ag-ico {
  flex: none;
  width: 17px;
  height: 17px;
  color: inherit;
  opacity: 0.9;
}

.gf-nav-ico.gf-ico-cyan {
  color: var(--gf-cyan) !important;
}

/* --------------------------------------------------------------------------
   Top Bar Redesign
   -------------------------------------------------------------------------- */
.gf-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 18px;
  width: 100%;
}

.gf-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.gf-search-ico {
  position: absolute;
  left: 14px;
  color: #64748b;
  pointer-events: none;
}

.gf-search-input {
  width: 100%;
  height: 38px;
  padding: 0 16px 0 38px;
  border-radius: 999px;
  background: rgba(13, 21, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.gf-search-input:focus {
  border-color: var(--gf-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
  background: rgba(16, 26, 40, 0.95);
}

.gf-search-input::placeholder {
  color: #64748b;
}

.gf-topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gf-bell-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(13, 21, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gf-bell-btn:hover {
  color: #fff;
  border-color: var(--gf-cyan);
  background: rgba(18, 28, 43, 0.9);
}

.gf-bell-dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gf-cyan);
  box-shadow: 0 0 6px var(--gf-cyan);
}

.gf-user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 6px;
  border-radius: 999px;
  background: rgba(13, 21, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.gf-user-chip:hover {
  border-color: var(--gf-cyan);
  background: rgba(18, 28, 43, 0.95);
}

.gf-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gf-gold);
  object-fit: cover;
}

.gf-user-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

.gf-user-caret {
  color: #64748b;
}

/* --------------------------------------------------------------------------
   Hero Banner Redesign
   -------------------------------------------------------------------------- */
.gf-hero {
  position: relative;
  width: 100%;
  min-height: 340px;
  border-radius: var(--gf-radius);
  border: 1px solid var(--gf-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #060a10;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  margin-bottom: 22px;
}

.gf-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/brand/hero_bg.jpg');
  background-size: cover;
  background-position: center right;
  filter: contrast(1.05) saturate(1.1);
  z-index: 1;
}

.gf-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(4, 7, 12, 0.95) 0%, 
    rgba(4, 7, 12, 0.85) 45%, 
    rgba(4, 7, 12, 0.3) 75%, 
    rgba(4, 7, 12, 0.5) 100%
  );
  z-index: 2;
}

.gf-hero-content {
  position: relative;
  z-index: 3;
  padding: 38px 44px;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
}

.gf-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gf-green);
  box-shadow: 0 0 10px var(--gf-green);
}

.gf-hero-title {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}

.gf-hero-slogan {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gf-cyan);
  text-transform: uppercase;
  margin: 0;
}

.gf-hero-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 2px 0 10px;
}

.gf-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.gf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.gf-btn-cyan {
  background: linear-gradient(90deg, #00d2ff 0%, #0099ff 100%);
  color: #030a12 !important;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.gf-btn-cyan:hover {
  background: linear-gradient(90deg, #33dcff 0%, #1aa3ff 100%);
  box-shadow: 0 0 28px rgba(0, 210, 255, 0.65);
  transform: translateY(-1px);
}

.gf-btn-dark {
  background: rgba(13, 21, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  backdrop-filter: blur(10px);
}

.gf-btn-dark:hover {
  background: rgba(22, 34, 52, 0.95);
  border-color: var(--gf-cyan);
  color: var(--gf-cyan) !important;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Grid Layouts for 2-column sections
   -------------------------------------------------------------------------- */
.gf-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}

@media (max-width: 1024px) {
  .gf-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Generic Panel Styling */
.gf-panel {
  position: relative;
  padding: 22px 24px;
  border-radius: var(--gf-radius);
  background: var(--gf-bg-card);
  border: 1px solid var(--gf-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
}

.gf-panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.gf-panel-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gf-cyan);
  text-transform: uppercase;
  margin: 0 0 2px;
}

.gf-panel-title {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0;
}

.gf-panel-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gf-cyan);
  text-decoration: none;
  transition: all 0.15s ease;
}

.gf-panel-link:hover {
  color: var(--gf-cyan-hover);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Quick Menu (8 Cards: 2x4)
   -------------------------------------------------------------------------- */
.gf-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .gf-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gf-quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 96px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--gf-border);
  text-decoration: none;
  overflow: hidden;
  background-color: #0b121b;
  background-image: var(--card-bg, none);
  background-size: cover;
  background-position: center;
  transition: all 0.22s ease;
}

.gf-quick-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 18, 0.35) 0%, rgba(6, 11, 18, 0.88) 100%);
  transition: opacity 0.2s ease;
  z-index: 1;
}

.gf-quick-card:hover {
  border-color: var(--gf-cyan);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

.gf-quick-card:hover::before {
  background: linear-gradient(180deg, rgba(6, 11, 18, 0.15) 0%, rgba(6, 11, 18, 0.8) 100%);
}

.gf-quick-name {
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-right: 28px;
}

.gf-quick-arrow {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid var(--gf-cyan);
  color: var(--gf-cyan);
  transition: all 0.2s ease;
}

.gf-quick-card:hover .gf-quick-arrow {
  background: var(--gf-cyan);
  color: #03080e;
  box-shadow: 0 0 10px var(--gf-cyan);
}

/* --------------------------------------------------------------------------
   Server Status Panel
   -------------------------------------------------------------------------- */
.gf-badge-online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 240, 118, 0.1);
  border: 1px solid rgba(0, 240, 118, 0.35);
  color: var(--gf-green);
  font-size: 12px;
  font-weight: 700;
}

.gf-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gf-green);
  box-shadow: 0 0 8px var(--gf-green);
}

.gf-status-grid-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.gf-status-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--gf-bg-box);
  border: 1px solid var(--gf-border);
}

.gf-status-ico {
  flex: none;
  display: grid;
  place-items: center;
}

.gf-ico-cyan {
  color: var(--gf-cyan);
}

.gf-ico-gold {
  color: var(--gf-gold);
}

.gf-status-info {
  display: flex;
  flex-direction: column;
}

.gf-status-val {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

.gf-status-sub {
  font-size: 11px;
  color: var(--gf-text-dim);
  line-height: 1.2;
}

.gf-status-grid-bot {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gf-status-sub-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(9, 14, 22, 0.5);
  border: 1px dashed rgba(0, 229, 255, 0.2);
}

.gf-sub-ico {
  color: var(--gf-cyan);
}

.gf-sub-body {
  display: flex;
  flex-direction: column;
}

.gf-sub-title {
  font-size: 11px;
  color: var(--gf-text-mute);
}

.gf-sub-val {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.gf-status-footer {
  font-size: 11.5px;
  color: var(--gf-text-mute);
  margin: 14px 0 0;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Activity Log Panel
   -------------------------------------------------------------------------- */
.gf-activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gf-activity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(9, 14, 22, 0.6);
  border: 1px solid var(--gf-border-dim);
  transition: all 0.15s ease;
}

.gf-activity-item:hover {
  background: rgba(13, 21, 33, 0.85);
  border-color: var(--gf-border);
}

.gf-act-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.gf-act-badge-green {
  background: rgba(0, 240, 118, 0.15);
  color: var(--gf-green);
  border: 1px solid rgba(0, 240, 118, 0.3);
}

.gf-act-badge-gold {
  background: rgba(255, 183, 3, 0.15);
  color: var(--gf-gold);
  border: 1px solid rgba(255, 183, 3, 0.3);
}

.gf-act-badge-red {
  background: rgba(255, 59, 86, 0.15);
  color: var(--gf-red);
  border: 1px solid rgba(255, 59, 86, 0.3);
}

.gf-act-badge-cyan {
  background: rgba(0, 229, 255, 0.15);
  color: var(--gf-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.gf-act-content {
  flex: 1 1 auto;
  min-width: 0;
}

.gf-act-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.25;
}

.gf-act-sub {
  font-size: 12px;
  color: var(--gf-text-dim);
  margin: 0;
  line-height: 1.3;
}

.gf-act-meta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gf-act-thumb {
  width: 58px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gf-act-time {
  font-size: 11.5px;
  color: var(--gf-text-mute);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Join Guide Panel
   -------------------------------------------------------------------------- */
.gf-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gf-step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(9, 14, 22, 0.6);
  border: 1px solid var(--gf-border-dim);
}

.gf-step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.12);
  border: 1.5px solid var(--gf-cyan);
  color: var(--gf-cyan);
  font-size: 14px;
  font-weight: 700;
}

.gf-step-body {
  flex: 1 1 auto;
  min-width: 0;
}

.gf-step-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
}

.gf-step-desc {
  font-size: 12px;
  color: var(--gf-text-dim);
  margin: 0;
  line-height: 1.35;
}

.gf-step-preview {
  flex: none;
}

.gf-step-img {
  width: 140px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.gf-connect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  background: linear-gradient(90deg, #00d2ff 0%, #0088cc 100%);
  color: #030a12 !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
  transition: all 0.2s ease;
}

.gf-connect-btn:hover {
  background: linear-gradient(90deg, #33dcff 0%, #00aaff 100%);
  box-shadow: 0 0 28px rgba(0, 210, 255, 0.65);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Layout integration overrides
   -------------------------------------------------------------------------- */
[data-agent-look] main#main {
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 0 24px 40px !important;
}

@media (min-width: 1180px) {
  [data-agent-look] body {
    padding-left: var(--gf-side-w) !important;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .gf-step-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .gf-step-preview {
    width: 100%;
    margin-top: 8px;
  }
  .gf-step-img,
  .gf-connect-btn {
    width: 100%;
  }
  .gf-hero-content {
    padding: 24px 20px;
  }
  .gf-hero {
    min-height: 420px;
  }
  .gf-status-grid-top {
    grid-template-columns: 1fr;
  }
}

/* Force flex column for ag-dash and disable fit multi-column */
[data-agent-look] .ag-dash {
  display: flex !important;
  flex-direction: column !important;
  grid-template-areas: none !important;
  grid-template-columns: none !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 8px 0 40px !important;
}

[data-agent-look][data-ag-fit] .ag-grp {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
}

[data-agent-look][data-ag-fit] .ag-nav a {
  min-height: 36px !important;
  padding: 6px 12px !important;
  font-size: 13.5px !important;
}


/* ==========================================================================
   Feature Visibility CSS Gates (Zero-Flicker)
   ========================================================================== */
html.hide-skinshop a[href="/studio"],
html.hide-skinshop a[href="/studio.html"],
html.hide-skinshop a[href="/skinshop"],
html.hide-skinshop a[href="/skinshop.html"],
html.hide-skinshop .gf-quick-card[href="/studio"],
html.hide-skinshop .gf-quick-card[href="/studio.html"],
html.hide-skinshop .gf-quick-card[href="/skinshop"],
html.hide-skinshop .gf-quick-card[href="/skinshop.html"],
body.hide-skinshop a[href="/studio"],
body.hide-skinshop a[href="/studio.html"],
body.hide-skinshop a[href="/skinshop"],
body.hide-skinshop a[href="/skinshop.html"],
body.hide-skinshop .gf-quick-card[href="/studio"],
body.hide-skinshop .gf-quick-card[href="/studio.html"],
body.hide-skinshop .gf-quick-card[href="/skinshop"],
body.hide-skinshop .gf-quick-card[href="/skinshop.html"] {
  display: none !important;
}

/* ==========================================================================
   Modern Top-Right User Header Bar (1:1 & Better Than Gacha Isle.vn)
   ========================================================================== */
/* Hide old cramped sidebar auth on desktop and mobile */
[data-agent-look] .ag-side .ag-auth,
[data-agent-look] .ag-auth:not(.gf-keep-visible),
.ag-side .nav-auth,
.ag-side #nav-auth {
  display: none !important;
}

/* Floating Top-Right Userbar */
.gf-top-userbar {
  position: fixed;
  top: 14px;
  right: 24px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(9, 14, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 999px;
  padding: 5px 6px 5px 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65), 0 0 18px rgba(0, 229, 255, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  user-select: none;
  transition: all 0.2s ease;
}

.gf-top-userbar:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.75), 0 0 24px rgba(0, 229, 255, 0.2);
}

/* User Identity Tag */
.gf-user-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease;
  position: relative;
}
.gf-user-identity:hover {
  background: rgba(255, 255, 255, 0.07);
}

.gf-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.gf-user-names {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.2;
}

.gf-user-persona {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.gf-user-steamid {
  font-size: 11.5px;
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.gf-dropdown-arrow {
  font-size: 9px;
  color: #64748b;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.gf-user-identity[aria-expanded="true"] .gf-dropdown-arrow {
  transform: rotate(180deg);
  color: #00e5ff;
}

/* Currency Badge (BG Coins) */
.gf-coin-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.38);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #fbbf24;
  box-shadow: inset 0 0 10px rgba(245, 158, 11, 0.08);
}
.gf-coin-val {
  color: #f59e0b;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.gf-coin-unit {
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 600;
}

/* Discord Identity Badge */
.gf-discord-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #c7d2fe;
  box-shadow: inset 0 0 10px rgba(88, 101, 242, 0.08);
  white-space: nowrap;
}
.gf-discord-badge svg {
  flex-shrink: 0;
}
.gf-discord-name {
  color: #e0e7ff;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Quick Action Buttons */
.gf-quick-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(19, 29, 46, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: #00e5ff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.gf-quick-btn:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
  color: #ffffff;
}

/* Deposit Button (Gold Gradient like Isle.vn) */
.gf-btn-topup {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000000 !important;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.gf-btn-topup:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

/* Discord Button (In Top Userbar beside Logout) */
.gf-btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #5865F2, #4752c4);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  box-shadow: 0 0 14px rgba(88, 101, 242, 0.45);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.gf-btn-discord:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.7);
  background: linear-gradient(135deg, #6d78f5, #5865F2);
  color: #ffffff !important;
}
.gf-btn-discord svg {
  flex-shrink: 0;
  fill: #ffffff;
}

/* Discord Unlink Button (In Top Userbar) */
.gf-btn-discord-unlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5 !important;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.gf-btn-discord-unlink:hover {
  transform: translateY(-1px);
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
}
.gf-btn-discord-unlink svg {
  flex-shrink: 0;
  fill: #f87171;
}
.gf-btn-discord-unlink:hover svg {
  fill: #ffffff;
}

/* Logout & YouTube Action Column in Header Userbar */
.gf-top-actions-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  justify-content: center !important;
  align-items: stretch !important;
}

.gf-btn-logout {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #cbd5e1 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 12px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
}
.gf-btn-logout:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #ffffff !important;
}

/* YouTube Button under Logout in Header Userbar */
.gf-btn-youtube {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: rgba(255, 0, 0, 0.12) !important;
  border: 1px solid rgba(255, 0, 0, 0.42) !important;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.25) !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  letter-spacing: 0.3px !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
}
.gf-btn-youtube:hover {
  background: rgba(255, 0, 0, 0.3) !important;
  border-color: #ff3333 !important;
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.6) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}
.gf-btn-youtube svg {
  flex-shrink: 0 !important;
  fill: #ff0000 !important;
}
.gf-btn-youtube.gf-btn-youtube-standalone {
  font-size: 12px !important;
  padding: 6px 14px !important;
}

/* Steam Login Button (Logged Out State) */
.gf-btn-steam-login {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00e5ff, #0284c7);
  color: #000 !important;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
  transition: all 0.15s ease;
}
.gf-btn-steam-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.55);
}

/* Floating Glassmorphic Dropdown Popover */
.gf-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 270px;
  background: #090e18;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 229, 255, 0.15);
  padding: 16px;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: gfDropFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.gf-user-dropdown[hidden] {
  display: none !important;
}

@keyframes gfDropFade {
  0% { opacity: 0; transform: translateY(-8px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.gf-dropdown-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gf-dropdown-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
  object-fit: cover;
}
.gf-dropdown-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gf-dropdown-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gf-dropdown-steam {
  font-size: 11px;
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.gf-dropdown-status {
  font-size: 11px;
  color: #00f076;
  font-weight: 600;
}

.gf-dropdown-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 2px 0;
}

.gf-dropdown-pts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  color: #cbd5e1;
}
.gf-dropdown-pts b {
  color: #fbbf24;
  font-size: 14px;
  font-weight: 800;
}

.gf-dropdown-menu-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gf-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 9px;
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.gf-menu-link:hover {
  background: rgba(0, 229, 255, 0.1);
  color: #00e5ff;
}
.gf-menu-link svg {
  color: #94a3b8;
  transition: color 0.15s;
}
.gf-menu-link:hover svg {
  color: #00e5ff;
}
.gf-menu-link.gf-menu-logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.gf-menu-link.gf-menu-logout:hover svg {
  color: #ef4444;
}

@media (max-width: 900px) {
  .gf-top-userbar {
    top: 8px;
    right: 12px;
    gap: 6px;
    padding: 4px 6px;
  }
  .gf-user-steamid,
  .gf-quick-btn {
    display: none !important;
  }
}


.gf-corner-discord-wrap, .gf-corner-discord { display: none !important; }


/* --- Floating Bottom Dock Navigation (1:1 Isle VN) --- */
#wc-livebar {
  display: none !important;
}

body {
  padding-bottom: 70px !important;
}

.ag-dock-bar {
  position: fixed !important;
  bottom: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: rgba(13, 20, 32, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 40px !important;
  padding: 6px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  z-index: 99999 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5) !important;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.dock-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 17px !important;
  line-height: 1 !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.dock-item span {
  display: none !important;
}

.dock-item:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-2px) scale(1.08) !important;
}

.dock-item.active {
  width: auto !important;
  padding: 6px 16px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45) !important;
  transform: none !important;
  gap: 6px !important;
}

.dock-item.active span {
  display: inline !important;
  color: #000000 !important;
  white-space: nowrap !important;
  font-weight: 800 !important;
}

