:root {
  --glass-bg: rgba(255, 107, 53, 0.15);
  --glass-border: rgba(255, 107, 53, 0.3);
  --primary-color: #ff6b35;
  --primary-hover: #ff8c42;
  --text-color: #ffffff;
  --card-bg: rgba(26, 26, 26, 0.8);
  --modal-bg: rgba(10, 10, 10, 0.95);
  --success-color: #00ff88;
  --warning-color: #ffaa00;
  --danger-color: #ff4444;
  --info-color: #00aaff;
  --halloween-orange: #ff6b35;
  --halloween-black: #1a1a1a;
  --halloween-purple: #8b008b;
  --halloween-green: #00ff88;
  --halloween-red: #8b0000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 6px;
  }
  
  ::-webkit-scrollbar-track {
    background: #000000;
    border-radius: 2px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #3a114a;
    border-radius: 2px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #470c56;
  }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 0, 139, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d1b1b 100%);
  color: var(--text-color);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(139, 0, 139, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Flying Ghosts */
.ghost {
  position: fixed;
  font-size: 2em;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.ghost-1 {
  top: 20%;
  left: 10%;
  animation: ghostFloat1 15s ease-in-out infinite;
}

.ghost-2 {
  top: 60%;
  right: 15%;
  animation: ghostFloat2 18s ease-in-out infinite;
}

.ghost-3 {
  top: 40%;
  left: 5%;
  animation: ghostFloat3 20s ease-in-out infinite;
}

.ghost-4 {
  top: 80%;
  right: 5%;
  animation: ghostFloat4 16s ease-in-out infinite;
}

.ghost-5 {
  top: 10%;
  right: 30%;
  animation: ghostFloat1 22s ease-in-out infinite reverse;
}

.ghost-6 {
  top: 70%;
  left: 20%;
  animation: ghostFloat2 14s ease-in-out infinite reverse;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spookyFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spookyGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.6), 0 0 40px rgba(139, 0, 139, 0.3);
  }
}

@keyframes spookyPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes spookyShake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px);
  }
  75% {
    transform: translateX(2px);
  }
}

@keyframes ghostFloat1 {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    transform: translate(100px, -50px) rotate(90deg);
    opacity: 1;
  }
  50% {
    transform: translate(200px, 0px) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: translate(100px, 50px) rotate(270deg);
    opacity: 0.9;
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
    opacity: 0.7;
  }
}

@keyframes ghostFloat2 {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  33% {
    transform: translate(-80px, -30px) rotate(120deg) scale(1.1);
    opacity: 0.9;
  }
  66% {
    transform: translate(-160px, 20px) rotate(240deg) scale(0.9);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
    opacity: 0.6;
  }
}

@keyframes ghostFloat3 {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.5;
  }
  20% {
    transform: translate(50px, -80px) rotate(72deg);
    opacity: 0.8;
  }
  40% {
    transform: translate(150px, -40px) rotate(144deg);
    opacity: 0.6;
  }
  60% {
    transform: translate(200px, 40px) rotate(216deg);
    opacity: 0.9;
  }
  80% {
    transform: translate(100px, 80px) rotate(288deg);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
    opacity: 0.5;
  }
}

@keyframes ghostFloat4 {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.4;
  }
  25% {
    transform: translate(-60px, -60px) rotate(90deg) scale(1.2);
    opacity: 0.8;
  }
  50% {
    transform: translate(-120px, 0px) rotate(180deg) scale(0.8);
    opacity: 0.6;
  }
  75% {
    transform: translate(-60px, 60px) rotate(270deg) scale(1.1);
    opacity: 0.9;
  }
  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
    opacity: 0.4;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.blob {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: -1;
  animation: float 20s ease-in-out infinite;
}

