/* ------------------- Body / Background ------------------- */
body {
  margin: 0;
  padding: 0;
  background: #0b0f2e; /* solid dark blue */
  color: #fff;
  font-family: 'Arial', sans-serif;
}

/* ------------------- Header / Logo ------------------- */
header {
  text-align: center;
  padding: 20px 0;
}

.logo {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

h1 {
  margin: 10px 0 0 0;
  font-size: 32px;
}

/* ------------------- Buttons below About ------------------- */
.sidebar-links {
  display: flex;
  flex-direction: row;        /* horizontal */
  justify-content: center;    /* center horizontally */
  gap: 12px;                  /* spacing between buttons */
  margin: 20px 0;             /* space above and below */
  position: static;           /* part of page flow */
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #1b2a5a;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sidebar-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

.link-icon {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

/* ------------------- About Section ------------------- */
.about {
  max-width: 700px;
  margin: 0 auto 20px auto;
  text-align: center;
  padding: 0 15px;
  line-height: 1.6;
}

/* ------------------- Video Cards ------------------- */
#latest-videos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.video-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  background: #1b2a5a;
  transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.6);
}

.video-card h4 {
  margin: 0;
  padding: 10px;
  font-size: 14px;
  text-align: center;
}

.video-card.short {
  flex: 1 1 180px;
  max-width: 200px;
}

.video-card.short iframe {
  height: 200px;
}

.video-card.long {
  flex: 1 1 400px;
  max-width: 500px;
}

.video-card.long iframe {
  height: 315px;
}

/* ------------------- Footer ------------------- */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background: #0a0f2a;
}

.footer-left {
  position: absolute;
  left: 20px;
  bottom: 15px;
  color: #ff416c;
  text-decoration: none;
  font-weight: bold;
}

.footer-left:hover {
  text-decoration: underline;
}

/* ------------------- No JS Warning ------------------- */
.no-js-warning {
  text-align: center;
  padding: 8px 12px;
  background: #ff4b2b;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  margin: 10px;
  font-size: 14px;
}

/* ------------------- Responsive / Mobile ------------------- */
@media (max-width: 768px) {
  /* Buttons remain horizontal, smaller spacing */
  .sidebar-links {
    gap: 8px;
    margin: 15px 0;
  }
  
  .sidebar-links a {
    font-size: 13px;
    padding: 6px 10px;
  }

  /* Video cards full width on mobile */
  #latest-videos {
    flex-direction: column;
    align-items: center;
  }

  .video-card.short,
  .video-card.long {
    max-width: 90%;
  }

  /* Responsive iframe */
  .video-card iframe {
    width: 100%;
    height: auto;
  }
}
