/* Additional styles for services page - blends with Moviemela theme */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      font-family: 'Poppins', sans-serif;
      background: #0a081f;
      overflow-x: hidden;
      min-height: 100vh;
    }

    /* Keep Moviemela background layers but adjust for services page */
    .hero {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      filter: blur(8px);
      transform: scale(1.05);
      z-index: -2;
      opacity: 0.35;
    }
    
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 20% 30%, #1a1738, #0a081f);
      z-index: -1;
      opacity: 0.92;
    }
    
    /* Main services container */
    .services-main-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 20px 20px 40px;
      position: relative;
      z-index: 2;
    }
    
    /* Services header area (top_header style integration) */
    .services-hero-section {
      text-align: center;
      margin-bottom: 30px;
      padding-top: 10px;
    }
    
    .services-title-badge {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }
    
    .services-title-badge img {
      height: 54px;
      width: auto;
      filter: drop-shadow(0 0 14px rgba(255,152,0,0.6));
    }
    
    .services-title-badge h1 {
      font-family: 'Montserrat', sans-serif;
      font-size: 36px;
      font-weight: 900;
      background: linear-gradient(135deg, #FF9800, #FF5722);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: 1px;
    }
    
    .services-tagline {
      font-size: 15px;
      color: rgba(255,255,255,0.8);
      background: rgba(15,12,41,0.7);
      backdrop-filter: blur(12px);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 28px;
      border-radius: 60px;
      border: 0.5px solid rgba(255,152,0,0.4);
      font-weight: 500;
    }
    
    .section-header {
      font-family: 'Montserrat', sans-serif;
      font-size: 28px;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 14px;
      margin: 30px 0 28px;
      border-left: 5px solid #FF9800;
      padding-left: 20px;
    }
    
    .section-header i {
      background: linear-gradient(135deg, #FF9800, #FF5722);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      font-size: 28px;
    }
    
    /* Enhanced services grid same as original but matches cinema vibe */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 28px;
      margin-bottom: 40px;
    }
    
    .service-card {
      background: rgba(15, 12, 41, 0.92);
      backdrop-filter: blur(20px);
      border-radius: 28px;
      padding: 32px 24px;
      text-align: center;
      transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
      border: 1px solid rgba(255, 255, 255, 0.15);
      cursor: pointer;
      min-height: 240px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    }
    
    .service-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,152,0,0.12), rgba(255,87,34,0.08));
      opacity: 0;
      transition: opacity 0.4s;
      border-radius: 28px;
      pointer-events: none;
    }
    
    .service-card:hover {
      transform: translateY(-10px) scale(1.02);
      border-color: #FF9800;
      box-shadow: 0 28px 45px rgba(255,152,0,0.3);
    }
    
    .service-card:hover::before {
      opacity: 1;
    }
    
    .service-icon {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, #FF9800, #FF5722);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
      box-shadow: 0 15px 30px rgba(255,152,0,0.5);
      transition: all 0.3s;
    }
    
    .service-card:hover .service-icon {
      transform: rotate(6deg) scale(1.08);
    }
    
    .service-icon i {
      font-size: 38px;
      color: white;
    }
    
    .service-name {
      font-family: 'Montserrat', sans-serif;
      font-weight: 800;
      font-size: 20px;
      margin-bottom: 12px;
      background: linear-gradient(135deg, #fff, #FFE0B5);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    
    .service-status {
      font-size: 14px;
      font-weight: 700;
      background: rgba(76, 175, 80, 0.2);
      padding: 7px 20px;
      border-radius: 40px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #81c784;
      backdrop-filter: blur(4px);
      border: 0.5px solid rgba(76,175,80,0.3);
    }
    
    .service-status.offline {
      color: #ff8a7a;
      background: rgba(244, 67, 54, 0.2);
      border-color: rgba(244,67,54,0.3);
    }
    
    /* Responsive */
    @media (max-width: 720px) {
      .services-grid {
        gap: 20px;
      }
      .service-card {
        padding: 28px 20px;
        min-height: 220px;
      }
      .service-icon {
        width: 70px;
        height: 70px;
      }
      .service-icon i {
        font-size: 32px;
      }
      .services-title-badge h1 {
        font-size: 28px;
      }
    }
    
    @media (max-width: 560px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
      .service-card {
        flex-direction: row;
        text-align: left;
        gap: 20px;
        padding: 20px 24px;
        min-height: auto;
      }
      .service-icon {
        margin-bottom: 0;
        width: 65px;
        height: 65px;
        flex-shrink: 0;
      }
      .service-info {
        text-align: left;
      }
    }
    
    .toast-service {
      position: fixed;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: linear-gradient(135deg, #2196F3, #1565C0);
      backdrop-filter: blur(16px);
      color: white;
      padding: 12px 28px;
      border-radius: 60px;
      font-weight: 600;
      font-size: 14px;
      z-index: 2000;
      opacity: 0;
      transition: 0.25s;
      pointer-events: none;
      white-space: nowrap;
      box-shadow: 0 10px 25px rgba(0,0,0,0.3);
      font-family: 'Poppins', sans-serif;
    }
    
    @media (max-width: 560px) {
      .toast-service {
        white-space: normal;
        max-width: 85%;
        text-align: center;
      }
    }
    
    .fade-in {
      animation: fadeIn 0.6s ease forwards;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(15px); }
      to { opacity: 1; transform: translateY(0); }
    }
	
	/* make sure top_header and header from Moviemela don't break services layout */
  .top-header, .main-header, .navbar, .top-nav, .header-content {
    position: relative;
    z-index: 10;
  }
  .services-main-container {
    position: relative;
    z-index: 5;
    margin-top: 10px;
  }
  /* prevent hero from covering content */
  .hero, .overlay {
    z-index: -1;
  }
  body {
    background: #0a081f;
  }
  /* footer spacing fix */
  footer, .footer {
    margin-top: 30px;
    position: relative;
    z-index: 5;
    background: rgba(10,8,31,0.85);
    backdrop-filter: blur(10px);
  }
  /* Adjust links within footer and brand */
  .download-options, .quality-select {
    font-size: 12px;
  }
  /* Remove any weird overlapping from movie grid that doesn't exist */
  .movie-grid, .card {
    /* not interfering */
  }
  /* Hide movie/category sections that might be output by header includes accidentally */
  .category-section,
  .movie-section,
  .search-container,
  .search-result,
  .empty-state,
  .pagination-container,
  .trending-movies,
  .category-title,
  .movie-grid,
  .center {
    display: none !important;
  }
  /* Ensure main content remains visible */
  .services-main-container {
    background: transparent;
  }
  /* consistent card shadow */
  .service-card {
    transition: all 0.3s;
  }
  /* additional fixes for leftover elements */
  .hero + .overlay + .center {
    display: none;
  }
  /* Make sure any possible extra containers from includes are hidden but keep header/footer */
  .main-content > .container:not(.services-main-container),
  .content-area > *:not(.services-main-container):not(header):not(footer):not(.top-header):not(.main-header) {
    display: none;
  }
  /* But preserve essential header/footer layouts */
  header, .header, .top-header, .main-header, footer, .footer {
    display: flex;
  }
  /* Override any background from movie pages */
  body .movie-container, body .movie-wrapper {
    display: none;
  }
  /* Ensure services grid is on top and visible */
  .services-grid {
    display: grid !important;
  }
  /* fix potential overflow from long urls */
  .service-name {
    word-break: break-word;
  }
	