@charset "UTF-8";

/* ==========================================================================
   Mt2Elite — Fiery Dark Fantasy MMORPG Theme
   Inspired by video: dark crimson, blazing gold, black temples, ornate UI
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cairo:wght@400;600;700&family=Orbitron:wght@400;700&display=swap');

/* ─── CSS Variables — Fiery Theme ─── */
:root {
  --bg-primary: #080303;
  --bg-secondary: #0d0404;
  --bg-panel: #110505;
  --bg-panel-inner: #1a0808;
  --gold-primary: #d4a843;
  --gold-light: #ffe08a;
  --gold-dark: #8a6a20;
  --red-primary: #b30000;
  --red-light: #e63946;
  --red-dark: #660000;
  --red-glow: rgba(179, 0, 0, 0.5);
  --gold-glow: rgba(212, 168, 67, 0.5);
  --text-primary: #f5e6cc;
  --text-secondary: #c4a882;
  --text-muted: #7a5d40;
  --border-gold: rgba(212, 168, 67, 0.4);
  --border-red: rgba(179, 0, 0, 0.5);
  --shadow-panel: 0 0 25px rgba(179,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.02);
}

/* ─── Base ─── */
html { height: 100%; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Cairo', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(179,0,0,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

img { border: none; display: block; max-width: 100%; }
a { text-decoration: none; color: var(--gold-primary); transition: all 0.3s ease; }
a:hover { color: var(--gold-light); text-shadow: 0 0 12px var(--gold-glow); }

/* ─── Top Bar — Dark crimson glass ─── */
.top-bar {
  background: linear-gradient(180deg, rgba(8,3,3,0.98) 0%, rgba(15,5,5,0.95) 100%);
  border-bottom: 1px solid var(--border-red);
  padding: 10px 0;
  position: relative;
  z-index: 100;
}

.top-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-primary), var(--gold-primary), var(--red-primary), transparent);
  box-shadow: 0 0 8px rgba(179,0,0,0.4);
}

.top-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(212,168,67,0.5), 0 2px 6px rgba(0,0,0,0.9);
}

.top-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}

.top-nav a {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 5px 0;
}

.top-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--red-primary), var(--gold-primary));
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--red-glow);
}

.top-nav a:hover { color: var(--gold-light); }
.top-nav a:hover::after { width: 100%; }

/* ─── Hero Section — Video Background ─── */
.hero-section {
  height: 750px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg,
    rgba(8,3,3,0.3) 0%,
    rgba(8,3,3,0.5) 40%,
    rgba(8,3,3,0.75) 70%,
    rgba(8,3,3,0.95) 90%,
    var(--bg-primary) 100%
  );
  z-index: 1;
}

.hero-tagline {
  position: relative;
  z-index: 3;
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  max-width: 480px;
  margin: 0 auto 25px;
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0,0,0,0.95);
  padding-top: 380px;
}

.hero-cta {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 100px;
}

/* ─── Buttons — Fiery Style ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-gold {
  background: linear-gradient(180deg, #e8c050 0%, #c49430 40%, #8a6620 100%);
  color: #1a0505;
  border: 1px solid #f0d070;
  box-shadow: 0 0 20px rgba(212,168,67,0.4), 0 5px 0 #5a4010, 0 8px 25px rgba(0,0,0,0.5);
  text-shadow: none;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(212,168,67,0.6), 0 7px 0 #5a4010, 0 12px 35px rgba(0,0,0,0.6);
  filter: brightness(1.15);
}

.btn-gold:active {
  transform: translateY(2px);
  box-shadow: 0 0 15px rgba(212,168,67,0.3), 0 3px 0 #5a4010;
}

.btn-dark {
  background: linear-gradient(180deg, #1a0808 0%, #0d0303 100%);
  color: var(--gold-light);
  border: 1px solid var(--red-primary);
  box-shadow: 0 0 15px rgba(179,0,0,0.2), 0 4px 0 #080202, 0 5px 15px rgba(0,0,0,0.4);
}

.btn-dark:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 0 25px rgba(212,168,67,0.3), 0 4px 0 #080202;
  transform: translateY(-2px);
  color: #fff;
}

.btn-shine::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}

.btn-shine:hover::before { left: 100%; }

/* ─── Main Layout ─── */
.main-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  padding: 30px 20px 40px;
}

