@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');

body {
  font-family: 'Orbitron', sans-serif;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #fff;
  margin: 0;
  padding: 0;
  text-align: center;
  transition: all 0.4s ease;


  background: transparent;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

header {
  background: #000;
  padding: 30px 20px;
  box-shadow: 0 5px 20px #00f7ff50;
  transition: all 0.4s ease;
}

h1 {
  color: #00f7ff;
  font-size: 36px;
  text-shadow: 0 0 10px #00f7ff;
  transition: all 0.4s ease;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.tab-button {
  background: transparent;
  color: #00f7ff;
  border: 2px solid #00f7ff;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button:hover,
.tab-button.active {
  background: #00f7ff;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 0 15px #00f7ff;
}

.theme-button {
  position: absolute;
  top: 15px;
  right: 15px;
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: #00f7ff;
  color: #000;
  font-weight: bold;
  transition: all 0.3s ease;
}

.theme-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00f7ff;
}

.hero {
  background: url('yourbackground.jpg') center/cover no-repeat;
  text-align: center;
  padding: 5rem 2rem;
  color: white;
}

.btn {
  background-color: #ff4c4c;
  padding: 10px 20px;
  border-radius: 20px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}





main {
  padding: 40px 20px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out forwards;
}

.tab-content.active {
  display: block;
}

.card {
  background-color: rgba(0, 0, 0, 0.6);
  /* semi-transparent black */
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  max-width: 600px;
}

.card img {
  width: 250px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px #00f7ff80;
}

.info h2 {
  margin-bottom: 15px;
  color: #00f7ff;
  text-shadow: 0 0 8px #00f7ff;
  transition: all 0.3s ease;
}

.info p {
  line-height: 1.6;
  font-size: 16px;
}

footer {
  background: #000;
  padding: 15px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid #00f7ff30;
  margin-top: 50px;
  transition: all 0.4s ease;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px #00f7ff80;
  transition: all 0.3s ease;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


body.light-mode {
  background: linear-gradient(to right, #e2e2e2, #ffffff);
  color: #000;
}

body.light-mode header {
  background: #f0f0f0;
  box-shadow: 0 5px 20px #aaa;
}

body.light-mode h1 {
  color: #000;
  text-shadow: 0 0 6px #999;
}

body.light-mode .tab-button {
  background: transparent;
  color: #0077aa;
  border: 2px solid #0077aa;
}

body.light-mode .tab-button.active {
  background: #0077aa;
  color: #fff;
  box-shadow: 0 0 10px #0077aa88;
}

body.light-mode .card {
  background: #fff;
  color: #000;
  box-shadow: 0 0 20px #ccc;
}

body.light-mode .info h2 {
  color: #0077aa;
  text-shadow: 0 0 6px #00aaff66;
}

body.light-mode .theme-button {
  background: #333;
  color: #fff;
}

body.light-mode footer {
  background: #f0f0f0;
  color: #444;
  border-top: 1px solid #ccc;
}

body.light-mode .video-container {
  box-shadow: 0 0 20px #aaa;
}

footer a {
  margin: 0 10px;
  color: #00f7ff;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

footer a:hover {
  color: #fff;
  transform: scale(1.3);
}

#feedback input,
#feedback textarea {
  width: 80%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
  font-family: inherit;
  font-size: 15px;
}

#feedback button {
  padding: 10px 20px;
  background-color: #00f7ff;
  color: #000;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px #00f7ff80;
  transition: transform 0.2s ease;
}


#feedback button:hover {
  transform: scale(1.05);
}

.tooltip-container {
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 17px;
  border-radius: 10px;
}

.tooltip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  border-radius: 15px;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
}

.profile {
  background: #2a2b2f;
  border-radius: 10px 15px;
  padding: 10px;
  border: 1px solid #52382f;
}

.tooltip-container:hover .tooltip {
  top: -150px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.icon {
  text-decoration: none;
  color: #fff;
  display: block;
  position: relative;
}

.layer {
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
}

.icon:hover .layer {
  transform: rotate(-25deg) skew(15px);
}

.layer span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border: 1px solid #fff;
  border-radius: 15px;
  transition: all 0.3s;
}

.layer span,
.text {
  color: #e6683c;
  border-color: #e6683c;
}

.icon:hover.layer span {
  box-shadow: -1px 1px 3px #e6683c;
}

.icon .text {
  position: absolute;
  left: 50%;
  bottom: -5px;
  opacity: 0;
  font-weight: 500;
  transform: translateX(-50%);
  transition: bottom 0.3s ease, opacity 0.3s ease;
}

.icon:hover .text {
  bottom: -35px;
  opacity: 1;
}

.icon:hover .layer span:nth-child(1) {
  opacity: 0.2;
}

.icon:hover .layer span:nth-child(2) {
  opacity: 0.4;
  transform: translate(5px, -5px);
}

.icon:hover .layer span:nth-child(3) {
  opacity: 0.6;
  transform: translate(10px, -10px);
}

.icon:hover .layer span:nth-child(4) {
  opacity: 0.8;
  transform: translate(15px, -15px);
}

.icon:hover .layer span:nth-child(5) {
  opacity: 1;
  transform: translate(20px, -20px);
}

.instagramSVG {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: -webkit-linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
  background: linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f09433', endColorstr='#bc1888', GradientType=1);
}

.user {
  display: flex;
  gap: 10px;
}

.img {
  width: 50px;
  height: 50px;
  font-size: 25px;
  font-weight: 700;
  border: 1px solid #e6683c;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.name {
  font-size: 17px;
  font-weight: 700;
  color: #e6683c;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #fff;
}

.about {
  color: #ccc;
  padding-top: 5px;
}


.tooltip-container {
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 17px;
  border-radius: 10px;
}

.tooltip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  border-radius: 15px;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.3),
    -5px -5px 15px rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.profile {
  background: #2a2b2f;
  border-radius: 10px 15px;
  padding: 10px;
  border: 1px solid #1DA1F2;
}

