:root {
  /* Earthy Dark Theme Color Palette - Matching Background Images */
  --bg-primary: #100608;
  --bg-secondary: #1e191a;
  --bg-tertiary: #27140f;
  --bg-btn-primary: #731414;
  --bg-btn-primary-hover: #a81d1d;
  --bg-panel: #1e191a;
  --bg-panel-header: #311f18;
  --border-color: #311f18;
  --border-light: #3a2a2a;
  
  /* Input and select specific colors */
  --input-bg: #1e191a;
  --input-border: #311f18;
  --input-hover-bg: #311f18;
  
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #999999;
  --text-accent: #e0e0e0;
  
  --accent-primary: #8b4513; /* Earthy brown instead of blue */
  --accent-secondary: #a0522d; 
  --accent-success: #28a745;
  --accent-danger: #dc3545;
  --accent-warning: #ffc107;
  --accent-info: #17a2b8;
  
  /* Dimensions */
  --container-max-width: 1200px;
  --header-height: 80px;
  --sidebar-width: 250px;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 6px;
  --space-md: 8px;
  --space-lg: 16px;
  --space-xl: 16px;
  
  /* Typography */
  --font-family: Tahoma,sans-serif;
  --font-size-xs: 10px;
  --font-size-sm: 12px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  
  --font-size-xxl: 20px;
}


/* Hall of Fame Toggle Button */
.toggle-container {
  text-align: right;
  margin: 5px 0;
}


.toggle-btn {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  padding: 4px 4px;

  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.toggle-btn-small{
  font-size: 12px;
}


.toggle-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.toggle-icon {
  font-size: 16px;
}

.toggle-icon12px{
  font-size: 12px;
}

/* Tab Navigation Styles */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-nav {
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-nav:hover {
  background-color: var(--bg-tertiary);
}

.tab-nav.active {
  background-color: var(--accent-primary);
  color: var(--text-primary);
  border-color: var(--accent-primary);
}

/* Page Pills Navigation */
.page-pills {
  margin-bottom: 20px;
}

.nav-pills {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.nav-pills .nav-item {
  margin: 0;
}

.nav-pills .nav-link {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transition: all 0.3s ease;
  font-size: var(--font-size-md);
}

.nav-pills .nav-link:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.nav-pills .nav-link.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}


/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

/* Force desktop layout on all devices */
html {
  overflow-x: auto;
  min-width: 1200px !important;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  background: var(--bg-primary);
  background-size: cover;
  color: var(--text-primary);
  line-height: 1.4;
  min-height: 100vh;
  position: relative;
  min-width: 1200px !important; /* Ensures desktop layout */
  overflow-x: auto; /* Allows scrolling on small screens */
  -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjustments */
  width: 100%;
  cursor: url('/assets/normal.cur'), auto;
}

a:hover, button:hover{
  cursor: url('/assets/pointer.cur'), auto;
}

/* Subtle texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(139, 69, 19, 0.02) 0%, transparent 70%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.01) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Header Section */
.site-header {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-bottom: 2px solid var(--border-color);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo-image {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius);
  border: 2px solid var(--border-color);
}

.site-title {

  color: var(--text-primary);
}

.site-title h1 {
  font-size: var(--font-size-xxl);
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.site-title .subtitle {
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 2px;
  letter-spacing: 1px;
}

.server-status {
  text-align: right;
  font-size: var(--font-size-sm);
}

.server-status .status {
  color: var(--accent-success);
  font-weight: bold;
  font-size: var(--font-size-md);
}

.server-status .players {
  color: var(--text-secondary);
  margin-top: 5px;
}

/* Main Layout */
#content {
  width: 1200px !important;
  margin: 20px auto !important;
  display: grid !important;
  grid-template-columns: var(--sidebar-width) 1fr var(--sidebar-width) !important;
  grid-gap: var(--space-sm) !important;
  min-height: calc(100vh - 120px);
  position: relative;
  padding: 0 var(--space-md);
}

.clear {
  clear: both;
}

.big-panel-content{
  background: url('/assets/images/some-bg.jpg');
  padding: 20px;
}

/* Panel Styling */
.panel {
  /* background-image: url('/assets/images/srodek_04.gif'); */
  background: url('/assets/images/top-sideblock.png') no-repeat top center, url('/assets/images/some-bg.jpg');
  /* background-size: 100% auto, cover; */
  margin: 0px 0px 20px 0px;
  
  border: 1px solid var(--border-color);
  margin-bottom: var(--space-lg);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}


#center .panel{
  background: transparent;

}
#center .panel-header{
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-bottom: 2px solid var(--border-color);
  box-shadow: var(--box-shadow);
}

.panel-header {
  color: var(--text-primary);
  padding: var(--space-sm) var(--space-md);
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid var(--border-color);

  font-size: var(--font-size-md);
  text-transform: uppercase;
  letter-spacing: 1px;
  height: 44px;
 
}
/* First spam or div in panel-header */
.panel-header div:first-child {
  margin-top: 5px;
}

.panel-header i {
  margin-right: var(--space-sm);


  font-size: var(--font-size-md);
}

.panel-content {
  padding: var(--space-lg);

}

/* Big panels for center content */
.big-panel {
  background: var(--bg-panel);
  margin-bottom: var(--space-lg);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.big-panel-header {
  background: var(--bg-panel-header);
  color: var(--text-primary);
  padding: var(--space-md);
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Hall of Fame Header - Simplified */
.hallofFameTable {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 15px;
}

/* Simple Select Style */
.select {
  padding: 8px 12px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  background: var(--input-bg);
  color: var(--text-primary);
  font-size: 0.9em;
  min-width: 160px;
  cursor: pointer;
  font-family: inherit;
  width: 80%;
}

.select:focus {
  border-color: var(--accent-primary);
  outline: none;
  box-shadow: 0 0 3px rgba(139, 69, 19, 0.3);
}

.select option {
  background: var(--input-bg);
  color: var(--text-primary);
  padding: 5px;
}

.select option:hover, .select option:focus, .select option:checked {
  background: var(--input-hover-bg);
  color: var(--text-primary);
}

/* Header Row with Title and Date Selector */
.hof-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #333;
}

.hof-title-right {
  text-align: right;
}

.hof-title-right h2 {
  font-size: 1.4em;
  margin: 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(45deg, #ff0000, #ff6b6b, #ff0000);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6));
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { 
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6)); 
  }
  50% { 
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.9)) drop-shadow(0 0 25px rgba(255, 107, 107, 0.5)); 
  }
}