.blob1 {
  background: linear-gradient(45deg, #6e56cf, #2d3748);
  top: -200px;
  left: -200px;
}

.blob2 {
  background: linear-gradient(45deg, #4c1d95, #2563eb);
  bottom: -300px;
  right: -200px;
  animation-delay: -5s;
}

.blob3 {
  background: linear-gradient(45deg, #4338ca, #1e40af);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-50px, 50px) scale(0.9);
  }
  75% {
    transform: translate(50px, 50px) scale(1.05);
  }
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.6s ease-out;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 3.5em;
  color: var(--text-color);
  margin-bottom: 30px;
  text-shadow: 
    0 0 20px rgba(255, 107, 53, 0.8),
    0 0 40px rgba(255, 107, 53, 0.4),
    0 0 60px rgba(139, 0, 139, 0.3);
  animation: spookyFloat 3s ease-in-out infinite, scaleIn 0.8s ease-out;
  position: relative;
}

header h1::before {
  content: '🎃';
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  animation: spookyPulse 2s ease-in-out infinite;
}

header h1::after {
  content: '👻';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  animation: spookyPulse 2s ease-in-out infinite 1s;
}

.search-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  transform-origin: top;
  animation: scaleIn 0.6s ease-out;
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 500px;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

#search-input {
  width: 100%;
  padding: 16px 16px 16px 45px;
  font-size: 1em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-color);
  transition: all 0.3s ease;
}

#search-input:focus {
  border-color: var(--primary-color);
}

#search-input:focus + .search-icon {
  transform: translateY(-50%) scale(1.1);
  color: var(--primary-hover);
}

#filter-select {
  padding: 16px 24px;
  font-size: 1em;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--glass-border);
  border-radius: 12px;
  color: rgb(94, 94, 94);
  cursor: pointer;
  transition: all 0.3s ease;
}

#filter-select:focus {
  border-color: var(--primary-color);
}

#search-button {
  padding: 16px 30px;
  font-size: 1em;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

#search-button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 50px;
}

.pagination button {
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 8px;
  border: none;
  background-color: var(--primary-color);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pagination button:hover {
  background-color: var(--primary-hover);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
  animation: fadeIn 0.8s ease-out;
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--glass-border);
  animation: scaleIn 0.6s ease-out;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 107, 53, 0.1) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 107, 53, 0.2);
  border-color: var(--primary-color);
  animation: spookyGlow 2s ease-in-out infinite;
}

.card:hover::before {
  opacity: 1;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: var(--text-color);
}

.card-game {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
}

.modal-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: var(--modal-bg);
  position: relative;
  animation: scaleIn 0.4s ease-out;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.close:hover {
  background: var(--primary-color);
  transform: rotate(90deg);
}

.minimal-details-card {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.details-header {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--glass-border);
  animation: slideIn 0.6s ease-out;
}

.header-image {
  flex-shrink: 0;
}

.header-image img {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--glass-border);
  transition: transform 0.3s ease;
}

.header-image img:hover {
  transform: scale(1.05);
}

.header-info {
  flex-grow: 1;
}

