* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
}

/* ==== HEADER ==== */
.header-container {
  position: relative;
  height: 450px;
  overflow: hidden;
  color: white;
  text-align: center;
}
.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}

.video-background {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: -1;
}

.fade-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.fade-video.show {
  opacity: 1;
  z-index: 1;
}


.header-content {
  position: relative;
  padding-top: 80px;
}
.logo {
  width: 120px;
  max-width: 30vw;
  margin: 0 auto 10px;
}

/* ==== MENU ==== */
.menu {
  position: absolute;
  top: 20px;
  right: 20px;
}
.menu-icon {
  font-size: 28px;
  cursor: pointer;
  color: white;
}
#menu-toggle {
  display: none;
}
.menu-links {
  display: none;
  position: absolute;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  padding: 10px;
  list-style: none;
  border-radius: 6px;
}
.menu-links li {
  margin: 10px 0;
}
.menu-links a {
  color: white;
  text-decoration: none;
}
#menu-toggle:checked + .menu-icon + .menu-links {
  display: block;
}

/* ==== MAIN VIDEO LINK ==== */
.main-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  text-align: center;
}
.video-link {
  display: block;
  background: #333;
  color: white;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
}
.video-link video {
  width: 100%;
  height: auto;
  display: block;
}
.video-link p {
  padding: 10px;
  font-size: 16px;
  font-style: italic;
}

/* ==== ADS SECTION ==== */
.ads-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}
.ad-box img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ==== FOOTER ==== */
footer {
  text-align: center;
  padding: 20px;
  background: #eee;
  font-style: italic;
  font-size: 14px;
}

/* ========== STYLE FOOTER ========== */

.footer-counter {
    font-size: 13px;
    color: #555;
    background: #f2f2f2;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #ccc;
}