.tooltip-container:hover .tooltip {
  top: -150px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.icon {
  text-decoration: none;
  color: #fff;
  display: block;
  position: relative;
}

.layer {
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
}

.icon:hover .layer {
  transform: rotate(-25deg) skew(15px);
}

.layer span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border: 1px solid #fff;
  border-radius: 15px;
  transition: all 0.3s;
}

/* Twitter color theme */
.layer span,
.text {
  color: #1DA1F2;
  border-color: #1DA1F2;
}

.icon:hover.layer span {
  box-shadow: -1px 1px 3px #1DA1F2;
}

.icon .text {
  position: absolute;
  left: 50%;
  bottom: -5px;
  opacity: 0;
  font-weight: 500;
  transform: translateX(-50%);
  transition: bottom 0.3s ease, opacity 0.3s ease;
}

.icon:hover .text {
  bottom: -35px;
  opacity: 1;
}

.icon:hover .layer span:nth-child(1) {
  opacity: 0.2;
}

.icon:hover .layer span:nth-child(2) {
  opacity: 0.4;
  transform: translate(5px, -5px);
}

.icon:hover .layer span:nth-child(3) {
  opacity: 0.6;
  transform: translate(10px, -10px);
}

.icon:hover .layer span:nth-child(4) {
  opacity: 0.8;
  transform: translate(15px, -15px);
}

.icon:hover .layer span:nth-child(5) {
  opacity: 1;
  transform: translate(20px, -20px);
}

.twitterSVG {
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1DA1F2;
  border-radius: 15px;
}

.user {
  display: flex;
  gap: 10px;
}

.img {
  width: 50px;
  height: 50px;
  font-size: 25px;
  font-weight: 700;
  border: 1px solid #1DA1F2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.name {
  font-size: 17px;
  font-weight: 700;
  color: #1DA1F2;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #fff;
}

.about {
  color: #ccc;
  padding-top: 5px;
}


/* ==== BACKGROUND PARTICLE CONTAINER ==== */
.container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* sab ke peeche rahe */
  pointer-events: none;
  /* background pe click effect na ho */
}