.header-info h3 {
  font-size: 2.2em;
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.details-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.tag {
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.tag i {
  font-size: 1em;
}

.tag.verified {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag.verified:hover {
  background: rgba(16, 185, 129, 0.25);
}

.tag.not-verified {
  background: rgba(110, 86, 207, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(110, 86, 207, 0.3);
}

.tag.not-verified:hover {
  background: rgba(110, 86, 207, 0.25);
}

.tag.active {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tag.active:hover {
  background: rgba(59, 130, 246, 0.25);
}

.tag.patched {
  background: rgba(110, 86, 207, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(110, 86, 207, 0.3);
}

.tag.patched:hover {
  background: rgba(110, 86, 207, 0.25);
}

.tag.paid {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tag.paid:hover {
  background: rgba(245, 158, 11, 0.25);
}

.tag.key {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.tag.key:hover {
  background: rgba(139, 92, 246, 0.25);
}

.details-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  animation: fadeIn 0.6s ease-out;
}

.details-section h4 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.details-section h4 i {
  font-size: 1.1em;
  opacity: 0.9;
}

.details-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.info-item i {
  color: var(--primary-color);
  font-size: 1.2em;
}

.script-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  animation: fadeIn 0.8s ease-out;
}

.script-box h4 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.code-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.code-container pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px;
  border-radius: 12px;
  overflow-x: auto;
  font-family: "Fira Code", monospace;
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 15px;
  border: 1px solid var(--glass-border);
}

.copy-button {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 10px 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.copy-button i {
  font-size: 0.9em;
}

.footer {
  text-align: center;
  padding: 25px;
  margin-top: 60px;
  animation: fadeIn 1s ease-out;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--primary-hover);
  text-shadow: 0 0 10px rgba(110, 86, 207, 0.5);
}

.footer .divider {
  margin: 20px auto;
  width: 50%;
  height: 1px;
  background: var(--glass-border);
}

#error-message {
  text-align: center;
  margin: 20px 0;
  color: var(--primary-color);
  font-size: 1.2em;
  padding: 20px;
  border-radius: 12px;
  background: rgba(110, 86, 207, 0.1);
  border: 1px solid rgba(110, 86, 207, 0.2);
  animation: fadeIn 0.4s ease-out;
}

/* Owner Dashboard Styles */
.header-nav {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
}

.auth-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(110, 86, 207, 0.1);
    border: 1px solid rgba(110, 86, 207, 0.2);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(110, 86, 207, 0.2);
    transform: translateX(-5px);
}

.dashboard-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2em;
    margin-bottom: 40px;
    text-align: center;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    animation: scaleIn 0.6s ease-out;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.card-header i {
    color: var(--primary-color);
    font-size: 1.5em;
}

.card-header h3 {
    color: var(--text-color);
    font-size: 1.4em;
    margin: 0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1em;
}

.stat-value {
    color: var(--text-color);
    font-size: 1.2em;
    font-weight: bold;
}

.analytics-chart {
    min-height: 200px;
}

.chart-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: rgba(255, 255, 255, 0.5);
}

.chart-placeholder i {
    font-size: 3em;
    margin-bottom: 15px;
}

.chart-title {
    color: var(--text-color);
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chart-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bar-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

.bar-container {
    position: relative;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    border-radius: 12px;
    transition: width 0.8s ease;
}

.bar-value {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    font-weight: bold;
    font-size: 0.9em;
}

.management-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(110, 86, 207, 0.1);
    border: 1px solid rgba(110, 86, 207, 0.2);
    border-radius: 12px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
}

.action-btn:hover {
    background: rgba(110, 86, 207, 0.2);
    transform: translateX(5px);
}

.action-btn i {
    color: var(--primary-color);
    font-size: 1.1em;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.activity-item i {
    color: var(--primary-color);
    font-size: 1.1em;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item label {
    color: var(--text-color);
    font-size: 1em;
}

.setting-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.setting-item input[type="number"] {
    width: 80px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--text-color);
    text-align: center;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1em;
}

.info-value {
    color: var(--text-color);
    font-size: 1em;
    font-weight: 500;
}

/* Announcement and Script Management Styles */
.announcement-form {
    margin-bottom: 25px;
}

.announcement-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 1em;
    resize: vertical;
    margin-bottom: 15px;
}

.announcement-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.current-announcement {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--glass-border);
}

.current-announcement h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.current-announcement p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* Script Form Styles */
.script-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(110, 86, 207, 0.2);
}

.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    margin-top: 5px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Fira Code', monospace;
}

.form-group select {
    cursor: pointer;
}

/* Modal Enhancements */
.modal-content {
    max-width: 600px;
    width: 90%;
}

.modal-content h2 {
    color: var(--text-color);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8em;
}

