/*==== Global Styles ===*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: #fff;
}
/* === Navigation Menu === */
nav {
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  color: #f9d342;
  text-decoration: none;
  margin: 0 20px;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #fff;
}

/* === Heading === */
h1 {
  text-align: center;
  margin: 40px 0 20px;
  color: #f9d342;
  text-shadow: 2px 2px 6px #000;
}

/* === Table Styling === */
table {
  width: 90%;
  margin: 20px auto 60px;
  border-collapse: collapse;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

th, td {
  padding: 12px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

th {
  background-color: #f9d342;
  color: #000;
  font-size: 1.1em;
}

tr:hover {
  background-color: rgba(255,255,255,0.2);
  transition: 0.3s;
}

caption {
  caption-side: bottom;
  font-style: italic;
  color: #ccc;
  margin-top: 10px;
}

/* === About Page === */
.about {
  width: 80%;
  margin: 60px auto;
  text-align: center;
  line-height: 1.7;
  background-color: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

#menu-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(90deg, #0b3d91, #2b8bd3);
  color: #fff;
  border-radius: 6px;
}

#menu-bar a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.15s, transform 0.08s;
}

#menu-bar a:hover,
#menu-bar a:focus {
  background: rgba(255,255,255,0.12);
  outline: none;
  transform: translateY(-1px);
}

#menu-bar a.active,
#menu-bar a[aria-current="page"] {
  background: rgba(255,255,255,0.18);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Responsive: stack links on small screens */
@media (max-width: 600px) {
  #menu-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.hero {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  padding: 28px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
}

.hero .lead {
  margin-top: 8px;
  color: #e8e8e8;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 16px;
  background: linear-gradient(90deg,#0b3d91,#2b8bd3);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}


#top-movies {
  scroll-margin-top: 90px; /* match nav height */
}

/* spacing for the top-movies section */
.top-movies { width: 90%; margin: 30px auto; padding: 18px; background: rgba(255,255,255,0.02); border-radius: 10px; }