.main-grid {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 22px;
}

/* ─── Game Panel — Ornate Dark Crimson ─── */
.game-panel {
  background: linear-gradient(180deg, #140606 0%, #0d0404 50%, #080303 100%);
  border: 1px solid var(--border-red);
  border-radius: 2px;
  position: relative;
  margin-bottom: 22px;
  box-shadow: var(--shadow-panel), 0 0 15px rgba(179,0,0,0.08);
  overflow: hidden;
}

.game-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-primary), var(--gold-primary), var(--red-primary), transparent);
  box-shadow: 0 0 8px rgba(179,0,0,0.3);
}

/* Corner ornaments — sharp gold/red */
.game-panel .corner {
  position: absolute;
  width: 16px; height: 16px;
  z-index: 2;
}

.game-panel .corner-tl {
  top: 0; left: 0;
  border-top: 2px solid var(--gold-primary);
  border-left: 2px solid var(--gold-primary);
  box-shadow: inset 2px 2px 4px rgba(212,168,67,0.2);
}

.game-panel .corner-tr {
  top: 0; right: 0;
  border-top: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
  box-shadow: inset -2px 2px 4px rgba(212,168,67,0.2);
}

.game-panel .corner-bl {
  bottom: 0; left: 0;
  border-bottom: 2px solid var(--gold-primary);
  border-left: 2px solid var(--gold-primary);
  box-shadow: inset 2px -2px 4px rgba(212,168,67,0.2);
}

.game-panel .corner-br {
  bottom: 0; right: 0;
  border-bottom: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
  box-shadow: inset -2px -2px 4px rgba(212,168,67,0.2);
}

.panel-header {
  background: linear-gradient(180deg, rgba(179,0,0,0.15) 0%, rgba(179,0,0,0.05) 100%);
  border-bottom: 1px solid var(--border-red);
  padding: 14px 15px;
  position: relative;
}

.panel-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.panel-title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0;
  text-shadow: 0 0 10px rgba(212,168,67,0.3);
  text-align: center;
}

.panel-body {
  padding: 16px;
  position: relative;
  z-index: 1;
}

/* ─── Login Form ─── */
.login-form label {
  display: block;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.login-form .input-wrap {
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--border-red);
  border-radius: 2px;
  padding: 2px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.login-form .input-wrap:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212,168,67,0.25);
}

.login-form input[type="text"],
.login-form input[type="password"] {
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  width: 100%;
  padding: 9px 12px;
  outline: none;
}

.login-form input::placeholder { color: var(--text-muted); }

.login-form .btn-login {
  width: 100%;
  margin-top: 6px;
}

.login-links {
  text-align: center;
  margin-top: 14px;
  font-size: 11px;
}

.login-links a {
  color: var(--text-muted);
  display: block;
  margin: 5px 0;
}

.login-links a:hover { color: var(--gold-light); }

/* ─── Rankings — Fiery Table ─── */
.rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.rank-table th {
  background: linear-gradient(180deg, rgba(179,0,0,0.25) 0%, rgba(179,0,0,0.08) 100%);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 9px 6px;
  border-bottom: 1px solid var(--border-red);
  text-align: center;
}

.rank-table td {
  padding: 8px 6px;
  border-bottom: 1px solid rgba(179,0,0,0.12);
  color: var(--text-secondary);
  text-align: center;
  transition: all 0.2s ease;
}

.rank-table tr:hover td {
  background: rgba(179,0,0,0.08);
  color: var(--text-primary);
}

.rank-table .rank-num {
  color: var(--gold-primary);
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 5px rgba(212,168,67,0.3);
}

.rank-table .rank-name {
  color: var(--text-primary);
  font-weight: 700;
}

.rank-table .rank-name:hover { color: var(--gold-light); }

/* ─── Stats — Fiery Row ─── */
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(179,0,0,0.12);
  font-size: 12px;
}

.stat-row:last-child { border-bottom: none; }

