/* =========================================================
   🌑 SITE FEAR2 - CSS UNIFICADO
   Design: Tema dragão / Metin2 moderno
   ========================================================= */

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== GLOBAL ===== */
body {
  font-family: "Arial", sans-serif;
  color: #fff;
  background: url("bg.png") no-repeat center center fixed;
  background-size: cover;
  line-height: 1.4;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: #ffcc00;
  transition: 0.2s;
}

a:hover {
  color: #ffd84d;
}

/* ===== CABEÇALHO ===== */
header {
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 2px solid rgba(255, 204, 0, 0.3);
  padding: 15px 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

header h1 {
  font-size: 36px;
  color: #ffcc00;
  text-shadow: 2px 2px 6px #000;
}

nav {
  margin-top: 8px;
}

nav a {
  color: #fff;
  margin: 0 10px;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: bold;
}

nav a:hover {
  background: #ffcc00;
  color: #000;
}

/* ===== CONTAINER PRINCIPAL ===== */
.container {
  background: rgba(0, 0, 0, 0.75);
  margin: 40px auto;
  padding: 20px;
  max-width: 960px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
  text-align: center;
}

/* ===== TÍTULOS ===== */
h1,
h2 {
  color: #ffcc00;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
}

p {
  color: #ddd;
  font-size: 15px;
  margin-bottom: 10px;
}

/* ===== FORMULÁRIOS ===== */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px auto;
  max-width: 400px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
}

input:focus {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
}

button,
input[type="submit"],
.btn {
  background: linear-gradient(#ffcc00, #b89300);
  color: #000;
  padding: 10px 18px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
  text-transform: uppercase;
  margin-top: 5px;
}

button:hover,
input[type="submit"]:hover,
.btn:hover {
  background: linear-gradient(#ffe36a, #d4a300);
}

/* ===== MENSAGENS ===== */
.success {
  color: #9cff9c;
  background: rgba(0, 255, 0, 0.1);
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.error {
  color: #ff6b6b;
  background: rgba(255, 0, 0, 0.1);
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* ===== TABELA (Ranking, Logs, etc.) ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 15px;
  color: #fff;
}

table th,
table td {
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 8px;
  text-align: center;
}

table th {
  background: rgba(20, 20, 20, 0.9);
  color: #ffcc00;
  font-weight: bold;
}

table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

table tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* ===== ICONES CSS (sem imagens) ===== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Classes */
.icon-warrior-m { background: linear-gradient(#ff6b6b,#d94848); color:#fff; }
.icon-warrior-f { background: linear-gradient(#ffb3b3,#ff7f7f); color:#000; }
.icon-ninja-m   { background: linear-gradient(#6b8bff,#3f5dfb); color:#fff; }
.icon-ninja-f   { background: linear-gradient(#b3c3ff,#91a6ff); color:#000; }
.icon-sura-m    { background: linear-gradient(#7df57d,#34d034); color:#000; }
.icon-sura-f    { background: linear-gradient(#cfffcc,#9ef09a); color:#000; }
.icon-shaman-m  { background: linear-gradient(#ffd54d,#ffb300); color:#000; }
.icon-shaman-f  { background: linear-gradient(#ffe7a8,#ffd27a); color:#000; }
.icon-unknown   { background: rgba(255,255,255,0.1); color:#fff; }

/* Reinos */
.icon-empire-1 { background: linear-gradient(#ff4d4d,#cc0000); color:#fff; } /* ✦ */
.icon-empire-2 { background: linear-gradient(#4da6ff,#0066cc); color:#fff; } /* ✶ */
.icon-empire-3 { background: linear-gradient(#6bff7a,#06b21f); color:#fff; } /* ✸ */
.icon-empire-0 { background: rgba(255,255,255,0.06); color:#fff; }

/* ===== RODAPÉ ===== */
footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 2px solid rgba(255, 204, 0, 0.3);
  color: #ccc;
  padding: 15px;
  margin-top: 40px;
  font-size: 13px;
  text-align: center;
}

footer a {
  color: #ffcc00;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 720px) {
  header h1 { font-size: 26px; }
  .container { margin: 20px; padding: 15px; }
  table th, table td { font-size: 13px; padding: 6px; }
  .icon { width: 28px; height: 28px; font-size: 12px; }
  nav a { margin: 0 4px; font-size: 14px; padding: 6px 10px; }
}
