/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BASE */
body {
  padding-top: 80px;
  font-family: 'DM Sans', sans-serif;
  color: #f0ece4;
  background:
    radial-gradient(ellipse 140% 45% at 50% 0%, #b8b8b8 0%, #787878 20%, transparent 50%),
    radial-gradient(ellipse 80% 40% at 15% 50%, rgba(160,160,160,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 85% 50%, rgba(160,160,160,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 110% 45% at 50% 100%, #9b0f0f 0%, #5c0808 30%, transparent 60%),
    linear-gradient(170deg, #4a4a4a 0%, #252525 30%, #181818 52%, #2c0909 75%, #450c0c 100%);
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

/* GRID OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 39px,
    rgba(255,255,255,0.02) 39px,
    rgba(255,255,255,0.02) 40px
  );
  pointer-events: none;
}

/* RED GLOW */
body::after {
  content: '';
  position: fixed;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(215,35,35,0.2), transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

/* CONTAINER */
.container {
  max-width: 1000px;
  width: 100%;
}

/* HEADER */
.header {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeIn 1s ease both;
}

.header h1 {
  font-family: 'Bebas Neue';
  font-size: clamp(48px, 8vw, 68px);
  letter-spacing: 3px;
}

.header span {
  color: #d72323;
}

/* ANIMATION */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  animation: fadeIn 1s .3s ease both;
}

/* CARD */
.card {
  display: block;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  background: #111;
  border: 1px solid #333;
  transition: 0.3s;
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* LABEL */
.card-label {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  font-family: 'Bebas Neue';
  font-size: 20px;
  letter-spacing: 2px;
  color: #fff;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #d72323;
  box-shadow:
    0 16px 50px rgba(0,0,0,0.6),
    0 0 35px rgba(215,35,35,0.4);
}

.card:hover .card-label {
  color: #d72323;
}

/* PLACEHOLDER */
.placeholder {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue';
  font-size: 24px;
  letter-spacing: 2px;
  color: #777;
  background: #111;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: 0.35s;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 30px;
}

.nav-logo img {
  height: 44px;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-menu a {
  text-decoration: none;
  color: #ddd;
  font-family: 'Bebas Neue';
  font-size: 18px;
  letter-spacing: 1.5px;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #d72323;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #fff;
}

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

.navbar.scrolled {
  background: rgba(20, 20, 20, 0.65);
  backdrop-filter: blur(14px);
}

/* LANDING PAGE */
.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.tagline {
  font-family: 'Bebas Neue';
  letter-spacing: 8px;
  color: rgba(240,236,228,0.45);
  margin-bottom: 52px;
}

/* BUTTONS */
.btn-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.portal-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 240px;
  padding: 28px;
  background: rgba(20,20,20,0.82);
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.25s;
}

.portal-btn:hover {
  transform: translateY(-6px);
  border-color: rgba(215,35,35,0.5);
}

.btn-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.btn-label {
  font-family: 'Bebas Neue';
  letter-spacing: 3px;
}

.btn-sub {
  font-size: 11px;
  letter-spacing: 2px;
  color: #d72323;
}

/* FOOTER */
.footer {
  position: fixed;
  bottom: 18px;
  font-size: 11px;
  letter-spacing: 3px;
}
