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

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  --primary: #991B1B;      /* Dark Red - accent principal */
  --primary-dark: #7F1D1D; /* Dark Red închis */
  --primary-light: #B91C1C; /* Dark Red deschis */
  
  --bg-dark: #0F0F0F;
  --bg-panel: #1A1A1A;
  --bg-hover: #252525;
  
  --text-primary: #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  
  --border: rgba(153, 27, 27, 0.2);
  --success: #10B981;
  --danger: #EF4444;
}

body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(13, 13, 13, 0.80) 50%, rgba(0, 0, 0, 0.85) 100%),
                    url(../../img/dracula2-bg.png);
  background-size: cover, cover;
  background-position: center, center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

header {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

/* Sophisticated Header */
.sophisticated-header {
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 2px solid var(--primary);
  padding: 1.5rem 3rem;
  position: relative;
  z-index: 10;
}

.sophisticated-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Navbar Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.navbar-brand .brand-orb {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.navbar-brand .orb-core {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.navbar-brand .orb-ring {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  z-index: 1;
}

.navbar-brand .orb-glow {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  filter: blur(4px);
  animation: pulse-glow 2s ease-in-out infinite;
  z-index: 0;
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.navbar-brand .brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  line-height: 1;
}

.navbar-brand .brand-tagline {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* Sophisticated Navbar Nav */
.sophisticated-navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.navbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.navbar-item:hover {
  color: var(--primary);
}

.navbar-item .nav-icon {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.navbar-item:hover .nav-icon {
  transform: scale(1.2);
}

.navbar-item .nav-text {
  font-size: 0.575rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-underline {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--primary);
  transition: transform 0.3s ease;
  box-shadow: 0 0 8px rgba(153, 27, 27, 0.6);
}

.navbar-item:hover .nav-underline {
  transform: translateX(-50%) scaleX(1);
}

@media (max-width: 768px) {
  .sophisticated-header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .sophisticated-navbar-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 1.5rem;
  }
}

header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header p {
  color: var(--text-muted);
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
}

#status-text {
  font-weight: 500;
}

.bg-gray-footer {
  background: #100900c9;
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.bg-gray-header {
  background: #000000cf;
  /*border: 1px solid var(--border);
  border-radius: 12px;*/
  position: relative;
  overflow: hidden;
}

.bg-gray-800 {
  background: #000000cf;
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

h2, h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

h2 i, h2 .icon {
  color: var(--primary);
  font-size: 1.25rem;
}

input[type="text"], 
input[type="password"], 
input[type="email"] {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.875rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

input[type="text"]:focus, 
input[type="password"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-dark);
}

label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

button, .btn {
  background: var(--primary);
  border: none;
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(153, 27, 27, 0.3);
}

button.bg-blue-600 {
  background: var(--primary);
}

button.bg-debug {
  background: #145300;
  color: white;
}

button.bg-debug:hover {
  background: #196302;
  box-shadow: 0 4px 12px rgb(80 239 68 / 30%);
}

button.bg-red-600 {
  background: var(--danger);
  color: white;
}

button.bg-red-600:hover {
  background: #DC2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

button.bg-gray-700 {
  background: var(--bg-hover);
  color: var(--text-secondary);
}

button.bg-gray-700:hover {
  background: #2F2F2F;
}

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

.stat-box {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.stat-box:hover {
  border-color: var(--primary);
  background: var(--bg-hover);
}

.stat-box p:first-child {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.stat-box p.text-2xl {
  font-weight: 700;
  font-size: 2rem;
  color: var(--text-primary);
}

#online-players {
  color: var(--success);
}

.ranking-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
  gap: 1rem;
  border-radius: 10px;
}

.ranking-item:hover {
  background: #3b3b3b4f;
  border-radius: 10px;
}

.rank-number {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--text-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.rank-name {
  flex: 1;
  font-weight: 600;
  color: var(--text-primary);
}

.rank-level {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.guild-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.guild-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

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

.guild-item i {
  color: var(--primary);
  font-size: 1rem;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.quick-link:hover {
  background: var(--bg-hover);
  border-color: var(--primary);
  color: var(--primary);
}

.quick-link i {
  color: var(--text-secondary);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.quick-link:hover i {
  color: var(--primary);
}

.character-item {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-radius: 8px;
}

.char-name {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.char-stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stat-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  background: var(--bg-panel);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-badge.level {
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.3);
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.menu-link:hover {
  background: var(--bg-hover);
  border-color: var(--primary);
  color: var(--primary);
}

.menu-link i {
  color: var(--text-secondary);
  width: 20px;
  text-align: center;
}

.info-row, .stat-row, .server-info .info-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--bg-dark);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.info-row span:first-child,
.stat-row span:first-child,
.info-item span:first-child {
  color: var(--text-secondary);
}

.info-row span:last-child,
.stat-row span:last-child,
.info-item span:last-child {
  color: var(--primary);
  font-weight: 600;
}

dialog {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  color: var(--text-primary);
  padding: 2rem;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

#modal-content {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-dark);
}

#modal-content::-webkit-scrollbar {
  width: 6px;
}

#modal-content::-webkit-scrollbar-track {
  background: var(--bg-dark);
  border-radius: 3px;
}

#modal-content::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.875rem;
  border-radius: 8px;
  color: var(--danger);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.alert-error i {
  font-size: 1rem;
}

.news-item {
  padding: 1.25rem;
  background: var(--bg-dark);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  margin-bottom: 1rem;
}

.news-item h3 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.news-item p, .news-item ul {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.news-item ul {
  list-style: none;
  padding: 0;
}

.news-item ul li {
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-item ul li i {
  color: var(--primary);
  font-size: 0.75rem;
}

.hero-section {
  background: linear-gradient(0deg, #000000b3 0%, #180202 100%);
  border-bottom: 1px solid rgb(0 53 4 / 5%);
  padding: 3rem 1rem;
}

.hero-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 1px;
  color: var(--primary);
  justify-content: center;
}

.hero-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

footer p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Custom Footer Styles */
.custom-footer {
  background: #000000;
  position: relative;
  margin-top: 4rem;
}

.footer-red-bar {
  height: 2px;
  background: var(--primary);
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  flex-wrap: wrap;
  gap: 2rem;
  min-height: 70px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-dot-red {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  flex-shrink: 0;
}

.footer-brand {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  font-family: 'Bebas Neue', sans-serif;
  line-height: 1.2;
}

.footer-url {
  color: var(--text-primary);
  font-size: 0.8125rem;
  margin-left: 1.75rem;
  font-weight: 400;
  line-height: 1.4;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
}

.footer-copyright-box {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  border: 2px solid var(--primary);
  border-radius: 6px;
  background: transparent;
}

.footer-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  flex-shrink: 0;
}

.footer-copyright-text {
  color: var(--text-primary);
  font-size: 0.8125rem;
  white-space: nowrap;
  font-weight: 400;
}

.footer-separator {
  width: 1px;
  height: 14px;
  background: var(--text-primary);
  opacity: 0.6;
  margin: 0 0.375rem;
  display: inline-block;
}

.footer-lightning {
  color: #F59E0B;
  font-size: 0.75rem;
  line-height: 1;
}

.footer-design-text {
  color: var(--text-primary);
  font-size: 0.8125rem;
  white-space: nowrap;
  font-weight: 400;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-right {
    width: 100%;
    justify-content: flex-start;
  }
  
  .footer-copyright-box {
    flex-wrap: wrap;
    width: 100%;
  }
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-light);
}

#page-info {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .guild-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-box {
    padding: 1rem;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  .hero-section h2 {
    font-size: 2rem;
  }
  
  dialog {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }
}

.text-gold {
  color: var(--primary);
}

.text-gray-400 {
  color: var(--text-secondary);
}

.text-gray-300 {
  color: var(--text-secondary);
}

.text-green-400 {
  color: var(--success);
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--primary);
  color: var(--text-primary);
}

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

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Ultra Elegant Footer Styles */
.ultra-elegant-bottom {
  position: relative;
  background: rgba(0, 0, 0, 0.85);
  padding: 0rem 2.5rem 2rem;
  overflow: visible;
  min-height: 100px;
}

/* Sophisticated Top Line */
.sophisticated-line {
  position: relative;
  height: 2px;
  width: 100%;
  margin-bottom: 2rem;
}

.line-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  box-shadow: 0 0 10px rgba(153, 27, 27, 0.6);
}

.line-center {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: var(--primary);
}

.line-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 10px,
    var(--primary) 10px,
    var(--primary) 11px
  );
  opacity: 0.3;
}

/* Premium Content */
.premium-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.premium-content .luxury-brand {
  flex: 0 0 auto;
}

.premium-content .elegant-status {
  flex: 0 0 auto;
  margin-left: auto;
}

/* Luxury Brand */
.luxury-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.luxury-brand .brand-orb {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.luxury-brand .orb-core {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.luxury-brand .orb-ring {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

.luxury-brand .orb-glow {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  filter: blur(4px);
  animation: pulse-glow-footer 2s ease-in-out infinite;
}

@keyframes pulse-glow-footer {
  0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.2); }
}

.luxury-brand .brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.luxury-brand .brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  line-height: 1;
}

.luxury-brand .brand-tagline {
  font-size: 0.8125rem;
  color: var(--text-primary);
  margin-left: 0;
}

/* Elegant Status (Footer) */
.ultra-elegant-bottom .elegant-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ultra-elegant-bottom .status-indicator {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1.300rem 1rem;
  border: 2px solid #470000ad;
  border-radius: 25px;
  background: rgba(153, 27, 27, 0.1);
  white-space: nowrap;
  flex-shrink: 0;
  width: fit-content;
}

.ultra-elegant-bottom .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.ultra-elegant-bottom .status-text {
  color: var(--text-primary);
  font-size: 0.8125rem;
  white-space: nowrap;
  display: inline-block;
}

.ultra-elegant-bottom .status-separator {
  color: var(--text-primary);
  opacity: 0.6;
  margin: 0 0.25rem;
  display: inline-block;
  flex-shrink: 0;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
}

.dot-1 {
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.dot-2 {
  top: 60%;
  right: 15%;
  animation: float 8s ease-in-out infinite 2s;
}

.dot-3 {
  bottom: 30%;
  left: 20%;
  animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-20px) translateX(10px); }
  66% { transform: translateY(10px) translateX(-10px); }
}

@media (max-width: 768px) {
  .premium-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .elegant-status {
    width: 100%;
    justify-content: flex-start;
  }
  
  .status-indicator {
    flex-wrap: wrap;
    width: 100%;
  }
}

/* Vote4Bonus Modal Styles */
#vote-modal {
  background: rgba(15, 15, 15, 0.98);
  border: 2px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(153, 27, 27, 0.3);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  max-width: 900px;
  position: relative;
  overflow: hidden;
}

#vote-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 20px rgba(153, 27, 27, 0.8);
}

#vote-modal h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#vote-modal h2 i {
  color: var(--primary);
  font-size: 1.75rem;
}