/* Announcement Banner Styles */
.announcement-banner {
    margin-bottom: 25px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    animation: slideIn 0.6s ease-out;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.announcement-content i {
    color: var(--primary-color);
    font-size: 1.5em;
    flex-shrink: 0;
}

.announcement-content span {
    color: var(--text-color);
    font-size: 1.1em;
    line-height: 1.5;
    flex-grow: 1;
}

.close-announcement {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.close-announcement:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

/* Authentication Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    animation: scaleIn 0.6s ease-out;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--text-color);
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(110, 86, 207, 0.5);
}

.auth-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1em;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    font-size: 1.1em;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 1em;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(110, 86, 207, 0.2);
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-text {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-color);
    font-size: 0.9em;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: var(--primary-hover);
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-hover);
}

.auth-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(110, 86, 207, 0.3);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--glass-border);
}

.auth-divider span {
    background: var(--card-bg);
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1em;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.google-btn:hover {
    border-color: #db4437;
    color: #db4437;
}

.discord-btn:hover {
    border-color: #5865f2;
    color: #5865f2;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.auth-footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--primary-hover);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

/* Toast Notifications */
.error-toast,
.success-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 350px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.error-toast {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.success-toast {
    background: linear-gradient(135deg, #10b981, #059669);
}

.error-toast.show,
.success-toast.show {
    transform: translateX(0);
}

/* User Menu Styles */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--glass-border);
}

.user-avatar:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.user-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.3s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-item i {
    color: var(--primary-color);
    width: 16px;
}

.dropdown-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 5px 0;
}

/* User Management Styles */
.user-management-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.users-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.user-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
}

.user-avatar-small {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
    flex-shrink: 0;
}

.user-details h4 {
    color: var(--text-color);
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.user-details p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 8px 0;
    font-size: 0.9em;
}

.user-role {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
}

.user-role.admin {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.user-role.moderator {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.user-role.user {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.user-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.action-btn-small {
    width: 35px;
    height: 35px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn-small:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.action-btn-small:first-child:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.action-btn-small:last-child:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* User Form Styles */
.user-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.user-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-form .form-group label {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1em;
}

.user-form .form-group input,
.user-form .form-group select {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1em;
    transition: all 0.3s ease;
}

.user-form .form-group input:focus,
.user-form .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(110, 86, 207, 0.2);
}

.user-form .form-group select {
    cursor: pointer;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.empty-state i {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.empty-state p {
    margin: 0;
}

@media (max-width: 768px) {
    .search-bar {
        flex-direction: column;
    }

    .search-wrapper {
        max-width: 100%;
    }

    .details-header {
        flex-direction: column;
        text-align: center;
    }

    .header-info h3 {
        font-size: 1.8em;
    }

    .details-tags {
        justify-content: center;
    }

    .modal-content {
        margin: 20px auto;
        padding: 20px;
    }

    .modal {
        padding: 10px;
        overflow-y: auto;
        height: 100%;
    }

    .modal-content {
        width: 90%;
        padding: 15px;
    }

    .close {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 1.2em;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dashboard-card {
        padding: 20px;
    }

    .management-actions {
        gap: 12px;
    }

    .action-btn {
        padding: 12px 16px;
        font-size: 0.9em;
    }
}

/* Signup Logs Styles */
.signup-logs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.signup-log-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.signup-log-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.log-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.log-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.log-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
}

.log-details h4 {
    margin: 0 0 4px 0;
    color: var(--text-color);
    font-size: 1em;
}

.log-details p {
    margin: 0 0 2px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85em;
}

.log-email {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8em !important;
}

.log-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.log-time, .log-ip, .log-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
}

.log-status.active {
    color: #10b981;
}

.log-status.inactive {
    color: #ef4444;
}

.log-status i {
    font-size: 0.9em;
}

/* Ban Management Styles */
.ban-management-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bans-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.ban-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ban-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.ban-item.expired {
    opacity: 0.6;
    background: rgba(107, 114, 128, 0.1);
}

.ban-info {
    flex: 1;
}

.ban-details h4 {
    margin: 0 0 8px 0;
    color: var(--text-color);
    font-size: 1.1em;
}

.ban-reason {
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    font-style: italic;
}

.ban-time, .ban-expires {
    margin: 0 0 4px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8em;
}

.ban-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ban-status.active {
    background: #ef4444;
    color: white;
}

.ban-status.expired {
    background: #6b7280;
    color: white;
}

.ban-actions {
    display: flex;
    gap: 8px;
}

.unban-btn:hover {
    background: #10b981;
    color: white;
}

.delete-ban-btn:hover {
    background: #ef4444;
    color: white;
}
