/* ==========================================================================
   YMC ROLEPLAY FIVEM - DRIBBLE-INSPIRED CLEAN MODERN THEME
   Recreated from: https://dribbble.com/shots/22475512-GTA5-Web-Site
   ========================================================================== */

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

:root {
  --bg-main: #f8f9fb;
  --bg-card: #ffffff;
  --orange-primary: #ff9900;
  --orange-hover: #e68a00;
  --orange-light: #fff7ed;
  --orange-pill: #ffeedb;
  --text-dark: #121316;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border-subtle: #eaecef;
  --border-focus: #ff9900;
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(255, 153, 0, 0.15);
  --radius-card: 16px;
  --radius-btn: 10px;
}

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

html {
  scroll-behavior: smooth;
  direction: ltr !important;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  letter-spacing: -0.01em;
  direction: ltr !important;
}

/* Subtle Los Santos Street Faint Watermark */
.site-bg-overlay {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(255, 153, 0, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 20% 70%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
    linear-gradient(to bottom, #ffffff 0%, #f7f8fa 100%);
  pointer-events: none;
  z-index: 0;
}

/* Typography Matching Dribbble Shot */
.font-heading {
  font-family: 'Oswald', 'Bebas Neue', sans-serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
}

.font-bebas {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  letter-spacing: 0.03em;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Clean White Floating Cards */
.dribbble-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dribbble-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 153, 0, 0.4);
}

/* Form Inputs */
.dribbble-input {
  background: #fdfdfd;
  border: 1px solid #e2e8f0;
  color: var(--text-dark);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  width: 100%;
}

.dribbble-input:focus {
  outline: none;
  border-color: var(--orange-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15);
}

/* Buttons directly matching Dribbble Concept */
.btn-orange-solid {
  background: var(--orange-primary);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.btn-orange-solid:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 153, 0, 0.45);
}

.btn-orange-outline {
  background: #ffffff;
  color: var(--orange-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border: 1.5px solid var(--orange-primary);
  border-radius: var(--radius-btn);
  padding: 11px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-orange-outline:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  color: var(--orange-hover);
}

.btn-neutral-outline {
  background: #ffffff;
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-neutral-outline:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
  background: var(--orange-light);
}

/* Navigation Links */
.dribbble-nav-link {
  color: #374151;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.dribbble-nav-link:hover {
  color: var(--orange-primary);
}

.dribbble-nav-link.active {
  color: var(--text-dark);
}

.dribbble-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--orange-primary);
  border-radius: 2px;
}

/* Orange Number Badges (1, 2, 3) */
.circle-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.35);
  flex-shrink: 0;
}

/* Server Card Grayscale Silhouette */
.server-card-thumb {
  width: 110px;
  height: 100%;
  object-fit: cover;
  border-radius: 0 16px 16px 0;
}

/* Pagination Pills */
.pager-pill {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pager-pill:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
}

.pager-pill.active {
  background: var(--orange-primary);
  color: #ffffff;
  border-color: var(--orange-primary);
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.35);
}

/* Modals - Ultra Smooth & Hardware Accelerated */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 19, 22, 0.72);
  backdrop-filter: blur(3px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalFadeIn 0.15s ease-out;
  direction: ltr !important;
  will-change: opacity;
}

.modal-card {
  transform: translateZ(0);
  will-change: transform, opacity;
  animation: modalPop 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  direction: ltr !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.97) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Hide scrollbars completely while preserving smooth mouse wheel & touch scrolling */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #f1f2f5;
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--orange-primary);
}


/* ==========================================================================
   ADMIN PANEL & BADGE EXTENSIONS (MATCHING DRIBBLE THEME)
   ========================================================================== */

.pro-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-emerald {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-crimson {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.badge-amber {
  background-color: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-orange {
  background-color: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.badge-blue {
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-cyan {
  background-color: #f0fdf4;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.cad-sidebar-item {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cad-sidebar-item:hover {
  border-color: var(--orange-primary) !important;
  background-color: #fffaf0 !important;
}

.cad-sidebar-item.selected {
  border-left-width: 4px !important;
  border-left-color: var(--orange-primary) !important;
  background-color: #ffeedb !important;
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.15) !important;
}

.projects-coming-soon-card {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}