#vote-modal .text-gray-400 {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Vote Sites Container */
#vote-sites-container {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-dark);
  padding-right: 0.5rem;
}

#vote-sites-container::-webkit-scrollbar {
  width: 8px;
}

#vote-sites-container::-webkit-scrollbar-track {
  background: var(--bg-dark);
  border-radius: 4px;
}

#vote-sites-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(153, 27, 27, 0.5);
}

#vote-sites-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Vote Site Card */
#vote-sites-container > div {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
  border: 2px solid rgba(153, 27, 27, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#vote-sites-container > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#vote-sites-container > div:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(26, 26, 26, 1) 0%, rgba(20, 20, 20, 1) 100%);
  box-shadow: 0 8px 20px rgba(153, 27, 27, 0.2), 0 0 15px rgba(153, 27, 27, 0.1);
  transform: translateX(2px);
}

#vote-sites-container > div:hover::before {
  opacity: 1;
}

/* Site disponibil pentru vot */
#vote-sites-container > div.border-green-500 {
  border-color: rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
}

#vote-sites-container > div.border-green-500::before {
  background: var(--success);
}

#vote-sites-container > div.border-green-500:hover {
  border-color: var(--success);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2), 0 0 15px rgba(16, 185, 129, 0.1);
}

/* Site blocat (cooldown) */
#vote-sites-container > div.border-gray-600 {
  border-color: rgba(107, 114, 128, 0.3);
  opacity: 0.7;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
}

