/* ============================================================
   GAUCHO CLICKER v2.0 PRO — 1:1 INTERACTIVE WEB INTERFACE
   ============================================================ */
.gc-window {
  border: 1px solid #1e263d;
  border-radius: 10px;
  background: #0b0e14;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(56, 189, 248, 0.1);
  overflow: hidden;
  position: relative;
  margin: 30px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: #f1f5f9;
}

/* Titlebar */
.gc-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #0d111c;
  border-bottom: 1px solid #1e263d;
  font-size: 12px;
  user-select: none;
}
.gc-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gc-brand {
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
}
.gc-brand span {
  color: #38bdf8;
  font-weight: 800;
}
.gc-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.gc-pill-pro {
  border: 1px solid #38bdf8;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}
.gc-pill-admin {
  background: #103322;
  border: 1px solid #10b981;
  color: #34d399;
}
.gc-pill-miner-off {
  background: #341217;
  border: 1px solid #ef4444;
  color: #f87171;
}
.gc-pill-time {
  background: #143322;
  border: 1px solid #10b981;
  color: #34d399;
}
.gc-pill-window {
  background: #13253b;
  border: 1px solid #38bdf8;
  color: #38bdf8;
}
.gc-title-controls {
  color: #64748b;
  font-size: 13px;
  letter-spacing: 4px;
}

/* Layout */
.gc-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 580px;
}

/* Sidebar */
.gc-sidebar {
  background: #0d111c;
  border-right: 1px solid #1e263d;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
}
.gc-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all 0.15s ease;
}
.gc-nav-btn:hover {
  background: #131929;
  color: #f1f5f9;
}
.gc-nav-btn.active {
  background: #18223c;
  color: #38bdf8;
  border-left-color: #38bdf8;
}

/* Body / Panels */
.gc-content {
  padding: 22px;
  background: #0b0e14;
  overflow-y: auto;
}
.gc-panel {
  display: none;
}
.gc-panel.active {
  display: block;
  animation: gcReveal 0.2s ease-out;
}
@keyframes gcReveal {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Grids and Cards */
.gc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.gc-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.gc-card {
  background: #131826;
  border: 1px solid #1e263d;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1e263d;
  padding-bottom: 10px;
}
.gc-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gc-card-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: #38bdf8;
  border-radius: 2px;
}
.gc-card-title.amber::before { background: #f59e0b; }
.gc-card-title.purple::before { background: #a855f7; }

/* Form controls */
.gc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.gc-label {
  color: #94a3b8;
  font-size: 12px;
}
.gc-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  cursor: pointer;
}
.gc-check-label input[type="checkbox"] {
  accent-color: #38bdf8;
  width: 16px;
  height: 16px;
}

/* Key Bind Button */
.gc-bind-btn {
  background: #101522;
  border: 1px solid #2d3748;
  color: #f59e0b;
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: all 0.15s;
}
.gc-bind-btn:hover {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

/* Sliders */
.gc-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gc-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
}
.gc-slider-label b {
  color: #38bdf8;
}
.gc-slider {
  width: 100%;
  accent-color: #38bdf8;
  cursor: pointer;
}

/* Play in Game Button (GIF / Video Launcher) */
.gc-btn-gameplay {
  background: linear-gradient(135deg, #10b98122, #05966944);
  border: 1px solid #10b981;
  color: #c0f477;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
  margin-top: 6px;
}
.gc-btn-gameplay:hover {
  background: #10b981;
  color: #0b110b;
  box-shadow: 0 0 20px rgba(192, 244, 119, 0.4);
  transform: translateY(-1px);
}

/* Info Box */
.gc-infobox {
  background: #0d121c;
  border: 1px solid #1a2336;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.6;
  color: #8da2be;
}
.gc-infobox b {
  color: #38bdf8;
  display: block;
  margin-bottom: 4px;
}

/* Live CPS Tester */
.gc-cps-box {
  background: #0e1422;
  border: 1px dashed #24324f;
  border-radius: 6px;
  padding: 14px;
  text-align: center;
}
.gc-cps-btn {
  background: #152238;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  padding: 12px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 8px;
  user-select: none;
}
.gc-cps-btn:active {
  background: #38bdf8;
  color: #0b0e14;
}
.gc-cps-stats {
  font-size: 11px;
  color: #94a3b8;
  font-family: monospace;
}

/* Dropper Inventory Grid */
.gc-eq-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
  background: #090c12;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #1e263d;
}
.gc-slot {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  user-select: none;
  border: 1px solid #2d3748;
}
.gc-slot-drop {
  background: #6e1d24;
  color: #fca5a5;
  border-color: #991b1b;
}
.gc-slot-keep {
  background: #12261e;
  color: #a7f3d0;
  border-color: #10b981;
}
.gc-slot-hotbar {
  background: #064e3b;
  color: #a7f3d0;
  border-color: #059669;
}
.gc-slot-tool {
  background: #1e3a8a;
  color: #93c5fd;
  border-color: #2563eb;
}
.gc-slot-meat {
  background: #78350f;
  color: #fde68a;
  border-color: #b45309;
}

/* Bind Table */
.gc-bind-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.gc-bind-table td {
  padding: 10px;
  border-bottom: 1px solid #1e263d;
  color: #cbd5e1;
}
.gc-bind-table tr:hover {
  background: #131929;
}
.gc-btn-goto {
  background: #1e293b;
  border: 1px solid #334155;
  color: #38bdf8;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.gc-btn-goto:hover {
  background: #38bdf8;
  color: #0f172a;
}

/* OVERLAY MODAL FOR GAMEPLAY CLIP */
.gc-overlay-modal {
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: 24px;
  animation: gcOverlayIn 0.25s ease-out;
}
.gc-overlay-modal.active {
  display: flex;
}
@keyframes gcOverlayIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
.gc-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid #1e263d;
  padding-bottom: 12px;
}
.gc-overlay-title {
  font-size: 18px;
  font-weight: 800;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gc-btn-close-overlay {
  background: #1e293b;
  border: 1px solid #334155;
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.gc-btn-close-overlay:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}
.gc-video-container {
  flex: 1;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #1e263d;
  display: grid;
  place-items: center;
  max-height: 480px;
}
.gc-video-container video,
.gc-video-container img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
}
.gc-overlay-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  color: #94a3b8;
}

/* Responsiveness */
@media (max-width: 900px) {
  .gc-layout { grid-template-columns: 1fr; }
  .gc-sidebar { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid #1e263d; }
  .gc-nav-btn { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
  .gc-nav-btn.active { border-bottom-color: #38bdf8; border-left-color: transparent; }
  .gc-grid-2, .gc-grid-3 { grid-template-columns: 1fr; }
}

/* Wersja Prezentacyjna / Disclaimer Note */
.gc-disclaimer-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(13, 17, 28, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-left: 4px solid #38bdf8;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 16px 0 25px;
  font-size: 13px;
  line-height: 1.5;
  color: #94a3b8;
  backdrop-filter: blur(8px);
}
.gc-disclaimer-note b {
  color: #e2e8f0;
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}
.gc-disclaimer-note code {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.gc-disclaimer-note .icon {
  font-size: 22px;
  line-height: 1;
}

.gc-spin-val {
  display: inline-block;
  padding: 1px 7px;
  background: #111827;
  border: 1px solid #38bdf8;
  border-radius: 4px;
  color: #38bdf8;
  font-weight: 700;
  font-size: 11px;
}
