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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  min-height: 100vh;
  padding: 100px 20px 40px 20px;
  color: #ffffff;
}

/* Custom scrollbar for body/page */
body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: #242424;
  border-radius: 5px;
}

body::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.5);
  border-radius: 5px;
}

body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.7);
}

.container {
  max-width: 1500px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  color: #FFD700;
  font-size: 2.5em;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  font-weight: bold;
}

.input-section {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

#input {
  width: 100%;
  min-height: 200px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.3s;
}

#input:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

#input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#input::-webkit-scrollbar {
  width: 10px;
}

#input::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

#input::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.5);
  border-radius: 5px;
}

#input::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.7);
}

.button-container {
  text-align: center;
  margin-top: 20px;
}

button {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1a1a1a;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, #FFE135 0%, #FFB347 100%);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

button:disabled:hover {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Rate limit progress bar on button */
button .rate-limit-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 0 0 4px 4px;
  z-index: 1;
}

button .rate-limit-progress::-webkit-progress-bar {
  background: transparent;
}

button .rate-limit-progress::-webkit-progress-value {
  background: linear-gradient(90deg, #ff6b6b, #ff8787);
  border-radius: 0 0 4px 4px;
  transition: width 0.3s ease;
}

button .rate-limit-progress::-moz-progress-bar {
  background: linear-gradient(90deg, #ff6b6b, #ff8787);
  border-radius: 0 0 4px 4px;
  transition: width 0.3s ease;
}

#output {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-height: 70vh;
  overflow-x: auto;
  overflow-y: auto;
}

#output::-webkit-scrollbar {
  width: 10px;
}

#output::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

#output::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.5);
  border-radius: 5px;
}

#output::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.7);
}

/* Only style direct children divs of #output (messages), not nested divs inside tables */
#output > div {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 12px;
  border-radius: 6px;
  transition: all 0.3s;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
}

#output > div:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #FFA500;
  transform: translateX(5px);
}

/* Override for error boxes - red border instead of gold */
#output > .convert-error-box {
  border-left: 3px solid #ff6b6b !important;
  background: rgba(255, 107, 107, 0.1) !important;
}

#output > .convert-error-box:hover {
  border-left-color: #ff5252 !important;
}

.item-number {
  color: #FFD700;
  font-weight: bold;
  font-size: 16px;
  min-width: 30px;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Profile links only, not name links */
#output a:not(.name-link) {
  color: #4da6ff;
  text-decoration: none;
  transition: color 0.3s;
}

#output a:not(.name-link):hover {
  color: #66b3ff;
  text-decoration: underline;
}

/* Profile links in Players DB should match Convert view */
#dbOutput a:not(.name-link):not(.db-profile-link) {
  color: #4da6ff;
  text-decoration: none;
  transition: color 0.3s;
}

#dbOutput a:not(.name-link):not(.db-profile-link):hover {
  color: #66b3ff;
  text-decoration: underline;
}

/* Profile link specific styling */
#dbOutput .db-profile-link {
  color: #999;
  text-decoration: none;
  font-size: 12px;
}

#dbOutput .db-profile-link:hover {
  color: #FFD700;
}

.bptf-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-left: 8px;
  cursor: pointer;
  opacity: 0.9;
  transition: all 0.3s;
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.bptf-icon:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
}

/* Player Avatar in tables */
.player-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 215, 0, 0.3);
  flex-shrink: 0;
  transition: all 0.3s;
}

.player-avatar:hover {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  transform: scale(1.05);
}

.name-link {
  color: #FFD700;
  cursor: pointer;
  text-decoration: none;
  margin-left: 6px;
  font-weight: 500;
  transition: all 0.3s;
}

.name-link:hover {
  color: #FFA500;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Make name + profile link start at the exact same X position in Players DB */
.output-table td .name-link,
.output-table td .profile-link {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  text-indent: 0 !important;
}

/* Override the default margin-left for name-link in table context */
.output-table td .name-link {
  margin-left: 0 !important;
}

.filters-section {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 20px 30px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.filters-title {
  color: #FFD700;
  font-size: 1.2em;
  margin-bottom: 15px;
  font-weight: bold;
}

.filters-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #FFD700;
}

.filter-item label {
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
}

.filter-item label:hover {
  color: #FFD700;
}

.output-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  min-width: 1000px;
}

.output-table thead {
  position: sticky;
  top: -30px;
  z-index: 1000;
  background: rgba(255, 215, 0, 0.15);
  border-bottom: 2px solid #FFD700;
}

.output-table thead th {
  background: rgba(255, 215, 0, 0.15);
  backdrop-filter: blur(5px);
}

.output-table th {
  padding: 15px 12px;
  text-align: left;
  color: #FFD700;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.output-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  color: #ffffff;
  font-size: 14px;
  white-space: nowrap;
}

/* Row number cells in tables */
.output-table td.convert-num-cell,
.output-table td.db-num-cell {
  color: #FFD700;
  font-weight: bold;
}

.output-table tbody tr {
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.output-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: #FFD700;
}

.hours-cell {
  text-align: center;
  font-weight: bold;
}

.hours-under-600 {
  color: #ff6b6b;
}

.hours-over-600 {
  color: #51cf66;
}

.group-cell {
  text-align: left;
  padding: 8px 6px !important;
}

.group-yes {
  color: #51cf66;
  font-weight: bold;
}

.group-container {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid #FFD700;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s;
  width: fit-content;
  max-width: fit-content;
}

.group-container:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(3px);
}

.group-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(81, 207, 102, 0.2);
  border: 1px solid #51cf66;
  border-radius: 4px;
  color: #51cf66;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}

.group-no {
  color: #868e96;
}