.title-subtitle {
  color: #888;
  font-size: 0.7em;
  font-style: italic;
  margin-top: 2px;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  text-align: right;
}

.hof-date-selector {
  display: flex;
  align-items: center;
}

/* Champions Row */
.champions-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: flex-start;
}

.hofwiners {
  text-align: center;
  padding: 12px 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  border: 1px solid #333;
  min-width: 85px;
  flex: 1;
  transition: transform 0.2s ease;
}

.hofwiners:hover {
  transform: translateY(-2px);
}

.hofwiners.dark-lord {
  border: 2px solid #ff0000;
  background: rgba(139, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.hofwiners img {
  width: 35px;
  height: 40px;
  display: block;
  margin: 0 auto 8px;
  border: 1px solid #444;
  border-radius: 4px;
}

.hof-name {
  color: #fff;
  font-size: 0.75em;
  font-weight: bold;
  margin-bottom: 4px;
}

.dark-lord-name {
  color: #ff0000 !important;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.hof-wins {
  color: #888;
  font-size: 0.65em;
}

.dark-lord-wins {
  color: #ff6b6b !important;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .hof-header-row {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .hof-title-right {
    text-align: center;
  }
  
  .hof-title-right h2 {
    font-size: 1.1em;
    letter-spacing: 1px;
  }
  
  .title-subtitle {
    text-align: center;
  }
  
  .champions-row {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hofwiners {
    min-width: 75px;
    margin-bottom: 8px;
  }
}


.link{
  text-decoration: none;
  font-size: var(--font-size-md);
  color: var(--text-primary);
}
.button-container .link {
  display: block;
  font-size: var(--font-size-xs);
  text-align: center;;
}

.link:hover {
  color: var(--accent-primary);
}
.link-hover:hover {
  color: var(--text-primary);
}

.user-navigation .link::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  width: 12px;
  height: 12px;
  background-image: url('/assets/images/arrow2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Add styles for the user navigation links to ensure proper alignment */
.user-navigation .link {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.online-players {
  text-align: center;
  margin: var(--space-md) 0;
  font-size: var(--font-size-sm);
  font-weight: bold;
}

.online-players a {
  color: var(--text-primary);
  text-decoration: none;
}

.online-count {
  color: var(--accent-success);
  font-weight: bold;
  font-size: var(--font-size-md);
}

.lang-switcher {
  text-align: center;
  font-size: var(--font-size-xs);
  margin-top: var(--space-md);
}

.lang-switcher a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 3px;
}

.lang-switcher a:hover {
  color: var(--text-primary);
}

.lang-switcher img {
  vertical-align: middle;
  margin-left: 3px;
}

/* Menu Styling */
.menu {
  list-style: none;
}

.menu a {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.menu a:hover {
  color: var(--text-primary);
  background: rgba(139, 69, 19, 0.1);
  padding-left: calc(var(--space-md) + 5px);
  border-left: 3px solid var(--accent-primary);
}

.menu a.hof {
  color: #ff0000;
  font-weight: bold;
  border-left: 3px solid #ff0000;
}

.menu a.hof:hover {
  background: rgba(255, 0, 0, 0.1);
  color: #ff6b6b;
}



.menu a i {
  width: 16px;
  margin-right: var(--space-sm);
  color: var(--text-primary);
  font-size: var(--font-size-sm);
}


/* Right sidebar styling */
.game-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  margin-bottom: var(--space-lg);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.currency-item {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: var(--font-size-sm);
}

.currency-item:last-child {
  border-bottom: none;
}

.currency-item i {
  margin-right: var(--space-sm);
  font-size: var(--font-size-sm);
}

.currency-value {
  color: var(--accent-primary);
  font-weight: bold;
  font-size: var(--font-size-sm);
}



/* Content area styling */
.news-section {
 
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  box-shadow: var(--box-shadow);
}

.news-header {
  background: var(--bg-panel-header);
  color: var(--text-primary);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius);
  font-weight: bold;
  margin-bottom: var(--space-lg);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--border-color);
}

.news-item {
  color: var(--text-primary);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-color);
  font-size: var(--font-size-md);
  line-height: 1.5;
}

.news-item:last-child {
  border-bottom: none;
}

.achievement-section {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
  box-shadow: var(--box-shadow);
}

.achievement-title {
  color: var(--text-primary);
  text-align: center;
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-lg);
}

.achievement-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  display: flex;
  align-items: center;
}

.achievement-icon {
  color: var(--accent-primary);
  margin-right: var(--space-md);
  font-size: var(--font-size-lg);
}

/* Footer styling */
#footer {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

#footer a {
  color: var(--text-muted);
  text-decoration: none;
}

#footer a:hover {
  color: var(--text-primary);
}

/* Vote buttons */
.vote-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.vote-btn {
  width: 70px;
  height: 35px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
}

.vote-btn:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(139, 69, 19, 0.3);
  transform: scale(1.05);
}

.vote-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Simple event timer styling */
.events-table tr:hover {
  background: rgba(255, 255, 255, 0.1);
}

.events-table td {
  transition: background 0.2s ease;
}

.events-status {
  text-align: center;
  margin-top: var(--space-sm);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  padding: var(--space-xs);
}

