@import url("https://fonts.googleapis.com/css2?family=Asap&family=Roboto:ital,wght@0,500;0,900;1,500&display=swap");

:root {
  /* Main Colors */
  --primary: #000000;
  --secondary: #1c1c1c;
  --accent: #e50914;
  --text-primary: #ffffff;
  --text-secondary: #e1e1e1;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1e2024 0%, #18181d 100%);
  --gradient-accent: linear-gradient(45deg, var(--accent), #fa8666);
  

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Asap", sans-serif;
  background: var(--primary);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #fff;
}

ul {
  list-style: none;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
  padding: 0 30px;
  background: rgba(51, 51, 51, 0.468);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 98, 98, 0.744);
  border-top: none;
  border-left: none;
  border-right: none;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.logo a {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 2.3rem;
  background: linear-gradient(120deg, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 20px rgba(229, 9, 20, 0.2);
}

.menu {
  display: flex;
  gap: 10px;
}

.menu a {
  margin: 0 10px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: 0.5s;
}

.menu a:hover::before {
  left: 100%;
}

.cta-button {
  background: linear-gradient(45deg, var(--accent), #fa8666) !important;
  border: none !important;
  box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.4) !important;
}

/* Main Section */
#main {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.7;
  filter: brightness(105%) contrast(120%);
}

.main-text {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  width: 40%;
  max-width: 1000px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.main-text h1 {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(2.0rem, 1.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeUp 1s ease forwards;
}

.main-text .accent {
  font-family: inherit;
  background: linear-gradient(45deg, var(--accent), #fa8666);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.main-text .subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.5rem, 1vw, 0.7rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  animation: fadeUp 1s ease 0.3s forwards;
  opacity: 0;
}

/* Masterpieces Section */
#Masterpieces {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

/* Add decorative background elements */
#Masterpieces::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.1) 0%, transparent 70%);
  top: -250px;
  right: -250px;
  border-radius: 50%;
  z-index: 0;
}

.title h2 {
  font-family: 'Playfair Display', serif;  /* Changed font */
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(120deg, #fff 0%, #e6e6e6 50%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: titleGlow 3s infinite alternate;
}

.title p {
  font-family: 'Lato', sans-serif;  /* Changed font */
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.8);
}

.content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.service-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 350px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  opacity: 0.8;
}

.service-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-box h2 {
  font-family: 'Montserrat', sans-serif;
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 90%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 2;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  opacity: 1;
}

@keyframes glow {
  0% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }
  50% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 
                     0 0 30px rgba(229, 9, 20, 0.6); }
  100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }
}

/* Masterpieces Slider */
.slider-container {
  position: relative;
  width: 100%;
  padding: 0 60px;
  margin: 0 auto;
}

.slider-wrapper {
  overflow: hidden;
  padding: 20px 0;
}

.content {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.service-box {
  min-width: 300px; /* Fixed width for slides */
  flex-shrink: 0;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav:hover {
  background: #ff0a17;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

@media (max-width: 768px) {
  .slider-container {
    padding: 0 40px;
  }

  .service-box {
    min-width: 250px;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Quotes Section */
#quotes {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
  min-height: 600px; /* Fixed height for quotes section */
  transition: background 0.5s ease;
}
/* Join Section - Update hover effects */
#Join ul li:nth-child(1):hover a {
  color: #1DA1F2;
  box-shadow: 0 0 20px #1DA1F2,
              0 0 40px #1DA1F2,
              0 0 60px #1DA1F2;
}
#Join ul li:nth-child(1):hover ~ #quotes {
  background: linear-gradient(135deg, #000000 0%, #1DA1F2 100%);
}
#Join ul li:nth-child(2):hover a {
  color: #E1306C;
  box-shadow: 0 0 20px #E1306C,
              0 0 40px #E1306C,
              0 0 60px #E1306C;
}
#Join ul li:nth-child(2):hover ~ #quotes {
  background: linear-gradient(135deg, #000000 0%, #E1306C 100%);
}
#Join ul li:nth-child(3):hover a {
  color: #25D366;
  box-shadow: 0 0 20px #25D366,
              0 0 40px #25D366,
              0 0 60px #25D366;
}
#Join ul li:nth-child(3):hover ~ #quotes {
  background: linear-gradient(135deg, #000000 0%, #25D366 100%);
}
#Join ul li:nth-child(4):hover a {
  color: #FF0000;
  box-shadow: 0 0 20px #FF0000,
              0 0 40px #FF0000,
              0 0 60px #FF0000;
}
#Join ul li:nth-child(4):hover ~ #quotes {
  background: linear-gradient(135deg, #000000 0%, #FF0000 100%);
}

