/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Roboto:wght@400;700&display=swap');

/* ==== GLOBAL BODY ==== */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(180deg, #000 0%, #111 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: absolute; top:0; left:0; right:0; bottom:0;
  background: url('../images/particles.svg') repeat;
  opacity: 0.2;
  animation: moveParticles 120s linear infinite;
  z-index: -2;
}
@keyframes moveParticles {
  0%   { background-position: 0 0; }
  100% { background-position: 2000px 2000px; }
}

/* ==== NAVIGATION ==== */
.nav-top {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 40px;
  position: relative;
  z-index: 10;
}
.services-wrapper {
  position: relative;
}
.top-btn {
  background: #e50914;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.95em;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(229,9,20,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.top-btn:hover {
  background: #ff0a16;
  box-shadow: 0 0 20px rgba(229,9,20,0.6);
  transform: translateY(-3px) scale(1.05);
}

/* Our Services dropdown */
.services-dropdown {
  display: none;
  position: absolute;
  top: 48px; left: 50%;
  transform: translateX(-50%);
  background: rgba(10,10,10,0.95);
  border: 1px solid rgba(229,9,20,0.3);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(229,9,20,0.3);
  flex-direction: column;
  overflow: hidden;
  z-index: 20;
  animation: fadeInDropdown 0.3s ease;
}
.services-dropdown.show { display: flex; }
.services-dropdown a {
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  font-size: 0.95em;
  transition: background 0.3s;
  display: block;
}
.services-dropdown a:hover {
  background: rgba(229,9,20,0.2);
}

/* ==== INDEX PAGE CONTAINER ==== */
.container {
  position: relative;
  padding: 60px 40px;
  max-width: 500px;
  width: 85%;
  text-align: center;
  background: rgba(10,10,10,0.6);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 35px rgba(229,9,20,0.3);
  border: 1px solid rgba(229,9,20,0.15);
  margin-top: 20px;
  overflow: hidden;
  animation: fadeInUp 1s ease forwards;
}
.container::before, .container::after {
  content: "";
  position: absolute;
  width: 45px; height: 45px;
  border: 2px solid #e50914;
  border-radius: 6px;
  animation: glowCorners 1.8s ease-in-out infinite alternate;
  z-index: 2;
}
.container::before {
  top: -2px; left: -2px;
  border-bottom: none; border-right: none;
}
.container::after {
  bottom: -2px; right: -2px;
  border-top: none; border-left: none;
}

/* LIGHT REFLECT & DIVIDER */
.light-reflect {
  position: absolute; top:0; left:-100%;
  width:60%; height:100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  z-index: 1;
}
.container:hover .light-reflect {
  left: 120%;
}
.glow-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #e50914, transparent);
  width: 80%; margin: 30px auto;
  box-shadow: 0 0 15px rgba(229,9,20,0.7);
}

/* ==== HERO / LOGO / TEXT ==== */
.logo {
  max-width: 140px; margin-bottom: 25px;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(229,9,20,0.6);
  transition: all 0.4s;
}
.logo:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(229,9,20,0.8);
}
h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  margin: 15px 0;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(229,9,20,0.8);
  font-weight: 700;
  animation: pulseText 3s infinite, heartbeat 2s infinite;
}
p {
  font-size: 1.15em; color: #ddd;
  margin: 20px 0 30px;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* HERO BUTTONS WRAPPER */
.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

/* EXPLORE & LOGIN BUTTONS */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #e50914 0%, #b00710 100%);
  color: #fff;
  padding: 16px 35px;
  font-size: 1.1em;
  border: none;
  border-radius: 35px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s;
  box-shadow: 0 5px 20px rgba(229,9,20,0.5);
  font-weight: 700;
  position: relative;
  overflow: hidden;
  min-width: 200px;
}
.btn::after {
  content: "";
  position: absolute; top:-50%; left:-60%;
  width:20%; height:200%;
  background: rgba(255,255,255,0.2);
  transform: rotate(25deg);
  transition: all 0.7s;
}
.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(229,9,20,0.8);
}
.btn:hover::after {
  left: 140%;
}

/* LOGIN HERO DROPDOWN */
.login-hero-wrapper {
  position: relative;
}
.login-dropdown {
  display: none;
  position: absolute;
  top: 48px; left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  background: rgba(10,10,10,0.95);
  border: 1px solid rgba(229,9,20,0.3);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(229,9,20,0.3);
  min-width: 180px;
  overflow: hidden;
  z-index: 20;
  animation: fadeInDropdown 0.3s ease;
}
.login-dropdown.show { display: flex; }
.login-dropdown a {
  color: #fff; text-decoration: none;
  padding: 12px 20px; font-size: 0.95em;
  transition: background 0.3s; display: block;
}
.login-dropdown a:hover {
  background: rgba(229,9,20,0.2);
}

/* ==== FOOTER ==== */
footer {
  margin-top: 40px; font-size: 0.95em; color: #aaa;
}
footer img {
  width: 70px; height: 70px;
  border-radius: 50%; object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 0 15px rgba(229,9,20,0.5);
  border: 2px solid rgba(229,9,20,0.3);
  transition: all 0.4s;
}
footer img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(229,9,20,0.7);
}
footer span {
  display: block; margin-top: 8px;
  font-style: italic; color: #bbb;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* ==== ANIMATIONS ==== */
@keyframes glowCorners {
  0%   { box-shadow: 0 0 5px #e50914; opacity: 0.8; }
  100% { box-shadow: 0 0 25px #e50914, 0 0 35px rgba(229,9,20,0.5); opacity: 1; }
}
@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulseText {
  0%,100% { text-shadow: 0 0 10px rgba(229,9,20,0.8); }
  50%     { text-shadow: 0 0 20px rgba(229,9,20,1), 0 0 30px rgba(229,9,20,0.6); }
}
@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.03); }
}
@keyframes fadeInDropdown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .container { margin-top: 40px; padding: 50px 25px; }
  h1 { font-size: 2.4rem; }
  .btn { padding: 14px 30px; font-size: 1em; }
}
@media (max-width: 480px) {
  .container { padding: 40px 20px; }
  h1 { font-size: 2rem; }
  .logo { max-width: 120px; }
}