.stat-label {
  color: var(--text-secondary);
}

.stat-value {
  color: var(--gold-light);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-shadow: 0 0 8px rgba(212,168,67,0.4);
}

/* ─── Video Section ─── */
.video-container {
  position: relative;
  border: 1px solid var(--border-red);
  border-radius: 2px;
  overflow: hidden;
  background: #0a0404;
  box-shadow: var(--shadow-panel);
}

.video-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-primary), var(--gold-primary), var(--red-primary), transparent);
  z-index: 2;
}

.video-container iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

.video-title {
  background: linear-gradient(180deg, rgba(179,0,0,0.15) 0%, rgba(179,0,0,0.05) 100%);
  border-bottom: 1px solid var(--border-red);
  padding: 14px 15px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  text-shadow: 0 0 8px rgba(212,168,67,0.2);
}

/* ─── News Section ─── */
.news-item {
  display: flex;
  gap: 15px;
  padding: 16px;
  border-bottom: 1px solid rgba(179,0,0,0.1);
  transition: all 0.3s ease;
}

.news-item:hover {
  background: rgba(179,0,0,0.04);
}

.news-item:last-child { border-bottom: none; }

.news-thumb {
  width: 120px;
  height: 80px;
  border: 1px solid var(--border-red);
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.news-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: var(--gold-light);
  margin: 0 0 6px;
  font-weight: 700;
}

.news-content p {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.news-date {
  color: var(--text-muted);
  font-size: 10px;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Discord Button ─── */
.discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px;
  background: linear-gradient(180deg, #5865F2 0%, #3a45a0 100%);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 0 #1a2050, 0 5px 20px rgba(88,101,242,0.3);
}

.discord-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #1a2050, 0 8px 25px rgba(88,101,242,0.5);
  filter: brightness(1.1);
}

.discord-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #1a2050;
}

/* ─── Footer ─── */
.site-footer {
  background: linear-gradient(180deg, rgba(8,3,3,0.98) 0%, rgba(4,1,1,0.99) 100%);
  border-top: 1px solid var(--border-red);
  padding: 45px 0 25px;
  position: relative;
  margin-top: 50px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-primary), var(--gold-primary), var(--red-primary), transparent);
  box-shadow: 0 0 10px rgba(179,0,0,0.3);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 8px;
  margin-bottom: 18px;
  text-shadow: 0 0 20px rgba(179,0,0,0.4), 0 0 40px rgba(212,168,67,0.2);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  margin: 0 0 22px; padding: 0;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-nav a:hover { color: var(--gold-light); }

.footer-copy {
  color: var(--text-muted);
  font-size: 11px;
  border-top: 1px solid rgba(179,0,0,0.15);
  padding-top: 18px;
  margin-top: 18px;
}

/* ─── Animations ─── */
@keyframes heroGlow {
  0% { filter: drop-shadow(0 0 30px rgba(179,0,0,0.4)); }
  100% { filter: drop-shadow(0 0 50px rgba(179,0,0,0.7)); }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .main-grid { grid-template-columns: 220px 1fr 220px; gap: 15px; }
}

@media (max-width: 768px) {
  .main-grid { grid-template-columns: 1fr; }
  .top-bar-inner { flex-direction: column; gap: 10px; }
  .top-nav { flex-wrap: wrap; justify-content: center; }
  .hero-section { height: 620px; }
  .hero-tagline { padding-top: 280px; font-size: 13px; }
  .hero-cta { flex-direction: column; align-items: center; padding-bottom: 70px; }
  .main-wrapper { padding: 20px 15px; }
  .news-item { flex-direction: column; }
  .news-thumb { width: 100%; height: 150px; }
}

@media (max-width: 480px) {
  .hero-section { height: 540px; }
  .hero-tagline { padding-top: 220px; font-size: 12px; }
  .hero-cta { padding-bottom: 60px; }
  .main-wrapper { padding: 15px 10px 20px; }
  .btn { padding: 12px 24px; font-size: 11px; }
}

/* ─── Utilities ─── */
.text-center { text-align: center; }
.text-gold { color: var(--gold-primary); }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
