* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #FF7A00;
  --glow-color: #FFB347;
  --background-dark: #000000;
  --background-shade: #1A1A1A;
  --text-primary: #FF7A00;
  --text-secondary: #FFB347;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  background-color: var(--background-shade);
  border-bottom: 2px solid var(--primary-color);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(255, 122, 0, 0.2);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--glow-color);
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--glow-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--glow-color);
  text-shadow: 0 0 10px var(--glow-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

main {
  min-height: calc(100vh - 100px);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.1) 0%, rgba(26, 26, 26, 0.8) 100%);
  border-radius: 10px;
  margin-bottom: 4rem;
  padding: 4rem 2rem;
  text-align: center;
  border: 1px solid var(--primary-color);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-shadow: 0 0 20px var(--glow-color), 0 0 40px var(--primary-color);
  animation: glow 3s ease-in-out infinite;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 20px var(--glow-color), 0 0 40px var(--primary-color);
  }
  50% {
    text-shadow: 0 0 30px var(--glow-color), 0 0 60px var(--primary-color);
  }
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  border: 2px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
  cursor: pointer;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--background-dark);
  box-shadow: 0 0 15px var(--glow-color);
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--background-dark);
}

.btn-primary:hover {
  background-color: var(--glow-color);
  box-shadow: 0 0 20px var(--glow-color);
}

/* Cards */
.card {
  background-color: var(--background-shade);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--glow-color);
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.3);
  transform: translateY(-5px);
}

.card h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

thead {
  background-color: var(--background-shade);
  border-bottom: 2px solid var(--primary-color);
}

th {
  color: var(--primary-color);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--background-shade);
  color: var(--text-secondary);
}

tbody tr:hover {
  background-color: rgba(255, 122, 0, 0.1);
}

tbody tr:nth-child(even) {
  background-color: rgba(26, 26, 26, 0.5);
}

/* Form Styling */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--background-shade);
  border: 1px solid var(--primary-color);
  color: var(--text-primary);
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--glow-color);
  box-shadow: 0 0 10px rgba(255, 179, 71, 0.3);
}

input::placeholder {
  color: rgba(255, 122, 0, 0.5);
}

/* Forms Container */
.form-container {
  max-width: 500px;
  margin: 3rem auto;
  background-color: var(--background-shade);
  padding: 2rem;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
}

.form-container h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.form-link {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.form-link a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.form-link a:hover {
  color: var(--glow-color);
  text-shadow: 0 0 10px var(--glow-color);
}

/* Rank Badge */
.rank-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--background-dark);
  border-radius: 20px;
  font-weight: bold;
  margin: 0.5rem 0;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-box {
  background-color: var(--background-shade);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.stat-box h3 {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.stat-box .value {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 0 10px var(--glow-color);
}

/* Server Info Section */
.server-info {
  background-color: var(--background-shade);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.server-info h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--background-shade);
  align-items: center;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.info-value {
  color: var(--primary-color);
  font-size: 1.1rem;
  text-shadow: 0 0 5px var(--glow-color);
}

/* Footer */
footer {
  background-color: var(--background-shade);
  border-top: 2px solid var(--primary-color);
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  margin-top: 4rem;
}

footer p {
  margin: 0.5rem 0;
}

/* Auth Required Message */
.auth-required {
  background-color: rgba(255, 122, 0, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.auth-required h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.auth-required p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .form-container {
    padding: 1.5rem;
    margin: 2rem 1rem;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  table {
    font-size: 0.9rem;
  }

  th, td {
    padding: 0.75rem 0.5rem;
  }
}