.events-status i {
  margin-right: var(--space-xs);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Event type specific styling */
.event-bc {
  color: var(--accent-danger) !important;
}

.event-ds {
  color: var(--accent-warning) !important;
}

.event-sky {
  color: var(--accent-info) !important;
}

.event-worm {
  color: var(--accent-success) !important;
}

.event-general {
  color: var(--accent-primary) !important;
}

/* Simple urgent events styling */
.event-urgent {
  color: var(--accent-warning) !important;
  font-weight: bold;
}

.event-started {
  color: var(--accent-success) !important;
  font-weight: bold;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

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

/* Responsive */
@media (max-width: 1140px) {
  #content {
    width: 100%;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-md);
  }
  
  .header-content {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .panel, .big-panel {
    margin-bottom: var(--space-xl);
  }
}

/* Override all responsive media queries */
@media (max-width: 1140px), (max-width: 768px), (max-width: 480px) {
  #content {
    width: 1200px !important;
    grid-template-columns: var(--sidebar-width) 1fr var(--sidebar-width) !important;
    display: grid !important;
    margin: 20px auto !important;
    padding: 0 var(--space-md) !important;
  }
  
  .header-content {
    flex-direction: row !important;
    text-align: left !important;
  }
  
  #left, #center, #right {
    width: auto !important;
    display: block !important;
  }
  
  .grid-col-3, .grid-col-4, .grid-col-6 {
    flex: 0 0 auto !important;
    max-width: none !important;
  }
  
  .form-input-rows-2 {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 var(--space-sm) !important;
  }
  
  .form-input-rows-2 > label:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
  .form-input-rows-2 > input:nth-child(2) { grid-column: 1 !important; grid-row: 2 !important; }
  .form-input-rows-2 > label:nth-child(3) { grid-column: 2 !important; grid-row: 1 !important; }
  .form-input-rows-2 > input:nth-child(4) { grid-column: 2 !important; grid-row: 2 !important; }
  
  .grid-row {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  
  .panel, .big-panel {
    margin-bottom: var(--space-lg) !important;
  }
  
  .button-container {
    flex-direction: row !important;
  }
  
  .hof-header-row {
    flex-direction: row !important;
  }
  
  .champions-row {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
  }
  
  .btn {
    width: auto !important;
    margin: initial !important;
  }
  
  .vote-buttons {
    flex-wrap: nowrap !important;
  }
  
  .exp-rate-container {
    flex-direction: row !important;
  }
  
  img {
    max-width: none !important;
  }
}

/* Loading Spinner */
.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left-color: var(--accent-primary);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Server Status */
.status-online {
  color: var(--accent-success);
  font-weight: bold;
}

.status-offline {
  color: var(--accent-danger);
  font-weight: bold;
}

/* Forms */
.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: var(--space-sm);
  margin-bottom: 3px;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  font-size: var(--font-size-md);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.form-input-group .form-input {
  width: 100%;
}

/* Horizontal Form Layout */
.form-group-inline {
  display: flex;
  align-items: center;
}

.form-group-inline .form-input {
  flex: 1;
  margin-bottom: 0;
}

.form-group-inline .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Form with title and search group */
.form-with-title {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.form-with-title.form-title-left {
  justify-content: flex-start;
}

.form-with-title.form-title-right {
  justify-content: space-between;
}

.form-title {
  font-size: var(--font-size-lg);
  font-weight: bold;
  color: var(--text-primary);
  margin: 0;
  flex-shrink: 0;
}

.form-search-group {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.form-search-group .form-input {
  flex: 1;
  margin-bottom: 0;
}

.form-search-group .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* 2 inputs per row: place inputs in rows of 2 */
.form-input-rows-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-sm);
  align-items: start;
}

.form-input-rows-2 > label:nth-child(1) { grid-column: 1; grid-row: 1; }
.form-input-rows-2 > input:nth-child(2) { grid-column: 1; grid-row: 2; }
.form-input-rows-2 > label:nth-child(3) { grid-column: 2; grid-row: 1; }
.form-input-rows-2 > input:nth-child(4) { grid-column: 2; grid-row: 2; }

/* Optional: stack vertically on small screens */
@media (max-width: 600px) {
  .form-input-rows-2 {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }
  
  .form-input-rows-2 > label:nth-child(1) { grid-column: 1; grid-row: 1; }
  .form-input-rows-2 > input:nth-child(2) { grid-column: 1; grid-row: 2; }
  .form-input-rows-2 > label:nth-child(3) { grid-column: 1; grid-row: 3; }
  .form-input-rows-2 > input:nth-child(4) { grid-column: 1; grid-row: 4; }
}


.recaptcha-error {
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-align: center;
  margin-top: var(--space-sm);
}

.btn {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-md);
  font-weight: bold;
  transition: all 0.3s ease;
  border-radius: 0;
}

.btn-primary {
  background-color: var(--bg-btn-primary);
  color: var(--text-primary);
  border: 0;
}

.btn-primary:hover {
  background-color: var(--bg-btn-primary-hover);
}

a {
  color: var(--text-primary);
  text-decoration: none;
}



/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.table th,
.table td {
  padding: var(--space-sm);
  border-bottom: 1px solid var(--border-color);
}

.table th {
  background-color: var(--bg-tertiary);
  color: var(--accent-primary);
}

/* Bordered table styling */
.table-bordered {
  border: 1px solid var(--border-color);
}

.table-bordered th,
.table-bordered td {
  border: 1px solid var(--border-color);
}

/* Table row hover effect */
.table tbody tr:hover {
  background-color: rgba(139, 69, 19, 0.05);
  transition: background-color 0.2s ease;
}

/* Striped table rows for better readability */
.table tbody tr:nth-child(even) {
  background-color: #241b1e !important;
}
.table tbody tr:nth-child(odd) {
  background-color: #231E20!important
}

