/* ===== RESET + FULL SCROLLBAR HIDE (100% WORKING) ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  overflow-x: hidden;

  scrollbar-width: none;   /* Firefox */
  -ms-overflow-style: none; /* Old Edge */
}

/* Chrome / Edge / Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* ===== BACKGROUND VIDEO ===== */
#bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 150%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
}

/* ===== DARK OVERLAY ===== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: -1;
}

/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: transparent;
  position: relative;
  z-index: 2;
}

/* ===== LOGO ===== */
.logo {
  font-size: 2rem;
  font-weight: bold;
  font-family: sans-serif;
  background: linear-gradient(90deg,
    #ff416c,
    #ff4b2b,
    #ff8a00,
    #f9d423,
    #1fa2ff,
    #12d8fa,
    #a6ffcb,
    #d4fc79,
    #96e6a1,
    #fcb045,
    #ff6a00
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
  position: relative;
  transition: transform 0.3s ease;
}

.logo::after {
  content: 'TG Mov 🎬';
  position: absolute;
  top: 0;
  left: 0;
  font-size: 2rem;
  font-weight: bold;
  font-family: sans-serif;
  background: inherit;
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(0px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, filter 0.3s ease;
  z-index: -1;
}

.logo:hover {
  transform: scale(1.03);
}

.logo:hover::after {
  filter: blur(12px);
  opacity: 0.8;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
}

/* ===== PROFILE ===== */
.profile {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(90deg,
    #ff416c,
    #ff4b2b,
    #ff8a00,
    #f9d423,
    #1fa2ff,
    #12d8fa,
    #a6ffcb,
    #d4fc79,
    #96e6a1,
    #fcb045,
    #ff6a00
  );
  background-size: 300% 300%;
  animation: gradientShift 5s ease infinite;
  opacity: 0.6;
}

.profile:hover::before {
  filter: blur(8px);
  opacity: 1;
}

.profile img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

/* ===== CONTENT ===== */
.content {
  padding: 100px 40px 40px;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
}

.tags .tag {
  background: limegreen;
  color: black;
  padding: 4px 10px;
  margin-right: 10px;
  border-radius: 5px;
  font-weight: bold;
}

.buttons {
  margin-top: 20px;
}

.watch,
.download {
  background-color: #1e90ff;
  border: none;
  padding: 12px 20px;
  margin-right: 10px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.download {
  background-color: #00bcd4;
}

.popular h2,
.top-rated h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
}

/* ===== MOVIE SLIDER + SCROLLBAR HIDE ===== */
.movie-slider {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding-bottom: 20px;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.movie-slider::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.movie-slider img {
  width: 140px;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s;
}

.movie-slider img:hover {
  transform: scale(1.1);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== MOBILE ===== */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  nav {
    display: none;
  }

  .movie-slider img {
    width: 110px;
    height: 160px;
  }

  .content {
    padding: 80px 20px;
  }
}
/* ===============================
   WATCH & DOWNLOAD BUTTON FIX
   =============================== */

/* WATCH BUTTON */
button.watch {
  background: linear-gradient(135deg, #00ffcc, #00b3ff) !important;
  color: #000 !important;
  font-weight: bold !important;
  border: none !important;
  padding: 12px 22px !important;
  border-radius: 8px !important;
}

/* DOWNLOAD BUTTON */
button.download {
  background: linear-gradient(135deg, #ff3c3c, #ff7a00) !important;
  color: #fff !important;
  font-weight: bold !important;
  border: none !important;
  padding: 12px 22px !important;
  border-radius: 8px !important;
}

/* ✅ EXTRA MOBILE FORCE FIX */
@media (max-width: 768px) {
  button.watch {
    background: linear-gradient(135deg, #00ffcc, #00b3ff) !important;
    color: #000 !important;
  }

  button.download {
    background: linear-gradient(135deg, #ff3c3c, #ff7a00) !important;
    color: #fff !important;
  }
}