/* Social Media Hover Effects */
#Join ul li a {
  position: relative;
  z-index: 2;
}

/* Twitter Hover */
#Join ul li:nth-child(1):hover ~ section#quotes {
  background: linear-gradient(135deg, #000000 0%, #1DA1F2 100%);
}

/* Instagram Hover */
#Join ul li:nth-child(2):hover ~ section#quotes {
  background: linear-gradient(135deg, #000000 0%, #E1306C 100%);
}

/* WhatsApp Hover */
#Join ul li:nth-child(3):hover ~ section#quotes {
  background: linear-gradient(135deg, #000000 0%, #25D366 100%);
}

/* YouTube Hover */
#Join ul li:nth-child(4):hover ~ section#quotes {
  background: linear-gradient(135deg, #000000 0%, #FF0000 100%);
}

/* Smooth transition for background changes */
#quotes {
  transition: background 0.5s ease;
}

/* Quotes Container */
.quotes-container {
  position: relative;
  height: 400px; /* Fixed height for quotes container */
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.quote-box {
  position: relative; /* Changed from absolute */
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
}

.quote-box blockquote {
  font-size: 1.8rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.6;
  position: relative;
  padding: 20px 40px;
}

.quote-box blockquote::before,
.quote-box blockquote::after {
  content: '"';
  font-size: 4rem;
  position: absolute;
  color: var(--accent);
  opacity: 0.5;
}

.quote-box blockquote::before {
  left: -20px;
  top: -20px;
}

.quote-box blockquote::after {
  right: -20px;
  bottom: -40px;
}

.quote-box p {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 20px;
}

.quote-box.active {
  opacity: 1;
  transform: translateX(0);
}

.quote-box.inactive {
  opacity: 0;
  transform: translateX(-100%);
}

/* Quote navigation */
.quote-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.quote-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.quote-nav button.active {
  background: var(--accent);
  transform: scale(1.2);
}

.bold-heading {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 20px rgba(229, 9, 20, 0.3);
  letter-spacing: 1px;
  animation: titlePulse 3s infinite alternate;
}

@keyframes floatGlow {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.05;
  }
  50% { 
    transform: translate(20px, -20px) scale(1.1);
    opacity: 0.08;
  }
}

@keyframes quotePulse {
  0%, 100% { 
    opacity: 0.8;
    transform: scale(1);
  }
  50% { 
    opacity: 0.4;
    transform: scale(0.95);
  }
}

@keyframes titlePulse {
  0% {
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
  }
  100% {
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.5),
                 0 0 30px rgba(229, 9, 20, 0.3);
  }
}


/* Responsive adjustments */
@media (max-width: 768px) {
  blockquote {
    font-size: 1.2rem;
    padding: 30px;
    margin: 20px auto;
  }

  blockquote::before,
  blockquote::after {
    font-size: 6rem;
  }

  .bold-heading {
    font-size: 2rem;
  }
}

/* Join Us Section */
#Join {
  padding: 50px 20px;
  text-align: center;
  background: #1c1c1c;
}

#Join ul {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

#Join ul li {
  margin: 0 15px;
}

#Join ul li a {
  display: block;
  font-size: 30px;
  height: 60px;
  width: 60px;
  line-height: 60px;
  background: #171515;
  border-radius: 50%;
  transition: transform 0.3s, box-shadow 0.3s, color 0.3s;
}


#Join ul li:nth-child(1):hover a {
  color: #1DA1F2;
  box-shadow: 0 0 20px #1DA1F2,
              0 0 40px #1DA1F2,
              0 0 60px #1DA1F2;
}

