
      :root {
        --primary-color: whitesmoke;
        --secondary-color: #e74c3c;
        --accent-color: #3498db;
        --success-color: #27ae60;
        --warning-color: #f39c12;
        --light-bg: #ecf0f1;
        --text-muted: #7f8c8d;
        --border-color: #bdc3c7;
        --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
        --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
        --transition: all 0.3s ease;
      }

      * {
        box-sizing: border-box;
      }
      body {
        background-color: #ffffff;
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.6;
      }

      .attract {
        animation: pulse 1.5s infinite;
    }
    
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.08); }
        100% { transform: scale(1); }
    }
    
      /* Navigation Styles */
      .navbar {
        background-color: var(--primary-color);
        box-shadow: var(--shadow-light);
        padding: 1rem 0;
      }

      .navbar-brand {
        color: var(--secondary-color) !important;
        font-weight: bold;
        font-size: 1.5rem;
        transition: var(--transition);
      }

      .navbar-brand:hover {
        color: #c0392b !important;
        transform: scale(1.05);
      }

      /* Search Bar Styles */
      .search-container {
        position: relative;
        max-width: 400px;
      }

      .search-input {
        border-radius: 25px;
        border: 2px solid transparent;
        background-color: #ffffff;
        padding: 0.75rem 1rem 0.75rem 3rem;
        transition: var(--transition);
      }

      .search-input:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
        outline: none;
      }

      .search-icon {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        z-index: 10;
      }

      /* Sidebar Styles */
      .sidebar {
        background-color: var(--light-bg);
        padding: 1.5rem;
        border-radius: 12px;
        margin-bottom: 1.5rem;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-light);
      }

      .sidebar h5,
      .sidebar h6 {
        border-bottom: 2px solid var(--accent-color);
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
        font-weight: 600;
      }

      .sidebar a {
        color: var(--text-muted);
        transition: var(--transition);
        text-decoration: none;
        padding: 0.25rem 0;
        display: block;
      }

      .sidebar a:hover {
        color: var(--accent-color);
        transform: translateX(5px);
      }

      /* Content Area */
      .content {
        padding: 1.5rem;
        background-color: #ffffff;
      }

      /* Card Styles */
      .movie-card {
        border: 1px solid var(--border-color);
        border-radius: 12px;
        box-shadow: var(--shadow-light);
        transition: var(--transition);
        overflow: hidden;
        background-color: #ffffff;
        cursor: pointer;
      }

      .movie-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
      }

      .movie-card .card-img-top {
        height: 280px;
        object-fit: cover;
        transition: var(--transition);
      }

      .movie-card:hover .card-img-top {
        transform: scale(1.08);
      }

      .movie-card .card-body {
        padding: 1rem;
      }

      .movie-card .card-title {
        color: black;
        font-weight: 600;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        height: 2.6rem;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
      }

      .movie-card .card-text {
        color: var(--text-muted);
        font-size: 0.8rem;
      }

      /* Badge Styles */
      .rating-badge {
        background: linear-gradient(
          135deg,
          var(--warning-color),
          #e67e22
        ) !important;
        color: white;
        font-weight: 600;
        padding: 0.4rem 0.6rem;
        border-radius: 8px;
        font-size: 0.75rem;
      }

      /* Button Styles */
      .btn-custom {
        border-radius: 25px;
        padding: 0.6rem 1.5rem;
        font-weight: 500;
        transition: var(--transition);
        border: none;
      }

      .btn-success-custom {
        background: linear-gradient(135deg, var(--success-color), #229954);
        color: white;
      }

      .btn-success-custom:hover {
        background: linear-gradient(135deg, #229954, #1e8449);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
      }

      .btn-info-custom {
        background: linear-gradient(135deg, var(--accent-color), #2980b9);
        color: white;
      }

      .btn-info-custom:hover {
        background: linear-gradient(135deg, #2980b9, #21618c);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
      }

      /* Alert Styles */
      .alert-custom {
        border-radius: 12px;
        border: none;
        background: linear-gradient(135deg, #fff3cd, #ffeaa7);
        border: 1px solid #ffeaa7;
        color: #856404;
        padding: 1rem 1.5rem;
      }

      /* Modal Styles */
      .modal-content {
        border-radius: 15px;
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      }

      .modal-header {
        background: linear-gradient(135deg, var(--primary-color), #34495e);
        color: white;
        border-radius: 15px 15px 0 0;
        border-bottom: none;
      }

      .modal-title {
        font-weight: 600;
      }

      .btn-close {
        filter: invert(1);
      }

      /* Video Player Styles */
      .video-container {
        background: #000;
        height: 400px;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
      }

      .video-error-overlay {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
      }

      .video-controls {
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
      }

      /* Loading Spinner */
      .loading-spinner {
        display: inline-block;
        width: 2rem;
        height: 2rem;
        border: 3px solid rgba(52, 152, 219, 0.3);
        border-radius: 50%;
        border-top-color: var(--accent-color);
        animation: spin 1s ease-in-out infinite;
      }

      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }

      /* Section Headers */
      .section-header {
        font-weight: 700;
        margin-bottom: 1.5rem;
        position: relative;
        padding-bottom: 0.5rem;
      }

      .section-header::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(
          135deg,
          var(--accent-color),
          var(--secondary-color)
        );
        border-radius: 2px;
      }

      /* Footer Styles */
      .footer {
        background: linear-gradient(135deg, var(--primary-color), #34495e);
        color: white;
      }

      .footer a {
        color: var(--warning-color);
        transition: var(--transition);
      }

      .footer a:hover {
        color: #e67e22;
      }

      /* Responsive Design */
      @media (max-width: 768px) {
        .navbar .d-flex {
          flex-direction: column;
          gap: 1rem;
          width: 100%;
        }

        .search-container {
          max-width: 100%;
        }

        .sidebar {
          margin-bottom: 1.5rem;
        }

        .movie-card .card-img-top {
          height: 250px;
        }

        .content {
          padding: 1rem;
        }
      }

      @media (max-width: 576px) {
        .movie-card .card-img-top {
          height: 220px;
        }

        .modal-dialog {
          margin: 0.5rem;
        }
      }

      /* Accessibility */
      .movie-card:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
      }

      .btn:focus {
        box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.5);
      }

      /* Animation for content loading */
      .fade-in {
        animation: fadeIn 0.6s ease-in;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
    