/* ==== VARIABLES ==== */
:root {
  --bg: radial-gradient(circle at 20% 20%, #0f0f1a, #070709);
  --text: #f9f9f9;
  --muted: #b5b5b7;
  --accent: #ec4899;
  --accent2: #8b5cf6;
  --card: rgba(255, 255, 255, 0.04);
  --input: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
}

/* ==== RESET ==== */
* {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, ul, li {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Poppins', sans-serif;
}

/* ==== GLOBAL ==== */
body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

a {
  color: var(--accent2);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.container {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==== NAV ==== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 18px 0;
}

.nav .logo {
  height: 70px;
}

/* ==== HERO ==== */
.hero {
  text-align: center;
  background: var(--card);
  padding: 60px 20px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.15);
  transition: all 0.3s ease;
}
.hero h1 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 20px;
}

/* ==== BUTTONS ==== */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.3);
  transition: all 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.5);
}
.btn.alt {
  background: transparent;
  border: 2px solid var(--accent2);
  color: var(--accent2);
}
.btn.alt:hover {
  background: var(--accent2);
  color: #fff;
}
.btn.success {
  background: var(--accent2);
}

/* ==== INPUTS ==== */
input, textarea, select {
  width: 100%;
  padding: 12px;
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
}
label {
  display: block;
  margin: 10px 0 6px;
  color: var(--muted);
}

/* ==== CARDS ==== */
.card {
  background: var(--card);
  border-radius: 16px;
  padding: 30px;
  margin: 20px 0;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

/* ==== GRID ==== */
.grid {
  display: grid;
  gap: 20px;
}
.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ==== TABLE ==== */
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
small {
  color: var(--muted);
}

/* ==== TAG ==== */
.tag {
  display: inline-block;
  padding: 6px 10px;
  margin: 4px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
}

/* ==== FLASH ==== */
.flash {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  margin: 20px 0;
  text-align: center;
  font-weight: 600;
}

/* ==== FOOTER ==== */
.footer {
  text-align: center;
  padding: 40px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer a {
  color: var(--accent2);
}

/* ==== HR ==== */
hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

/* ==== TABLE BUTTONS ==== */
.links-table button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px 4px;
  line-height: 1;
  vertical-align: middle;
  box-sizing: border-box;
}
.links-table td {
  line-height: 1.2;
}
.links-table button.btn::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.links-table button.btn.btn,
.links-table form button.btn {
  padding-bottom: 2px !important;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 1rem; }
  .nav { flex-direction: column; gap: 10px; }
  .btn { width: 100%; max-width: 280px; margin-top: 10px; }
}