/* ===================================================
   MMFC FRONTEND (CLEAN FIXED)
   =================================================== */

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #050505;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

/* LINKS */
a {
  color: inherit;
  text-decoration: none;
  transition: 0.2s;
}

a:hover {
  color: #e10600;
}

/* CONTAINER */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ================= GRID ================= */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr; /* ✅ TRUE 50/50 */
  gap: 28px;
  align-items: stretch;
}

.grid-2 > * {
  height: 100%;
}

/* ================= HEADER ================= */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1a1a1a;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 50px;
}

.wordmark {
  font-family: 'Black Ops One', cursive;
  font-size: 22px;
}

.tagline {
  font-size: 13px;
  color: #d4af37;
  margin: 0;
}

/* NAV */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-nav a {
  font-weight: 600;
  font-size: 14px;
  position: relative;
}

/* underline animation */
.primary-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #e10600;
  transition: 0.25s;
}

.primary-nav a:hover::after {
  width: 100%;
}

/* DROPDOWN */
.nav-item {
  position: relative;
}

.subnav {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  display: none;
  min-width: 180px;
}

.nav-item:hover .subnav {
  display: block;
}

.subnav a {
  display: block;
  padding: 10px;
}

.subnav a:hover {
  background: #111;
}

/* LANGUAGE */
.lang {
  border: 1px solid #333;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
}

.lang:hover {
  border-color: #e10600;
  color: #e10600;
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
}

.btn-primary {
  background: #e10600;
  color: #fff;
}

.btn-primary:hover {
  background: #ff1a1a;
}

.btn-ghost {
  border: 1px solid #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: #000;
}

/* ================= HEADINGS ================= */

h2.eyebrow {
  font-size: 34px;
  font-weight: 900;
  color: #e10600;
  text-transform: uppercase;
}

h2.eyebrow::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #d4af37;
  margin-top: 8px;
}

/* ================= CARDS ================= */

.card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 20px;
  border-radius: 12px;
}

/* ================= NEWS ================= */

.news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card-news img {
  width: 100%;
  border-radius: 12px;
  border: 2px solid #d4af37;
}

/* ================= REGISTER ================= */

.register-grid {
  display: flex;
  gap: 12px;
  align-items: center;
}

#registerJump {
  width: 220px;
  height: 42px;
  background: #111;
  color: #fff;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 0 10px;
}

#goRegister {
  height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  border: none;
  background: #e10600;
  color: #fff;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .news-cards {
    grid-template-columns: 1fr;
  }
}