/* Table header styling */
.table thead th {
  background-color: var(--bg-panel-header);
  color: var(--text-primary);
  font-weight: bold;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  position: sticky;
  top: 0;
}

/* Responsive tables */
@media (max-width: 768px) {
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Stack layout for mobile */
  .table-mobile-stack thead {
    display: none;
  }
  
  .table-mobile-stack tr {
    display: block;
    margin-bottom: var(--space-md);
    border: 1px solid var(--border-color);
  }
  
  .table-mobile-stack td {
    display: block;
    text-align: right;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 50%;
  }
  
  .table-mobile-stack td:before {
    content: attr(data-label);
    position: absolute;
    left: var(--space-sm);
    width: 45%;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }
  
  .table-mobile-stack td:last-child {
    border-bottom: 0;
  }
}

/* Status text colors */
.text-success {
  color: var(--accent-success);
}

.text-warning {
  color: var(--accent-warning);
}

.text-danger {
  color: var(--accent-danger);
}

/* Alerts */
.alert {
  padding: var(--space-md);
  border-radius: 0;
  position: relative;
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.2);
  border: 1px solid var(--accent-success);
  color: var(--accent-success);
}

.alert-error,.alert-danger {
  background-color: rgba(220, 53, 69, 0.2);
  border: 1px solid var(--accent-danger);
  color: var(--text-primary);
}

.alert-warning {
  background-color: rgba(255, 193, 7, 0.2);
  border: 1px solid var(--accent-warning);
  color: var(--accent-warning);
}

.alert-info {
  background-color: rgba(23, 162, 184, 0.2);
  border: 1px solid var(--accent-info);
  color: var(--accent-info);
}

.alert-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: none;
  border: none;
  color: inherit;
  font-size: var(--font-size-lg);
  cursor: pointer;
  padding: 0;
  line-height: 1;
} 

.info-warning{
  padding: var(--space-md);
  color: var(--accent-warning);
}

.info-danger{
  padding: var(--space-md);
  color: var(--accent-danger);
}

.error-container{
  font-size: 20px;
}

.text-white {
  color: white;
}
.text-danger{
  color: var(--accent-danger);
}
.text-danger:hover{
  color: var(--text-primary);
  opacity: 0.8;
}
.button-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.arrow-navigation{
  margin-right: 10px;
  
}
.w-100{
  width: 100%;
}
.w-50{
  width: 50%;
}
.w-25{
  width: 25%;
}
.w-20{
  width: 20% !important;
}
.w-75{
  width: 75%;
}

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

.text-center{
  text-align: center;
}
tr.text-center td, tr.text-center th{
  text-align: center;
}

/* Grid System */
.grid-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
}

.grid-row + .grid-row {
  margin-top: 10px;
}

.grid-col {
  flex: 1;
  padding: 5px;
  min-width: 0;
}

.grid-col-1 { flex: 0 0 8.333%; max-width: 8.333%; }
.grid-col-2 { flex: 0 0 16.666%; max-width: 16.666%; }
.grid-col-3 { flex: 0 0 25%; max-width: 25%; }
.grid-col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.grid-col-5 { flex: 0 0 41.666%; max-width: 41.666%; }
.grid-col-6 { flex: 0 0 50%; max-width: 50%; }
.grid-col-7 { flex: 0 0 58.333%; max-width: 58.333%; }
.grid-col-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.grid-col-9 { flex: 0 0 75%; max-width: 75%; }
.grid-col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.grid-col-11 { flex: 0 0 91.666%; max-width: 91.666%; }
.grid-col-12 { flex: 0 0 100%; max-width: 100%; }

@media (max-width: 768px) {
  .grid-col-3, .grid-col-4, .grid-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .class-points .grid-col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 480px) {
  .grid-col-3, .grid-col-4, .grid-col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .class-points .grid-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Panel margin utility */


/* Info styling */
.info-value {
  font-weight: bold;
  color: var(--accent-primary);
}

.panel-header small {
  font-weight: normal;
  font-size: 80%;
  color: var(--text-secondary);
  margin-left: 8px;
}

.exp-category {
  font-weight: bold;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px dotted var(--border-color);
}

/* Reset info */
.class-points {
  justify-content: space-between;
}

.class-points .grid-col {
  flex: 0 0 auto;
}

.class-points small {
  color: var(--accent-success);
  font-size: 85%;
}

/* Experience rate colors */
.exp-rate-highlight {
  color: var(--accent-success);
  font-weight: bold;
}

.exp-rate-normal {
  color: var(--accent-primary);
}

.exp-rate-reduced {
  color: var(--text-muted);
}

/* Experience rate custom section */
.exp-rate-section {
  margin-top: var(--space-lg);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-md);
}

.exp-rate-section h3 {
  color: var(--accent-primary);
  font-size: var(--font-size-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
}

.exp-rate-section h3 small {
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  font-weight: normal;
  margin-left: var(--space-sm);
}

.exp-rate-container {
  display: flex;
  gap: var(--space-xl);
}

.exp-rate-group {
  flex: 1;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-md);
}

.exp-rate-title {
  font-weight: bold;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px dotted var(--border-color);
  color: var(--text-primary);
  font-size: var(--font-size-sm);
}

.exp-rate-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.exp-rate-value {
  font-weight: bold;
}

@media (max-width: 768px) {
  .exp-rate-container {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* .content-container first h1 */

#content-container h1:first-of-type {
  margin-bottom: var(--space-md);
}

/* Reset table-mobile-stack behavior */
.table-mobile-stack thead {
  display: table-header-group !important;
}

.table-mobile-stack tr {
  display: table-row !important;
}

.table-mobile-stack td {
  display: table-cell !important;
  text-align: left !important;
  padding: var(--space-sm) !important;
  position: static !important;
}

.table-mobile-stack td:before {
  content: none !important;
}

/* ======================================
   HEADER BUTTONS STYLES
   ====================================== */
.header-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
}

