/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Main content grows to fill space */
main.page-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
/* ================= BODY / HERO ================= */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
body {
  font-family: 'Orbitron', sans-serif;
  color: #eaeaea;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;

  /* Hero background with Dota theme */
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.9) 70%, #0a0a0a 100%),
    url("images/hero-bg.png") no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;

  position: relative;
  
  padding-top: 80px; 

}
body {
  padding-top: 80px; 
}

@media (max-width: 768px) {
  body {
    padding-top: 70px; 
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 60px; 
  }
}
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(255,60,0,0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 60vh;       /* make it adaptive */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0); /* dark overlay for readability */
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  color: #ff3c00;
  text-shadow: 0 0 15px #ff3c00;
}

@media(max-width:768px) {
  .hero { min-height: 50vh; }
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero p {
  font-size: 1.5rem;
  color: #ffbd00;
  text-shadow: 0 0 8px #ffbd00aa;
  margin-top: 12px;
}

/* ================= SCROLL EFFECTS ================= */
section {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

/* Add subtle glow / fire accent to all headings */
h2, h3 {
  color: #ff3c00;
  text-shadow:
    0 0 6px #ff3c00,
    0 0 12px #ffbd00;
}


/* ================= HEADER ================= */
header {
  position: fixed; /* make it stick */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; 
  background: rgba(0,0,0,0.85); /* keep the semi-transparent look */
  border-bottom: 1px solid rgba(255,60,0,0.4);
  backdrop-filter: blur(5px); /* optional, nice effect */
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}


.logo {
  color: #ff3c00;
  font-size: 2rem;
  font-weight: 700;
  animation: glowPulse 2.5s infinite alternate;
}

@keyframes glowPulse {
  from {
    text-shadow: 0 0 10px rgba(255,60,0,0.4);
  }
  to {
    text-shadow:
      0 0 20px rgba(255,60,0,0.8),
      0 0 40px rgba(255,60,0,0.6);
  }
}

/* ================= DESKTOP NAV ================= */
nav.desktop-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

nav.desktop-nav a,
nav.desktop-nav .dropbtn {
  color: #ffffff;
  padding: 8px 12px;
  border: 1px solid rgba(255,60,0,0.6);
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
}


nav.desktop-nav a:hover,
nav.desktop-nav .dropbtn:hover {
  background-color: transparent;
  color: #ff3c00;
  box-shadow: 0 0 10px rgba(255,60,0,0.7);
}

nav.desktop-nav .dropbtn {
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}
/* ----------------- Dropdown (Desktop) ----------------- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #111;
  min-width: 150px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.8);
  z-index: 1000;
  border-radius: 6px;
}

.dropdown-content a {
  color: #fff;
  padding: 10px 12px;
  display: block;
  text-decoration: none;
  transition: 0.3s;
  background-color: transparent
  ;
}

.dropdown-content a:hover {
  background-color: #000000;
  color: #ff4500;
}

@media(min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* ================= HAMBURGER ICON ================= */
.hamburger {
  display: none; /* only on mobile */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #ff3c00;
  border-radius: 2px;
}

/* ================= MOBILE OVERLAY NAV ================= */
#mobile-nav {
  display: none;             
  position: fixed;          
  top: 0;
  left: 0;
  width: 100vw;              
  height: 100vh;             
  background: url("images/blood-pg.webp") center center / cover no-repeat;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 60px 20px;
  z-index: 9999;
}

#mobile-nav.active {
  display: flex;
}

/* Close button */
#mobile-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  color: #ff3c00;
  cursor: pointer;
  z-index: 10000;
}

#mobile-close:hover {
  color: #fff;
  transform: scale(1.2);
}

/* Mobile links/buttons */
#mobile-nav a,
#mobile-nav .dropbtn {
  font-size: 1.5rem;
  color: #fff;
  border: 2px solid #ff3c00;
  padding: 15px 20px;
  border-radius: 8px;
  background: rgba(0,0,0,0.7);
  width: 300px; /* same size for all buttons */
  text-align: center;
  transition: 0.3s;
  text-decoration: none;
}

#mobile-nav a:hover,
#mobile-nav .dropbtn:hover {
  background: #ff3c00;
  color: #000;
}

/* Mobile dropdown inside overlay */
#mobile-nav .dropdown-content {
  position: relative;
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.7);
  border-radius: 6px;
  margin-top: 5px;
}

#mobile-nav .dropdown-content a {
  width: 100%;
  padding: 12px 0;
  border: none;
}

#mobile-nav .dropdown-content.show {
  display: flex;
}

/* ================= MOBILE RESPONSIVE ================= */
@media(max-width: 768px) {
  nav.desktop-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ================= HERO ================= */

/* ================= MOBILE HERO / BUTTONS ================= */
@media(max-width:480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.9rem; }
}


/* ================= COUNTDOWN ================= */
.countdown {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.time-box {
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,60,0,0.5);
  border-radius: 12px;
  padding: 20px 24px;
  min-width: 90px;
  box-shadow: 0 0 15px rgba(255,60,0,0.4);
}

.time-box span {
  font-size: 2rem;
  color: #ff3c00;
}

.time-box small {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ================= INFO / CARDS ================= */
section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

section h2 {
  color: #ff3c00;
  margin-bottom: 20px;
  font-size: 2rem;
}

.info-grid {
  display: flex;
  justify-content: center;      /* center horizontally */
  align-items: flex-end;        /* align to bottom if taller */
  gap: 30px;                    /* spacing between cards */
  flex-wrap: wrap;              /* wrap on smaller screens */
  margin-bottom: 40px;          /* space above footer */
}

.card {
  flex: 1 1 200px;              /* flexible width, min 200px */
  max-width: 250px;             /* prevent too wide */
  background: rgba(0,0,0,0.85);
  border: 2px solid #ff3c00;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: #fff;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255,60,0,0.5);
}

/* ================= FOOTER ================= */
footer {
  flex-shrink: 0;
  background: #000;
  border-top: 1px solid rgba(255,60,0,0.4);
  padding: 20px;
  text-align: center;
  color: #fff;
  font-size: 0.8rem;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .time-box span { font-size: 1.5rem; }
  .time-box small { font-size: 0.65rem; }
}

@media (max-width: 480px) {
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.9rem; }
  .countdown { gap: 10px; }
  .time-box { padding: 15px 18px; min-width: 70px; }
}



/* --- STREAM BOX --- */
.stream-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.stream-placeholder {
  position: relative;
  width: 160px;
  height: 160px;
  border: 4px solid #ff4500;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #222;
}

.stream-placeholder:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #ff4500aa;
}

.stream-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: #fff;
  text-shadow: 0 0 15px #ff4500;
  pointer-events: none;
}

/* --- STREAMER INFO --- */
.streamer-info {
  max-width: 320px;
  margin: 0 auto 60px auto;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
}

.streamer-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #ff4500;
  object-fit: cover;
  box-shadow: 0 0 20px #ff4500aa;
  margin-bottom: 16px;
}

.streamer-info h2 {
  font-size: 22px;
  margin: 0 0 8px 0;
}

.streamer-info p {
  font-size: 14px;
  line-height: 1.5;
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #fff;
  font-size: 14px;
  border-top: 1px solid #333;
}

/* --- MOBILE RESPONSIVE --- */
@media(max-width:480px) {
  .stream-placeholder {
    width: 140px;
    height: 140px;
  }

  .streamer-avatar {
    width: 100px;
    height: 100px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .hero p {
    font-size: 14px;
  }

  .streamer-info {
    max-width: 90%;
  }
}