/* ========== Base Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background-color: #0d0d0d;
  color: #f5f5f5;
  line-height: 1.6;
}

a {
  color: #11c5b9;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover {
  color: #ff5f5f;
}
img.aligncenter {
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
    justify-content: center;
}
/* ========== Layout Containers ========== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
  border-bottom: 1px solid #1f1f1f;
  background: #0b0b0b;
  position: sticky;
  top: 0;
  z-index: 10;
}
header .logo img {
  height: 40px;
}
header nav a {
  margin-left: 20px;
  font-weight: 500;
  color: #eee;
}
header nav a:hover {
  color: #6cddd7;
}

/* ========== Hero / Search Section ========== */
.search-wrap {
  text-align: center;
  padding: 60px 15px 40px;
  background: linear-gradient(to bottom, #111, #0d0d0d);
}
.hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 25px;
}
.hero p {
	margin-bottom: 30px;
}
.searchbox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto 30px;
}
.searchbox input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #1a1a1a;
  color: #fff;
}
.searchbox input:focus {
  outline: none;
  border-color: #11c5b9;
}
.searchbox button {
  padding: 10px 20px;
  background: #11c5b9;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s;
}
.searchbox button:hover {
  background: #6cddd7;
}

/* ========== Badge (Visit button) ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a1a1a;
  color: #11c5b9;
  border: 2px solid #11c5b9;
  border-radius: 999px;
  padding: 10px 30px;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s;
}
.badge svg {
  width: 16px;
  height: 16px;
}
.badge:hover {
  background: #11c5b9;
  color: #fff;
}

/* ========== Filters ========== */
.controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px auto 20px;
  padding: 0 20px;
}
.controls select,
.controls input {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 10px 12px;
  min-width: 140px;
  transition: border 0.25s;
}
.controls select:focus,
.controls input:focus {
  outline: none;
  border-color: #11c5b9;
}

/* ========== Movie Grid ========== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 25px;
  padding: 0 5% 60px;
}
.card {
  background: #141414;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card img {
  width: 100%;
  display: block;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 14px rgba(255, 60, 60, 0.25);
}
.card .meta {
  padding: 10px 12px 16px;
}
.card h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}
.card p {
  font-size: 0.85rem;
  color: #bbb;
}

/* ========== Social Icons ========== */
.social {
  text-align: center;
  margin: 40px 0;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: background 0.25s, transform 0.25s;
  color: #11c5b9;
}
.social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.social a:hover {
  background: #11c5b9;
  color: #fff;
  transform: scale(1.1);
}

/* ========== About Section ========== */
.about {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.about h2 {
  font-size: 1.6rem;
  color: #11c5b9;
  margin-bottom: 20px;
}
.about h3 {
  margin-top: 25px;
  font-size: 1.2rem;
  color: #ff5a5a;
}
.about p {
  margin-bottom: 16px;
  color: #ddd;
}
.about ul {
  list-style: none;
  margin: 15px 0 20px 0;
  padding: 0;
}
.about li {
  margin: 6px 0;
  padding-left: 22px;
  position: relative;
}
.about li::before {
  content: "ðŸ¿";
  position: absolute;
  left: 0;
  top: 1px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 16px;
  background-color: #0f172a;
  color: #f1f5f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

thead {
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

th {
  padding: 14px 18px;
  font-weight: 600;
  text-align: left;
  color: #ffffff;
}

tr {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background-color 0.3s ease;
}

tr:nth-child(even) {
  background-color: rgba(255,255,255,0.03);
}

tr:hover {
  background-color: rgba(59,130,246,0.1);
}

td {
  padding: 14px 18px;
  color: #e2e8f0;
  vertical-align: middle;
}

table a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

table a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* ========== Footer ========== */
.footer {
  background: #0a0a0a;
  border-top: 1px solid #1e1e1e;
  padding: 40px 5%;
}
.footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
}
.footer strong {
  color: #11c5b9;
}
.footer p, .footer li {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 10px;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer li {
  margin-bottom: 4px;
}
.footer li:hover {
  color: #fff;
  cursor: pointer;
}
.copyright {
    text-align: center;
}
/* ========== Responsive Tweaks ========== */

@media (max-width: 768px) {
  table {
    font-size: 14px;
  }
  th, td {
    padding: 10px 12px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .searchbox {
    flex-direction: column;
  }
  .searchbox input, .searchbox button {
    width: 100%;
  }
}