.header-btn {
  position: relative;
  overflow: hidden;
  /* border-radius: 12px; */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.header-btn:hover::before {
  left: 100%;
}

.header-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--font-size-md);
  letter-spacing: 0.5px;
  padding: 8px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.header-btn:hover .btn-icon {
  transform: scale(1.1);
}

.btn-text {
  font-family: 'Orbitron', 'Cinzel', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Download Button - Dark Blue Theme */
.download-btn {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3730a3 100%);
  border: 2px solid #1e3a8a;
}

.download-btn:hover {
  background: linear-gradient(135deg, #1e40af 0%, #3730a3 50%, #1e3a8a 100%);
  border-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.4);
}

.download-btn .header-link:hover {
  color: var(--text-primary);
}

.download-btn .btn-icon {
  color: #ffffff;
}

/* Discord Button - Discord Brand Colors */
.discord-btn {
  background: linear-gradient(135deg, #7289da 0%, #5865f2 50%, #4752c4 100%);
  border: 2px solid #7289da;
}

.discord-btn:hover {
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 50%, #7289da 100%);
  border-color: #5865f2;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(114, 137, 218, 0.4);
}

.discord-btn .header-link:hover {
  color: var(--text-primary);
}

.discord-btn .btn-icon {
  color: #ffffff;
}

.facebook-btn {
  background: linear-gradient(135deg, #1877f2 0%, #1877f2 50%, #1877f2 100%);
  border: 2px solid #1877f2;
}

.facebook-btn:hover {
  background: linear-gradient(135deg, #1877f2 0%, #1877f2 50%, #1877f2 100%);
  border-color: #1877f2;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.facebook-btn .header-link:hover {
  color: var(--text-primary);
}

.facebook-btn .btn-icon {
  color: #ffffff;
}

.online-btn {
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 50%, #f97316 100%);
  position: relative;
  overflow: hidden;
}

.online-btn:hover {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #dc2626 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.online-btn .header-link {
  position: relative;
  z-index: 2;
}

.online-btn .header-link:hover {
  color: var(--text-primary);
}

.online-btn .btn-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  z-index: 2;
}

.players-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 8px;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  gap: 2px;
  padding: 2px;
  box-sizing: border-box;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffffff 0%, #fbbf24 100%);
  border-radius: 1px;
  transition: width 0.3s ease;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
  display: flex;
  gap: 1px;
}

.progress-segment {
  flex: 1;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  transition: background 0.3s ease;
}

.progress-segment.filled {
  background: linear-gradient(90deg, #ffffff 0%, #fbbf24 100%);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

/* Progress bar color states - Green to red progression */
.progress-segment.filled.low {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.6);
}

.progress-segment.filled.medium-low {
  background: linear-gradient(90deg, #059669 0%, #10b981 100%);
  box-shadow: 0 0 4px rgba(5, 150, 105, 0.6);
}

.progress-segment.filled.medium {
  background: linear-gradient(90deg, #047857 0%, #059669 100%);
  box-shadow: 0 0 4px rgba(4, 120, 87, 0.6);
}

.progress-segment.filled.high {
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
  box-shadow: 0 0 4px rgba(220, 38, 38, 0.6);
}

.progress-segment.filled.critical {
  background: linear-gradient(90deg, #7c2d12 0%, #dc2626 100%);
  box-shadow: 0 0 4px rgba(124, 45, 18, 0.8);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Button Animation on Load */
.header-btn {
  animation: buttonSlideIn 0.6s ease-out;
}

@keyframes buttonSlideIn {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-buttons {
    gap: var(--space-sm);
  }
  
  .header-link {
    padding: 10px 16px;
    font-size: var(--font-size-sm);
  }
  
  .btn-icon {
    font-size: 16px;
    margin-right: 8px;
  }
  
  .btn-text {
    font-size: var(--font-size-xs);
  }
}

/* Remove old discord-invite styles */
.discord-invite {
  display: none;
}
/* 2nd td from tr to be lightblue */

.text-td2-primary tr td:nth-child(2) {
  color: var(--text-primary);
}

.text-td2-success tr td:nth-child(2) {
  color: var(--accent-success);
}

.text-td2-warning tr td:nth-child(2) {
  color: var(--accent-warning);
}
.text-td1-arrow tr td:nth-child(1) {
  background-image: url('/assets/images/arrow.png');
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 12px;
  padding-left: 30px;
}

.itemblock {
	border-right: 1px solid #38373b;
	border-bottom: 1px solid #38373b;
	border-left: 1px solid #38373b;
	border-top: 1px solid #38373b;
	padding: 0px;
	text-align: center;
}

.fw-11px {
  font-size: 11px;
}

.hover-underline:hover {
  text-decoration: underline;
}

.d-flex{
  display: flex;
}
.justify-content-between{
  justify-content: space-between;
}
.align-items-center{
  align-items: center;
}


/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }
.ml-1{margin-left: var(--space-xs);}
.ml-2{margin-left: var(--space-sm);}
.ml-3{margin-left: var(--space-md);}
.ml-4{margin-left: var(--space-lg);}
.ml-5{margin-left: var(--space-xl);}
.ml-0{margin-left: 0;}
.mr-1{margin-right: var(--space-xs);}
.mr-2{margin-right: var(--space-sm);}
.mr-3{margin-right: var(--space-md);}
.mr-4{margin-right: var(--space-lg);}
.mr-5{margin-right: var(--space-xl);}
.mr-0{margin-right: 0;}

.m-1{margin: var(--space-xs);}
.m-2{margin: var(--space-sm);}
.m-3{margin: var(--space-md);}
.m-4{margin: var(--space-lg);}
.m-5{margin: var(--space-xl);}
.m-0{margin: 0;}


.pt-1{ padding-top: var(--space-xs); }
.pt-2{ padding-top: var(--space-sm); }
.pt-3{ padding-top: var(--space-md); }
.pt-4{ padding-top: var(--space-lg); }
.pt-5{ padding-top: var(--space-xl); }

.pb-1{ padding-bottom: var(--space-xs); }
.pb-2{ padding-bottom: var(--space-sm); }
.pb-3{ padding-bottom: var(--space-md); }
.pb-4{ padding-bottom: var(--space-lg); }
.pb-5{ padding-bottom: var(--space-xl); }

.p-1{ padding: var(--space-xs); }
.p-2{ padding: var(--space-sm); }
.p-3{ padding: var(--space-md); }
.p-4{ padding: var(--space-lg); }
.p-5{ padding: var(--space-xl); }
.p-0{ padding: 0; }


.badge{
  padding: 0.25em 0.5em;
  font-size: 0.875em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
} 

.bg-info{
  background-color: var(--accent-info);
}

/* ======================================
   MODAL STYLES - Global for all modals
   ====================================== */
/* MicroModal styles */
.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.micromodal-slide .modal__container {
  background-color: var(--bg-panel);
  padding: 0;
  max-width: 900px;
  max-height: 90vh;
  border-radius: var(--border-radius);
  overflow-y: auto;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
  width: 90%;
}

.micromodal-slide .modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-panel-header);
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.micromodal-slide .modal__title {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--font-size-lg);
}

.micromodal-slide .modal__close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 24px;
  padding: 4px;
}

.micromodal-slide .modal__close:hover {
  color: var(--accent-primary);
  transform: scale(1.1);
}

.micromodal-slide .modal__close::before {
  content: "\2715";
}

.micromodal-slide .modal__content {
  padding: var(--space-lg);
  color: var(--text-primary);
}

.micromodal-slide .modal__footer {
  padding: var(--space-md);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
}

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

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

@keyframes mmslideIn {
  from { transform: translateY(15%); }
  to { transform: translateY(0); }
}

@keyframes mmslideOut {
  from { transform: translateY(0); }
  to { transform: translateY(-10%); }
}

/* ======================================
   COMMON FORM AND CONTAINER STYLES
   ====================================== */
.selected-items-container {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px;
  min-height: 80px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.selected-items-container:hover {
  border-color: var(--accent-primary);
}

.selected-item-display {
  position: relative;
  width: 100%;
  height: 48px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: var(--bg-secondary);
  padding: 8px;
  gap: 12px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.selected-item-display:hover {
  border-color: var(--accent-primary);
  background-color: var(--bg-tertiary);
}

.selected-item-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.selected-item-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 500;
}

.remove-item-btn {
  background: var(--accent-danger);
  border: none;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
}

.remove-item-btn:hover {
  background: #c82333;
  transform: scale(1.1);
}

.prices-container {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px;
  transition: border-color 0.2s ease;
}

.prices-container:hover {
  border-color: var(--accent-primary);
}

/* ======================================
   MARKET SPECIFIC STYLES
   ====================================== */
/* Market Grid Layout */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

/* Market Item Cards */
.market-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.market-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(139, 69, 19, 0.2);
  border-color: var(--accent-primary);
}

.market-item-header {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.market-item-image {
  flex-shrink: 0;
}

.item-icon {
  width: 64px;
  height: 64px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  position: relative;
  transition: border-color 0.2s ease;
  cursor: pointer;
}

.item-icon:hover {
  border-color: var(--accent-primary);
}

.market-item-info {
  flex: 1;
}

.item-name {
  margin: 0 0 var(--space-sm) 0;
  font-size: var(--font-size-md);
  font-weight: bold;
}

/* Group Items Styling */
.group-items-container {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 4px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow-x: auto;
}

.group-item-icon {
  width: 64px;
  height: 64px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.group-item-icon:hover {
  transform: scale(1.05);
  border-color: var(--accent-primary);
}

/* Price Section */
.price-section h5 {
  margin: 0 0 var(--space-sm) 0;
  color: var(--accent-primary);
}

.price-inline {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Market Item Footer */
.market-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.seller-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seller-link {
  transition: color 0.2s ease;
}

.seller-link:hover {
  color: var(--accent-primary);
}

.btn-buy {
  transition: all 0.2s ease;
}

.btn-buy:hover {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Owner Actions */
.owner-actions {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.btn-edit, .btn-remove {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 4px;
}

.btn-edit:hover {
  color: var(--accent-warning);
  border-color: var(--accent-warning);
}

.btn-remove:hover {
  color: var(--accent-danger);
  border-color: var(--accent-danger);
}

/* Market Filter Styles */
.market-filters input[type="checkbox"]:hover + span {
  color: var(--accent-primary);
}

.market-filters input[type="text"]:hover,
.market-filters input[type="number"]:hover,
.market-filters select:hover {
  border-color: var(--accent-primary);
}

.market-filters input[type="text"]:focus,
.market-filters input[type="number"]:focus,
.market-filters select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.2);
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-xl);
}

.pagination {
  display: flex;
  gap: var(--space-xs);
}

.page-link {
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.page-link:hover {
  background: var(--accent-primary);
  color: var(--text-primary);
}

.page-link.active {
  background: var(--accent-primary);
  color: var(--text-primary);
  border-color: var(--accent-primary);
}

.page-link.disabled {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}

.pagination-info {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

/* ======================================
   NAVIGATION PILLS STYLES - GLOBAL
   ====================================== */
.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  padding: 0;
  list-style: none;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-xs);
}

.nav-pills .nav-item {
  margin: 0;
}

.nav-pills .nav-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.nav-pills .nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border-color: var(--border-light);
}

/* Active state - use .active class for current page */
.nav-pills .nav-link.active {
  color: var(--text-primary);
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 2px 4px rgba(139, 69, 19, 0.3);
}

/* Alternative styling variants */
.nav-pills.nav-pills-outline .nav-link {
  border: 1px solid var(--border-color);
  background: transparent;
}

.nav-pills.nav-pills-outline .nav-link:hover {
  border-color: var(--accent-primary);
  background: var(--bg-tertiary);
}

.nav-pills.nav-pills-outline .nav-link.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.nav-pills.nav-pills-minimal {
  background: transparent;
  border: none;
  padding: 0;
}

.nav-pills.nav-pills-minimal .nav-link {
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
}

.nav-pills.nav-pills-minimal .nav-link:hover {
  background: transparent;
  border-bottom-color: var(--border-light);
}

.nav-pills.nav-pills-minimal .nav-link.active {
  background: transparent;
  border-bottom-color: var(--accent-primary);
  box-shadow: none;
}

/* Size variants */
.nav-pills.nav-pills-sm .nav-link {
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--font-size-xs);
}

.nav-pills.nav-pills-lg .nav-link {
  padding: var(--space-md) var(--space-lg);
  font-size: var(--font-size-md);
}

/* Centered nav-pills */
.nav-pills.nav-pills-center {
  justify-content: center;
}




/* ======================================
   REWARDS LIST STYLES
   ====================================== */
.rewards-container {
  /* Removed background since panel already has one */
}

.reward-group {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  transition: border-color 0.2s ease;
  height: 100%; /* Ensure equal height in grid */
}

.reward-title {
  font-size: var(--font-size-md);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-xs);
}

.reward-title i {
  margin-right: var(--space-sm);
  color: var(--accent-primary);
}

.reward-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: var(--space-sm);
}