#vote-sites-container > div.border-gray-600:hover {
  opacity: 0.85;
  transform: none;
}

/* Site Name */
#vote-sites-container h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

/* Site Info (MD, Cooldown) */
#vote-sites-container .text-sm {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

#vote-sites-container .text-sm i {
  margin-right: 0.5rem;
}

#vote-sites-container .text-sm .text-gold {
  color: var(--primary);
  font-weight: 600;
}

#vote-sites-container .text-sm .text-gray-400 {
  color: var(--text-secondary);
}

/* Timer Display */
#vote-sites-container .text-xs {
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

#vote-sites-container .text-sm.font-semibold {
  font-size: 0.9375rem;
  font-weight: 600;
}

#vote-sites-container .text-green-400 {
  color: var(--success);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

#vote-sites-container .text-yellow-400 {
  color: #FBBF24;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

/* Vote Buttons */
#vote-sites-container button {
  background: var(--primary);
  border: none;
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(153, 27, 27, 0.3);
}

#vote-sites-container button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

#vote-sites-container button:hover::before {
  width: 300px;
  height: 300px;
}

#vote-sites-container button:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(153, 27, 27, 0.5);
}

#vote-sites-container button:active {
  transform: translateY(0);
}

#vote-sites-container button.bg-green-600 {
  background: var(--success);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