.container::before {
  content: "";
  position: absolute;
  inset: -145%;
  rotate: -45deg;
  background: #000000;
  background-image: radial-gradient(4px 100px at 0px 235px,
      rgb(255, 140, 17),
      #0000),
    radial-gradient(4px 100px at 300px 235px, rgb(255, 119, 0), #884e2800),
    radial-gradient(1.5px 1.5px at 150px 117.5px,
      rgb(255, 144, 9) 100%,
      #0000 150%),
    radial-gradient(4px 100px at 0px 252px, rgb(156, 14, 137), #0000),
    radial-gradient(4px 100px at 300px 252px, rgb(23, 41, 206), #0000),
    radial-gradient(1.5px 1.5px at 150px 126px,
      rgb(247, 102, 18) 100%,
      #0000 150%),
    radial-gradient(4px 100px at 0px 150px, rgb(249, 121, 16), #0000),
    radial-gradient(4px 100px at 300px 150px, rgb(255, 128, 18), #0000),
    radial-gradient(1.5px 1.5px at 150px 75px,
      rgb(255, 116, 10) 100%,
      #0000 150%),
    radial-gradient(4px 100px at 0px 253px, rgb(249, 137, 17), #0000),
    radial-gradient(4px 100px at 300px 253px, rgb(248, 107, 14), #0000),
    radial-gradient(1.5px 1.5px at 150px 126.5px,
      rgb(252, 129, 14) 100%,
      #0000 150%),
    radial-gradient(4px 100px at 0px 204px, rgb(234, 115, 18), #0000),
    radial-gradient(4px 100px at 300px 204px, rgb(255, 139, 6), #0000),
    radial-gradient(1.5px 1.5px at 150px 102px,
      rgb(255, 128, 9) 100%,
      #0000 150%),
    radial-gradient(4px 100px at 0px 134px, rgb(249, 133, 9), #0000),
    radial-gradient(4px 100px at 300px 134px, rgb(251, 125, 15), #0000),
    radial-gradient(1.5px 1.5px at 150px 67px,
      rgb(255, 146, 13) 100%,
      #0000 150%),
    radial-gradient(4px 100px at 0px 179px, rgb(249, 137, 17), #0000),
    radial-gradient(4px 100px at 300px 179px, rgb(253, 122, 6), #0000),
    radial-gradient(1.5px 1.5px at 150px 89.5px,
      rgb(234, 132, 7) 100%,
      #0000 150%),
    radial-gradient(4px 100px at 0px 299px, rgb(255, 115, 0), #0000),
    radial-gradient(4px 100px at 300px 299px, rgb(255, 136, 0), #0000),
    radial-gradient(1.5px 1.5px at 150px 149.5px,
      rgb(255, 123, 0) 100%,
      #0000 150%),
    radial-gradient(4px 100px at 0px 215px, rgb(255, 145, 0), #0000),
    radial-gradient(4px 100px at 300px 215px, rgb(255, 132, 0), #0000),
    radial-gradient(1.5px 1.5px at 150px 107.5px,
      rgb(255, 136, 0) 100%,
      #0000 150%),
    radial-gradient(4px 100px at 0px 281px, rgb(255, 170, 0), #0000),
    radial-gradient(4px 100px at 300px 281px, rgb(255, 115, 0), #0000),
    radial-gradient(1.5px 1.5px at 150px 140.5px,
      rgb(255, 119, 0) 100%,
      #0000 150%),
    radial-gradient(4px 100px at 0px 158px, rgb(255, 123, 0), #0000),
    radial-gradient(4px 100px at 300px 158px, rgb(255, 132, 0), #0000),
    radial-gradient(1.5px 1.5px at 150px 79px,
      rgb(255, 149, 0) 100%,
      #0000 150%),
    radial-gradient(4px 100px at 0px 210px, rgb(255, 123, 0), #0000),
    radial-gradient(4px 100px at 300px 210px, rgb(255, 162, 0), #0000),
    radial-gradient(1.5px 1.5px at 150px 105px,
      rgb(255, 136, 0) 100%,
      #0000 150%);
  background-size:
    300px 235px,
    300px 235px,
    300px 235px,
    300px 252px,
    300px 252px,
    300px 252px,
    300px 150px,
    300px 150px,
    300px 150px,
    300px 253px,
    300px 253px,
    300px 253px,
    300px 204px,
    300px 204px,
    300px 204px,
    300px 134px,
    300px 134px,
    300px 134px,
    300px 179px,
    300px 179px,
    300px 179px,
    300px 299px,
    300px 299px,
    300px 299px,
    300px 215px,
    300px 215px,
    300px 215px,
    300px 281px,
    300px 281px,
    300px 281px,
    300px 158px,
    300px 158px,
    300px 158px,
    300px 210px,
    300px 210px,
    300px 210px;
  animation: hi 150s linear infinite;
}

@keyframes hi {
  0% {
    background-position: 0px 220px, 3px 220px, 151.5px 337.5px, 25px 24px,
      28px 24px, 176.5px 150px, 50px 16px, 53px 16px, 201.5px 91px,
      75px 224px, 78px 224px, 226.5px 350.5px, 100px 19px, 103px 19px,
      251.5px 121px, 125px 120px, 128px 120px, 276.5px 187px, 150px 31px,
      153px 31px, 301.5px 120.5px, 175px 235px, 178px 235px, 326.5px 384.5px,
      200px 121px, 203px 121px, 351.5px 228.5px, 225px 224px, 228px 224px,
      376.5px 364.5px, 250px 26px, 253px 26px, 401.5px 105px, 275px 75px,
      278px 75px, 426.5px 180px;
  }

  to {
    background-position: 0px 6800px, 3px 6800px, 151.5px 6917.5px,
      25px 13632px, 28px 13632px, 176.5px 13758px, 50px 5416px, 53px 5416px,
      201.5px 5491px, 75px 17175px, 78px 17175px, 226.5px 17301.5px,
      100px 5119px, 103px 5119px, 251.5px 5221px, 125px 8428px, 128px 8428px,
      276.5px 8495px, 150px 9876px, 153px 9876px, 301.5px 9965.5px,
      175px 13391px, 178px 13391px, 326.5px 13540.5px, 200px 14741px,
      203px 14741px, 351.5px 14848.5px, 225px 18770px, 228px 18770px,
      376.5px 18910.5px, 250px 5082px, 253px 5082px, 401.5px 5161px,
      275px 6375px, 278px 6375px, 426.5px 6480px;
  }
}

.movie-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 30px;
  margin-top: 30px;
}

.movie-card {
  background-color: #111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px #00ffff33;
  transition: transform 0.3s ease;
}

.movie-card:hover {
  transform: scale(1.05);
}

.movie-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

.movie-card h4,
.movie-card p,
.movie-card span {
  text-align: center;
  padding: 5px;
  color: #fff;
}

.movie-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 30px;
  margin-top: 30px;
}

.movie-card {
  background-color: #111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px #00ffff33;
  transition: transform 0.3s ease;
}

.movie-card:hover {
  transform: scale(1.05);
}

.movie-card img {
  width: 100%;
  height: auto;
  display: block;
}

.movie-card h4,
.movie-card p,
.movie-card span {
  text-align: center;
  padding: 5px;
  color: #fff;
}




.top-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px auto 20px;
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  box-shadow: 0 0 10px #00ffe1a1;
  max-width: 90%;
}

.nav-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  background: #0f0f0f;
  color: #00ffe1;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  box-shadow: 0 0 6px #00ffe1a1;
}

.nav-btn:hover {
  background-color: #00ffe1;
  color: #000;
  transform: scale(1.05);
}

.nav-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding: 20px 0;
}

.nav-buttons button {
  padding: 10px 16px;
  background: #0e0e0e;
  color: #0ff;
  font-family: 'Consolas', monospace;
  font-size: 15px;
  border: 2px solid #0ff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px #0ff, inset 0 0 8px #0ff;
}

.nav-buttons button:hover {
  background: #0ff;
  color: #000;
  box-shadow: 0 0 18px #0ff, 0 0 10px #0ff;
}

.footer {
  margin-top: 60px;
}


.site-footer {
  text-align: center;
  padding: 30px 15px;
  background: #000;
  color: #ccc;
  font-family: 'Orbitron', sans-serif;
  border-top: 2px solid #0ff;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #00ffff;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
  border-bottom: 1px solid #00ffff;
}

.footer-tagline,
.footer-tech {
  margin: 10px 0;
  font-size: 0.95rem;
  color: #aaa;
}


@media (max-width: 768px) {
  .movie-card {
    width: 45%;
    margin: 10px;
  }
}


.tab-wrapper {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  gap: 10px;
  padding: 10px;
  background: var(--tab-bg, #111);
  border-radius: 10px;
  scrollbar-width: none;
  /* Firefox */
}

.tab-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.tab-button {
  flex: 0 0 auto;
  padding: 10px 20px;
  background-color: var(--card-bg, #222);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tab-button:hover,
.tab-button.active {
  background-color: var(--neon-accent, #00ffff);
  color: #000;
}


/* ===== MOVIE PAGINATION STYLES - CLEAN VERSION ===== */

/* ===== MOVIES GRID LAYOUT ===== */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 30px;
    margin-top: 30px;
    min-height: 600px;
}

/* ===== MOVIE CARDS BASE STYLING ===== */
.movie-card {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #111;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px #00ffff33;
}

.movie-card.show {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: fadeInUp 0.6s ease forwards;
}

.movie-card.hidden {
    display: none !important;
    opacity: 0 !important;
}

.movie-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0, 255, 255, 0.2),
        0 0 20px rgba(0, 255, 255, 0.1);
}

/* ===== PAGINATION CONTAINER - SINGLE DEFINITION ===== */

.main-wrapper {
    position: relative; /* Makes absolute children position based on this */
    padding-bottom: 80px; /* Prevents overlap of bottom content */
}

.pagination-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  margin: 50px auto 40px auto; /* Add top & bottom spacing */

  max-width: 400px;

  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 255, 255, 0.2);

  animation: fadeInUp 0.8s ease-out;
  z-index: 5;
}


/* Update animation for normal positioning */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.pagination-container:hover {
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 255, 255, 0.3);
}

/* ===== PAGINATION TABS ===== */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.pagination li {
    margin: 0;
}

/* ===== PAGE BUTTONS ===== */
.page-btn {
    width: 45px;
    height: 45px;
    border: 2px solid #00f7ff;
    border-radius: 50%;
    background: transparent;
    color: #00f7ff;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 5px #00f7ff;
}

.page-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00f7ff, #0077aa);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.page-btn:hover::before,
.page-btn.active::before {
    opacity: 1;
}

.page-btn:hover,
.page-btn.active {
    color: #000;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 
        0 8px 20px rgba(0, 247, 255, 0.4),
        0 0 15px #00f7ff;
    border-color: #00f7ff;
}

.page-btn.active {
    background: #00f7ff !important;
    color: #000 !important;
    text-shadow: none;
}

/* ===== PAGE INFO ===== */
.page-info {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    text-align: center;
    margin: 0;
    text-shadow: 0 0 5px #00f7ff;
}

/* ===== ANIMATIONS - SINGLE DEFINITIONS ===== */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Staggered animation delays */
.movie-card:nth-child(1) { animation-delay: 0.1s; }
.movie-card:nth-child(2) { animation-delay: 0.2s; }
.movie-card:nth-child(3) { animation-delay: 0.3s; }
.movie-card:nth-child(4) { animation-delay: 0.4s; }
.movie-card:nth-child(5) { animation-delay: 0.5s; }

/* ===== LOADING STATE ===== */
.loading-movies {
    text-align: center;
    padding: 60px 20px;
    color: #00f7ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    text-shadow: 0 0 10px #00f7ff;
}

.loading-movies::after {
    content: '...';
    animation: dots 1.5s infinite;
}

/* ===== PAGE TRANSITIONS ===== */
.movie-section {
    position: relative;
    overflow: hidden;
}

.movie-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.1), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
    z-index: 1;
}

.movie-section.page-changing::before {
    left: 100%;
}

.movies-grid.changing {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.movies-grid.changing.complete {
    opacity: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .pagination-container {
        margin: 30px auto 50px auto;
        padding: 12px 20px;
        border-radius: 20px;
    }
    
    .page-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .page-info {
        font-size: 11px;
    }
    
    .movies-grid {
        padding: 20px;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        margin: 20px auto 40px auto;
        padding: 10px 15px;
        gap: 10px;
    }
    
    .page-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .movies-grid {
        padding: 15px;
        min-height: 500px;
        gap: 12px;
    }
    
    .page-info {
        font-size: 10px;
    }
}