.reward-list li {
  padding: var(--space-xs) var(--space-sm);
  margin-bottom: var(--space-xs);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  transition: all 0.2s ease;
  position: relative;
  padding-left: 5px;
}

.reward-list li:before {
  content: "";
}


.reward-list li:last-child {
  margin-bottom: 0;
}

/* ======================================
   TRIVIA EVENT SPECIFIC STYLES
   ====================================== */
.command-usage {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}

.command-usage h3 {
  color: var(--accent-primary);
  font-size: var(--font-size-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.command-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.command-item:hover {
  border-color: var(--accent-primary);
  background: var(--bg-tertiary);
}

.command-item code {
  background: var(--bg-primary);
  color: var(--accent-primary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: var(--font-size-sm);
  font-weight: bold;
  border: 1px solid var(--border-color);
}

.command-desc {
  color: var(--text-secondary);
  font-size: var(--font-size-xs);
  font-style: italic;
}

.event-details {
  margin: var(--space-lg) 0;
}

.event-details h3 {
  color: var(--accent-primary);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rewards-section {
  margin-top: var(--space-xl);
}

.rewards-section h3 {
  color: var(--accent-primary);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ======================================
   WAREHOUSE SPECIFIC STYLES
   ====================================== */
/* Warehouse item styles */
.warehouse-item {
  cursor: pointer;
  position: relative;
}

.warehouse-item:hover {
  opacity: 0.8;
}

.warehouse-item.selected-for-sale::after {
  content: '✓';
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--accent-primary);
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.selected-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .market-grid {
    grid-template-columns: 1fr;
  }

  .market-item-header {
    flex-direction: column;
    text-align: center;
  }

  .market-item-footer {
    flex-direction: column;
    gap: var(--space-md);
  }

  .pagination-wrapper {
    flex-direction: column;
    gap: var(--space-md);
  }
}


.border-0 {
  border: 0 !important;
}
.border-bottom-0 {
  border-bottom: 0 !important;
}

/* ======================================
   KUNDUN PAGE SPECIFIC STYLES
   ====================================== */

/* Kundun Item Icon - 60px size with styling */
.kundun-item-icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.kundun-item-icon:hover {
  border-color: var(--accent-primary);
}

.kundun-item-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ======================================
   ACCORDION STYLES
   ====================================== */
.accordion-container {
  margin-bottom: var(--space-lg);
}

.accordion-item {
  margin-bottom: var(--space-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-panel);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion-header {
  padding: var(--space-md);
  background: var(--bg-panel-header);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: var(--bg-tertiary);
}

.accordion-header h3 {
  margin: 0;
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--text-primary);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-primary);
  transition: transform 0.3s ease;
}

.accordion-icon::before {
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
}

.accordion-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
}

.accordion-item.active .accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.accordion-content {
  padding: var(--space-lg);
  display: none;
  background: var(--bg-secondary);
}

.accordion-content p {
  margin-top: 0;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}


/* Basic styles for lists using specific classes */
.ul-basic {
  margin: 1em 0 1em 1.5em;
  padding: 0;
  list-style-type: disc;
}

.ol-basic {
  margin: 1em 0 1em 1.5em;
  padding: 0;
  list-style-type: decimal;
}

.li-basic {
  margin-bottom: 0.25em;
  color: var(--text-primary);
  font-size: 1em;
  line-height: 1.5;
}
.float-right {
  float: right;
}
.float-left {
  float: left;
}
/* Status and Avatar Images Styling */
.status-image {
  width: 10px;
  height: 10px;
  display: inline-block;
  vertical-align: middle;
}

.class-avatar-image {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

/* Character cell layout for rankings and online players */
.character-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.character-name {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.status-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 2px 4px;

}

/* Single image styling (for online players) */
.status-icon.single-image {
  padding: 2px 6px;

}

/* Dual image styling (for rankings) */
.status-icon.dual-image {
  padding: 2px 4px;

}

/* ======================================
   RULES PAGE SPECIFIC STYLES
   ====================================== */
.rules-container {
  max-width: 800px;
  margin: 0 auto;
}

.rule-category {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rule-category:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 8px rgba(139, 69, 19, 0.1);
}

.rule-category-title {
  color: var(--accent-primary);
  font-size: var(--font-size-lg);
  font-weight: bold;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.rule-category-title i {
  color: var(--accent-primary);
  font-size: var(--font-size-md);
}

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

.rules-list li {
  padding: var(--space-sm) 0;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
  font-size: var(--font-size-md);
  line-height: 1.5;
  position: relative;
  padding-left: var(--space-lg);
  transition: color 0.2s ease;
}

.rules-list li small {
  display: block;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  font-style: italic;
  margin-top: var(--space-xs);
  padding-left: var(--space-sm);
  border-left: 2px solid var(--border-light);
  line-height: 1.4;
}

.rules-list li:before {
  content: "•";
  color: var(--accent-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: var(--space-sm);
  font-size: var(--font-size-lg);
}

.rules-list li:hover {
  color: var(--text-accent);
}

.rules-list li:last-child {
  margin-bottom: 0;
}

.sub-rules-list {
  list-style: none;
  margin: var(--space-sm) 0 0 var(--space-lg);
  padding: 0;
}

.sub-rules-list li {
  padding: var(--space-xs) 0;
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  padding-left: var(--space-md);
  position: relative;
}

.sub-rules-list li:before {
  content: "◦";
  color: var(--text-muted);
  position: absolute;
  left: 0;
  top: var(--space-xs);
  font-size: var(--font-size-md);
}

.rule-notice {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
  border: 2px solid var(--accent-warning);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  margin-top: var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  transition: all 0.3s ease;
}

.rule-notice:hover {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.08) 100%);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.notice-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-warning);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #856404;
  font-size: var(--font-size-lg);
  font-weight: bold;
}

.notice-content h4 {
  color: var(--accent-warning);
  font-size: var(--font-size-lg);
  font-weight: bold;
  margin: 0 0 var(--space-sm) 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.notice-content p {
  color: var(--text-primary);
  font-size: var(--font-size-md);
  line-height: 1.6;
  margin: 0;
}

/* Responsive design for rules */
@media (max-width: 768px) {
  .rules-container {
    max-width: 100%;
  }
  
  .rule-category {
    padding: var(--space-md);
  }
  
  .rule-category-title {
    font-size: var(--font-size-md);
  }
  
  .rule-notice {
    flex-direction: column;
    text-align: center;
  }
  
  .notice-icon {
    align-self: center;
  }
}

/* ======================================
   VOTE PAGE STYLES
   ====================================== */
.vote-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-lg);
}

.vote-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.vote-header h1 {
  color: var(--accent-primary);
  font-size: var(--font-size-xxl);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.vote-header h1 i {
  margin-right: var(--space-sm);
  color: var(--accent-primary);
}

.vote-subtitle {
  color: var(--text-secondary);
  font-size: var(--font-size-md);
  margin: 0;
}

.vote-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.vote-stat-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: all 0.3s ease;
}

.vote-stat-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(139, 69, 19, 0.2);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: var(--font-size-lg);
}