#Join ul li:nth-child(2):hover a {
  color: #E1306C;
  box-shadow: 0 0 20px #E1306C,
              0 0 40px #E1306C,
              0 0 60px #E1306C;
}

#Join ul li:nth-child(3):hover a {
  color: #25D366;
  box-shadow: 0 0 20px #25D366,
              0 0 40px #25D366,
              0 0 60px #25D366;
}

#Join ul li:nth-child(4):hover a {
  color: #FF0000;
  box-shadow: 0 0 20px #FF0000,
              0 0 40px #FF0000,
              0 0 60px #FF0000;
}

#Join ul li:hover a {
  transform: scale(1.3);
  text-shadow: 0 0 20px currentColor;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  padding: 0 15px;
}

.social-links li {
  position: relative;
  z-index: 2;
}

.social-links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.social-links li a i {
  font-size: 24px;
  color: #fff;
  transition: all 0.3s ease;
}

/* Hover Effects */
.social-links li:nth-child(1):hover a {
  background: #1DA1F2;
  box-shadow: 0 0 20px #1DA1F2;
  transform: scale(1.1);
}

.social-links li:nth-child(2):hover a {
  background: #E1306C;
  box-shadow: 0 0 20px #E1306C;
  transform: scale(1.1);
}

.social-links li:nth-child(3):hover a {
  background: #25D366;
  box-shadow: 0 0 20px #25D366;
  transform: scale(1.1);
}

.social-links li:nth-child(4):hover a {
  background: #FF0000;
  box-shadow: 0 0 20px #FF0000;
  transform: scale(1.1);
}

/* Quotes Section Background Change on Hover */
#quotes {
  transition: background 0.3s ease;
}

.social-links li:hover ~ #quotes {
  transition: background 0.3s ease;
}

.social-links li:nth-child(1):hover ~ #quotes {
  background: linear-gradient(135deg, #000000 0%, #1DA1F2 100%);
}

.social-links li:nth-child(2):hover ~ #quotes {
  background: linear-gradient(135deg, #000000 0%, #E1306C 100%);
}

.social-links li:nth-child(3):hover ~ #quotes {
  background: linear-gradient(135deg, #000000 0%, #25D366 100%);
}

.social-links li:nth-child(4):hover ~ #quotes {
  background: linear-gradient(135deg, #000000 0%, #FF0000 100%);
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  background: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(50, 50, 50, 0.9);
    display: none;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-radius: 0 0 20px 20px;
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    padding: 1rem 2rem;
    width: 100%;
    text-align: center;
  }

  .main-text h1 {
    font-size: 2.5rem;
  }

  .main-text p {
    font-size: 1.5rem;
  }

  .content {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 0 1rem;
  }

  .quote-box {
    margin: 1rem;
  }

  .social-links {
    gap: 15px;
  }

  .social-links li a {
    width: 50px;
    height: 50px;
  }

  .social-links li a i {
    font-size: 20px;
  }

  /* Ensure hover effects work on touch devices */
  .social-links li a:active {
    transform: scale(1.1);
  }
}

@media (max-width: 480px) {
  nav {
    height: 60px;
  }

  .logo a {
    font-size: 1.5rem;
  }

  .menu {
    top: 60px;
    height: calc(100vh - 60px);
  }

  .main-text h1 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
  }

  .service-box {
    height: 250px;
  }

  .quote-box blockquote {
    font-size: 1rem;
  }

  #Join ul li {
    margin: 0 10px;
  }

  .category-table th {
    font-size: 0.9rem;
  }

  .social-links {
    gap: 10px;
  }

  .social-links li a {
    width: 45px;
    height: 45px;
  }

  .social-links li a i {
    font-size: 18px;
  }
  
  /* Enhanced touch interaction for mobile */
  .social-links li a:active {
    transform: scale(1.15);
    transition: transform 0.2s ease;
  }
}

