*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
  width:100%;
  height:100%;
  font-family:Arial, Helvetica, sans-serif;
  background:#ececec;
}

body{
  display:flex;
  align-items:center;
  justify-content:center;
}

.login-page{
  width:100%;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.login-box{
  width:390px;
  max-width:100%;
  background:transparent;
}

.server-name{
  text-align:center;
  margin-bottom:14px;
}

.server-main{
  font-size:34px;
  line-height:1;
  color:#c92222;
  font-weight:400;
}

.server-sub{
  margin-top:3px;
  font-size:20px;
  line-height:1;
  color:#d54040;
  font-weight:400;
}

.login-title{
  text-align:center;
  font-size:23px;
  color:#4f5978;
  margin-bottom:26px;
  font-weight:400;
}

.login-form input{
  width:100%;
  height:40px;
  margin-bottom:16px;
  border:1px solid #d2d2d2;
  border-radius:3px;
  background:#f3f7ff;
  padding:0 14px;
  font-size:16px;
  color:#222;
  outline:none;
}

.login-form input[type="password"]{
  background:#f7f7f7;
}

.login-form input:focus{
  border-color:#8eb6ff;
  background:#ffffff;
}

.btn-enter{
  width:100%;
  height:40px;
  border:1px solid #348c2a;
  border-radius:3px;
  background:#55bb3f;
  color:#fff;
  font-size:16px;
  cursor:pointer;
  box-shadow:0 2px 5px rgba(0,0,0,.18);
}

.btn-enter:hover{
  background:#4ca93a;
}

.login-links-row{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.login-links-row a{
  color:#0f4f66;
  text-decoration:none;
  font-size:15px;
}

.login-links-row a:hover,
.register-line a:hover{
  text-decoration:underline;
}

.register-line{
  margin-top:18px;
  text-align:center;
  color:#555;
  font-size:15px;
}

.register-line a{
  color:#1f63ff;
  text-decoration:none;
}

.login-message{
  min-height:20px;
  margin-top:14px;
  text-align:center;
  font-size:14px;
  color:#c92222;
}

@media (max-width: 480px){
  .login-box{
    width:100%;
  }

  .server-main{
    font-size:28px;
  }

  .server-sub{
    font-size:17px;
  }

  .login-title{
    font-size:21px;
  }

  .login-links-row{
    flex-direction:column;
    gap:10px;
  }
}

/* ===== FUNDO INFERNO ===== */
.login-page {
  background: url("assets/login-bg.jpg") center center / cover no-repeat;
  position: relative;
}

.login-page::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.login-box {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* ===== LOGO NO LUGAR DO TEXTO ===== */
.server-name {
  text-align: center;
  margin-bottom: 14px;
}

.server-main,
.server-sub {
  display: none; /* Esconde o texto */
}

.server-name::before {
  content: "";
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  background: url("assets/logo-cerberus.png") center center / contain no-repeat;
  filter: drop-shadow(0 0 30px rgba(255, 80, 20, 0.5));
}

/* ===== TÍTULO ===== */
.login-title {
  color: #ff6043 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  font-weight: 800;
}

/* ===== INPUTS TRANSPARENTES ===== */
.login-form input {
  background: rgba(0, 0, 0, 0.55) !important;
  border: 1px solid rgba(255, 86, 30, 0.25) !important;
  color: #fff !important;
  border-radius: 0 !important;
}

.login-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.login-form input:focus {
  border-color: #ff4d18 !important;
  background: rgba(0, 0, 0, 0.7) !important;
}

/* ===== BOTÃO VERMELHO ===== */
.btn-enter {
  background: linear-gradient(90deg, #8c1205, #ff4c16) !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  font-weight: 800;
  font-size: 18px;
}

.btn-enter:hover {
  background: linear-gradient(90deg, #9f1508, #ff5a25) !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

/* ===== LINKS ===== */
.login-links-row a {
  color: #ead2ca !important;
}

.login-links-row a:hover,
.register-line a:hover {
  color: #ff6043 !important;
}

.register-line {
  color: #d7c0b7 !important;
}

.register-line a {
  color: #ff6043 !important;
}