.stat-number {
  font-size: var(--font-size-xl);
  font-weight: bold;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vote-rewards-section {
  margin-bottom: var(--space-xl);
}

.vote-rewards-section h2 {
  color: var(--accent-primary);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vote-rewards-section h2 i {
  margin-right: var(--space-sm);
  color: var(--accent-primary);
}

.rewards-description {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-md);
}



/* Panel states for vote rewards */
.panel.unlocked {
  border-color: var(--accent-success);
}

.panel.current {
  border-color: var(--accent-primary);
}

.panel.locked {
  opacity: 0.6;
}

.reward-item {
  display: inline-block;
  padding: 2px 3px;

  background: var(--bg-secondary);

  border: 1px solid var(--border-light);
  font-size: var(--font-size-xs);
  white-space: nowrap;
}

.vote-sites-section {
  margin-bottom: var(--space-xl);
}

.vote-sites-section h2 {
  color: var(--accent-primary);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vote-sites-section h2 i {
  margin-right: var(--space-sm);
  color: var(--accent-primary);
}

.vote-instructions {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-md);
}

.vote-sites-simple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  justify-items: center;
}

.vote-site-item {
  text-align: center;
}

.vote-site-item h3 {
  color: var(--text-primary);
  font-size: var(--font-size-md);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vote-site-wrapper {
  display: inline-block;
}

.vote-link-simple {
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.vote-link-simple:hover {
  transform: scale(1.05);
}



.vote-link-simple img {
  display: block;
  border-radius: var(--border-radius);
}

.vote-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--border-radius);
}