/* Fix for touch devices */
@media (hover: none) {
  .social-links li a:active {
    transform: scale(1.1);
    transition: transform 0.2s ease;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}

.animate {
  animation: fadeIn 0.8s ease-out forwards;
}

.video-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.video-controls button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
                 0 0 20px rgba(255, 255, 255, 0.3);
  }
  100% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
                 0 0 30px rgba(255, 255, 255, 0.5),
                 0 0 45px rgba(255, 255, 255, 0.2);
  }
}


/* Movie Categories Section */
#movie-categories {
  padding: 80px 20px;
  background: var(--gradient-primary);
}

.category-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  overflow-x: auto; 
}

.category-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  overflow: hidden;
}

.category-table th {
  padding: 20px;
  background: var(--accent);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.category-table td {
  padding: 20px;
  vertical-align: top;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-table li {
  padding: 10px 0;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-table li:hover {
  color: var(--accent);
  transform: translateX(10px);
}

.category-table i {
  margin-right: 8px;
  color: var(--accent);
}
/* Movie Categories Title Styling */
#movie-categories .title {
  text-align: center;
  width: 100%;
  margin: 0 auto 50px auto;
  padding: 0 20px;
}

#movie-categories .title h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(120deg, #fff 0%, #e6e6e6 50%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGlow 3s infinite alternate;
}

#movie-categories .title p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #movie-categories .title h2 {
    font-size: 2rem;
  }
  
  #movie-categories .title p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .category-table {
    font-size: 0.9rem;
  }
  
  .category-table th {
    padding: 15px 10px;
    font-size: 1rem;
  }
  
  .category-table td {
    padding: 15px 10px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Navigation */
  nav {
    padding: 0 15px;
  }

  .logo a {
    font-size: 1.5rem;
  }

  .menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: left 0.3s ease;
  }

  .menu.active {
    left: 0;
  }

  .menu a {
    margin: 15px 0;
    font-size: 1.2rem;
    width: 80%;
  }

  /* Main Section */
  .main-text {
    width: 90%;
    padding: 2rem 1rem;
  }

  .main-text h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .main-text .subtitle {
    font-size: clamp(0.4rem, 2vw, 0.6rem);
  }

  /* Masterpieces Section */
  .content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px;
  }

  .service-box {
    height: 300px;
  }

  .service-box h2 {
    font-size: 1.4rem;
  }

  /* Quotes Section */
  #quotes {
    padding: 50px 15px;
    min-height: 400px;
  }

  .quote-box {
    padding: 20px;
    margin: 10px;
  }

  .quote-box blockquote {
    font-size: 1.2rem;
    padding: 15px;
  }

  .quote-box p {
    font-size: 1rem;
  }

  /* Join Section */
  #Join ul {
    flex-wrap: wrap;
    gap: 15px;
  }

  #Join ul li a {
    font-size: 24px;
    height: 50px;
    width: 50px;
    line-height: 50px;
  }

  /* Movie Categories */
  .category-container {
    padding: 10px;
  }

  .category-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .category-table th,
  .category-table td {
    padding: 15px;
    min-width: 200px;
  }

  .category-table li {
    font-size: 0.9rem;
  }

  /* Title Styles */
  .title h2 {
    font-size: 2rem;
    padding: 1rem;
  }

  .title p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .bold-heading {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
}

/* Small screens */
@media (max-width: 480px) {
  nav {
    height: 60px;
  }

  .logo a {
    font-size: 1.5rem;
  }

  .menu {
    top: 60px;
    height: calc(100vh - 60px);
  }

  .main-text h1 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
  }

  .service-box {
    height: 250px;
  }

  .quote-box blockquote {
    font-size: 1rem;
  }

  #Join ul li {
    margin: 0 10px;
  }

  .category-table th {
    font-size: 0.9rem;
  }
}

/* Search Container */
.search-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 20px;
}

#movieSearch {
  padding: 8px 15px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 200px;
  transition: all 0.3s ease;
}

#movieSearch:focus {
  outline: none;
  width: 250px;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
}

#movieSearch::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  color: var(--accent);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .search-container {
    margin: 0 10px;
  }
  
  #movieSearch {
    width: 150px;
  }
  
  #movieSearch:focus {
    width: 180px;
  }
}