.under-600-badge {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(255, 107, 107, 0.2);
  border: 1px solid #ff6b6b;
  border-radius: 4px;
  color: #ff6b6b;
  font-size: 12px;
  font-weight: bold;
  margin-left: 8px;
}

.loading {
  color: #FFD700;
  font-style: italic;
}

/* Login Button */
.login-button {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1a1a1a;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  text-decoration: none;
  display: inline-block;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #FFD700;
  object-fit: cover;
}

.user-name {
  color: #FFD700;
  font-weight: bold;
  font-size: 14px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-button {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
  border: 1px solid #ff6b6b;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.logout-button:hover {
  background: rgba(255, 107, 107, 0.4);
  transform: translateY(-1px);
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.3s;
  padding: 5px;
  border-radius: 8px;
}

.navbar-logo:hover {
  transform: scale(1.05);
  background: rgba(255, 215, 0, 0.1);
}

.navbar-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-logo-text {
  font-size: 28px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.navbar-logo-tf2 {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.navbar-logo-playerdb {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.navbar-tabs {
  display: flex;
  gap: 10px;
  align-items: center;
}

.navbar-tab-button {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 999px;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-tab-button:hover {
  color: #FFD700;
  border-color: rgba(255, 215, 0, 0.5);
}

.navbar-tab-button.active {
  color: #1a1a1a;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border-color: transparent;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.navbar-auth {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar .login-button {
  margin: 0;
}

.navbar .user-info {
  margin: 0;
  position: relative;
}

/* Dropdown Menu */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-avatar-clickable {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #FFD700;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s;
}

.user-avatar-clickable:hover {
  border-color: #FFA500;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  transform: scale(1.05);
}

.dropdown-menu {
  position: absolute;
  top: 55px;
  right: -20px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1001;
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 215, 0, 0.2);
  margin: 8px 0;
}

.dropdown-username {
  color: #FFD700;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 5px;
}

.user-plan-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-plan-badge.free {
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid #FFD700;
  color: #FFD700;
}

.user-plan-badge.premium {
  background: rgba(138, 43, 226, 0.2);
  border: 1px solid #8A2BE2;
  color: #9D4EDD;
}

.dropdown-steamid {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.dropdown-item {
  padding: 12px 15px;
  color: #ffffff;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  text-transform: none;
}

.dropdown-item:hover {
  background: rgba(255, 215, 0, 0.1);
}

.dropdown-item.logout {
  color: #ff6b6b;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.dropdown-item.logout:hover {
  background: rgba(255, 107, 107, 0.2);
}

.dropdown-item.extension-key {
  color: #7cb342;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.dropdown-item.extension-key:hover {
  background: rgba(124, 179, 66, 0.2);
  color: #8bc34a;
}

.dropdown-item.billing-item {
  color: #FFD700;
}

.dropdown-item.billing-item:hover {
  background: rgba(255, 215, 0, 0.15);
  color: #FFD700;
}


/* View Containers */
.view-container {
  display: none;
}

.view-container.active {
  display: block;
}

/* Players DB Search Section */
.db-search-section {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.db-search-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.db-search-input {
  flex: 1;
  min-width: 250px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 12px 15px;
  color: #ffffff;
  font-size: 14px;
  transition: border-color 0.3s;
}

.db-search-input:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.db-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.db-sort-select {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 12px 15px;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  min-width: 200px;
}

.db-sort-select:focus {
  outline: none;
  border-color: #FFD700;
}

.db-load-more-container {
  text-align: center;
  margin-top: 20px;
  padding: 20px;
}

.db-load-more-button {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1a1a1a;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.db-load-more-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.db-load-more-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.db-stats {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: 10px;
}

/* Players DB output panel - same style as main output */
.db-output-panel {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-height: 70vh;
  overflow-x: auto;
  overflow-y: auto;
}

.db-output-panel::-webkit-scrollbar {
  width: 10px;
}

.db-output-panel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

.db-output-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.5);
  border-radius: 5px;
}

.db-output-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.7);
}

/* Admin Dashboard Styles */
.admin-dashboard {
  padding: 20px;
  max-width: 1600px;
  margin: 0 auto;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.admin-stat-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.admin-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.2);
}

.admin-section {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 1600px;
  margin: 0 auto;
}

.admin-users-table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  overflow: hidden;
}

.admin-users-table thead {
  background: rgba(255, 215, 0, 0.1);
}

.admin-users-table th {
  padding: 10px 8px;
  text-align: left;
  color: #FFD700;
  font-weight: bold;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.admin-users-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  color: #ffffff;
  font-size: 13px;
  vertical-align: top;
}

.admin-users-table tbody tr:hover {
  background: rgba(255, 215, 0, 0.05);
}

/* Admin date and time display (two lines) */
.admin-date-time {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  align-items: flex-start; /* Align left */
}

.admin-date {
  color: #FFD700;
  font-size: 11px;
  white-space: nowrap; /* Prevent date from breaking into multiple lines */
}

.admin-time {
  color: #999;
  font-size: 11px; /* Slightly larger for better visibility */
}

/* Premium Page Styles */
.premium-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.premium-plan-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
}

.premium-plan-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.2);
}

.premium-plan-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.premium-plan-header h2 {
  color: #FFD700;
  font-size: 2.5em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  font-weight: bold;
}