.vote-link-simple.voted .vote-overlay {
  opacity: 1;
}

.vote-text {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 
    2px 2px 0px #000000,
    0px 0px 20px rgba(255, 255, 255, 0.9),
    0px 0px 40px rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.8);
  padding: 8px 16px;
  border-radius: 8px;
  border: 2px solid #ffffff;
}

.vote-link-simple.voted {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(50%);
  pointer-events: none;
}

.vote-link-simple.voted:hover {
  transform: none;
}


.vote-info {
  margin-top: var(--space-xl);
}

.info-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
}

.info-box h3 {
  color: var(--accent-primary);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-box h3 i {
  margin-right: var(--space-sm);
  color: var(--accent-primary);
}

.info-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-box li {
  padding: var(--space-sm) 0;
  color: var(--text-primary);
  font-size: var(--font-size-md);
  line-height: 1.5;
  position: relative;
  padding-left: var(--space-lg);
}

.info-box li:before {
  content: "✓";
  color: var(--accent-success);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: var(--space-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
  .vote-container {
    padding: var(--space-md);
  }
  
  .vote-stats {
    grid-template-columns: 1fr;
  }
  
  .rewards-grid {
    grid-template-columns: 1fr;
  }
  
  .vote-sites-grid {
    grid-template-columns: 1fr;
  }
  
  .vote-header h1 {
    font-size: var(--font-size-xl);
  }
}