.movie-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.service-box:hover .movie-info {
  transform: translateY(0);
}

.movie-details {
  display: flex;
  gap: 15px;
  margin: 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.rating {
  color: #ffd700;
}

.description {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 10px 0;
  opacity: 0.8;
}

.watch-trailer {
  background: var(--accent);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.watch-trailer:hover {
  background: #ff0a17;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

/* Trailer Modal */
.trailer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1;
}

.close-modal:hover {
  background: #ff0a17;
  transform: scale(1.1);
}

.modal-content iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
  }
}

/* Movie Database Section */
#movie-database {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
}

.database-filters {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: center;
}

.database-filters select {
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.database-filters select:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
}

.movie-database-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.movie-card {
  background: rgba(30,30,30,0.95);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Remove hover effect */
.movie-card:hover {
  transform: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.movie-poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie-poster:hover .movie-overlay {
  opacity: 1;
}

.watch-now, .add-to-watchlist {
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.watch-now {
  background: var(--accent);
  color: white;
}

.add-to-watchlist {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.watch-now:hover, .add-to-watchlist:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.movie-details {
  padding: 20px;
}

.movie-meta {
  display: flex;
  gap: 15px;
  margin: 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.movie-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.stat {
  text-align: center;
}

.stat .label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.stat .value {
  font-size: 1.1rem;
  color: var(--accent);
}

.cast-crew {
  margin-top: 20px;
}

.cast-crew h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.people {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.person {
  text-align: center;
  min-width: 80px;
}

.person img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 5px;
}

.person span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Newsletter Section */
#newsletter {
  padding: 60px 20px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0c0c0c 100%);
  text-align: center;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 1rem;
}

.newsletter-form button {
  padding: 12px 30px;
  border-radius: 25px;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #ff0a17;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

@media (max-width: 768px) {
  .database-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .movie-stats {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

/* Streaming Section Styles */
#streaming-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  color: #fff;
  min-height: 100vh;
}

.streaming-container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.streaming-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.streaming-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
  background: #000;
}

/* Fullscreen styles */
:fullscreen .streaming-frame iframe,
:-webkit-full-screen .streaming-frame iframe,
:-moz-full-screen .streaming-frame iframe,
:-ms-fullscreen .streaming-frame iframe {
  width: 100vw !important;
  height: 100vh !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 9999 !important;
  background: #000 !important;
}

/* Hide controls in fullscreen */
:fullscreen .streaming-controls,
:-webkit-full-screen .streaming-controls,
:-moz-full-screen .streaming-controls,
:-ms-fullscreen .streaming-controls {
  display: none !important;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  #streaming-section {
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .streaming-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .streaming-frame {
    flex: 1;
    padding-top: 0;
    height: calc(100vh - 60px);
  }

  .streaming-frame iframe {
    position: relative;
    height: 100%;
  }

  .streaming-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
  }

  .streaming-controls button {
    padding: 12px 20px;
    font-size: 14px;
    width: 45%;
  }
}

.fullscreen-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Only show the active quote */
#quotes .quote-box {
  display: none;
}
#quotes .quote-box.active {
  display: block;
}

@media (max-width: 600px) {
  .masterpieces-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0 0.5rem;
  }
  .movie-card {
    min-width: 0;
    max-width: 100%;
    border-radius: 12px;
    padding: 0;
  }
  .movie-card img {
    height: 160px;
    border-radius: 12px 12px 0 0;
  }
  .movie-info {
    padding: 0.8rem 0.7rem 0.7rem 0.7rem;
  }
  .movie-info h3 {
    font-size: 1rem;
  }
  .movie-meta {
    font-size: 0.95rem;
    gap: 0.7rem;
  }
}

@media (max-width: 600px) {
  .streaming-controls {
    display: none;
    /* ...rest of your styles... */
  }
  .streaming-controls.visible {
    display: flex;
  }
}

/* Hide scrollbars but keep scroll functionality for Timeless Cinema columns */
.category-table td ul {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}
.category-table td ul::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Webkit */
}
