/* ============================================================
   EILAND ACP – Login Page Styles (Clean, Fast)
   ============================================================ */

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: #03050a;
}

body {
  background: #0e1117;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #f2f4f5;
}

/* Simple background image */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url(/logo_bg.jpg) no-repeat center center;
  background-size: cover;
  opacity: 0.02;
  pointer-events: none;
}

/* ============================================================
   Login Container
   ============================================================ */
.login-container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

/* Login Card */
.login-card {
  width: 100%;
  max-width: 440px;
  background: #151922;
  border: 1px solid #2b343b;
  border-radius: 16px;
  padding: 48px 42px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

/* Top accent line */
.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #e8418a;
}

/* Logo Area */
.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo-icon {
  font-size: 56px;
  display: inline-block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.login-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 16px;
  letter-spacing: -0.02em;
}

.login-title span {
  color: #e8418a;
}

.login-subtitle {
  font-size: 13px;
  color: #8c969e;
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   Discord Login Button
   ============================================================ */
.login-btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 15px 24px;
  background: #5865F2;
  color: white;
  border-radius: 12px;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.login-btn-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
}

.login-btn-discord:active {
  transform: translateY(0);
}

.login-btn-discord svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ============================================================
   Divider
   ============================================================ */
.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #2b343b;
}

.login-divider span {
  font-size: 11px;
  color: #8c969e;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* ============================================================
   Footer / Error Message
   ============================================================ */
.login-footer {
  text-align: center;
  margin-top: 28px;
}

.login-footer-text {
  font-size: 12px;
  color: #8c969e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
}

.login-footer-text svg {
  width: 14px;
  height: 14px;
  color: #e8418a;
  opacity: 0.8;
}

.login-error {
  background: rgba(240, 139, 139, 0.1);
  border: 1px solid rgba(240, 139, 139, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #f08b8b;
}

.login-error-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================================
   Version / Branding
   ============================================================ */
.login-version {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #475569;
  letter-spacing: 0.08em;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 480px) {
  .login-card {
    padding: 36px 24px;
  }
  .login-title {
    font-size: 22px;
  }
}