.premium-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.price-amount {
  color: #FFD700;
  font-size: 3.5em;
  font-weight: bold;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.price-period {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2em;
  font-weight: normal;
}

.premium-features {
  margin-bottom: 40px;
}

.premium-features h3 {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  transition: all 0.3s;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: #FFD700;
  transform: translateX(5px);
}

.feature-icon {
  color: #51cf66;
  font-size: 1.5em;
  font-weight: bold;
  min-width: 25px;
  text-shadow: 0 0 8px rgba(81, 207, 102, 0.5);
}

.feature-text {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
  flex: 1;
}

.premium-comparison {
  margin-bottom: 40px;
}

.premium-comparison h3 {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.comparison-table {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1px;
  background: rgba(255, 215, 0, 0.1);
}

.comparison-row.header {
  background: rgba(255, 215, 0, 0.2);
  font-weight: bold;
}

.comparison-row.header .comparison-feature,
.comparison-row.header .comparison-free,
.comparison-row.header .comparison-premium {
  background: rgba(255, 215, 0, 0.15);
  color: #FFD700;
  padding: 18px;
  text-align: center;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-feature {
  padding: 15px 20px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
}

.comparison-free,
.comparison-premium {
  padding: 15px 20px;
  text-align: center;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-free {
  color: rgba(255, 255, 255, 0.5);
}

.comparison-premium {
  color: #51cf66;
}

.comparison-row:not(.header):hover {
  background: rgba(255, 215, 0, 0.15);
}

.comparison-row:not(.header):hover .comparison-feature,
.comparison-row:not(.header):hover .comparison-free,
.comparison-row:not(.header):hover .comparison-premium {
  background: rgba(255, 215, 0, 0.1);
}

.premium-cta {
  text-align: center;
  padding-top: 30px;
  border-top: 2px solid rgba(255, 215, 0, 0.3);
}

.premium-subscribe-button {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1a1a1a;
  border: none;
  padding: 18px 50px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

.premium-subscribe-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.7);
  background: linear-gradient(135deg, #FFE135 0%, #FFB347 100%);
}

.premium-subscribe-button:active {
  transform: translateY(-1px);
}

.premium-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-style: italic;
  margin: 0;
}

/* Responsive design for Premium page */
@media (max-width: 768px) {
  .premium-plan-card {
    padding: 25px;
  }
  
  .premium-plan-header h2 {
    font-size: 2em;
  }
  
  .price-amount {
    font-size: 2.5em;
  }
  
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .comparison-row.header {
    display: none;
  }
  
  .comparison-feature {
    background: rgba(255, 215, 0, 0.1);
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  }
  
  .comparison-free,
  .comparison-premium {
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  }
  
  .comparison-row:not(.header) {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
  }
}

/* Bot Owners Page Styles */
.bot-owner-search-section {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.bot-owner-search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 12px 15px;
  color: #ffffff;
  font-size: 14px;
  transition: border-color 0.3s;
}

.bot-owner-search-input:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.bot-owner-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.bot-owner-output-panel {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  min-height: 400px;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.bot-owner-output-panel::-webkit-scrollbar {
  width: 10px;
}

.bot-owner-output-panel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

.bot-owner-output-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.5);
  border-radius: 5px;
}

.bot-owner-output-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.7);
}

.bot-owners-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.bot-owner-card {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 20px;
  padding-left: 50px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.3s;
  position: relative;
}

.bot-owner-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

.bot-owner-number {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #FFD700;
  font-weight: bold;
  font-size: 16px;
}

.bot-owner-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.bot-owner-name-section,
.bot-owner-owner-section {
  flex: 1;
}

.bot-owner-name-section {
  border-right: 1px solid rgba(255, 215, 0, 0.2);
  padding-right: 20px;
}

.bot-owner-owner-section {
  padding-left: 20px;
}

.bot-owner-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 8px 0;
}

.bot-owner-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 215, 0, 0.3);
  flex-shrink: 0;
  transition: all 0.3s;
}

.bot-owner-avatar:hover {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  transform: scale(1.05);
}

.bot-owner-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.bot-owner-link:hover {
  color: #FFD700;
}

.bot-owner-name {
  color: #FFD700;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 8px 0;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.bot-owner-owner-name {
  color: #7cb342;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 8px 0;
  text-shadow: 0 0 10px rgba(124, 179, 66, 0.3);
}

.bot-owner-id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.bot-owner-id {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin: 0;
  font-family: 'Courier New', monospace;
  flex: 1;
}

.bot-owner-bptf-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.bot-owners-stats {
  text-align: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Responsive design for bot owners */
@media (max-width: 768px) {
  .bot-owner-info {
    flex-direction: column;
  }
  
  .bot-owner-name-section {
    border-right: none;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-right: 0;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  
  .bot-owner-owner-section {
    padding-left: 0;
  }
}

/* Home Page Styles */
.home-hero {
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 60px;
}

.home-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.home-subtitle {
  font-size: 1.5em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.feature-section {
  margin-bottom: 80px;
  padding: 40px 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  position: relative;
}

.feature-section::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0 20px;
  box-sizing: border-box;
}

.feature-section:last-child::after {
  display: none;
}

.feature-section:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-section:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-section:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-section:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-left .feature-content {
  flex-direction: row;
}

.feature-right .feature-content {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  font-weight: bold;
}

.feature-description {
  font-size: 1.1em;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}

.feature-description strong {
  color: #FFD700;
  font-weight: bold;
}

.feature-description code {
  background: rgba(255, 215, 0, 0.1);
  color: #FFD700;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.feature-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.feature-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.3);
}

.feature-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
}

.feature-button {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1a1a1a;
  border: none;
  padding: 15px 35px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

.feature-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, #FFE135 0%, #FFB347 100%);
}

.feature-button:active {
  transform: translateY(0);
}

.feature-stats {
  margin: 20px 0;
}

.stat-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.2);
  border: 2px solid #FFD700;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.feature-image-small {
  max-width: 60%;
  align-self: center;
}

