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

:root {
  --bg-color: #06080d;
  --panel-bg: #11141d;
  --glass-border: rgba(255, 255, 255, 0.05);
  --primary: #c2a14d;
  --primary-hover: #e0bb5f;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --danger: #ef4444;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Wicks Bot Grid & Stars Background */
body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.4) 1px, transparent 1.5px),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.4) 1px, transparent 1.5px),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.4) 1px, transparent 1.5px),
    radial-gradient(circle at 75% 90%, rgba(255, 255, 255, 0.4) 1px, transparent 1.5px),
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.4) 1px, transparent 1.5px),
    radial-gradient(circle at 90% 70%, rgba(255, 255, 255, 0.4) 1px, transparent 1.5px),
    radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.4) 1px, transparent 1.5px),
    radial-gradient(circle at 60% 15%, rgba(255, 255, 255, 0.4) 1px, transparent 1.5px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 
    80px 80px, 80px 80px;
  background-position: center center;
  z-index: -1;
  opacity: 0.8;
}

nav {
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-container img {
  width: 32px;
  border-radius: 8px;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn {
  background: var(--panel-bg);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}

.btn:hover {
  background: #181c28;
  border-color: rgba(255,255,255,0.1);
}

.btn-primary {
  background: linear-gradient(90deg, #c2a14d, #e0bb5f, #c2a14d);
  background-size: 200% auto;
  color: #111;
  border: none;
  box-shadow: 0 4px 15px rgba(194, 161, 77, 0.2);
  transition: 0.5s;
}

.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 161, 77, 0.3);
}

.btn-secondary {
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: var(--danger);
  color: white;
}

.hero {
  text-align: center;
  padding: 160px 20px 100px;
  position: relative;
  z-index: 5;
}

.hero h1 {
  font-size: 64px;
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: -1px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.1;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Dashboard styles */
.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.page-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
}

.page-header h2 {
  margin: 0;
  font-size: 32px;
}

.glass-panel {
  background: var(--panel-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.server-card {
  background: var(--panel-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  display: block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.server-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(194, 161, 77, 0.1);
}

.server-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.05);
}

.server-name {
  font-size: 18px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: #0a0d14;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 15px;
  box-sizing: border-box;
  transition: all 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(194, 161, 77, 0.1);
}

.flex-row {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

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

.alias-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 20px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
}

.alias-table th, .alias-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.alias-table th {
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
}

.alias-table tr:last-child td {
  border-bottom: none;
}

.alias-table td {
  font-size: 15px;
}

code {
  background: rgba(255,255,255,0.05);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  color: var(--primary);
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.lang-btn:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 5px;
  background: var(--panel-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  min-width: 160px;
  z-index: 100;
  overflow: hidden;
}

.lang-dropdown:hover .lang-menu {
  display: block;
}

.lang-menu-header {
  padding: 10px 15px;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  text-decoration: none;
  color: var(--text-main);
  transition: 0.3s;
}

.lang-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

.lang-flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}