#vote-sites-container button.bg-green-600:hover {
  background: #059669;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

#vote-sites-container button.bg-blue-600 {
  background: #2563EB;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

#vote-sites-container button.bg-blue-600:hover {
  background: #1D4ED8;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

#vote-sites-container button.bg-gray-600,
#vote-sites-container button:disabled {
  background: var(--bg-hover);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

#vote-sites-container button:disabled:hover {
  transform: none;
  box-shadow: none;
}

#vote-sites-container button i {
  margin-right: 0.5rem;
}

/* Close Button */
#vote-modal button.text-gray-400 {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  line-height: 1;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 4px;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#vote-modal button.text-gray-400:hover {
  color: var(--text-primary);
  background: rgba(153, 27, 27, 0.2);
  transform: rotate(90deg);
}

/* Vote Message */
#vote-message {
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#vote-message i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

#vote-message.bg-green-900 {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  color: #6EE7B7 !important;
}

#vote-message.bg-blue-900 {
  background: rgba(37, 99, 235, 0.15) !important;
  border: 1px solid rgba(37, 99, 235, 0.4) !important;
  color: #93C5FD !important;
}

#vote-message.bg-red-900 {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #FCA5A5 !important;
}

/* Responsive */
@media (max-width: 768px) {
  #vote-modal {
    padding: 1.5rem;
    max-width: calc(100vw - 2rem);
  }
  
  #vote-sites-container > div {
    padding: 1rem;
  }
  
  #vote-sites-container h3 {
    font-size: 1rem;
  }
  
  #vote-sites-container .text-sm {
    gap: 1rem;
    font-size: 0.8125rem;
  }
  
  #vote-sites-container button {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }
}

/* Language Selector Styles */
.language-selector-container {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

#language-selector-btn {
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 15px rgba(153, 27, 27, 0.3);
  min-width: 120px;
  justify-content: center;
}

#language-selector-btn:hover {
  background: rgba(153, 27, 27, 0.2);
  border-color: var(--primary-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 25px rgba(153, 27, 27, 0.5);
  transform: translateY(-2px);
}

#language-selector-btn i {
  color: var(--primary);
  font-size: 1rem;
  transition: transform 0.3s ease;
}

#language-selector-btn:hover i {
  transform: rotate(180deg);
}

#language-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  border: 2px solid var(--primary);
  border-radius: 12px;
  min-width: 180px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 20px rgba(153, 27, 27, 0.4);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

#language-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border-bottom: 1px solid rgba(153, 27, 27, 0.2);
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background: rgba(153, 27, 27, 0.3);
  color: var(--primary-light);
  padding-left: 1.5rem;
}

.language-option.active {
  background: rgba(153, 27, 27, 0.2);
  color: var(--primary);
  font-weight: 600;
}

.language-option i {
  color: var(--primary);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.language-option.active i {
  color: var(--primary-light);
}

@media (max-width: 768px) {
  .language-selector-container {
    left: 1rem;
    top: auto;
    bottom: 2rem;
    transform: none;
  }
  
  #language-selector-btn {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    min-width: 100px;
  }
  
  #language-dropdown {
    min-width: 160px;
    bottom: calc(100% + 0.5rem);
    top: auto;
  }
}