/* TF2 TV Section - Profile and TV */
.tv-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  margin: 20px 0 80px 0;
  position: relative;
}

.tv-section::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0 20px;
  box-sizing: border-box;
}

.tv-container {
  max-width: 1400px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tv-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
  max-width: 100%;
}

.tv-profile-section {
  flex: 0 0 auto;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tv-profile-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  border: 2px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.3);
}

.tv-profile-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
}

.tv-profile-text {
  flex: 1;
  min-width: 0;
}

.tv-profile-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  font-weight: bold;
}

.tv-profile-description {
  font-size: 1.1em;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.tv-wrapper {
  position: relative;
  display: inline-block;
  flex: 1;
  max-width: 70%;
}

/* GIF content - behind the TV screen only (lower z-index) */
.tv-content {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  /* Position the GIF to match only the TV screen area, not the entire image */
  /* Adjust these percentages to match the exact screen position in your TV image */
  top: 10%;
  left: 18%;
  width: 70%;
  height: 65%;
  object-fit: cover;
  /* The GIF will show through the transparent screen area of the TV image */
}

/* TV image with transparent screen - on top (higher z-index) */
.tv-image {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  z-index: 2;
  /* Ensure the TV frame is on top of the GIF */
}

.extension-button-container {
  margin-top: 10px;
}

.extension-button {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.extension-logo-in-button {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.extension-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.extension-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9em;
  font-style: italic;
  margin-top: 10px;
}

/* Responsive design for home page */
@media (max-width: 1024px) {
  .feature-content {
    flex-direction: column !important;
    gap: 40px;
  }

  .feature-images {
    width: 100%;
  }

  .home-title {
    font-size: 2.5em;
  }

  .feature-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding: 40px 20px;
  }

  .feature-section {
    margin-bottom: 50px;
    padding: 30px 0;
  }

  .feature-content {
    padding: 0 15px;
  }
}

/* ========================================
   BANNED VIEW STYLES
======================================== */

#viewBanned {
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.banned-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.banned-icon {
  font-size: 80px;
  margin-bottom: 20px;
}

.banned-title {
  font-size: 2.5em;
  color: #ff4444;
  margin-bottom: 15px;
  font-weight: bold;
}

.banned-message {
  font-size: 1.2em;
  color: #ccc;
  margin-bottom: 30px;
  max-width: 500px;
}

.banned-reason-box {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 8px;
  padding: 15px 25px;
  margin-bottom: 30px;
  max-width: 500px;
}

.banned-reason-label {
  color: #ff6b6b;
  font-weight: bold;
  margin-right: 8px;
}

.banned-reason-text {
  color: #fff;
}

.banned-support {
  margin-top: 20px;
}

.banned-support p {
  color: #888;
  margin-bottom: 15px;
}

.banned-discord-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5865F2;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.banned-discord-button:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.banned-discord-button svg {
  width: 24px;
  height: 24px;
}

/* Billing Page Styles */
.billing-container {
  max-width: 900px;
  margin: 0 auto;
}

.billing-container-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.billing-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.billing-card h2 {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 20px;
  text-align: left;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.subscription-status {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.status-row:last-child {
  border-bottom: none;
}

.status-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.status-value {
  font-weight: bold;
  font-size: 14px;
}

.status-value.premium {
  color: #9D4EDD;
}

.status-value.free {
  color: #FFD700;
}

.status-value.status-active {
  color: #7cb342;
}

.status-value.status-cancelled {
  color: #ffa500;
}

.status-value.status-expired {
  color: #ff6b6b;
}

.billing-actions {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.billing-cancel-button {
  background: rgba(255, 107, 107, 0.2);
  border: 2px solid #ff6b6b;
  color: #ff6b6b;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.billing-cancel-button:hover {
  background: rgba(255, 107, 107, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.billing-no-subscription {
  text-align: center;
  padding: 40px 20px;
}

.billing-no-subscription p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  font-size: 16px;
}

.billing-subscribe-button {
  background: linear-gradient(135deg, #9D4EDD 0%, #7B2CBF 100%);
  border: none;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.billing-subscribe-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(157, 78, 221, 0.5);
}

.payment-history {
  margin-top: 20px;
}

.payment-table {
  width: 100%;
  border-collapse: collapse;
}

.payment-table thead {
  background: rgba(255, 215, 0, 0.1);
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.payment-table th {
  padding: 12px;
  text-align: left;
  color: #FFD700;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.payment-table tbody tr:hover {
  background: rgba(255, 215, 0, 0.05);
}

.payment-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-status.payment-status-paid {
  background: rgba(124, 179, 66, 0.2);
  border: 1px solid #7cb342;
  color: #7cb342;
}

.payment-status.payment-status-failed {
  background: rgba(255, 107, 107, 0.2);
  border: 1px solid #ff6b6b;
  color: #ff6b6b;
}

.payment-status.payment-status-refunded {
  background: rgba(255, 165, 0, 0.2);
  border: 1px solid #ffa500;
  color: #ffa500;
}

.payment-status.payment-status-pending {
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid #FFD700;
  color: #FFD700;
}


/* =====================================================
   MOBILE RESPONSIVE STYLES
   ===================================================== */

/* Hamburger Menu Button - Hidden on desktop */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  transition: all 0.3s ease;
}

.navbar-toggle:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.5);
}

.navbar-toggle.active {
  background: rgba(255, 215, 0, 0.3);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFD700;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu - Hidden by default */
.navbar-mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  right: 20px;
  background: rgba(20, 20, 35, 0.98);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 10px;
  min-width: 200px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
}

.navbar-mobile-menu.active {
  display: flex;
}

.mobile-menu-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-item:hover {
  background: rgba(255, 215, 0, 0.1);
  color: #FFD700;
}

.mobile-menu-item.active {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1a1a1a;
}

/* Navbar right section for mobile layout */
.navbar-right-mobile {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Responsive - max-width 768px */
@media (max-width: 768px) {
  /* Body padding for fixed navbar */
  body {
    padding-top: 80px;
  }

  /* Navbar adjustments */
  .navbar {
    padding: 12px 16px;
  }

  .navbar-left {
    gap: 10px;
  }

  /* Hide desktop tabs on mobile */
  .navbar-tabs {
    display: none;
  }

  /* Show hamburger button on mobile */
  .navbar-toggle {
    display: flex;
  }

  /* Logo adjustments */
  .navbar-logo-text {
    font-size: 20px;
  }

  .navbar-logo-img {
    width: 32px;
    height: 32px;
  }

  /* Auth section adjustments */
  .navbar-auth .login-button {
    padding: 8px 12px;
    font-size: 12px;
  }

  .navbar-auth .user-avatar-clickable {
    width: 36px;
    height: 36px;
  }

  /* TV Section - Stack vertically */
  .tv-content-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .tv-profile-section {
    width: 100%;
    max-width: 100%;
    order: 1;
  }

  .tv-profile-image {
    max-width: 100%;
  }

  .tv-profile-title {
    font-size: 1.8em;
    text-align: center;
  }

  .tv-profile-description {
    text-align: center;
    font-size: 1em;
  }

  .tv-wrapper {
    max-width: 100%;
    width: 100%;
    order: 2;
  }

  .tv-image {
    width: 100%;
    height: auto;
  }

  .tv-content {
    /* Adjust GIF position for mobile - moved down */
    top: 14%;
    left: 12%;
    width: 76%;
    height: 52%;
  }

  /* Feature sections - Stack vertically */
  .feature-content {
    flex-direction: column !important;
    gap: 20px;
  }

  .feature-text,
  .feature-images {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .feature-images {
    order: -1;
  }

  .feature-image {
    max-width: 100%;
  }

  .feature-title {
    font-size: 1.5em;
  }

  .feature-description {
    font-size: 0.95em;
  }

  /* Home hero */
  .home-title {
    font-size: 2em;
  }

  .home-subtitle {
    font-size: 1em;
  }

  /* Container padding */
  .container {
    padding: 20px 15px;
  }

  /* Admin Dashboard Mobile */
  .admin-dashboard {
    padding: 15px;
  }

  .admin-section {
    padding: 15px;
    overflow-x: auto;
  }

  .admin-users-table {
    font-size: 12px;
  }

  .admin-users-table th,
  .admin-users-table td {
    padding: 8px 6px;
  }

  /* Premium page adjustments */
  .premium-hero h1 {
    font-size: 2em;
  }

  .premium-subtitle {
    font-size: 1em;
  }

  .pricing-card {
    padding: 25px 20px;
  }

  /* Dropdown menu adjustments */
  .dropdown-menu {
    right: 0;
    min-width: 220px;
  }

  /* Players DB adjustments */
  .players-container {
    padding: 15px;
  }

  .player-card {
    padding: 15px;
  }

  /* Bot Owners adjustments */
  .bot-owners-container {
    padding: 15px;
  }
}

/* Extra small screens - max-width 480px */
@media (max-width: 480px) {
  body {
    padding-top: 75px;
  }

  .navbar {
    padding: 10px 12px;
  }

  .navbar-logo-text {
    font-size: 16px;
  }

  .navbar-logo-img {
    width: 28px;
    height: 28px;
  }

  .navbar-toggle {
    width: 38px;
    height: 38px;
    padding: 6px;
  }

  .hamburger-line {
    width: 18px;
  }

  .navbar-right-mobile {
    gap: 8px;
  }

  .navbar-auth .login-button {
    padding: 6px 10px;
    font-size: 11px;
  }

  .navbar-auth .user-avatar-clickable {
    width: 32px;
    height: 32px;
  }

  .navbar-mobile-menu {
    top: 65px;
    right: 12px;
    min-width: 180px;
  }

  .mobile-menu-item {
    padding: 10px 14px;
    font-size: 13px;
  }

  .home-title {
    font-size: 1.6em;
  }

  .home-subtitle {
    font-size: 0.9em;
  }

  .feature-title {
    font-size: 1.3em;
  }

  .tv-profile-title {
    font-size: 1.5em;
  }
}

/* ========================================
   INLINE CLEANUP CLASSES
   Stage 2 - Converted from inline styles
======================================== */

/* Hidden utility class - replaces inline display:none */
.hidden {
  display: none !important;
}

/* Loading placeholder (admin, billing, etc.) */
.loading-placeholder {
  text-align: center;
  padding: 40px;
  color: #999;
}

/* Admin Source Fields (Convert page) */
.admin-source-fields {
  margin-bottom: 15px;
  padding: 15px;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
}

.admin-source-title {
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 14px;
}

.admin-source-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.admin-source-field {
  flex: 1;
  min-width: 200px;
}

.admin-source-label {
  display: block;
  color: #999;
  font-size: 12px;
  margin-bottom: 5px;
}

.admin-source-input {
  width: 100%;
  padding: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 6px;
  color: #fff;
}

/* Flex utility classes */
.flex-center-gap {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Premium lock message */
.premium-lock-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  background: rgba(255, 215, 0, 0.1);
  border-left: 3px solid #FFD700;
  border-radius: 4px;
}

.premium-lock-text {
  color: #FFD700;
  font-size: 14px;
}

/* Extension Key Modal */
.ext-key-modal-content {
  background: #1a1a2e;
  border: 2px solid #FFD700;
  border-radius: 12px;
  padding: 30px;
  max-width: 520px;
  width: 90%;
}

.ext-key-modal-title {
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 6px;
}

.ext-key-status-text {
  color: #aaa;
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 13px;
}

.ext-key-result-box {
  background: #252540;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 14px;
  position: relative;
}

.ext-key-code {
  color: #7cb342;
  font-size: 14px;
  word-break: break-all;
  display: block;
}

.ext-key-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #7cb342;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  text-transform: none;
}

.ext-key-copy-btn:hover {
  background: #6ba32e;
}

.ext-key-copy-btn.copied {
  background: #5c9f2d;
}

.ext-key-buttons {
  display: flex;
  gap: 10px;
}

.ext-key-generate-btn {
  flex: 1;
  padding: 12px;
  background: #7cb342;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  text-transform: none;
}

.ext-key-generate-btn:hover {
  background: #6ba32e;
}

.ext-key-generate-btn.regenerate {
  background: #d9534f;
}

.ext-key-generate-btn.regenerate:hover {
  background: #c9302c;
}

.ext-key-close-btn {
  flex: 1;
  padding: 12px;
  background: #34345a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  text-transform: none;
}

.ext-key-close-btn:hover {
  background: #454580;
}

.ext-key-warning {
  color: #ffc107;
  font-size: 12px;
  margin-bottom: 0;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.text-danger {
  color: #ff6b6b;
}

/* Modal backdrop */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* ========================================
   ADMIN DASHBOARD INLINE CLEANUP CLASSES
======================================== */

/* Loading/Error messages */
.admin-loading-text {
  text-align: center;
  color: #999;
}

.admin-error-box {
  text-align: center;
  color: #ff6b6b;
  padding: 20px;
}

.admin-retry-btn {
  margin-top: 10px;
  padding: 8px 16px;
  background: #FFD700;
  color: #1a1a1a;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Admin section headers */
.admin-section-title {
  color: #FFD700;
  margin-bottom: 20px;
}

/* Admin search bar */
.admin-search-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.admin-search-input {
  flex: 1;
  min-width: 250px;
  height: 44px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
}

.admin-refresh-btn {
  height: 44px;
  padding: 10px 24px;
  background: #FFD700;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

/* Admin filters */
.admin-filters {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.admin-filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.admin-filter-label.free {
  color: #FFD700;
}

.admin-filter-label.premium {
  color: #9D4EDD;
}

.admin-filter-label.banned {
  color: #ff4444;
}

.admin-filter-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.admin-filter-checkbox.free {
  accent-color: #FFD700;
}

.admin-filter-checkbox.premium {
  accent-color: #9D4EDD;
}

.admin-filter-checkbox.banned {
  accent-color: #ff4444;
}

/* Admin stats cards */
.admin-stat-title {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 18px;
}

.admin-stat-value {
  font-size: 32px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.admin-stat-details {
  margin-top: 10px;
}

.admin-stat-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.admin-stat-detail-label {
  color: #999;
}

.admin-stat-detail-value {
  color: #FFD700;
  font-weight: bold;
}

.admin-health-text {
  font-size: 14px;
  line-height: 1.8;
}

.admin-health-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.admin-health-label {
  color: #999;
}

.admin-health-value {
  color: #FFD700;
}

.admin-health-value.small {
  font-size: 12px;
}

.admin-health-value.success {
  color: #51cf66;
}

.admin-health-value.error {
  color: #ff6b6b;
}

/* Admin users table */
.admin-users-table-container {
  overflow-x: auto;
  margin-top: 20px;
}

.admin-empty-message {
  text-align: center;
  color: #999;
  padding: 20px;
}

.admin-user-row-banned {
  background: rgba(255, 68, 68, 0.05);
}

.admin-user-cell {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.admin-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #FFD700;
}

.admin-user-avatar.banned {
  border-color: #ff4444;
}

.admin-user-name {
  color: #FFD700;
  font-weight: bold;
  text-align: left;
}

.admin-user-name.banned {
  color: #ff4444;
}

.admin-user-steamid {
  color: #999;
  font-size: 12px;
  text-align: left;
}

.admin-user-ban-reason {
  color: #ff6b6b;
  font-size: 11px;
  margin-top: 2px;
}

.admin-user-badges {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-user-actions {
  display: flex;
  flex-direction: row;
  gap: 4px;
  flex-wrap: wrap;
}

.admin-action-btn {
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  border: 1px solid;
}

.admin-action-btn.free {
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
  border-color: #FFD700;
}

.admin-action-btn.premium {
  background: rgba(157, 78, 221, 0.2);
  color: #9D4EDD;
  border-color: #9D4EDD;
}

.admin-action-btn.ban {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
  border-color: #ff4444;
}

.admin-action-btn.unban {
  background: rgba(81, 207, 102, 0.2);
  color: #51cf66;
  border-color: #51cf66;
}

.admin-table-cell {
  color: #999;
  font-size: 11px;
  min-width: 100px;
  text-align: left;
}

.admin-table-cell.medium {
  font-size: 12px;
}

.admin-table-cell.orange {
  color: #ffa500;
}

.admin-table-cell.red {
  color: #ff6b6b;
}

.admin-table-cell.purple {
  color: #9D4EDD;
}

/* Admin pagination */
.admin-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 20px;
}

.admin-pagination-btn {
  padding: 8px 12px;
  margin: 0 2px;
  background: rgba(0, 0, 0, 0.6);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 4px;
  cursor: pointer;
  font-weight: normal;
}

.admin-pagination-btn:hover {
  background: rgba(255, 215, 0, 0.1);
}

.admin-pagination-btn.active {
  background: #FFD700;
  color: #1a1a1a;
  border-color: #FFD700;
  font-weight: bold;
}

.admin-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-pagination-pages {
  display: flex;
  gap: 5px;
}

.admin-pagination-ellipsis {
  padding: 8px;
  color: #999;
}

.admin-pagination-info {
  color: #999;
  margin-left: 20px;
}

/* Premium Duration Modal */
.premium-duration-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.premium-duration-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid rgba(157, 78, 221, 0.5);
  border-radius: 16px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.premium-duration-title {
  color: #9D4EDD;
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.premium-duration-field {
  margin-bottom: 20px;
}

.premium-duration-label {
  display: block;
  color: #ccc;
  margin-bottom: 8px;
  font-size: 14px;
}

.premium-duration-select {
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(157, 78, 221, 0.5);
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.premium-duration-warning {
  padding: 12px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 20px;
}

.premium-duration-warning-content {
  color: #FFD700;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.premium-duration-warning-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  margin-top: 2px;
}

.premium-duration-buttons {
  display: flex;
  gap: 10px;
}

.premium-duration-confirm {
  flex: 1;
  padding: 12px;
  background: linear-gradient(135deg, #4a1c6b 0%, #6b2d9e 100%);
  border: 2px solid #9D4EDD;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

.premium-duration-cancel {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #999;
  cursor: pointer;
  font-size: 14px;
}

/* Subscription status badges */
.subscription-status-na {
  color: #666;
  font-size: 11px;
}

.subscription-status-badge {
  font-size: 10px;
  padding: 2px 6px;
}

.subscription-status-badge.active {
  background: rgba(81, 207, 102, 0.2);
  color: #51cf66;
  border: 1px solid #51cf66;
}

.subscription-status-badge.cancelled {
  background: rgba(255, 165, 0, 0.2);
  color: #ffa500;
  border: 1px solid #ffa500;
}

.subscription-status-badge.expired {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
  border: 1px solid #ff4444;
}

.subscription-status-badge.unknown {
  background: rgba(153, 153, 153, 0.2);
  color: #999;
  border: 1px solid #999;
}

/* Admin notifications */
.admin-notification {
  position: fixed;
  top: 80px;
  right: 20px;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  max-width: 300px;
}

.admin-notification.success {
  background: rgba(81, 207, 102, 0.9);
}

.admin-notification.error {
  background: rgba(255, 68, 68, 0.9);
}

/* ========================================
   PREMIUM PAGE INLINE CLEANUP CLASSES
======================================== */

/* SVG icon utility */
.svg-inline {
  display: inline-block;
  vertical-align: middle;
}

/* Payment Method Modal */
.payment-method-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.payment-method-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.payment-method-title {
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
}

.payment-method-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.payment-option-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  border: 2px solid;
}

.payment-option-btn.card {
  background: linear-gradient(135deg, #2d5016 0%, #3d7a1c 100%);
  border-color: #51cf66;
}

.payment-option-btn.card:hover {
  background: linear-gradient(135deg, #3d7a1c 0%, #4d9a2c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(81, 207, 102, 0.4);
}

.payment-option-btn.keys {
  background: linear-gradient(135deg, #4a1c6b 0%, #6b2d9e 100%);
  border-color: #9D4EDD;
}

.payment-option-btn.keys:hover {
  background: linear-gradient(135deg, #6b2d9e 0%, #7c3daf 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(157, 78, 221, 0.4);
}

.payment-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.payment-option-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.payment-option-text {
  text-align: left;
}

.payment-option-title {
  font-weight: bold;
  font-size: 18px;
}

.payment-option-subtitle {
  font-size: 14px;
}

.payment-option-subtitle.card {
  color: #a5d6a7;
}

.payment-option-subtitle.keys {
  color: #ce93d8;
}

.payment-modal-close {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #999;
  cursor: pointer;
  font-size: 14px;
}

.payment-modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* TF2 Keys Modal */
.tf2-keys-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.tf2-keys-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid rgba(157, 78, 221, 0.5);
  border-radius: 16px;
  padding: 30px;
  max-width: 550px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.tf2-keys-title {
  color: #9D4EDD;
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.tf2-keys-title img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 8px;
}

.tf2-keys-info-box {
  background: rgba(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.tf2-keys-price-section {
  text-align: center;
  margin-bottom: 15px;
}

.tf2-keys-images {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.tf2-keys-images img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.tf2-keys-price {
  color: #FFD700;
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
}

.tf2-keys-instructions {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.tf2-keys-instructions-header {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tf2-keys-instructions-header strong {
  color: #9D4EDD;
}

.tf2-keys-instructions-list {
  margin-left: 20px;
  color: #aaa;
}

.tf2-keys-instructions-list li {
  margin-bottom: 8px;
}

.tf2-keys-contact-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tf2-keys-steam-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
  border: 2px solid #66c0f4;
  border-radius: 10px;
  color: #66c0f4;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: all 0.3s ease;
}

.tf2-keys-steam-link:hover {
  background: linear-gradient(135deg, #2a475e 0%, #3b5a7e 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 192, 244, 0.4);
}

.tf2-keys-discord-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  border: 2px solid #7289da;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
}

.tf2-keys-discord-box img {
  width: 22px;
  height: 22px;
}

.tf2-keys-discord-username {
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: monospace;
}

.tf2-keys-warning {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  text-align: center;
}

.tf2-keys-warning-content {
  color: #FFD700;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.tf2-keys-close-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: rgba(157, 78, 221, 0.2);
  border: 1px solid rgba(157, 78, 221, 0.5);
  border-radius: 8px;
  color: #9D4EDD;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

.tf2-keys-close-btn:hover {
  background: rgba(157, 78, 221, 0.3);
}

/* ========================================
   BILLING PAGE INLINE CLEANUP CLASSES
======================================== */

/* Billing loading/error states */
.billing-loading {
  text-align: center;
  padding: 40px;
  color: #999;
  max-width: 600px;
  margin: 0 auto;
}

.billing-error {
  text-align: center;
  padding: 40px;
  color: #ff6b6b;
  max-width: 600px;
  margin: 0 auto;
}

/* Billing info messages */
.billing-info {
  margin-top: 15px;
}

.billing-info p {
  color: #ffa500;
}

.billing-no-payment {
  color: #999;
}

/* Billing success/cancel messages */
.billing-success {
  text-align: center;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.billing-success-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.billing-success-title {
  color: #7cb342;
  margin-bottom: 10px;
}

.billing-success-text {
  color: #999;
  margin-bottom: 30px;
}

.billing-success-redirect {
  color: #666;
  font-size: 14px;
}

.billing-cancel {
  text-align: center;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.billing-cancel-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.billing-cancel-title {
  color: #ffa500;
  margin-bottom: 10px;
}

.billing-cancel-text {
  color: #999;
  margin-bottom: 30px;
}

.billing-cancel-redirect {
  color: #666;
  font-size: 14px;
}

/* ========================================
   CONVERT PAGE INLINE CLEANUP CLASSES
======================================== */

/* Error/Warning messages */
.convert-error-box {
  text-align: center;
  color: #ff6b6b;
  padding: 20px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 8px;
  border: 2px solid #ff6b6b;
}

.convert-error-title {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.convert-error-text {
  margin-bottom: 10px;
}

.convert-error-subtext {
  font-size: 14px;
  color: #999;
}

.convert-error-subtext.margin-top {
  margin-top: 10px;
}

/* Premium lock messages */
.premium-lock-text {
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Error text */
.error-text {
  color: #ff6b6b;
}

/* Empty state */
.convert-empty-state {
  text-align: center;
  color: #FFD700;
  padding: 20px;
}

/* Processing state */
.convert-processing {
  text-align: center;
  color: #FFD700;
  padding: 20px;
}

/* Server instructions */
.convert-server-instructions {
  text-align: left;
  display: inline-block;
  margin-top: 10px;
}

.convert-code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Convert button states */
.convert-button-progress {
  position: relative;
  overflow: hidden;
}

/* Success message */
.convert-success-msg {
  text-align: center;
  color: #51cf66;
  padding: 10px;
  background: rgba(81, 207, 102, 0.1);
  border-radius: 8px;
  border: 2px solid #51cf66;
  margin-bottom: 10px;
}

/* Table cell styles */
.convert-num-cell {
  color: #FFD700;
  font-weight: bold;
}

.convert-name-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ========================================
   PLAYERS DB PAGE INLINE CLEANUP CLASSES
======================================== */

/* Premium feature lock message */
.db-premium-lock {
  text-align: center;
  padding: 40px;
  color: #FFD700;
}

.db-premium-lock-title {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.db-premium-lock-text {
  font-size: 18px;
  margin-bottom: 10px;
}

.db-premium-lock-subtext {
  font-size: 14px;
  color: #999;
}

/* Loading state */
.db-loading {
  text-align: center;
  color: #FFD700;
  padding: 20px;
}

/* Empty state */
.db-empty-state {
  text-align: center;
  color: #FFD700;
  padding: 20px;
}

/* Error box */
.db-error-box {
  text-align: center;
  color: #ff6b6b;
  padding: 20px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 8px;
  border: 2px solid #ff6b6b;
}

.db-error-title {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Table cell styles */
.db-num-cell {
  color: #FFD700;
  font-weight: bold;
}

.db-name-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.db-right-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  align-items: flex-start;
}

.db-name-link {
  display: block;
}

.db-profile-link {
  display: block;
  color: #999;
  text-decoration: none;
  font-size: 12px;
}

.db-profile-link:hover {
  color: #FFD700;
}

.db-source-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.db-map-name {
  color: #FFD700;
  font-size: 13px;
}

.db-server-ip {
  color: #999;
  font-size: 12px;
}

.db-source-na {
  color: #666;
  font-size: 13px;
}

/* ========================================
   BOT OWNERS PAGE INLINE CLEANUP CLASSES
======================================== */

/* Admin only message */
.bot-owners-admin-only {
  text-align: center;
  padding: 40px;
  color: #FFD700;
}

.bot-owners-admin-only-title {
  margin-bottom: 20px;
}

.bot-owners-admin-only-text {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Premium lock message */
.bot-owners-premium-lock {
  text-align: center;
  padding: 40px;
  color: #FFD700;
}

.bot-owners-premium-lock-title {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bot-owners-premium-lock-text {
  font-size: 18px;
  margin-bottom: 10px;
}

.bot-owners-premium-lock-subtext {
  font-size: 14px;
  color: #999;
}

/* Loading state */
.bot-owners-loading {
  text-align: center;
  padding: 40px;
  color: #999;
}

.bot-owners-loading-text {
  font-size: 16px;
}

.bot-owners-loading-subtext {
  font-size: 14px;
  margin-top: 10px;
  color: #666;
}

/* Empty state */
.bot-owners-empty {
  text-align: center;
  padding: 40px;
  color: #999;
}

.bot-owners-empty-text {
  font-size: 16px;
}

.bot-owners-empty-subtext {
  font-size: 14px;
  margin-top: 10px;
}

/* Bot owner card flex containers */
.bot-owner-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bot-owner-owner-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Scroll sentinel for infinite scroll (CSP-safe) */
.db-scroll-sentinel {
  height: 1px;
  width: 100%;
}
  
